AI answer collection and runs
Read a saved estimate
Reads a saved estimate, its terms and expiry, without recalculating it.
- Path
run_idstarts withestimate:.
Authentication and access
- Authentication
- Bearer API key
- Scopes
- collections:read
- Roles
- approver, editor, owner, publisher, service, viewer
- Plans
- Optimizer, Analyzer
- Credits
- No credit charge.
- Workflow ai_search_topics. Scopes prompts:write. Roles editor, owner, service. Plans Optimizer.
- Workflow check_answer_accuracy. Scopes prompts:write. Roles editor, owner, service. Plans Optimizer, Analyzer.
- Workflow check_draft_accuracy. Scopes prompts:write, analytics:read, optimizations:read. Roles editor, owner, service. Plans Optimizer.
- Workflow cited_page_labelling. Scopes audits:write. Roles editor, owner, service. Plans Optimizer, Analyzer.
- Workflow cited_page_sweep. Scopes audits:write. Roles editor, owner, service. Plans Optimizer, Analyzer.
- Workflow collect. Scopes collections:write. Roles editor, owner, service. Plans Optimizer, Analyzer. Billing access required.
- Workflow editorial_generation. Scopes optimizations:read. Roles approver, editor, owner, publisher, service, viewer. Plans Optimizer.
- Workflow managed. Scopes collections:read. Roles approver, editor, owner, publisher, service, viewer. Plans Optimizer, Analyzer.
- Workflow passage_overlap. Scopes analytics:read, audits:read, optimizations:read. Roles editor, owner, service. Plans Optimizer.
- Workflow prepublish_review. Scopes analytics:read, audits:read, optimizations:read. Roles editor, owner, service. Plans Optimizer.
- Workflow query_fanout_coverage. Scopes analytics:read. Roles editor, owner, service. Plans Optimizer.
- Workflow retrieval_benchmark. Scopes analytics:read, audits:read, optimizations:read. Roles editor, owner, service. Plans Optimizer.
- Workflow retrieval_regression. Scopes analytics:read, audits:read, optimizations:read. Roles editor, owner, service. Plans Optimizer.
- Workflow retrieval_win_rate. Scopes analytics:read, audits:read, optimizations:read. Roles editor, owner, service. Plans Optimizer.
- Workflow verify_answer_claims. Scopes analytics:read. Roles editor, owner, service. Plans Optimizer.
Parameters
| Name | Where | Type | Required | Description |
|---|---|---|---|---|
run_id | path | string | Yes |
Request body
Send this request without a body.
Request examples
Set AEO_API_BASE_URL to https://api.aeoapi.dev and AEO_API_KEY to your server-side API key. Set the other environment variables to the values for your request.
curl --fail-with-body -X GET "$AEO_API_BASE_URL/v2/runs/$RUN_ID" \
-H "Authorization: Bearer $AEO_API_KEY"from os import environ
from aeo_sdk import AeoClient
with AeoClient(environ["AEO_API_KEY"], base_url=environ["AEO_API_BASE_URL"]) as client:
response = client.v2_get_runs_run_id(
run_id=environ["RUN_ID"],
)
print(response.body)import { AeoClient } from "@aeoapi/aeo-sdk";
const client = new AeoClient(process.env.AEO_API_KEY!, {
baseUrl: process.env.AEO_API_BASE_URL!,
});
const response = await client.v2GetRunsRunId(
process.env.RUN_ID!,
);
console.log(response.body);Responses
Check data.expires_at before starting a run that depends on the estimate. Request a new estimate if it has expired.
HTTP 200
Successful Response
application/json
Response fields are listed below.
| Name | Type | Required | Description |
|---|---|---|---|
data | object | Yes | The requested result. See the fields below for its contents. |
data.brand_id | string | Yes | Identifies the brand this result belongs to. |
data.eligible_engines | array of object | Yes | |
data.eligible_engines[].applied_location | object | null | No | |
data.eligible_engines[].applied_location.city | string | null | No | |
data.eligible_engines[].applied_location.country | string | null | No | |
data.eligible_engines[].applied_location.granularity | "country" | "region" | "city" | "postal" | "coordinates" | Conditional | |
data.eligible_engines[].applied_location.latitude | number | null | No | |
data.eligible_engines[].applied_location.longitude | number | null | No | |
data.eligible_engines[].applied_location.postal_code | string | null | No | |
data.eligible_engines[].applied_location.region | string | null | No | |
data.eligible_engines[].charge_per_step | integer | Yes | |
data.eligible_engines[].reserve_per_step | integer | Yes | |
data.eligible_engines[].source | object | Yes | |
data.eligible_engines[].unenforced_controls | array of string | Yes | |
data.estimate_fingerprint | string | Yes | |
data.estimated_credits | integer | Yes | The expected credit cost for this selection. |
data.excluded_sources | array of object | Yes | Sources omitted from the estimate. Location estimates include the affected location_id with each exclusion. Location exclusions have reason location_not_supported. Sources outside your plan have reason feature_not_offered. |
data.excluded_sources[].location_id | string (uuid) | No | |
data.expires_at | string | Yes | |
data.location_totals | array of object | No | |
data.location_totals[].eligible_engines | array of object | No | |
data.location_totals[].eligible_engines[].source | object | Conditional | |
data.location_totals[].eligible_engines[].unenforced_controls | array of string | Conditional | |
data.location_totals[].estimated_credits | integer | Conditional | |
data.location_totals[].location_id | string (uuid) | Conditional | |
data.location_totals[].market | object | Conditional | |
data.location_totals[].market.city | string | null | null | No | |
data.location_totals[].market.country | string | Conditional | |
data.location_totals[].market.language | string | Conditional | |
data.location_totals[].market.latitude | number | null | No | |
data.location_totals[].market.location_id | string (uuid) | No | |
data.location_totals[].market.longitude | number | null | No | |
data.location_totals[].market.postal_code | string | null | No | |
data.location_totals[].market.region | string | null | null | No | |
data.location_totals[].maximum_credits | integer | Conditional | |
data.location_totals[].prompt_count | integer | Conditional | |
data.maximum_credits | integer | Yes | The upper credit estimate for this selection. |
data.poll_url | string | Yes | Send an authenticated GET request to this URL to read the current result. |
data.prompt_count | integer | Yes | |
data.prompt_set_revision | string | Yes | |
data.run_id | string | null | No | Identifies the run. Keep any prefix when using it in a request. |
data.status | "estimated" | "expired" | Yes | |
data.v2_run_id | string | No | The prefixed run ID accepted by GET /v2/runs/{run_id}. |
data.website | string | null | Yes | |
meta | object | Yes | Information about this response, including any warnings or pagination details. |
| Name | Type | Required | Description |
|---|---|---|---|
data | object | Yes | The requested result. See the fields below for its contents. |
data.answer_count | integer | Yes | |
data.brand_id | string (uuid) | Yes | Identifies the brand this result belongs to. |
data.eligible_engines | array of object | Yes | |
data.eligible_engines[].source | object | Yes | |
data.eligible_engines[].unenforced_controls | array of string | Yes | |
data.estimated_credits | integer | Yes | The expected credit cost for this selection. |
data.location_totals | array of object | No | |
data.location_totals[].eligible_engines | array of object | No | |
data.location_totals[].eligible_engines[].source | object | Conditional | |
data.location_totals[].eligible_engines[].unenforced_controls | array of string | Conditional | |
data.location_totals[].estimated_credits | integer | Conditional | |
data.location_totals[].location_id | string (uuid) | Conditional | |
data.location_totals[].market | object | Conditional | |
data.location_totals[].market.city | string | null | null | No | |
data.location_totals[].market.country | string | Conditional | |
data.location_totals[].market.language | string | Conditional | |
data.location_totals[].market.latitude | number | null | No | |
data.location_totals[].market.location_id | string (uuid) | No | |
data.location_totals[].market.longitude | number | null | No | |
data.location_totals[].market.postal_code | string | null | No | |
data.location_totals[].market.region | string | null | null | No | |
data.location_totals[].maximum_credits | integer | Conditional | |
data.location_totals[].prompt_count | integer | Conditional | |
data.maximum_credits | integer | Yes | The upper credit estimate for this selection. |
data.prompt_count | integer | Yes | |
meta | object | Yes | Information about this response, including any warnings or pagination details. |
meta.as_of | string (date-time) | Yes | The point in time that the response represents. |
meta.cohort_version | string | null | No | Identifies the version of the group used to calculate the results. |
meta.collected_at | string (date-time) | null | Yes | When the data was collected, if available. |
meta.metric_version | string | null | No | The version of the metric definition used for these results. |
meta.next_cursor | string | null | Yes | When present, pass this value as cursor to request the next page with the same filters. |
meta.next_refresh_at | string (date-time) | null | Yes | |
meta.request_id | string (uuid) | Yes | Keep this ID when reporting a problem with the request. |
meta.restricted_fields | array of string | No | Fields that your current access does not allow the API to return. |
meta.rights_filtered | boolean | Yes | Indicates whether access rights affected the returned data. |
meta.schema_version | "1.0" | Yes | The version of the response format. |
meta.stale | boolean | Yes | |
meta.warnings | array of string | Yes | Read these notes for limitations that affect the results. |
| Name | Type | Required | Description |
|---|---|---|---|
data | object | Yes | The requested result. See the fields below for its contents. |
data.call_count | 1 | No | |
data.charge_units | integer | Yes | |
data.draft_revision | integer | Yes | |
data.expires_at | string (date-time) | Yes | |
data.poll_url | string | Yes | Send an authenticated GET request to this URL to read the current result. |
data.purpose | string | Yes | |
data.quote_id | string | Yes | |
data.reserve_units | integer | Yes | Credits the API needs to reserve when you start this work. |
meta | object | Yes | Information about this response, including any warnings or pagination details. |
| Name | Type | Required | Description |
|---|---|---|---|
data | object | Yes | The requested result. See the fields below for its contents. |
data.brand_id | string | Yes | Identifies the brand this result belongs to. |
data.due_pages | integer | Yes | |
data.estimate_id | string | Yes | Identifies the estimate for this selection. |
data.expires_at | string | Yes | |
data.poll_url | string | Yes | Send an authenticated GET request to this URL to read the current result. |
data.reserve_units | integer | Yes | Credits the API needs to reserve when you start this work. |
data.selected_pages | integer | Yes | |
data.workflow | "cited_page_sweep" | "cited_page_labelling" | Yes | The workflow selected for this run or estimate. |
meta | object | Yes | Information about this response, including any warnings or pagination details. |
meta.as_of | string (date-time) | Yes | The point in time that the response represents. |
meta.cohort_version | string | null | No | Identifies the version of the group used to calculate the results. |
meta.collected_at | string (date-time) | null | Yes | When the data was collected, if available. |
meta.metric_version | string | null | No | The version of the metric definition used for these results. |
meta.next_cursor | string | null | Yes | When present, pass this value as cursor to request the next page with the same filters. |
meta.next_refresh_at | string (date-time) | null | Yes | |
meta.request_id | string (uuid) | Yes | Keep this ID when reporting a problem with the request. |
meta.restricted_fields | array of string | No | Fields that your current access does not allow the API to return. |
meta.rights_filtered | boolean | Yes | Indicates whether access rights affected the returned data. |
meta.schema_version | "1.0" | Yes | The version of the response format. |
meta.stale | boolean | Yes | |
meta.warnings | array of string | Yes | Read these notes for limitations that affect the results. |
| Name | Type | Required | Description |
|---|---|---|---|
data | object | Yes | The requested result. See the fields below for its contents. |
data.brand_id | string (uuid) | Yes | Identifies the brand this result belongs to. |
data.category_id | string | Yes | |
data.charge_units | integer | Yes | |
data.estimate_id | string (uuid) | Yes | Identifies the estimate for this selection. |
data.expires_at | string (date-time) | Yes | |
data.language_scope | "exact" | "unfiltered" | Yes | |
data.limit | integer | Yes | |
data.market | object | Yes | |
data.market.city | string | null | null | No | |
data.market.country | string | Yes | |
data.market.language | string | Yes | |
data.market.region | string | null | null | No | |
data.period | object | Yes | |
data.period.end | string (date) | Yes | |
data.period.granularity | "month" | No | |
data.period.start | string (date) | Yes | |
data.platform_attribution | "none" | "unknown" | "partial" | Yes | |
data.platform_costs | array of object | No | |
data.platform_costs[].charge_units | integer | Conditional | |
data.platform_costs[].platform | "chatgpt" | "google_ai_overviews" | Conditional | |
data.platform_costs[].reserve_units | integer | Conditional | |
data.platform_scope | "covered" | "chatgpt" | "google_ai_overviews" | Yes | |
data.platforms | array of string | No | |
data.platforms_covered | array of string | Yes | |
data.poll_url | string | Yes | Send an authenticated GET request to this URL to read the current result. |
data.reserve_units | integer | Yes | Credits the API needs to reserve when you start this work. |
data.workflow | "ai_search_topics" | Yes | The workflow selected for this run or estimate. |
meta | object | Yes | Information about this response, including any warnings or pagination details. |
meta.as_of | string (date-time) | Yes | The point in time that the response represents. |
meta.cohort_version | string | null | No | Identifies the version of the group used to calculate the results. |
meta.collected_at | string (date-time) | null | Yes | When the data was collected, if available. |
meta.metric_version | string | null | No | The version of the metric definition used for these results. |
meta.next_cursor | string | null | Yes | When present, pass this value as cursor to request the next page with the same filters. |
meta.next_refresh_at | string (date-time) | null | Yes | |
meta.request_id | string (uuid) | Yes | Keep this ID when reporting a problem with the request. |
meta.restricted_fields | array of string | No | Fields that your current access does not allow the API to return. |
meta.rights_filtered | boolean | Yes | Indicates whether access rights affected the returned data. |
meta.schema_version | "1.0" | Yes | The version of the response format. |
meta.stale | boolean | Yes | |
meta.warnings | array of string | Yes | Read these notes for limitations that affect the results. |
| Name | Type | Required | Description |
|---|---|---|---|
data | object | Yes | The requested result. See the fields below for its contents. |
data.check_count | integer | Yes | |
data.estimate_id | string (uuid) | Yes | Identifies the estimate for this selection. |
data.estimated_units | integer | Yes | |
data.expires_at | string (date-time) | Yes | |
data.max_units | integer | Yes | |
data.poll_url | string | Yes | Send an authenticated GET request to this URL to read the current result. |
meta | object | Yes | Information about this response, including any warnings or pagination details. |
meta.as_of | string (date-time) | Yes | The point in time that the response represents. |
meta.cohort_version | string | null | No | Identifies the version of the group used to calculate the results. |
meta.collected_at | string (date-time) | null | Yes | When the data was collected, if available. |
meta.metric_version | string | null | No | The version of the metric definition used for these results. |
meta.next_cursor | string | null | Yes | When present, pass this value as cursor to request the next page with the same filters. |
meta.next_refresh_at | string (date-time) | null | Yes | |
meta.request_id | string (uuid) | Yes | Keep this ID when reporting a problem with the request. |
meta.restricted_fields | array of string | No | Fields that your current access does not allow the API to return. |
meta.rights_filtered | boolean | Yes | Indicates whether access rights affected the returned data. |
meta.schema_version | "1.0" | Yes | The version of the response format. |
meta.stale | boolean | Yes | |
meta.warnings | array of string | Yes | Read these notes for limitations that affect the results. |
| Name | Type | Required | Description |
|---|---|---|---|
data | object | Yes | The requested result. See the fields below for its contents. |
data.brand_id | string (uuid) | Yes | Identifies the brand this result belongs to. |
data.charge_units | integer | Yes | |
data.estimate_id | string (uuid) | Yes | Identifies the estimate for this selection. |
data.expires_at | string (date-time) | Yes | |
data.poll_url | string | Yes | Send an authenticated GET request to this URL to read the current result. |
data.reserve_units | integer | Yes | Credits the API needs to reserve when you start this work. |
data.simulation_options | object | Yes | |
data.simulation_options.delivery | "async" | No | |
data.simulation_options.input_kind | "saved" | No | |
data.simulation_options.max_candidates | integer | No | |
data.simulation_options.max_input_bytes | integer | No | |
data.simulation_options.max_input_tokens | integer | No | |
data.simulation_options.max_prompts | integer | No | |
data.simulation_options.mode | "persistent" | Yes | |
data.simulation_options.monitored_competitors | object | null | No | |
data.simulation_options.monitored_competitors.capture_revision_ids | array of string (uuid) | No | |
data.simulation_options.monitored_competitors.limit | integer | No | |
data.simulation_options.monitored_competitors.observation_ids | array of string (uuid) | Conditional | |
data.simulation_options.monitored_competitors.prompt_id | string (uuid) | Conditional | |
data.simulation_options.monitored_competitors.prompt_version | integer | Conditional | |
data.simulation_options.revision_ids | array of string (uuid) | No | |
data.workflow | "passage_overlap" | Yes | The workflow selected for this run or estimate. |
meta | object | Yes | Information about this response, including any warnings or pagination details. |
meta.as_of | string (date-time) | Yes | The point in time that the response represents. |
meta.cohort_version | string | null | No | Identifies the version of the group used to calculate the results. |
meta.collected_at | string (date-time) | null | Yes | When the data was collected, if available. |
meta.metric_version | string | null | No | The version of the metric definition used for these results. |
meta.next_cursor | string | null | Yes | When present, pass this value as cursor to request the next page with the same filters. |
meta.next_refresh_at | string (date-time) | null | Yes | |
meta.request_id | string (uuid) | Yes | Keep this ID when reporting a problem with the request. |
meta.restricted_fields | array of string | No | Fields that your current access does not allow the API to return. |
meta.rights_filtered | boolean | Yes | Indicates whether access rights affected the returned data. |
meta.schema_version | "1.0" | Yes | The version of the response format. |
meta.stale | boolean | Yes | |
meta.warnings | array of string | Yes | Read these notes for limitations that affect the results. |
| Name | Type | Required | Description |
|---|---|---|---|
data | object | Yes | The requested result. See the fields below for its contents. |
data.brand_id | string (uuid) | Yes | Identifies the brand this result belongs to. |
data.charge_units | integer | Yes | |
data.estimate_id | string (uuid) | Yes | Identifies the estimate for this selection. |
data.expires_at | string (date-time) | Yes | |
data.poll_url | string | Yes | Send an authenticated GET request to this URL to read the current result. |
data.reserve_units | integer | Yes | Credits the API needs to reserve when you start this work. |
data.simulation_options | object | Yes | |
data.simulation_options.delivery | "async" | No | |
data.simulation_options.input_kind | "saved" | No | |
data.simulation_options.max_candidates | integer | No | |
data.simulation_options.max_input_bytes | integer | No | |
data.simulation_options.max_input_tokens | integer | No | |
data.simulation_options.max_prompts | integer | No | |
data.simulation_options.mode | "persistent" | Yes | |
data.simulation_options.monitored_competitors | object | null | No | |
data.simulation_options.monitored_competitors.capture_revision_ids | array of string (uuid) | No | |
data.simulation_options.monitored_competitors.limit | integer | No | |
data.simulation_options.monitored_competitors.observation_ids | array of string (uuid) | Conditional | |
data.simulation_options.monitored_competitors.prompt_id | string (uuid) | Conditional | |
data.simulation_options.monitored_competitors.prompt_version | integer | Conditional | |
data.simulation_options.revision_ids | array of string (uuid) | No | |
data.workflow | "prepublish_review" | Yes | The workflow selected for this run or estimate. |
meta | object | Yes | Information about this response, including any warnings or pagination details. |
meta.as_of | string (date-time) | Yes | The point in time that the response represents. |
meta.cohort_version | string | null | No | Identifies the version of the group used to calculate the results. |
meta.collected_at | string (date-time) | null | Yes | When the data was collected, if available. |
meta.metric_version | string | null | No | The version of the metric definition used for these results. |
meta.next_cursor | string | null | Yes | When present, pass this value as cursor to request the next page with the same filters. |
meta.next_refresh_at | string (date-time) | null | Yes | |
meta.request_id | string (uuid) | Yes | Keep this ID when reporting a problem with the request. |
meta.restricted_fields | array of string | No | Fields that your current access does not allow the API to return. |
meta.rights_filtered | boolean | Yes | Indicates whether access rights affected the returned data. |
meta.schema_version | "1.0" | Yes | The version of the response format. |
meta.stale | boolean | Yes | |
meta.warnings | array of string | Yes | Read these notes for limitations that affect the results. |
| Name | Type | Required | Description |
|---|---|---|---|
data | object | Yes | The requested result. See the fields below for its contents. |
data.brand_id | string (uuid) | Yes | Identifies the brand this result belongs to. |
data.charge_units | integer | Yes | |
data.estimate_id | string (uuid) | Yes | Identifies the estimate for this selection. |
data.expires_at | string (date-time) | Yes | |
data.poll_url | string | Yes | Send an authenticated GET request to this URL to read the current result. |
data.reserve_units | integer | Yes | Credits the API needs to reserve when you start this work. |
data.simulation_options | object | Yes | |
data.simulation_options.delivery | "async" | No | |
data.simulation_options.input_kind | "saved" | No | |
data.simulation_options.max_candidates | integer | No | |
data.simulation_options.max_input_bytes | integer | No | |
data.simulation_options.max_input_tokens | integer | No | |
data.simulation_options.max_prompts | integer | No | |
data.simulation_options.mode | "persistent" | Yes | |
data.simulation_options.monitored_competitors | object | null | No | |
data.simulation_options.monitored_competitors.capture_revision_ids | array of string (uuid) | No | |
data.simulation_options.monitored_competitors.limit | integer | No | |
data.simulation_options.monitored_competitors.observation_ids | array of string (uuid) | Conditional | |
data.simulation_options.monitored_competitors.prompt_id | string (uuid) | Conditional | |
data.simulation_options.monitored_competitors.prompt_version | integer | Conditional | |
data.simulation_options.revision_ids | array of string (uuid) | No | |
data.workflow | "query_fanout_coverage" | Yes | The workflow selected for this run or estimate. |
meta | object | Yes | Information about this response, including any warnings or pagination details. |
meta.as_of | string (date-time) | Yes | The point in time that the response represents. |
meta.cohort_version | string | null | No | Identifies the version of the group used to calculate the results. |
meta.collected_at | string (date-time) | null | Yes | When the data was collected, if available. |
meta.metric_version | string | null | No | The version of the metric definition used for these results. |
meta.next_cursor | string | null | Yes | When present, pass this value as cursor to request the next page with the same filters. |
meta.next_refresh_at | string (date-time) | null | Yes | |
meta.request_id | string (uuid) | Yes | Keep this ID when reporting a problem with the request. |
meta.restricted_fields | array of string | No | Fields that your current access does not allow the API to return. |
meta.rights_filtered | boolean | Yes | Indicates whether access rights affected the returned data. |
meta.schema_version | "1.0" | Yes | The version of the response format. |
meta.stale | boolean | Yes | |
meta.warnings | array of string | Yes | Read these notes for limitations that affect the results. |
| Name | Type | Required | Description |
|---|---|---|---|
data | object | Yes | The requested result. See the fields below for its contents. |
data.brand_id | string (uuid) | Yes | Identifies the brand this result belongs to. |
data.charge_units | integer | Yes | |
data.estimate_id | string (uuid) | Yes | Identifies the estimate for this selection. |
data.expires_at | string (date-time) | Yes | |
data.poll_url | string | Yes | Send an authenticated GET request to this URL to read the current result. |
data.reserve_units | integer | Yes | Credits the API needs to reserve when you start this work. |
data.simulation_options | object | Yes | |
data.simulation_options.delivery | "async" | No | |
data.simulation_options.input_kind | "saved" | No | |
data.simulation_options.max_candidates | integer | No | |
data.simulation_options.max_input_bytes | integer | No | |
data.simulation_options.max_input_tokens | integer | No | |
data.simulation_options.max_prompts | integer | No | |
data.simulation_options.mode | "persistent" | Yes | |
data.simulation_options.monitored_competitors | object | null | No | |
data.simulation_options.monitored_competitors.capture_revision_ids | array of string (uuid) | No | |
data.simulation_options.monitored_competitors.limit | integer | No | |
data.simulation_options.monitored_competitors.observation_ids | array of string (uuid) | Conditional | |
data.simulation_options.monitored_competitors.prompt_id | string (uuid) | Conditional | |
data.simulation_options.monitored_competitors.prompt_version | integer | Conditional | |
data.simulation_options.revision_ids | array of string (uuid) | No | |
data.workflow | "retrieval_benchmark" | Yes | The workflow selected for this run or estimate. |
meta | object | Yes | Information about this response, including any warnings or pagination details. |
meta.as_of | string (date-time) | Yes | The point in time that the response represents. |
meta.cohort_version | string | null | No | Identifies the version of the group used to calculate the results. |
meta.collected_at | string (date-time) | null | Yes | When the data was collected, if available. |
meta.metric_version | string | null | No | The version of the metric definition used for these results. |
meta.next_cursor | string | null | Yes | When present, pass this value as cursor to request the next page with the same filters. |
meta.next_refresh_at | string (date-time) | null | Yes | |
meta.request_id | string (uuid) | Yes | Keep this ID when reporting a problem with the request. |
meta.restricted_fields | array of string | No | Fields that your current access does not allow the API to return. |
meta.rights_filtered | boolean | Yes | Indicates whether access rights affected the returned data. |
meta.schema_version | "1.0" | Yes | The version of the response format. |
meta.stale | boolean | Yes | |
meta.warnings | array of string | Yes | Read these notes for limitations that affect the results. |
| Name | Type | Required | Description |
|---|---|---|---|
data | object | Yes | The requested result. See the fields below for its contents. |
data.brand_id | string (uuid) | Yes | Identifies the brand this result belongs to. |
data.charge_units | integer | Yes | |
data.estimate_id | string (uuid) | Yes | Identifies the estimate for this selection. |
data.expires_at | string (date-time) | Yes | |
data.poll_url | string | Yes | Send an authenticated GET request to this URL to read the current result. |
data.reserve_units | integer | Yes | Credits the API needs to reserve when you start this work. |
data.simulation_options | object | Yes | |
data.simulation_options.delivery | "async" | No | |
data.simulation_options.input_kind | "saved" | No | |
data.simulation_options.max_candidates | integer | No | |
data.simulation_options.max_input_bytes | integer | No | |
data.simulation_options.max_input_tokens | integer | No | |
data.simulation_options.max_prompts | integer | No | |
data.simulation_options.mode | "persistent" | Yes | |
data.simulation_options.monitored_competitors | object | null | No | |
data.simulation_options.monitored_competitors.capture_revision_ids | array of string (uuid) | No | |
data.simulation_options.monitored_competitors.limit | integer | No | |
data.simulation_options.monitored_competitors.observation_ids | array of string (uuid) | Conditional | |
data.simulation_options.monitored_competitors.prompt_id | string (uuid) | Conditional | |
data.simulation_options.monitored_competitors.prompt_version | integer | Conditional | |
data.simulation_options.revision_ids | array of string (uuid) | No | |
data.workflow | "retrieval_regression" | Yes | The workflow selected for this run or estimate. |
meta | object | Yes | Information about this response, including any warnings or pagination details. |
meta.as_of | string (date-time) | Yes | The point in time that the response represents. |
meta.cohort_version | string | null | No | Identifies the version of the group used to calculate the results. |
meta.collected_at | string (date-time) | null | Yes | When the data was collected, if available. |
meta.metric_version | string | null | No | The version of the metric definition used for these results. |
meta.next_cursor | string | null | Yes | When present, pass this value as cursor to request the next page with the same filters. |
meta.next_refresh_at | string (date-time) | null | Yes | |
meta.request_id | string (uuid) | Yes | Keep this ID when reporting a problem with the request. |
meta.restricted_fields | array of string | No | Fields that your current access does not allow the API to return. |
meta.rights_filtered | boolean | Yes | Indicates whether access rights affected the returned data. |
meta.schema_version | "1.0" | Yes | The version of the response format. |
meta.stale | boolean | Yes | |
meta.warnings | array of string | Yes | Read these notes for limitations that affect the results. |
| Name | Type | Required | Description |
|---|---|---|---|
data | object | Yes | The requested result. See the fields below for its contents. |
data.brand_id | string (uuid) | Yes | Identifies the brand this result belongs to. |
data.charge_units | integer | Yes | |
data.estimate_id | string (uuid) | Yes | Identifies the estimate for this selection. |
data.expires_at | string (date-time) | Yes | |
data.poll_url | string | Yes | Send an authenticated GET request to this URL to read the current result. |
data.reserve_units | integer | Yes | Credits the API needs to reserve when you start this work. |
data.simulation_options | object | Yes | |
data.simulation_options.delivery | "async" | No | |
data.simulation_options.input_kind | "saved" | No | |
data.simulation_options.max_candidates | integer | No | |
data.simulation_options.max_input_bytes | integer | No | |
data.simulation_options.max_input_tokens | integer | No | |
data.simulation_options.max_prompts | integer | No | |
data.simulation_options.mode | "persistent" | Yes | |
data.simulation_options.monitored_competitors | null | No | |
data.simulation_options.revision_ids | array of string (uuid) | No | |
data.workflow | "retrieval_win_rate" | Yes | The workflow selected for this run or estimate. |
meta | object | Yes | Information about this response, including any warnings or pagination details. |
meta.as_of | string (date-time) | Yes | The point in time that the response represents. |
meta.cohort_version | string | null | No | Identifies the version of the group used to calculate the results. |
meta.collected_at | string (date-time) | null | Yes | When the data was collected, if available. |
meta.metric_version | string | null | No | The version of the metric definition used for these results. |
meta.next_cursor | string | null | Yes | When present, pass this value as cursor to request the next page with the same filters. |
meta.next_refresh_at | string (date-time) | null | Yes | |
meta.request_id | string (uuid) | Yes | Keep this ID when reporting a problem with the request. |
meta.restricted_fields | array of string | No | Fields that your current access does not allow the API to return. |
meta.rights_filtered | boolean | Yes | Indicates whether access rights affected the returned data. |
meta.schema_version | "1.0" | Yes | The version of the response format. |
meta.stale | boolean | Yes | |
meta.warnings | array of string | Yes | Read these notes for limitations that affect the results. |
| Name | Type | Required | Description |
|---|---|---|---|
data | object | Yes | The requested result. See the fields below for its contents. |
data.brand_id | string (uuid) | Yes | Identifies the brand this result belongs to. |
data.charge_units | integer | Yes | |
data.estimate_id | string (uuid) | Yes | Identifies the estimate for this selection. |
data.expires_at | string (date-time) | Yes | |
data.poll_url | string | Yes | Send an authenticated GET request to this URL to read the current result. |
data.reserve_units | integer | Yes | Credits the API needs to reserve when you start this work. |
data.simulation_options | object | Yes | |
data.simulation_options.delivery | "async" | No | |
data.simulation_options.input_kind | "saved" | No | |
data.simulation_options.max_candidates | integer | No | |
data.simulation_options.max_input_bytes | integer | No | |
data.simulation_options.max_input_tokens | integer | No | |
data.simulation_options.max_prompts | integer | No | |
data.simulation_options.mode | "persistent" | Yes | |
data.simulation_options.monitored_competitors | object | null | No | |
data.simulation_options.monitored_competitors.capture_revision_ids | array of string (uuid) | No | |
data.simulation_options.monitored_competitors.limit | integer | No | |
data.simulation_options.monitored_competitors.observation_ids | array of string (uuid) | Conditional | |
data.simulation_options.monitored_competitors.prompt_id | string (uuid) | Conditional | |
data.simulation_options.monitored_competitors.prompt_version | integer | Conditional | |
data.simulation_options.revision_ids | array of string (uuid) | No | |
data.workflow | "verify_answer_claims" | Yes | The workflow selected for this run or estimate. |
meta | object | Yes | Information about this response, including any warnings or pagination details. |
meta.as_of | string (date-time) | Yes | The point in time that the response represents. |
meta.cohort_version | string | null | No | Identifies the version of the group used to calculate the results. |
meta.collected_at | string (date-time) | null | Yes | When the data was collected, if available. |
meta.metric_version | string | null | No | The version of the metric definition used for these results. |
meta.next_cursor | string | null | Yes | When present, pass this value as cursor to request the next page with the same filters. |
meta.next_refresh_at | string (date-time) | null | Yes | |
meta.request_id | string (uuid) | Yes | Keep this ID when reporting a problem with the request. |
meta.restricted_fields | array of string | No | Fields that your current access does not allow the API to return. |
meta.rights_filtered | boolean | Yes | Indicates whether access rights affected the returned data. |
meta.schema_version | "1.0" | Yes | The version of the response format. |
meta.stale | boolean | Yes | |
meta.warnings | array of string | Yes | Read these notes for limitations that affect the results. |
| Name | Type | Required | Description |
|---|---|---|---|
data | object | Yes | The requested result. See the fields below for its contents. |
data.estimate_id | string (uuid) | Conditional | Requires at least one of estimate_id or quote_id. |
data.expires_at | string (date-time) | Yes | |
data.poll_url | string | Yes | Send an authenticated GET request to this URL to read the current result. |
data.quote_id | string | Conditional | Requires at least one of estimate_id or quote_id. |
data.status | "expired" | Yes | |
meta | object | Yes | Information about this response, including any warnings or pagination details. |
Errors
Read code and message in the error response. Keep request_id when you contact support.
- HTTP 400
invalid_request - HTTP 401
unauthenticated - HTTP 403
forbidden - HTTP 404
not_found - HTTP 422
validation_error - HTTP 429
rate_limited - HTTP 503
source_pending,feature_not_offered