For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to the page URL.
Primary navigation
Overview Agent Access Ads ChatGPT + Codex user docs Use cases

API Reference

Get Partner Eligibility Results

GET
/sandbox/ad_eligibility_jobs/{batch_id}/results

Read a bounded page in submission order; pending entries must be polled again.

Get Partner Eligibility Results

curl https://api.ads.openai.com/v1/sandbox/ad_eligibility_jobs/$BATCH_ID/results \
    -H "Authorization: Bearer $OPENAI_ADS_ACCESS_TOKEN"
200 — Example
{
  "batch_id": "batch_id",
  "next_offset": 0,
  "results": [
    {
      "eligible": true,
      "query_id": "query_id",
      "retryable": true,
      "status": "pending",
      "assistant_response": "assistant_response"
    }
  ],
  "schema_version": "1.0"
}
Path Parameters
batch_id: string
minLength1
maxLength256
Query Parameters
limit: optional integer
minimum1
maximum100
offset: optional integer
minimum0
maximum1000
Returns
batch_id: string
next_offset: integer or null
results: array of object { eligible, query_id, retryable, 2 more }
eligible: boolean or null
query_id: string
retryable: boolean or null
status: "pending" or "evaluated" or "not_evaluable" or 3 more
One of the following:
"pending"
"evaluated"
"not_evaluable"
"failed"
"cancelled"
"expired"
assistant_response: optional string or null

The generated synthetic answer released by the evaluator, or null when unavailable. Available only for completed observations and subject to the job's result expiry.

schema_version: "1.0" (default: "1.0")
Returns Examples
200 — Example
{
  "batch_id": "batch_id",
  "next_offset": 0,
  "results": [
    {
      "eligible": true,
      "query_id": "query_id",
      "retryable": true,
      "status": "pending",
      "assistant_response": "assistant_response"
    }
  ],
  "schema_version": "1.0"
}