Skip to content

    AEO API reference

    Find the method and route you want to call. Open a request variant to see the fields, permissions and possible responses for that variant.

    Download the OpenAPI contract (JSON). The same file is also at https://aeoapi.dev/openapi.json.

    Browse the reference by feature for examples in cURL, Python and TypeScript.

    Make a request

    Set AEO_API_BASE_URL to the API origin and AEO_API_KEY to your server-side key. Set the other shell variables in each example for the resources you want to use. Use the complete ID, including its prefix, when the API returns a prefixed ID.

    When you start a collection, audit or citation check, follow data.poll_url to read its status. A managed run start returns 202 Accepted with the polling path /v2/runs/managed:{run_id} in the Location response header. For a managed run, use this header to poll. The response body omits data.poll_url.

    For these runs, the start and poll responses return the same prefixed ID in data.id and data.v2_run_id. GET /v2/runs/{run_id} also accepts the UUID without the prefix.

    Collection requests and managed estimates accept answer_mode in POST /v2/runs. Use standard for the normal answer or new to request a new answer. The default is standard. To request a new answer, include {"answer_mode":"new"} in the request body. A managed run uses the mode from the estimate you identify by estimate_fingerprint.

    Operations

    A conditional field is required only when its parent object or schema variant applies.

    GET /v2/account

    Read account settings, limits, sources, or usage

    Read account, limits and source availabilityoverview

    Open this request with Python and TypeScript examples

    • Query view is overview. Default is overview.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    account:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    includequery"overview" | "schedules" | "webhooks"NoDefault overview. Exactly one configuration collection per page; meta.next_cursor pages that collection. Secrets are never returned.
    cursorquerystringNocursor
    limitqueryintegerNolimit
    viewquery"overview"No

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/account" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode 'view=overview'

    Responses

    HTTP 200

    Read account, limits and source availability result.

    HTTP 200 headers
    NameTypeRequiredDescription
    ETagstringNoWebhook configuration revision for PUT /webhooks; initial value "0".
    X-RateLimit-LimitintegerNoRequests in rate window.
    X-RateLimit-RemainingintegerNoRemaining request tokens.
    X-RateLimit-ResetintegerNoUTC Unix seconds when window resets.
    X-Request-Idstring (uuid)NoTrace identifier.
    X-Usage-UnitsintegerNoCU charged by this response; GET and account/usage always zero.

    application/json

    {
      "data": {
        "billing_period_end": "2026-11-06T00:00:00Z",
        "billing_period_start": "2026-11-06T00:00:00Z",
        "capabilities": [],
        "entitlements": [],
        "id": "00000000-0000-4000-8000-000000000001",
        "limits": {
          "brands": 4,
          "concurrent_jobs": 1,
          "history_months": 1,
          "private_prompts": 0,
          "requests_per_minute": 1
        },
        "plan": "starter",
        "status": "active",
        "tenant_id": "00000000-0000-4000-8000-000000000001"
      },
      "meta": {
        "as_of": "2026-11-06T00:00:00Z",
        "collected_at": null,
        "next_cursor": null,
        "next_refresh_at": null,
        "request_id": "00000000-0000-4000-8000-000000000001",
        "rights_filtered": false,
        "schema_version": "1.0",
        "stale": false,
        "warnings": []
      }
    }
    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.billing_period_endstring (date-time)Yes
    data.billing_period_startstring (date-time)Yes
    data.capabilitiesarray of objectYes
    data.capabilities[].availablebooleanYes
    data.capabilities[].countriesarray of stringYes
    data.capabilities[].mode"ui_normal" | "ui_search" | "api_normal" | "api_web" | "ai_mode" | "ai_overview" | "organic_search"Yes
    data.capabilities[].platform"chatgpt" | "gemini" | "claude" | "perplexity" | "google" | "bing" | "brave" | "meta_ai" | "grok" | "universal"Yes
    data.capabilities[].reasonstring | nullYes
    data.capabilities[].rights_status"approved" | "pending" | "blocked"Yes
    data.entitlementsarray of string | nullYes
    data.idstring (uuid)Yes
    data.limitsobjectYes
    data.limits.brandsintegerYes
    data.limits.concurrent_jobsintegerYes
    data.limits.history_monthsintegerYes
    data.limits.locationsintegerNo
    data.limits.private_promptsintegerYes
    data.limits.requests_per_minuteintegerYes
    data.plan"starter" | "growth"Yesstarter is the Analyzer plan ($199 a month, 4 brands) and growth is the Optimizer plan ($399 a month, 10 brands). Analyzer has a 7-day trial with no card required.
    data.schedulesarray of objectNo
    data.schedules[].all_locationsbooleanNo
    data.schedules[].allow_country_levelbooleanNoAllow a country-level answer when the source cannot apply the requested location.
    data.schedules[].brand_idstring (uuid)Conditional
    data.schedules[].cadence_days1 | 3 | 7 | 14 | 30Conditional
    data.schedules[].enabledbooleanConditional
    data.schedules[].idstring (uuid)Conditional
    data.schedules[].location_idsarray of string (uuid)No
    data.schedules[].marketobjectConditional
    data.schedules[].market.citystring | null | nullNo
    data.schedules[].market.countrystringConditional
    data.schedules[].market.languagestringConditional
    data.schedules[].market.latitudenumber | nullNo
    data.schedules[].market.location_idstring (uuid) | nullNo
    data.schedules[].market.longitudenumber | nullNo
    data.schedules[].market.postal_codestring | nullNo
    data.schedules[].market.regionstring | null | nullNo
    data.schedules[].max_units_per_runintegerConditional
    data.schedules[].next_run_atstring (date-time) | nullNo
    data.schedules[].prompt_idsarray of string (uuid)Conditional
    data.schedules[].sourceobjectConditional
    data.schedules[].source.device"desktop" | "mobile" | "unknown"No
    data.schedules[].source.mode"ui_normal" | "ui_search" | "api_normal" | "api_web" | "ai_mode" | "ai_overview" | "organic_search"Conditional
    data.schedules[].source.platform"chatgpt" | "gemini" | "claude" | "perplexity" | "google" | "bing" | "brave" | "meta_ai" | "grok" | "universal"Conditional
    data.schedules[].source.providerstringNoOptional source label for the selected platform and mode. An unsupported combination is rejected before the job starts.
    data.status"active" | "trial" | "suspended"Yes
    data.tenant_idstring (uuid)Yes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Read account, limits and source availabilitylimits

    Open this request with Python and TypeScript examples

    • Query view is limits. Default is overview.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    account:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    includequery"overview" | "schedules" | "webhooks"NoDefault overview. Exactly one configuration collection per page; meta.next_cursor pages that collection. Secrets are never returned.
    cursorquerystringNocursor
    limitqueryintegerNolimit
    viewquery"limits"Yes

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/account" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode 'view=limits'

    Responses

    HTTP 200

    Read account, limits and source availability result.

    HTTP 200 headers
    NameTypeRequiredDescription
    ETagstringNoWebhook configuration revision for PUT /webhooks; initial value "0".
    X-RateLimit-LimitintegerNoRequests in rate window.
    X-RateLimit-RemainingintegerNoRemaining request tokens.
    X-RateLimit-ResetintegerNoUTC Unix seconds when window resets.
    X-Request-Idstring (uuid)NoTrace identifier.
    X-Usage-UnitsintegerNoCU charged by this response; GET and account/usage always zero.

    application/json

    {
      "data": {
        "limits": {
          "brands": 4,
          "concurrent_jobs": 1,
          "history_months": 1,
          "private_prompts": 0,
          "requests_per_minute": 1
        }
      },
      "meta": {
        "as_of": "2026-11-06T00:00:00Z",
        "collected_at": null,
        "next_cursor": null,
        "next_refresh_at": null,
        "request_id": "00000000-0000-4000-8000-000000000001",
        "rights_filtered": false,
        "schema_version": "1.0",
        "stale": false,
        "warnings": []
      }
    }
    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.limitsobjectYes
    data.limits.brandsintegerYes
    data.limits.concurrent_jobsintegerYes
    data.limits.history_monthsintegerYes
    data.limits.locationsintegerNo
    data.limits.private_promptsintegerYes
    data.limits.requests_per_minuteintegerYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Read account, limits and source availabilitysources

    Open this request with Python and TypeScript examples

    • Query view is sources. Default is overview.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    account:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    includequery"overview" | "schedules" | "webhooks"NoDefault overview. Exactly one configuration collection per page; meta.next_cursor pages that collection. Secrets are never returned.
    cursorquerystringNocursor
    limitqueryintegerNolimit
    viewquery"sources"Yes

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/account" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode 'view=sources'

    Responses

    HTTP 200

    Read account, limits and source availability result.

    HTTP 200 headers
    NameTypeRequiredDescription
    ETagstringNoWebhook configuration revision for PUT /webhooks; initial value "0".
    X-RateLimit-LimitintegerNoRequests in rate window.
    X-RateLimit-RemainingintegerNoRemaining request tokens.
    X-RateLimit-ResetintegerNoUTC Unix seconds when window resets.
    X-Request-Idstring (uuid)NoTrace identifier.
    X-Usage-UnitsintegerNoCU charged by this response; GET and account/usage always zero.

    application/json

    {
      "data": {
        "capabilities": []
      },
      "meta": {
        "as_of": "2026-11-06T00:00:00Z",
        "collected_at": null,
        "next_cursor": null,
        "next_refresh_at": null,
        "request_id": "00000000-0000-4000-8000-000000000001",
        "rights_filtered": false,
        "schema_version": "1.0",
        "stale": false,
        "warnings": []
      }
    }
    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.capabilitiesarray of objectYes
    data.capabilities[].availablebooleanYes
    data.capabilities[].countriesarray of stringYes
    data.capabilities[].mode"ui_normal" | "ui_search" | "api_normal" | "api_web" | "ai_mode" | "ai_overview" | "organic_search"Yes
    data.capabilities[].platform"chatgpt" | "gemini" | "claude" | "perplexity" | "google" | "bing" | "brave" | "meta_ai" | "grok" | "universal"Yes
    data.capabilities[].reasonstring | nullYes
    data.capabilities[].rights_status"approved" | "pending" | "blocked"Yes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Read metering and remaining quotasusage

    Open this request with Python and TypeScript examples

    • Query view is usage. Default is overview.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    usage:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    period_startquerystring (date-time)Noperiod_start
    period_endquerystring (date-time)Noperiod_end
    viewquery"usage"Yes

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/account" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode 'view=usage'

    Responses

    HTTP 200

    Read metering and remaining quotas result.

    HTTP 200 headers
    NameTypeRequiredDescription
    X-RateLimit-LimitintegerNoRequests in rate window.
    X-RateLimit-RemainingintegerNoRemaining request tokens.
    X-RateLimit-ResetintegerNoUTC Unix seconds when window resets.
    X-Request-Idstring (uuid)NoTrace identifier.
    X-Usage-UnitsintegerNoCU charged by this response; GET and account/usage always zero.

    application/json

    {
      "data": {
        "breakdown": [],
        "consumed_units": 0,
        "free_read_count": 0,
        "included_units": 0,
        "last_reconciled_at": null,
        "period_end": "2026-11-06T00:00:00Z",
        "period_start": "2026-11-06T00:00:00Z",
        "remaining_units": 0,
        "reserved_units": 0
      },
      "meta": {
        "as_of": "2026-11-06T00:00:00Z",
        "collected_at": null,
        "next_cursor": null,
        "next_refresh_at": null,
        "request_id": "00000000-0000-4000-8000-000000000001",
        "rights_filtered": false,
        "schema_version": "1.0",
        "stale": false,
        "warnings": []
      }
    }
    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.breakdownarray of objectYes
    data.breakdown[].operationstring | nullYes
    data.breakdown[].unitsintegerYes
    data.consumed_unitsintegerYes
    data.free_read_countintegerYes
    data.included_unitsintegerYes
    data.last_reconciled_atstring (date-time) | nullYes
    data.locationsobjectNo
    data.locations.limitintegerConditional
    data.locations.usedintegerConditional
    data.period_endstring (date-time)Yes
    data.period_startstring (date-time)Yes
    data.remaining_unitsintegerYes
    data.reserved_unitsintegerYesCredits held for the run.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Get Citation Fieldsfields_citation

    Open this request with Python and TypeScript examples

    • Query view is fields.
    • Query resource_kind is citation.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idquerystring (uuid)Yes
    viewquery"fields"Yes
    resource_kindquery"citation"Yes

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/account" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode "brand_id=$BRAND_ID" \
      --data-urlencode 'view=fields' \
      --data-urlencode 'resource_kind=citation'

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.built_in_fieldsarray of stringYesNames of the standard fields for this record type.
    data.fieldsarray of objectYesCustom field definitions for this brand.
    data.fields[].idstring (uuid)Yes
    data.fields[].labelstringYes
    data.fields[].type"text" | "number" | "date" | "single_select" | "multi_select"Yes
    data.fields[].optionsarray of objectYes
    data.fields[].options[].archivedbooleanYes
    data.fields[].options[].idstringYes
    data.fields[].options[].labelstringYes
    data.fields[].archivedbooleanYes
    data.fields[].revisionintegerYesCurrent revision. Use it when you edit this record.
    data.valuesarray of objectYesSaved field values for records you can read.
    data.values[].page_idstringYes
    data.values[].field_idstring (uuid)Yes
    data.values[].valuestring | number | array of string | nullYes
    data.values[].revisionintegerYesCurrent revision. Use it when you edit this record.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Get Fieldsfields_prompt

    Open this request with Python and TypeScript examples

    • Query view is fields.
    • Query resource_kind is prompt.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    prompts:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idquerystring (uuid)Yes
    viewquery"fields"Yes
    resource_kindquery"prompt"Yes

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/account" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode "brand_id=$BRAND_ID" \
      --data-urlencode 'view=fields' \
      --data-urlencode 'resource_kind=prompt'

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.built_in_fieldsarray of stringYesNames of the standard fields for this record type.
    data.fieldsarray of objectYesCustom field definitions for this brand.
    data.fields[].idstring (uuid)Yes
    data.fields[].labelstringYes
    data.fields[].type"text" | "number" | "date" | "single_select" | "multi_select"Yes
    data.fields[].optionsarray of objectYes
    data.fields[].options[].archivedbooleanYes
    data.fields[].options[].idstringYes
    data.fields[].options[].labelstringYes
    data.fields[].archivedbooleanYes
    data.fields[].revisionintegerYesCurrent revision. Use it when you edit this record.
    data.valuesarray of objectYesSaved field values for records you can read.
    data.values[].prompt_idstring (uuid)Yes
    data.values[].field_idstring (uuid)Yes
    data.values[].valuestring | number | array of string | nullYes
    data.values[].revisionintegerYesCurrent revision. Use it when you edit this record.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Get Topic Fieldsfields_topic

    Open this request with Python and TypeScript examples

    • Query view is fields.
    • Query resource_kind is topic.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    prompts:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idquerystring (uuid)Yes
    viewquery"fields"Yes
    resource_kindquery"topic"Yes

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/account" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode "brand_id=$BRAND_ID" \
      --data-urlencode 'view=fields' \
      --data-urlencode 'resource_kind=topic'

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.built_in_fieldsarray of stringYesNames of the standard fields for this record type.
    data.fieldsarray of objectYesCustom field definitions for this brand.
    data.fields[].idstring (uuid)Yes
    data.fields[].labelstringYes
    data.fields[].type"text" | "number" | "date" | "single_select" | "multi_select"Yes
    data.fields[].optionsarray of objectYes
    data.fields[].options[].archivedbooleanYes
    data.fields[].options[].idstringYes
    data.fields[].options[].labelstringYes
    data.fields[].archivedbooleanYes
    data.fields[].revisionintegerYesCurrent revision. Use it when you edit this record.
    data.valuesarray of objectYesSaved field values for records you can read.
    data.values[].topic_idstring (uuid)Yes
    data.values[].field_idstring (uuid)Yes
    data.values[].valuestring | number | array of string | nullYes
    data.values[].revisionintegerYesCurrent revision. Use it when you edit this record.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    PATCH /v2/account

    Update account tracking fields

    Update Citation Fieldscitation_fields

    Open this request with Python and TypeScript examples

    • Body section is citation_fields.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    audits:write
    Roles
    editor, owner, service
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    The contract lists no fields for this section.

    Request body

    {
      "brand_id": "00000000-0000-4000-8000-000000000001",
      "command": {
        "action": "field_create",
        "label": "Segment",
        "type": "text"
      },
      "mutation_id": "00000000-0000-4000-8000-000000000001",
      "section": "citation_fields"
    }
    Request body fields 1
    NameTypeRequiredDescription
    brand_idstring (uuid)Yes
    commandobject | object | objectYes
    command.action"field_create" | "field_update" | "values_update"Yes
    command.labelstringConditional
    command.optionsarray of objectNo
    command.options[].archivedbooleanNo
    command.options[].idstringConditional
    command.options[].labelstringConditional
    command.type"text" | "number" | "date" | "single_select" | "multi_select"Conditional
    command.archivedboolean | nullNo
    command.expected_revisionintegerConditional
    command.idstring (uuid)Conditional
    command.labelstring | nullNo
    command.optionsarray of object | nullNo
    command.options.archivedbooleanNo
    command.options.idstringConditional
    command.options.labelstringConditional
    command.patchesarray of objectConditional
    command.patches[].expected_revisionintegerConditional
    command.patches[].field_idstring (uuid)Conditional
    command.patches[].record_idstringConditional
    command.patches[].valuestring | integer | number | array of string | nullConditional
    mutation_idstring (uuid)Yes
    section"citation_fields"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X PATCH "$AEO_API_BASE_URL/v2/account" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Successful Response

    application/json

    Example generated from the response schema.

    {
      "data": {
        "field_id": "00000000-0000-4000-8000-000000000001",
        "revision": 1
      },
      "meta": {
        "request_id": "00000000-0000-4000-8000-000000000001",
        "as_of": "2026-01-01T00:00:00Z",
        "schema_version": "1.0",
        "warnings": [],
        "rights_filtered": false,
        "next_cursor": null,
        "collected_at": null,
        "next_refresh_at": null,
        "stale": false
      }
    }
    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobject | objectYesThe requested result. See the fields below for its contents.
    data.field_idstring (uuid)ConditionalID of the field you created or edited.
    data.revisionintegerConditionalCurrent revision. Use it when you edit this record.
    data.updated_valuesintegerConditionalNumber of values saved by values_update.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Update Fieldsprompt_fields

    Open this request with Python and TypeScript examples

    • Body section is prompt_fields.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    prompts:write
    Roles
    editor, owner, service
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    The contract lists no fields for this section.

    Request body

    {
      "brand_id": "00000000-0000-4000-8000-000000000001",
      "command": {
        "action": "field_create",
        "label": "Segment",
        "type": "text"
      },
      "mutation_id": "00000000-0000-4000-8000-000000000001",
      "section": "prompt_fields"
    }
    Request body fields 1
    NameTypeRequiredDescription
    brand_idstring (uuid)Yes
    commandobject | object | objectYes
    command.action"field_create" | "field_update" | "values_update"Yes
    command.labelstringConditional
    command.optionsarray of objectNo
    command.options[].archivedbooleanNo
    command.options[].idstringConditional
    command.options[].labelstringConditional
    command.type"text" | "number" | "date" | "single_select" | "multi_select"Conditional
    command.archivedboolean | nullNo
    command.expected_revisionintegerConditional
    command.idstring (uuid)Conditional
    command.labelstring | nullNo
    command.optionsarray of object | nullNo
    command.options.archivedbooleanNo
    command.options.idstringConditional
    command.options.labelstringConditional
    command.patchesarray of objectConditional
    command.patches[].expected_revisionintegerConditional
    command.patches[].field_idstring (uuid)Conditional
    command.patches[].record_idstringConditional
    command.patches[].valuestring | integer | number | array of string | nullConditional
    mutation_idstring (uuid)Yes
    section"prompt_fields"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X PATCH "$AEO_API_BASE_URL/v2/account" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobject | objectYesThe requested result. See the fields below for its contents.
    data.field_idstring (uuid)ConditionalID of the field you created or edited.
    data.revisionintegerConditionalCurrent revision. Use it when you edit this record.
    data.updated_valuesintegerConditionalNumber of values saved by values_update.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Update Topic Fieldstopic_fields

    Open this request with Python and TypeScript examples

    • Body section is topic_fields.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    prompts:write
    Roles
    editor, owner, service
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    The contract lists no fields for this section.

    Request body

    {
      "brand_id": "00000000-0000-4000-8000-000000000001",
      "command": {
        "action": "field_create",
        "label": "Segment",
        "type": "text"
      },
      "mutation_id": "00000000-0000-4000-8000-000000000001",
      "section": "topic_fields"
    }
    Request body fields 1
    NameTypeRequiredDescription
    brand_idstring (uuid)Yes
    commandobject | object | objectYes
    command.action"field_create" | "field_update" | "values_update"Yes
    command.labelstringConditional
    command.optionsarray of objectNo
    command.options[].archivedbooleanNo
    command.options[].idstringConditional
    command.options[].labelstringConditional
    command.type"text" | "number" | "date" | "single_select" | "multi_select"Conditional
    command.archivedboolean | nullNo
    command.expected_revisionintegerConditional
    command.idstring (uuid)Conditional
    command.labelstring | nullNo
    command.optionsarray of object | nullNo
    command.options.archivedbooleanNo
    command.options.idstringConditional
    command.options.labelstringConditional
    command.patchesarray of objectConditional
    command.patches[].expected_revisionintegerConditional
    command.patches[].field_idstring (uuid)Conditional
    command.patches[].record_idstringConditional
    command.patches[].valuestring | integer | number | array of string | nullConditional
    mutation_idstring (uuid)Yes
    section"topic_fields"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X PATCH "$AEO_API_BASE_URL/v2/account" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobject | objectYesThe requested result. See the fields below for its contents.
    data.field_idstring (uuid)ConditionalID of the field you created or edited.
    data.revisionintegerConditionalCurrent revision. Use it when you edit this record.
    data.updated_valuesintegerConditionalNumber of values saved by values_update.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    GET /v2/analytics/{dataset}

    Read an analytics dataset

    Read prompt metrics and answer evidenceprompts

    Open this request with Python and TypeScript examples

    • Path dataset is prompts.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    datasetpath"prompts"Yes
    brand_idquerystring (uuid)Yesbrand_id
    start_atquerystring (date-time)YesInclusive UTC timestamp.
    end_atquerystring (date-time)YesExclusive UTC timestamp; after start_at. Maximum window per plan/history and 366 days per synchronous query.
    category_idquerystring | nullNocategory_id
    platformquery"chatgpt" | "gemini" | "claude" | "perplexity" | "google" | "bing" | "brave" | "meta_ai" | "grok" | "universal"Noplatform
    modequery"ui_normal" | "ui_search" | "api_normal" | "api_web" | "ai_mode" | "ai_overview" | "organic_search"Nomode
    countryquerystringNocountry
    languagequerystringNolanguage
    location_idquerystring (uuid)Nolocation_id
    cohort_versionquerystring | nullNocohort_version
    metric_versionquerystring | nullNometric_version
    group_byqueryarray of "date" | "source" | "country" | "language" | "location" | "currency" | "city" | "region"Nogroup_by
    cursorquerystringNocursor
    limitqueryintegerNolimit
    prompt_idquerystring (uuid)Noprompt_id
    observation_idquerystring (uuid)Noobservation_id
    include_evidencequerybooleanNoinclude_evidence
    providerquerystring | nullNoFilter by source label. Available labels include official_api, collector_a, collector_b, collector_c, collector_d, collector_e, collector_f, collector_g, collector_h.
    cityquerystring | nullNocity
    devicequery"desktop" | "mobile" | "unknown"Nodevice
    search_activityquery"observed" | "not_observed" | "unknown"NoFilter actual evidenced web-search state independently of requested mode. Omit for all states; not_observed requires reliable no-search evidence.
    viewquery"summary" | "history" | "compare"Nohistory returns dated samples; compare requires both previous-window parameters and prompt_id.
    prompt_versionqueryintegerNoPin version; comparisons never silently merge versions.
    compare_start_atquerystring (date-time)NoInclusive previous-window start; required with view=compare.
    compare_end_atquerystring (date-time)NoExclusive previous-window end; required with view=compare.

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/analytics/prompts" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode "brand_id=$BRAND_ID" \
      --data-urlencode "start_at=$START_AT" \
      --data-urlencode "end_at=$END_AT"

    Responses

    HTTP 200

    Read prompt metrics and answer evidence result.

    HTTP 200 headers
    NameTypeRequiredDescription
    X-RateLimit-LimitintegerNoRequests in rate window.
    X-RateLimit-RemainingintegerNoRemaining request tokens.
    X-RateLimit-ResetintegerNoUTC Unix seconds when window resets.
    X-Request-Idstring (uuid)NoTrace identifier.
    X-Usage-UnitsintegerNoCU charged by this response; GET and account/usage always zero.

    application/json

    {
      "data": [],
      "meta": {
        "as_of": "2026-11-06T00:00:00Z",
        "collected_at": null,
        "next_cursor": null,
        "next_refresh_at": null,
        "request_id": "00000000-0000-4000-8000-000000000001",
        "rights_filtered": false,
        "schema_version": "1.0",
        "stale": false,
        "warnings": []
      }
    }
    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataarray of objectYesThe requested result. See the fields below for its contents.
    data[].brand_idstring (uuid)Yes
    data[].citystring | null | nullYes
    data[].competitor_gapnumber | nullYes
    data[].countrystringYes
    data[].coverageobjectYes
    data[].coverage.effective_promptsnumberNo
    data[].coverage.expected_promptsintegerYes
    data[].coverage.failed_attemptsintegerYes
    data[].coverage.low_samplebooleanYes
    data[].coverage.missing_weightnumberYes
    data[].coverage.observed_weightnumberYes
    data[].coverage.ranked_answersintegerNo
    data[].coverage.repeat_countintegerNo
    data[].coverage.status"ok" | "partial" | "insufficient_data"Yes
    data[].coverage.unique_promptsintegerYes
    data[].coverage.valid_answersintegerYes
    data[].device"desktop" | "mobile" | "unknown"Yes
    data[].evidencearray of objectYes
    data[].evidence[].answer_textstring | nullNo
    data[].evidence[].answer_text_truncatedbooleanNo
    data[].evidence[].applied_locationobject | nullNo
    data[].evidence[].applied_location.citystring | nullNo
    data[].evidence[].applied_location.countrystring | nullNo
    data[].evidence[].applied_location.granularity"country" | "region" | "city" | "postal" | "coordinates"Conditional
    data[].evidence[].applied_location.latitudenumber | nullNo
    data[].evidence[].applied_location.longitudenumber | nullNo
    data[].evidence[].applied_location.postal_codestring | nullNo
    data[].evidence[].applied_location.regionstring | nullNo
    data[].evidence[].brand_citedboolean | nullNo
    data[].evidence[].brand_mentionedboolean | nullNo
    data[].evidence[].brand_presentboolean | nullNo
    data[].evidence[].citationsarray of objectYes
    data[].evidence[].citations[].anchorstring | nullNo
    data[].evidence[].citations[].domainstring | nullYes
    data[].evidence[].citations[].evidencestring | nullNo
    data[].evidence[].citations[].observation_idstring (uuid)Yes
    data[].evidence[].citations[].orderintegerYes
    data[].evidence[].citations[].titlestring | null | nullNo
    data[].evidence[].citations[].urlstring (uri)Yes
    data[].evidence[].collected_atstring (date-time)Yes
    data[].evidence[].effective_countrystring | nullNo
    data[].evidence[].grounding_observedboolean | nullYes
    data[].evidence[].grounding_requestedboolean | nullYes
    data[].evidence[].location_idstring (uuid)No
    data[].evidence[].marketobjectYes
    data[].evidence[].market.citystring | null | nullNo
    data[].evidence[].market.countrystringYes
    data[].evidence[].market.languagestringYes
    data[].evidence[].market.latitudenumber | nullNo
    data[].evidence[].market.location_idstring (uuid)No
    data[].evidence[].market.longitudenumber | nullNo
    data[].evidence[].market.postal_codestring | nullNo
    data[].evidence[].market.regionstring | null | nullNo
    data[].evidence[].mentionsarray of objectYes
    data[].evidence[].mentions[].confidencenumberYes
    data[].evidence[].mentions[].endintegerYes
    data[].evidence[].mentions[].entity_idstring (uuid) | nullNo
    data[].evidence[].mentions[].namestring | nullYes
    data[].evidence[].mentions[].rankinteger | nullYes
    data[].evidence[].mentions[].role"mention" | "recommendation"Yes
    data[].evidence[].mentions[].startintegerYes
    data[].evidence[].mode"ui_normal" | "ui_search" | "api_normal" | "api_web" | "ai_mode" | "ai_overview" | "organic_search" | "unverified"Yes
    data[].evidence[].observation_idstring (uuid)Yes
    data[].evidence[].observed_countrystring | nullNo
    data[].evidence[].platform"chatgpt" | "gemini" | "claude" | "perplexity" | "google" | "bing" | "brave" | "meta_ai" | "grok" | "universal"Yes
    data[].evidence[].prompt_idstring (uuid)Yes
    data[].evidence[].prompt_versionintegerYes
    data[].evidence[].providerstring | nullYes
    data[].evidence[].quality_flagsarray of stringYes
    data[].evidence[].rankinteger | nullNo
    data[].evidence[].raw_download_urlstring (uri) | nullNo
    data[].evidence[].recommendedboolean | nullNo
    data[].evidence[].recommended_competitorsarray of objectNo
    data[].evidence[].recommended_competitors[].namestringConditional
    data[].evidence[].recommended_competitors[].rankinteger | nullConditional
    data[].evidence[].response_textstring | nullYesDisplay text while evidence rights allow.
    data[].evidence[].rights_class"commercial_approved"Yes
    data[].evidence[].search_traceobjectYesIf search_observed is null, the result is unknown and includes a reason. If it is false, the evidence shows no search. A provider_complete result means the source reported all the search activity it can show. That activity may omit sites considered during the search.
    data[].evidence[].search_trace.disclosure"none" | "partial" | "provider_complete"Yes
    data[].evidence[].search_trace.eventsarray of objectYes
    data[].evidence[].search_trace.events[].domainstring | nullNo
    data[].evidence[].search_trace.events[].evidence_referencestringYes
    data[].evidence[].search_trace.events[].kind"query" | "search_result" | "visited_page" | "citation"Yes
    data[].evidence[].search_trace.events[].occurred_atstring (date-time) | nullNo
    data[].evidence[].search_trace.events[].ordinalinteger | nullNo
    data[].evidence[].search_trace.events[].origin"provider_report" | "native_tool_trace" | "authorized_ui_observation" | "citation_extraction"Yes
    data[].evidence[].search_trace.events[].querystring | nullNo
    data[].evidence[].search_trace.events[].urlstring (uri) | nullNo
    data[].evidence[].search_trace.search_observedboolean | nullYes
    data[].evidence[].search_trace.unknown_reasonstring | nullYes
    data[].evidence[].sentimentValueNo
    data[].evidence[].text_truncatedbooleanNo
    data[].languagestringYes
    data[].mention_ratenumber | nullYes
    data[].mode"ui_normal" | "ui_search" | "api_normal" | "api_web" | "ai_mode" | "ai_overview" | "organic_search"Yes
    data[].platform"chatgpt" | "gemini" | "claude" | "perplexity" | "google" | "bing" | "brave" | "meta_ai" | "grok" | "universal"Yes
    data[].prompt_idstring (uuid)Yes
    data[].providerstring | nullYes
    data[].search_activity"observed" | "not_observed" | "unknown" | "all"NoGrouping across observed states is explicit as all; unknown never relabeled not_observed.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.
    HTTP 200 response fields 2
    NameTypeRequiredDescription
    dataarray of objectYesThe requested result. See the fields below for its contents.
    data[].added_citationsarray of string (uri)Yes
    data[].answer_changedboolean | nullYes
    data[].brand_idstring (uuid)Yes
    data[].brand_presentboolean | nullYes
    data[].cohort_keystringYes
    data[].collected_atstring (date-time) | nullYes
    data[].evidenceobject | nullYes
    data[].evidence.answer_textstring | nullNo
    data[].evidence.answer_text_truncatedbooleanNo
    data[].evidence.applied_locationobject | nullNo
    data[].evidence.applied_location.citystring | nullNo
    data[].evidence.applied_location.countrystring | nullNo
    data[].evidence.applied_location.granularity"country" | "region" | "city" | "postal" | "coordinates"Conditional
    data[].evidence.applied_location.latitudenumber | nullNo
    data[].evidence.applied_location.longitudenumber | nullNo
    data[].evidence.applied_location.postal_codestring | nullNo
    data[].evidence.applied_location.regionstring | nullNo
    data[].evidence.brand_citedboolean | nullNo
    data[].evidence.brand_mentionedboolean | nullNo
    data[].evidence.brand_presentboolean | nullNo
    data[].evidence.citationsarray of objectConditional
    data[].evidence.citations[].anchorstring | nullNo
    data[].evidence.citations[].domainstring | nullConditional
    data[].evidence.citations[].evidencestring | nullNo
    data[].evidence.citations[].observation_idstring (uuid)Conditional
    data[].evidence.citations[].orderintegerConditional
    data[].evidence.citations[].titlestring | null | nullNo
    data[].evidence.citations[].urlstring (uri)Conditional
    data[].evidence.collected_atstring (date-time)Conditional
    data[].evidence.effective_countrystring | nullNo
    data[].evidence.grounding_observedboolean | nullConditional
    data[].evidence.grounding_requestedboolean | nullConditional
    data[].evidence.location_idstring (uuid)No
    data[].evidence.marketobjectConditional
    data[].evidence.market.citystring | null | nullNo
    data[].evidence.market.countrystringConditional
    data[].evidence.market.languagestringConditional
    data[].evidence.market.latitudenumber | nullNo
    data[].evidence.market.location_idstring (uuid)No
    data[].evidence.market.longitudenumber | nullNo
    data[].evidence.market.postal_codestring | nullNo
    data[].evidence.market.regionstring | null | nullNo
    data[].evidence.mentionsarray of objectConditional
    data[].evidence.mentions[].confidencenumberConditional
    data[].evidence.mentions[].endintegerConditional
    data[].evidence.mentions[].entity_idstring (uuid) | nullNo
    data[].evidence.mentions[].namestring | nullConditional
    data[].evidence.mentions[].rankinteger | nullConditional
    data[].evidence.mentions[].role"mention" | "recommendation"Conditional
    data[].evidence.mentions[].startintegerConditional
    data[].evidence.mode"ui_normal" | "ui_search" | "api_normal" | "api_web" | "ai_mode" | "ai_overview" | "organic_search" | "unverified"Conditional
    data[].evidence.observation_idstring (uuid)Conditional
    data[].evidence.observed_countrystring | nullNo
    data[].evidence.platform"chatgpt" | "gemini" | "claude" | "perplexity" | "google" | "bing" | "brave" | "meta_ai" | "grok" | "universal"Conditional
    data[].evidence.prompt_idstring (uuid)Conditional
    data[].evidence.prompt_versionintegerConditional
    data[].evidence.providerstring | nullConditional
    data[].evidence.quality_flagsarray of stringConditional
    data[].evidence.rankinteger | nullNo
    data[].evidence.raw_download_urlstring (uri) | nullNo
    data[].evidence.recommendedboolean | nullNo
    data[].evidence.recommended_competitorsarray of objectNo
    data[].evidence.recommended_competitors[].namestringConditional
    data[].evidence.recommended_competitors[].rankinteger | nullConditional
    data[].evidence.response_textstring | nullConditionalDisplay text while evidence rights allow.
    data[].evidence.rights_class"commercial_approved"Conditional
    data[].evidence.search_traceobjectConditionalIf search_observed is null, the result is unknown and includes a reason. If it is false, the evidence shows no search. A provider_complete result means the source reported all the search activity it can show. That activity may omit sites considered during the search.
    data[].evidence.search_trace.disclosure"none" | "partial" | "provider_complete"Conditional
    data[].evidence.search_trace.eventsarray of objectConditional
    data[].evidence.search_trace.events[].domainstring | nullNo
    data[].evidence.search_trace.events[].evidence_referencestringConditional
    data[].evidence.search_trace.events[].kind"query" | "search_result" | "visited_page" | "citation"Conditional
    data[].evidence.search_trace.events[].occurred_atstring (date-time) | nullNo
    data[].evidence.search_trace.events[].ordinalinteger | nullNo
    data[].evidence.search_trace.events[].origin"provider_report" | "native_tool_trace" | "authorized_ui_observation" | "citation_extraction"Conditional
    data[].evidence.search_trace.events[].querystring | nullNo
    data[].evidence.search_trace.events[].urlstring (uri) | nullNo
    data[].evidence.search_trace.search_observedboolean | nullConditional
    data[].evidence.search_trace.unknown_reasonstring | nullConditional
    data[].evidence.sentimentValueNo
    data[].evidence.text_truncatedbooleanNo
    data[].location_idstring (uuid)No
    data[].marketobjectYes
    data[].market.citystring | null | nullNo
    data[].market.countrystringYes
    data[].market.languagestringYes
    data[].market.latitudenumber | nullNo
    data[].market.location_idstring (uuid)No
    data[].market.longitudenumber | nullNo
    data[].market.postal_codestring | nullNo
    data[].market.regionstring | null | nullNo
    data[].mode"ui_normal" | "ui_search" | "api_normal" | "api_web" | "ai_mode" | "ai_overview" | "organic_search"Yes
    data[].platform"chatgpt" | "gemini" | "claude" | "perplexity" | "google" | "bing" | "brave" | "meta_ai" | "grok" | "universal"Yes
    data[].prompt_idstring (uuid)Yes
    data[].prompt_versionintegerYes
    data[].providerstring | nullYes
    data[].rankinteger | nullNo
    data[].recommendedboolean | nullYes
    data[].recommended_competitorsarray of objectNo
    data[].recommended_competitors[].namestringConditional
    data[].recommended_competitors[].rankinteger | nullConditional
    data[].removed_citationsarray of string (uri)Yes
    data[].sample_status"valid" | "failed" | "missed" | "blocked" | "invalid"Yes
    data[].scheduled_atstring (date-time)Yes
    data[].search_observedboolean | nullYes
    data[].sentimentValueNo
    data[].warningsarray of stringYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.
    HTTP 200 response fields 3
    NameTypeRequiredDescription
    dataarray of objectYesThe requested result. See the fields below for its contents.
    data[].brand_idstring (uuid)Yes
    data[].cohort_keystringYes
    data[].comparablebooleanYes
    data[].currentobjectYes
    data[].current.end_atstring (date-time)Yes
    data[].current.expected_samplesintegerYes
    data[].current.mention_ratenumber | nullYes
    data[].current.present_samplesintegerYes
    data[].current.start_atstring (date-time)Yes
    data[].current.valid_samplesintegerYes
    data[].marketobjectYes
    data[].market.citystring | null | nullNo
    data[].market.countrystringYes
    data[].market.languagestringYes
    data[].market.regionstring | null | nullNo
    data[].mention_delta_ppnumber | nullYes
    data[].mode"ui_normal" | "ui_search" | "api_normal" | "api_web" | "ai_mode" | "ai_overview" | "organic_search"Yes
    data[].platform"chatgpt" | "gemini" | "claude" | "perplexity" | "google" | "bing" | "brave" | "meta_ai" | "grok" | "universal"Yes
    data[].previousobjectYes
    data[].previous.end_atstring (date-time)Yes
    data[].previous.expected_samplesintegerYes
    data[].previous.mention_ratenumber | nullYes
    data[].previous.present_samplesintegerYes
    data[].previous.start_atstring (date-time)Yes
    data[].previous.valid_samplesintegerYes
    data[].prompt_idstring (uuid)Yes
    data[].prompt_versionintegerYes
    data[].providerstring | nullYes
    data[].warningsarray of stringYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Read comparable visibility metricsvisibility

    Open this request with Python and TypeScript examples

    • Path dataset is visibility.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    datasetpath"visibility"Yes
    brand_idquerystring (uuid)Yesbrand_id
    start_atquerystring (date-time)YesInclusive UTC timestamp.
    end_atquerystring (date-time)YesExclusive UTC timestamp; after start_at. Maximum window per plan/history and 366 days per synchronous query.
    category_idquerystring | nullNocategory_id
    platformquery"chatgpt" | "gemini" | "claude" | "perplexity" | "google" | "bing" | "brave" | "meta_ai" | "grok" | "universal"Noplatform
    modequery"ui_normal" | "ui_search" | "api_normal" | "api_web" | "ai_mode" | "ai_overview" | "organic_search"Nomode
    countryquerystringNocountry
    languagequerystringNolanguage
    location_idquerystring (uuid)Nolocation_id
    cohort_versionquerystring | nullNocohort_version
    metric_versionquerystring | nullNometric_version
    group_byqueryarray of "date" | "source" | "country" | "language" | "location" | "currency" | "city" | "region"Nogroup_by
    cursorquerystringNocursor
    limitqueryintegerNolimit
    providerquerystring | nullNoFilter by source label. Available labels include official_api, collector_a, collector_b, collector_c, collector_d, collector_e, collector_f, collector_g, collector_h.
    cityquerystring | nullNocity
    devicequery"desktop" | "mobile" | "unknown"Nodevice
    search_activityquery"observed" | "not_observed" | "unknown"NoFilter actual evidenced web-search state independently of requested mode. Omit for all states; not_observed requires reliable no-search evidence.

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/analytics/visibility" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode "brand_id=$BRAND_ID" \
      --data-urlencode "start_at=$START_AT" \
      --data-urlencode "end_at=$END_AT"

    Responses

    HTTP 200

    Read comparable visibility metrics result.

    HTTP 200 headers
    NameTypeRequiredDescription
    X-RateLimit-LimitintegerNoRequests in rate window.
    X-RateLimit-RemainingintegerNoRemaining request tokens.
    X-RateLimit-ResetintegerNoUTC Unix seconds when window resets.
    X-Request-Idstring (uuid)NoTrace identifier.
    X-Usage-UnitsintegerNoCU charged by this response; GET and account/usage always zero.

    application/json

    {
      "data": [
        {
          "brand_id": "00000000-0000-4000-8000-000000000001",
          "city": null,
          "comparison_set_version": "competitors-r1",
          "confidence_interval": null,
          "country": "US",
          "coverage": {
            "expected_prompts": 30,
            "failed_attempts": 0,
            "low_sample": false,
            "missing_weight": 0,
            "observed_weight": 1,
            "status": "ok",
            "unique_prompts": 30,
            "valid_answers": 30
          },
          "device": "desktop",
          "language": "en",
          "mean_rank": 2,
          "mention_rate": 0.6,
          "mode": "api_normal",
          "owned_citation_rate": 0.3,
          "platform": "chatgpt",
          "provider": "collector_a",
          "recommendation_rate": 0.4,
          "sentiment_score": 0.5,
          "share_of_voice": 0.25,
          "visibility_score": 60
        }
      ],
      "meta": {
        "as_of": "2026-11-06T00:00:00Z",
        "collected_at": null,
        "next_cursor": null,
        "next_refresh_at": null,
        "request_id": "00000000-0000-4000-8000-000000000001",
        "rights_filtered": false,
        "schema_version": "1.0",
        "stale": false,
        "warnings": []
      }
    }
    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataarray of objectYesThe requested result. See the fields below for its contents.
    data[].brand_idstring (uuid)Yes
    data[].citystring | null | nullYes
    data[].comparison_set_versionstring | nullYes
    data[].confidence_intervalobject | nullYes
    data[].confidence_interval.clustersintegerConditional
    data[].confidence_interval.level0.95Conditional
    data[].confidence_interval.lowernumberConditional
    data[].confidence_interval.method"prompt_cluster_bootstrap"Conditional
    data[].confidence_interval.uppernumberConditional
    data[].countrystringYes
    data[].coverageobjectYes
    data[].coverage.effective_promptsnumberNo
    data[].coverage.expected_promptsintegerYes
    data[].coverage.failed_attemptsintegerYes
    data[].coverage.low_samplebooleanYes
    data[].coverage.missing_weightnumberYes
    data[].coverage.observed_weightnumberYes
    data[].coverage.ranked_answersintegerNo
    data[].coverage.repeat_countintegerNo
    data[].coverage.status"ok" | "partial" | "insufficient_data"Yes
    data[].coverage.unique_promptsintegerYes
    data[].coverage.valid_answersintegerYes
    data[].datestring (date) | nullNo
    data[].device"desktop" | "mobile" | "unknown"Yes
    data[].languagestringYes
    data[].location_idstring (uuid) | nullNo
    data[].marketobjectNo
    data[].market.citystring | null | nullNo
    data[].market.countrystringConditional
    data[].market.languagestringConditional
    data[].market.latitudenumber | nullNo
    data[].market.location_idstring (uuid)No
    data[].market.longitudenumber | nullNo
    data[].market.postal_codestring | nullNo
    data[].market.regionstring | null | nullNo
    data[].mean_ranknumber | nullYes
    data[].median_ranknumber | nullNo
    data[].mention_ratenumber | nullYes
    data[].mode"ui_normal" | "ui_search" | "api_normal" | "api_web" | "ai_mode" | "ai_overview" | "organic_search"Yes
    data[].owned_citation_ratenumber | nullYes
    data[].platform"chatgpt" | "gemini" | "claude" | "perplexity" | "google" | "bing" | "brave" | "meta_ai" | "grok" | "universal"Yes
    data[].prompt_idstring (uuid) | nullNo
    data[].providerstring | nullYes
    data[].recommendation_ratenumber | nullYes
    data[].recommendation_share_of_voicenumber | nullNo
    data[].search_activity"observed" | "not_observed" | "unknown" | "all"NoGrouping across observed states is explicit as all; unknown never relabeled not_observed.
    data[].sentiment_distributionobjectNo
    data[].sentiment_distribution.negativenumber | nullConditional
    data[].sentiment_distribution.neutralnumber | nullConditional
    data[].sentiment_distribution.positivenumber | nullConditional
    data[].sentiment_distribution.uncertainnumber | nullConditional
    data[].sentiment_scorenumber | nullYes
    data[].share_of_voicenumber | nullYes
    data[].visibility_scorenumber | nullYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Read comparable visibility metricslocations

    Open this request with Python and TypeScript examples

    • Path dataset is locations.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    datasetpath"locations"Yes
    brand_idquerystring (uuid)Yesbrand_id
    start_atquerystring (date-time)NoSupply both dates or omit both to start with the current UTC month. Later pages keep the first page's dates.
    end_atquerystring (date-time)NoSupply both dates or omit both to start with the current UTC month. Later pages keep the first page's dates.
    category_idquerystring | nullNocategory_id
    platformquery"chatgpt" | "gemini" | "claude" | "perplexity" | "google" | "bing" | "brave" | "meta_ai" | "grok" | "universal"Noplatform
    modequery"ui_normal" | "ui_search" | "api_normal" | "api_web" | "ai_mode" | "ai_overview" | "organic_search"Nomode
    countryquerystringNocountry
    languagequerystringNolanguage
    location_idquerystring (uuid)Nolocation_id
    cohort_versionquerystring | nullNocohort_version
    metric_versionquerystring | nullNometric_version
    group_byqueryarray of "date" | "source" | "country" | "language" | "location" | "currency" | "city" | "region"Nogroup_by
    cursorquerystringNocursor
    limitqueryintegerNolimit
    providerquerystring | nullNoFilter by source label. Available labels include official_api, collector_a, collector_b, collector_c, collector_d, collector_e, collector_f, collector_g, collector_h.
    cityquerystring | nullNocity
    devicequery"desktop" | "mobile" | "unknown"Nodevice
    search_activityquery"observed" | "not_observed" | "unknown"NoFilter actual evidenced web-search state independently of requested mode. Omit for all states; not_observed requires reliable no-search evidence.

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/analytics/locations" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode "brand_id=$BRAND_ID"

    Responses

    HTTP 200

    Read comparable visibility metrics result.

    HTTP 200 headers
    NameTypeRequiredDescription
    X-RateLimit-LimitintegerNoRequests in rate window.
    X-RateLimit-RemainingintegerNoRemaining request tokens.
    X-RateLimit-ResetintegerNoUTC Unix seconds when window resets.
    X-Request-Idstring (uuid)NoTrace identifier.
    X-Usage-UnitsintegerNoCU charged by this response; GET and account/usage always zero.

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataarray of objectYesThe requested result. See the fields below for its contents.
    data[].average_ranknumber | nullYes
    data[].citation_coveragenumber | nullYes
    data[].citystring | nullNo
    data[].countrystring | nullNo
    data[].group"brand" | "location" | "city" | "region"Yes
    data[].location_idstring (uuid)No
    data[].mention_ratenumber | nullYes
    data[].mention_rate_changenumber | nullYes
    data[].recommendation_ratenumber | nullYes
    data[].regionstring | nullNo
    data[].sentimentobjectYes
    data[].sentiment.[key]integerNoValue for each key.
    data[].top_competitorstring | nullYes
    data[].valid_answersintegerYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Read engine scoresradar

    Open this request with Python and TypeScript examples

    • Path dataset is radar.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    datasetpath"radar"Yes
    brand_idquerystring (uuid)Yes
    start_atquerystring (date-time)Yes
    end_atquerystring (date-time)Yes
    enginequery"chatgpt" | "gemini" | "claude" | "perplexity" | "google" | "bing" | "brave" | "meta_ai" | "grok" | "universal" | nullNo
    platformquery"chatgpt" | "gemini" | "claude" | "perplexity" | "google" | "bing" | "brave" | "meta_ai" | "grok" | "universal" | nullNo
    modequery"ui_normal" | "ui_search" | "api_normal" | "api_web" | "ai_mode" | "ai_overview" | "organic_search" | nullNo
    countryquerystring | nullNo
    languagequerystring | nullNo
    cityquerystring | nullNo
    category_idquerystring | nullNo
    location_idquerystring (uuid) | nullNo
    group_byquery"location" | "city" | "region" | nullNo
    prompt_idquerystring (uuid) | nullNo
    prompt_versionqueryinteger | nullNo
    limitqueryintegerNo
    cursorquerystring | nullNo

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/analytics/radar" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode "brand_id=$BRAND_ID" \
      --data-urlencode "start_at=$START_AT" \
      --data-urlencode "end_at=$END_AT"

    Responses

    HTTP 200

    Analytics results.

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataarray of objectYesThe requested result. See the fields below for its contents.
    data[].citation_coverageobjectYes
    data[].citation_coverage.citation_eligible_answersintegerYes
    data[].citation_coverage.citation_excluded_answersintegerYes
    data[].citation_coverage.cited_answersintegerYes
    data[].citation_coverage.scorenumber | nullYes
    data[].cohort_keystringYes
    data[].engine"chatgpt" | "gemini" | "claude" | "perplexity" | "google" | "bing" | "brave" | "meta_ai" | "grok" | "universal"Yes
    data[].gap_answersintegerYes
    data[].mention_rateobjectYes
    data[].mention_rate.mentioned_answersintegerYes
    data[].mention_rate.scorenumber | nullYes
    data[].mention_rate.valid_answersintegerYes
    data[].rank_strengthobjectYes
    data[].rank_strength.mean_ranknumber | nullYes
    data[].rank_strength.ranked_answersintegerYes
    data[].rank_strength.scorenumber | nullYes
    data[].relevanceobjectYes
    data[].relevance.mention_weightnumber | nullYes
    data[].relevance.observed_weightnumberYes
    data[].relevance.scorenumber | nullYes
    data[].relevance.unique_promptsintegerYes
    data[].relevance.valid_answersintegerYes
    data[].sentimentobjectYes
    data[].sentiment.negative_answersintegerYes
    data[].sentiment.neutral_answersintegerYes
    data[].sentiment.positive_answersintegerYes
    data[].sentiment.scorenumber | nullYes
    data[].sentiment.sentiment_weightintegerYes
    data[].sentiment.uncertain_answersintegerYes
    data[].sentiment.weighted_sentimentnumber | nullYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Read answer keywordskeywords

    Open this request with Python and TypeScript examples

    • Path dataset is keywords.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    datasetpath"keywords"Yes
    brand_idquerystring (uuid)Yes
    start_atquerystring (date-time)Yes
    end_atquerystring (date-time)Yes
    enginequery"chatgpt" | "gemini" | "claude" | "perplexity" | "google" | "bing" | "brave" | "meta_ai" | "grok" | "universal" | nullNo
    platformquery"chatgpt" | "gemini" | "claude" | "perplexity" | "google" | "bing" | "brave" | "meta_ai" | "grok" | "universal" | nullNo
    modequery"ui_normal" | "ui_search" | "api_normal" | "api_web" | "ai_mode" | "ai_overview" | "organic_search" | nullNo
    countryquerystring | nullNo
    languagequerystring | nullNo
    cityquerystring | nullNo
    category_idquerystring | nullNo
    location_idquerystring (uuid) | nullNo
    group_byquery"location" | "city" | "region" | nullNo
    prompt_idquerystring (uuid) | nullNo
    prompt_versionqueryinteger | nullNo
    limitqueryintegerNo
    cursorquerystring | nullNo

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/analytics/keywords" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode "brand_id=$BRAND_ID" \
      --data-urlencode "start_at=$START_AT" \
      --data-urlencode "end_at=$END_AT"

    Responses

    HTTP 200

    Analytics results.

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataarray of object | objectYesThe requested result. See the fields below for its contents.
    data[].answer_sharenumberYes
    data[].cohort_keystringYes
    data[].eligible_answersintegerYes
    data[].engine"chatgpt" | "gemini" | "claude" | "perplexity" | "google" | "bing" | "brave" | "meta_ai" | "grok" | "universal" | nullYes
    data[].keywordstringYes
    data[].matching_answersintegerYes
    data[].scope"engine" | "all_engines"Yes
    data[].sourcesarray of stringYes
    data[].highest_share_engine"chatgpt" | "gemini" | "claude" | "perplexity" | "google" | "bing" | "brave" | "meta_ai" | "grok" | "universal"Conditional
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Read observed or modeled revenue attributionattribution

    Open this request with Python and TypeScript examples

    • Path dataset is attribution.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    attribution:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    datasetpath"attribution"Yes
    brand_idquerystring (uuid)Yesbrand_id
    start_atquerystring (date-time)YesInclusive UTC timestamp.
    end_atquerystring (date-time)YesExclusive UTC timestamp; after start_at. Maximum window per plan/history and 366 days per synchronous query.
    countryquerystringNocountry
    languagequerystringNolanguage
    location_idquerystring (uuid)Nolocation_id
    group_byqueryarray of "date" | "source" | "country" | "language" | "location" | "currency"Nogroup_by
    cursorquerystringNocursor
    limitqueryintegerNolimit
    modelquery"same_session" | "last_observed_ai_30d" | "modeled_influence" | "ga4_reported"Nosame_session observed default; explicit 30d needs identity linkage; modeled influence returns separate estimates or insufficient_data; GA4 reported aggregates stay separate.

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/analytics/attribution" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode "brand_id=$BRAND_ID" \
      --data-urlencode "start_at=$START_AT" \
      --data-urlencode "end_at=$END_AT"

    Responses

    HTTP 200

    Read observed or modeled revenue attribution result.

    HTTP 200 headers
    NameTypeRequiredDescription
    X-RateLimit-LimitintegerNoRequests in rate window.
    X-RateLimit-RemainingintegerNoRemaining request tokens.
    X-RateLimit-ResetintegerNoUTC Unix seconds when window resets.
    X-Request-Idstring (uuid)NoTrace identifier.
    X-Usage-UnitsintegerNoCU charged by this response; GET and account/usage always zero.

    application/json

    {
      "data": [],
      "meta": {
        "as_of": "2026-11-06T00:00:00Z",
        "collected_at": null,
        "next_cursor": null,
        "next_refresh_at": null,
        "request_id": "00000000-0000-4000-8000-000000000001",
        "rights_filtered": false,
        "schema_version": "1.0",
        "stale": false,
        "warnings": []
      }
    }
    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataarray of ValueYesThe requested result. See the fields below for its contents.
    data[].attribution_model"same_session" | "last_observed_ai_30d" | "modeled_influence" | "ga4_reported"Yes
    data[].brand_idstring (uuid)Yes
    data[].conversionsinteger | nullYes
    data[].countrystring | nullNoPresent only when group_by includes country. Null means the consented evidence in this row has unknown country (counted in a meta.warnings coverage note).
    data[].coverage_notestringYes
    data[].currencystringYes
    data[].datestring (date)NoPresent only when group_by includes date. The UTC day of the events booked in this row; ga4_reported rows use the GA4 report date in the property time zone.
    data[].languagestring | nullNoPresent only when group_by includes language. Lower case; null means unknown.
    data[].location_idstring (uuid) | nullNoPresent only when group_by includes location. Null means unknown; ga4_reported rows are always null (GA4 reports no location).
    data[].modeled_metricsobject | nullNo
    data[].modeled_metrics.conversion_lowernumber | nullConditional
    data[].modeled_metrics.conversion_uppernumber | nullConditional
    data[].modeled_metrics.coverage_fractionnumberConditional
    data[].modeled_metrics.expected_conversionsnumber | nullConditional
    data[].modeled_metrics.expected_revenue_minornumber | nullConditional
    data[].modeled_metrics.labeled_conversionsintegerConditional
    data[].modeled_metrics.limitationsarray of stringConditional
    data[].modeled_metrics.method"calibrated_source_classifier"Conditional
    data[].modeled_metrics.missing_inputsarray of stringConditional
    data[].modeled_metrics.model_versionstring | nullConditional
    data[].modeled_metrics.revenue_lower_minornumber | nullConditional
    data[].modeled_metrics.revenue_upper_minornumber | nullConditional
    data[].modeled_metrics.status"ready" | "insufficient_data"Conditional
    data[].observedbooleanYes
    data[].referralsinteger | nullYes
    data[].revenue_minorinteger | nullYes
    data[].sourcestring | nullYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Get Perceptionbrand_perception

    Open this request with Python and TypeScript examples

    • Path dataset is brand_perception.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    datasetpath"brand_perception"Yes
    brand_idquerystring (uuid)Yes
    monthquerystring | nullNo
    enginequerystring | nullNo
    ai_searchquerystring | nullNoThe AI search product the answer came from, such as google_ai_overviews.
    topic_idquerystring | nullNo
    prompt_idquerystring (uuid) | nullNo
    location_idquerystring (uuid)No
    group_byquery"location" | "city" | "region"No

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/analytics/brand_perception" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode "brand_id=$BRAND_ID"

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.monthstring | nullYes
    data.aggregation"selected_samples"Yes
    data.valid_answersintegerYes
    data.recorded_mention_answersintegerYes
    data.recorded_mentionsintegerYes
    data.classified_answersintegerYes
    data.unclassified_mentionsintegerYes
    data.sentimentobjectYes
    data.sentiment.positiveintegerYes
    data.sentiment.neutralintegerYes
    data.sentiment.negativeintegerYes
    data.answers_with_displayable_brand_excerptintegerYes
    data.theme_answer_countsobjectYes
    data.theme_answer_counts.[key]integerNoValue for each key.
    data.supporting_excerptsarray of objectYes
    data.supporting_excerpts[].observation_idstring (uuid)Yes
    data.supporting_excerpts[].prompt_idstring (uuid)Yes
    data.supporting_excerpts[].enginestringYes
    data.supporting_excerpts[].ai_searchstringYes
    data.supporting_excerpts[].sentimentstring | nullYes
    data.supporting_excerpts[].themesarray of stringYes
    data.supporting_excerpts[].excerptstringYes
    data.location_breakdownarray of objectNoResults for each location, city or region when you set group_by.
    data.location_breakdown[].location_idstring (uuid)No
    data.location_breakdown[].countrystring | nullNo
    data.location_breakdown[].regionstring | nullNo
    data.location_breakdown[].citystring | nullNo
    data.location_breakdown[].valid_answersintegerConditional
    data.location_breakdown[].recorded_mention_answersintegerConditional
    data.location_breakdown[].recorded_mentionsintegerConditional
    data.location_breakdown[].classified_answersintegerConditional
    data.location_breakdown[].unclassified_mentionsintegerConditional
    data.location_breakdown[].sentimentobjectConditional
    data.location_breakdown[].sentiment.positiveintegerConditional
    data.location_breakdown[].sentiment.neutralintegerConditional
    data.location_breakdown[].sentiment.negativeintegerConditional
    data.location_breakdown[].answers_with_displayable_brand_excerptintegerConditional
    data.location_breakdown[].theme_answer_countsobjectConditional
    data.location_breakdown[].theme_answer_counts.[key]integerNoValue for each key.
    data.location_breakdown[].supporting_excerptsarray of objectConditional
    data.location_breakdown[].supporting_excerpts[].observation_idstring (uuid)Conditional
    data.location_breakdown[].supporting_excerpts[].prompt_idstring (uuid)Conditional
    data.location_breakdown[].supporting_excerpts[].enginestringConditional
    data.location_breakdown[].supporting_excerpts[].ai_searchstringConditional
    data.location_breakdown[].supporting_excerpts[].sentimentstring | nullConditional
    data.location_breakdown[].supporting_excerpts[].themesarray of stringConditional
    data.location_breakdown[].supporting_excerpts[].excerptstringConditional
    data.ai_searchesobjectYesThe same perception measures for each AI search product.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Get Analytics Dashboarddashboard

    Open this request with Python and TypeScript examples

    • Path dataset is dashboard.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    datasetpath"dashboard"Yes
    audience_idquerystring (uuid) | nullNoCurrent audience assignment. Requires prompts:read.
    product_idquerystring (uuid) | nullNoCurrent product assignment. Requires prompts:read.
    service_idquerystring (uuid) | nullNoCurrent service assignment. Requires prompts:read.
    group_idquerystring (uuid) | nullNoCurrent prompt group assignment. Requires prompts:read.
    stagequery"awareness" | "consideration" | "evaluation" | "decision" | "retention" | nullNoCurrent prompt buyer stage. Requires prompts:read.
    brand_idquerystring (uuid)Yes
    report_idquerystring (uuid) | nullNo
    start_atquerystring (date-time) | nullNo
    end_atquerystring (date-time) | nullNo
    enginequerystring | nullNo
    ai_searchquerystring | nullNoThe AI search product the answer came from, such as google_ai_overviews.
    providerquerystring | nullNoFilter by source label. Available labels include official_api, collector_a, collector_b, collector_c, collector_d, collector_e, collector_f, collector_g, collector_h.
    prompt_idquerystring (uuid) | nullNo
    prompt_versionqueryinteger | nullNo
    limitqueryintegerNo
    cursorquerystring | nullNo
    sectionquery"timeline" | "channels" | "prompts"No
    location_idquerystring (uuid)No
    group_byquery"location" | "city" | "region"No

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/analytics/dashboard" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode "brand_id=$BRAND_ID"

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.reportobjectYes
    data.report.analysis_versionstring | nullYes
    data.report.brand_idstringYes
    data.report.comparison_set_versionstring | nullYes
    data.report.end_atstringYes
    data.report.generated_atstring | nullYes
    data.report.report_idstring | nullYes
    data.report.segmentationobject | nullYes
    data.report.segmentation.audience_idstring | nullConditional
    data.report.segmentation.basis"current_prompt_metadata"Conditional
    data.report.segmentation.group_idstring | nullConditional
    data.report.segmentation.product_idstring | nullConditional
    data.report.segmentation.service_idstring | nullConditional
    data.report.segmentation.stage"awareness" | "consideration" | "evaluation" | "decision" | "retention" | nullConditional
    data.report.start_atstringYes
    data.rowsarray of objectYes
    data.rows[].dimensionobjectYes
    data.rows[].dimension.ai_searchstring | nullYesThe AI search product the answer came from, such as google_ai_overviews.
    data.rows[].dimension.comparison_set_versionstring | nullYes
    data.rows[].dimension.datestring | nullYes
    data.rows[].dimension.enginestring | nullYes
    data.rows[].dimension.prompt_idstring | nullYes
    data.rows[].dimension.prompt_versioninteger | nullYes
    data.rows[].dimension.providerstring | nullYes
    data.rows[].dimension.source_cohortobject | nullYes
    data.rows[].dimension.source_cohort.[key]string | nullNoValue for each key.
    data.rows[].metricsobjectYes
    data.rows[].metrics.brand_mention_answersintegerYes
    data.rows[].metrics.brand_visibility_scorenumber | nullYes
    data.rows[].metrics.comparable_answer_countintegerYes
    data.rows[].metrics.competitor_sentimentarray of objectYes
    data.rows[].metrics.competitor_sentiment[].basis"verified_retained_answer_text"Yes
    data.rows[].metrics.competitor_sentiment[].classifier_versionstringYes
    data.rows[].metrics.competitor_sentiment[].complete_evidence_answersintegerYes
    data.rows[].metrics.competitor_sentiment[].entity_idstringYes
    data.rows[].metrics.competitor_sentiment[].rights_withheld_evidence_answersintegerYes
    data.rows[].metrics.competitor_sentiment[].sentimentobjectYes
    data.rows[].metrics.competitor_sentiment[].sentiment.classified_answersintegerYes
    data.rows[].metrics.competitor_sentiment[].sentiment.mean_scorenumber | nullYes
    data.rows[].metrics.competitor_sentiment[].sentiment.mentioned_answersintegerYes
    data.rows[].metrics.competitor_sentiment[].sentiment.negativeintegerYes
    data.rows[].metrics.competitor_sentiment[].sentiment.neutralintegerYes
    data.rows[].metrics.competitor_sentiment[].sentiment.positiveintegerYes
    data.rows[].metrics.competitor_sentiment[].sentiment.uncertainintegerYes
    data.rows[].metrics.competitor_sentiment[].sentiment.unknownintegerYes
    data.rows[].metrics.competitor_sentiment[].withheld_evidence_answersintegerYes
    data.rows[].metrics.entitiesarray of objectYes
    data.rows[].metrics.entities[].eligible_answersintegerYes
    data.rows[].metrics.entities[].entity_idstringYes
    data.rows[].metrics.entities[].mention_ratenumber | nullYes
    data.rows[].metrics.entities[].mentioned_answersintegerYes
    data.rows[].metrics.entities[].observed_namestring | nullYes
    data.rows[].metrics.entities[].role"brand" | "competitor"Yes
    data.rows[].metrics.entities[].share_of_voicenumber | nullYes
    data.rows[].metrics.entities[].share_of_voice_mentionsintegerYes
    data.rows[].metrics.gapsobjectYes
    data.rows[].metrics.gaps.[key]integerNoValue for each key.
    data.rows[].metrics.scheduled_samplesintegerYes
    data.rows[].metrics.sentimentobjectYes
    data.rows[].metrics.sentiment.classified_answersintegerYes
    data.rows[].metrics.sentiment.mean_scorenumber | nullYes
    data.rows[].metrics.sentiment.mentioned_answersintegerYes
    data.rows[].metrics.sentiment.negativeintegerYes
    data.rows[].metrics.sentiment.neutralintegerYes
    data.rows[].metrics.sentiment.positiveintegerYes
    data.rows[].metrics.sentiment.uncertainintegerYes
    data.rows[].metrics.sentiment.unknownintegerYes
    data.rows[].metrics.share_of_voice_total_mentionsintegerYes
    data.rows[].metrics.unattributed_samplesintegerYes
    data.rows[].metrics.valid_answersintegerYes
    data.rows[].metrics.visibility_prompt_versionsintegerYes
    data.section"timeline" | "channels" | "prompts"Yes
    data.summaryobjectYes
    data.summary.brand_mention_answersintegerYes
    data.summary.brand_visibility_scorenumber | nullYes
    data.summary.comparable_answer_countintegerYes
    data.summary.competitor_sentimentarray of objectYes
    data.summary.competitor_sentiment[].basis"verified_retained_answer_text"Yes
    data.summary.competitor_sentiment[].classifier_versionstringYes
    data.summary.competitor_sentiment[].complete_evidence_answersintegerYes
    data.summary.competitor_sentiment[].entity_idstringYes
    data.summary.competitor_sentiment[].rights_withheld_evidence_answersintegerYes
    data.summary.competitor_sentiment[].sentimentobjectYes
    data.summary.competitor_sentiment[].sentiment.classified_answersintegerYes
    data.summary.competitor_sentiment[].sentiment.mean_scorenumber | nullYes
    data.summary.competitor_sentiment[].sentiment.mentioned_answersintegerYes
    data.summary.competitor_sentiment[].sentiment.negativeintegerYes
    data.summary.competitor_sentiment[].sentiment.neutralintegerYes
    data.summary.competitor_sentiment[].sentiment.positiveintegerYes
    data.summary.competitor_sentiment[].sentiment.uncertainintegerYes
    data.summary.competitor_sentiment[].sentiment.unknownintegerYes
    data.summary.competitor_sentiment[].withheld_evidence_answersintegerYes
    data.summary.entitiesarray of objectYes
    data.summary.entities[].eligible_answersintegerYes
    data.summary.entities[].entity_idstringYes
    data.summary.entities[].mention_ratenumber | nullYes
    data.summary.entities[].mentioned_answersintegerYes
    data.summary.entities[].observed_namestring | nullYes
    data.summary.entities[].role"brand" | "competitor"Yes
    data.summary.entities[].share_of_voicenumber | nullYes
    data.summary.entities[].share_of_voice_mentionsintegerYes
    data.summary.gapsobjectYes
    data.summary.gaps.[key]integerNoValue for each key.
    data.summary.scheduled_samplesintegerYes
    data.summary.sentimentobjectYes
    data.summary.sentiment.classified_answersintegerYes
    data.summary.sentiment.mean_scorenumber | nullYes
    data.summary.sentiment.mentioned_answersintegerYes
    data.summary.sentiment.negativeintegerYes
    data.summary.sentiment.neutralintegerYes
    data.summary.sentiment.positiveintegerYes
    data.summary.sentiment.uncertainintegerYes
    data.summary.sentiment.unknownintegerYes
    data.summary.share_of_voice_total_mentionsintegerYes
    data.summary.unattributed_samplesintegerYes
    data.summary.valid_answersintegerYes
    data.summary.visibility_prompt_versionsintegerYes
    data.total_rowsintegerYes
    metaobjectYesInformation about this response, including any warnings or pagination details.

    Errors

    Get Impacturl_impact

    Open this request with Python and TypeScript examples

    • Path dataset is url_impact.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    attribution:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    datasetpath"url_impact"Yes
    brand_idquerystring (uuid)Yes
    urlquerystring | nullNo
    startquerystring (date) | nullNo
    endquerystring (date) | nullNo
    after_urlquerystring | nullNo
    limitqueryintegerNo
    traffic_limitqueryintegerNo
    traffic_offsetqueryintegerNo
    location_idquerystring (uuid)No
    group_byquery"location" | "city" | "region"No

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/analytics/url_impact" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode "brand_id=$BRAND_ID"

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.from_datestringYes
    data.next_after_urlstring | nullYes
    data.targetsarray of objectYes
    data.targets[].action_channelstring | nullYes
    data.targets[].citation_seriesstringYes
    data.targets[].labelstringYes
    data.targets[].next_traffic_offsetinteger | nullYes
    data.targets[].started_onstringYes
    data.targets[].trafficarray of objectYes
    data.targets[].traffic[].countintegerYes
    data.targets[].traffic[].daystringYes
    data.targets[].traffic[].kind"bot_requests" | "referral_sessions"Yes
    data.targets[].traffic[].sourcestringYes
    data.targets[].urlstringYes
    data.to_datestringYes
    data.traffic_basis"customer_reported_daily_totals"Yes
    data.unreported_days"unknown"Yes
    metaobjectYesInformation about this response, including any warnings or pagination details.

    Errors

    Get Vitalspage_experience

    Open this request with Python and TypeScript examples

    • Path dataset is page_experience.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    audits:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    datasetpath"page_experience"Yes
    brand_idquerystring (uuid)Yes
    urlquerystringYes
    devicequery"ALL" | "PHONE" | "DESKTOP" | "TABLET"No

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/analytics/page_experience" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode "brand_id=$BRAND_ID" \
      --data-urlencode "url=$URL"

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.devicestringYes
    data.measurementsarray of objectYes
    data.measurements[].all_vitals_goodboolean | nullYes
    data.measurements[].devicestringYes
    data.measurements[].metricsobjectYes
    data.measurements[].metrics.[key]objectNoValue for each key.
    data.measurements[].period_endstringYes
    data.measurements[].period_startstringYes
    data.measurements[].source"public_field_measurement" | "partner_field_measurement"Yes
    data.measurements[].urlstringYes
    data.urlstringYes
    metaobjectYesInformation about this response, including any warnings or pagination details.

    Errors

    Insightsbing_insights

    Open this request with Python and TypeScript examples

    • Path dataset is bing_insights.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    datasetpath"bing_insights"Yes
    brand_idquerystring (uuid)Yes
    websitequerystring | nullNo
    propertyquerystring | nullNo

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/analytics/bing_insights" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode "brand_id=$BRAND_ID"

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.collected_atstring | nullNo
    data.connected_atstring (date-time)No
    data.last_refresh_atstring | nullYesWhen the last refresh was attempted.
    data.last_refresh_statusnull | "pending" | "in_progress" | "collected" | "partial" | "reconnect_required"YesThe latest refresh status.
    data.propertystring (uri)No
    data.status"connected" | "reconnect_required" | "disconnected" | "website_changed"Yes
    data.websitestring (uri)No
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Searchsearch_performance

    Open this request with Python and TypeScript examples

    • Path dataset is search_performance.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    datasetpath"search_performance"Yes
    brand_idquerystring (uuid)Yes
    startquerystring (date)Yes
    endquerystring (date)Yes
    dimensionquery"date" | "query" | "page"No
    websitequerystring | nullNo
    propertyquerystring | nullNo
    enginequery"bing" | "google" | "split"No
    compare_startquerystring (date) | nullNo
    compare_endquerystring (date) | nullNo

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/analytics/search_performance" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode "brand_id=$BRAND_ID" \
      --data-urlencode "start=$START" \
      --data-urlencode "end=$END"

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.collected_atstring | nullNo
    data.connected_atstring (date-time)No
    data.last_refresh_atstring | nullNoWhen the last refresh was attempted.
    data.last_refresh_statusnull | "pending" | "in_progress" | "collected" | "partial" | "reconnect_required"NoThe latest refresh status.
    data.propertystring (uri)No
    data.status"connected" | "reconnect_required" | "disconnected" | "website_changed"No
    data.websitestring (uri)No
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Read answer accuracy and trendsanswer_accuracy

    Open this request with Python and TypeScript examples

    • Path dataset is answer_accuracy.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    datasetpath"answer_accuracy"Yes
    brand_idquerystring (uuid)Yes
    start_atquerystring (date-time) | nullNo
    end_atquerystring (date-time) | nullNo
    platformquerystring | nullNo
    countryquerystring | nullNo
    topic_idquerystring (uuid) | nullNo
    persona_idquerystring (uuid) | nullNo
    themequery"pricing" | "features" | "availability" | "policy" | "company" | "integrations" | "other" | nullNo
    group_byquery"platform" | "country" | "topic" | "persona" | "theme" | "location" | "city" | "region" | nullNo

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/analytics/answer_accuracy" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode "brand_id=$BRAND_ID"

    Responses

    HTTP 200

    Read answer accuracy and trends

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.accuracy_changenumber | nullYes
    data.currentobjectYes
    data.current.accuracy_scorenumber | nullYes
    data.current.answer_countintegerYes
    data.current.answers_with_wrong_claimsintegerYes
    data.current.contradicted_countintegerYes
    data.current.end_atstring (date-time)Yes
    data.current.insufficient_evidence_countintegerYes
    data.current.not_covered_countintegerYes
    data.current.outdated_countintegerYes
    data.current.start_atstring (date-time)Yes
    data.current.supported_countintegerYes
    data.current.wrong_answer_sharenumber | nullYes
    data.groupsarray of objectYes
    data.groups[].accuracy_scorenumber | nullYes
    data.groups[].answer_countintegerYes
    data.groups[].answers_with_wrong_claimsintegerYes
    data.groups[].contradicted_countintegerYes
    data.groups[].dimension"platform" | "country" | "topic" | "persona" | "theme"Yes
    data.groups[].end_atstring (date-time)Yes
    data.groups[].insufficient_evidence_countintegerYes
    data.groups[].not_covered_countintegerYes
    data.groups[].outdated_countintegerYes
    data.groups[].start_atstring (date-time)Yes
    data.groups[].supported_countintegerYes
    data.groups[].valuestring | nullYes
    data.groups[].wrong_answer_sharenumber | nullYes
    data.previousobjectYes
    data.previous.accuracy_scorenumber | nullYes
    data.previous.answer_countintegerYes
    data.previous.answers_with_wrong_claimsintegerYes
    data.previous.contradicted_countintegerYes
    data.previous.end_atstring (date-time)Yes
    data.previous.insufficient_evidence_countintegerYes
    data.previous.not_covered_countintegerYes
    data.previous.outdated_countintegerYes
    data.previous.start_atstring (date-time)Yes
    data.previous.supported_countintegerYes
    data.previous.wrong_answer_sharenumber | nullYes
    data.summarystringYes
    data.trendarray of objectYes
    data.trend[].accuracy_scorenumber | nullYes
    data.trend[].answer_countintegerYes
    data.trend[].answers_with_wrong_claimsintegerYes
    data.trend[].contradicted_countintegerYes
    data.trend[].end_atstring (date-time)Yes
    data.trend[].insufficient_evidence_countintegerYes
    data.trend[].not_covered_countintegerYes
    data.trend[].outdated_countintegerYes
    data.trend[].start_atstring (date-time)Yes
    data.trend[].supported_countintegerYes
    data.trend[].wrong_answer_sharenumber | nullYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Read the most frequent wrong claimswrong_claims

    Open this request with Python and TypeScript examples

    • Path dataset is wrong_claims.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    datasetpath"wrong_claims"Yes
    brand_idquerystring (uuid)Yes
    start_atquerystring (date-time) | nullNo
    end_atquerystring (date-time) | nullNo
    platformquerystring | nullNo
    countryquerystring | nullNo
    topic_idquerystring (uuid) | nullNo
    persona_idquerystring (uuid) | nullNo
    themequery"pricing" | "features" | "availability" | "policy" | "company" | "integrations" | "other" | nullNo
    limitqueryintegerNo
    cursorqueryintegerNo

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/analytics/wrong_claims" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode "brand_id=$BRAND_ID"

    Responses

    HTTP 200

    Read the most frequent wrong claims

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.itemsarray of objectYes
    data.items[].claim_idstring (uuid)Yes
    data.items[].example_run_idstringYes
    data.items[].matching_factobject | nullYes
    data.items[].matching_fact.content_idstring (uuid)Conditional
    data.items[].matching_fact.content_revisionstring (uuid)Conditional
    data.items[].matching_fact.countrystring | nullConditional
    data.items[].matching_fact.fact_idstring (uuid)Conditional
    data.items[].matching_fact.source_quotestringConditional
    data.items[].matching_fact.source_urlstringConditional
    data.items[].matching_fact.statementstringConditional
    data.items[].occurrence_countintegerYes
    data.items[].recheckobject | nullNo
    data.items[].recheck.after_answer_countintegerConditional
    data.items[].recheck.after_scorenumber | nullConditional
    data.items[].recheck.before_answer_countintegerConditional
    data.items[].recheck.before_scorenumber | nullConditional
    data.items[].recheck.claim_status"supported" | "wrong" | "not_observed" | "insufficient_evidence" | nullConditional
    data.items[].recheck.published_atstring (date-time)Conditional
    data.items[].recheck.run_idstring | nullConditional
    data.items[].recheck.status"in_progress" | "completed"Conditional
    data.items[].source_pagesarray of objectYes
    data.items[].source_pages[].ownership"brand" | "competitor" | "third_party"Yes
    data.items[].source_pages[].scope"answer" | "claim"Yes
    data.items[].source_pages[].urlstringYes
    data.items[].statementstringYes
    data.items[].theme"pricing" | "features" | "availability" | "policy" | "company" | "integrations" | "other"Yes
    data.next_cursorinteger | nullYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Read accuracy facts and suggestionsaccuracy_facts

    Open this request with Python and TypeScript examples

    • Path dataset is accuracy_facts.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    datasetpath"accuracy_facts"Yes
    brand_idquerystring (uuid)Yes
    countryquerystring | nullNo
    statusquery"approved" | "needs_review" | "suggested" | nullNo
    limitqueryintegerNo
    cursorqueryintegerNo

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/analytics/accuracy_facts" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode "brand_id=$BRAND_ID"

    Responses

    HTTP 200

    Read accuracy facts and suggestions

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.itemsarray of object | objectYes
    data.items[].content_idstring (uuid)Conditional
    data.items[].content_revisionstring (uuid)Conditional
    data.items[].countrystring | nullNo
    data.items[].effective_fromstring (date)Yes
    data.items[].effective_untilstring (date) | nullNo
    data.items[].fact_idstring (uuid)Yes
    data.items[].source_quotestringYes
    data.items[].source_urlstringYes
    data.items[].statementstringYes
    data.items[].status"approved" | "needs_review" | "suggested"Yes
    data.items[].suggestion_idstring (uuid) | nullNo
    data.items[].type"price" | "feature" | "availability" | "policy" | "company" | "integration" | "custom"Yes
    data.items[].suggestion_idstring (uuid)Conditional
    data.next_cursorinteger | nullYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Get Citationscitations

    Open this request with Python and TypeScript examples

    • Path dataset is citations.
    • Query section is omitted.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    datasetpath"citations"Yes
    brand_idquerystring (uuid)Yes
    monthquerystring | nullNo
    enginequerystring | nullNo
    ai_searchquerystring | nullNoThe AI search product the answer came from, such as google_ai_overviews.
    topic_idquerystring | nullNo
    prompt_idquerystring (uuid) | nullNo
    limitqueryintegerNo
    offsetqueryintegerNo
    page_typequery"blog" | "directory" | "review_site" | "news" | "forum" | "brand_site" | "competitor_site" | "marketplace" | "docs" | "social" | "press_release" | "comparison" | "roundup" | "guide" | "institution" | "reference" | "other" | "unknown" | "video" | nullNo
    include_page_detailsquerybooleanNo

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/analytics/citations" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode "brand_id=$BRAND_ID"

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.monthstring | nullYes
    data.next_offsetinteger | nullYes
    data.total_urlsintegerYes
    data.urlsarray of objectYes
    data.urls[].citing_answersintegerYes
    data.urls[].domainstringYes
    data.urls[].page_idstringYes
    data.urls[].urlstring (uri)Yes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.
    HTTP 200 response fields 2
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstringYesIdentifies the brand this result belongs to.
    data.monthstring | nullYes
    data.next_offsetinteger | nullYes
    data.total_urlsintegerYes
    data.urlsarray of objectYes
    data.urls[].brand_mentioned_on_pageboolean | nullNo
    data.urls[].changed_since_previous_checkboolean | nullNo
    data.urls[].citing_answersintegerNo
    data.urls[].classification_basis"curated_domain" | "url_pattern" | "page_content" | "unknown"No
    data.urls[].classification_confidencenumberNo
    data.urls[].competitors_mentioned_on_pageobjectNo
    data.urls[].competitors_mentioned_on_page.[key]boolean | nullNoValue for each key.
    data.urls[].domainstringNo
    data.urls[].last_checked_atstringNo
    data.urls[].page_idstringYes
    data.urls[].page_status"in_progress" | "live" | "gone"Yes
    data.urls[].page_type"blog" | "directory" | "review_site" | "news" | "forum" | "brand_site" | "competitor_site" | "marketplace" | "docs" | "social" | "press_release" | "comparison" | "roundup" | "guide" | "institution" | "reference" | "other" | "unknown" | "video"No
    data.urls[].page_type_confidencenumber | nullNo
    data.urls[].source_category"directory" | "review_site" | "local_directory" | "industry_directory" | "forum" | "social" | "video" | "news" | "local_news" | "comparison" | "marketplace" | "brand_site" | "competitor_site" | "docs" | "press" | "other"No
    data.urls[].urlstringYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Compare citations across monthscitation_growth

    Open this request with Python and TypeScript examples

    • Path dataset is citation_growth.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    datasetpath"citation_growth"Yes
    brand_idquerystring (uuid)Yes
    monthquerystring | nullNo
    previous_monthquerystring | nullNo
    enginequerystring | nullNo
    ai_searchquerystring | nullNoThe AI search product the answer came from, such as google_ai_overviews.
    topic_idquerystring | nullNo
    prompt_idquerystring (uuid) | nullNo
    location_idquerystring (uuid) | nullNo
    group_byquery"location" | "city" | "region" | nullNo
    ownershipquery"brand_owned" | "registered_competitor" | "other_external" | "unknown" | nullNo
    page_typequery"blog" | "directory" | "review_site" | "news" | "forum" | "brand_site" | "competitor_site" | "marketplace" | "docs" | "social" | "press_release" | "comparison" | "roundup" | "guide" | "institution" | "reference" | "other" | "unknown" | "video" | nullNo
    limitqueryintegerNo
    cursorquerystring | nullNo

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/analytics/citation_growth" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode "brand_id=$BRAND_ID"

    Responses

    HTTP 200

    Citation growth.

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstringYesIdentifies the brand this result belongs to.
    data.comparison_coverageobjectYes
    data.comparison_coverage.current_samplesintegerYes
    data.comparison_coverage.matched_pairsintegerYes
    data.comparison_coverage.previous_samplesintegerYes
    data.comparison_status"no_baseline" | "partial" | "complete"Yes
    data.currentobjectYes
    data.current.answersintegerYes
    data.current.citationsintegerYes
    data.current.monthstringYes
    data.current.pagesintegerYes
    data.current.websitesintegerYes
    data.historyarray of objectYes
    data.history[].answersintegerYes
    data.history[].citationsintegerYes
    data.history[].monthstringYes
    data.history[].pagesintegerYes
    data.history[].websitesintegerYes
    data.page_changesobject | nullYes
    data.page_changes.keptintegerConditional
    data.page_changes.lostintegerConditional
    data.page_changes.newintegerConditional
    data.pagesarray of objectYes
    data.pages[].change"new" | "lost"Yes
    data.pages[].domainstringYes
    data.pages[].urlstringYes
    data.previousobjectYes
    data.previous.answersintegerYes
    data.previous.citationsintegerYes
    data.previous.monthstringYes
    data.previous.pagesintegerYes
    data.previous.websitesintegerYes
    data.report_idstring | nullYes
    data.total_changed_pagesintegerYes
    data.website_changesobject | nullYes
    data.website_changes.keptintegerConditional
    data.website_changes.lostintegerConditional
    data.website_changes.newintegerConditional
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Read cited page checkspage_checks

    Open this request with Python and TypeScript examples

    • Path dataset is page_checks.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    datasetpath"page_checks"Yes
    brand_idquerystring (uuid)Yes
    limitqueryintegerNo
    offsetqueryintegerNo
    monthquerystring | nullNo
    enginequerystring | nullNo
    ai_searchquerystring | nullNoThe AI search product the answer came from, such as google_ai_overviews.
    topic_idquerystring | nullNo
    prompt_idquerystring (uuid) | nullNo
    page_typequery"blog" | "directory" | "review_site" | "news" | "forum" | "brand_site" | "competitor_site" | "marketplace" | "docs" | "social" | "press_release" | "comparison" | "roundup" | "guide" | "institution" | "reference" | "other" | "unknown" | "video" | nullNo
    include_page_detailsquerybooleanNo

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/analytics/page_checks" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode "brand_id=$BRAND_ID"

    Responses

    HTTP 200

    Saved page checks.

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstringYesIdentifies the brand this result belongs to.
    data.monthstring | nullYes
    data.next_offsetinteger | nullYes
    data.pagesarray of objectYes
    data.pages[].brand_mentioned_on_pageboolean | nullNo
    data.pages[].changed_since_previous_checkboolean | nullNo
    data.pages[].citing_answersintegerNo
    data.pages[].classification_basis"curated_domain" | "url_pattern" | "page_content" | "unknown"No
    data.pages[].classification_confidencenumberNo
    data.pages[].competitors_mentioned_on_pageobjectNo
    data.pages[].competitors_mentioned_on_page.[key]boolean | nullNoValue for each key.
    data.pages[].domainstringNo
    data.pages[].last_checked_atstringNo
    data.pages[].page_idstringYes
    data.pages[].page_status"in_progress" | "live" | "gone"Yes
    data.pages[].page_type"blog" | "directory" | "review_site" | "news" | "forum" | "brand_site" | "competitor_site" | "marketplace" | "docs" | "social" | "press_release" | "comparison" | "roundup" | "guide" | "institution" | "reference" | "other" | "unknown" | "video"No
    data.pages[].page_type_confidencenumber | nullNo
    data.pages[].source_category"directory" | "review_site" | "local_directory" | "industry_directory" | "forum" | "social" | "video" | "news" | "local_news" | "comparison" | "marketplace" | "brand_site" | "competitor_site" | "docs" | "press" | "other"No
    data.pages[].urlstringYes
    data.total_urlsintegerYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Get Citation Gapscitation_gaps

    Open this request with Python and TypeScript examples

    • Path dataset is citation_gaps.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    datasetpath"citation_gaps"Yes
    brand_idquerystring (uuid)Yes
    monthquerystring | nullNo
    report_idquerystring (uuid) | nullNo
    enginequerystring | nullNo
    ai_searchquerystring | nullNoThe AI search product the answer came from, such as google_ai_overviews.
    topic_idquerystring | nullNo
    prompt_idquerystring (uuid) | nullNo
    limitqueryintegerNo
    offsetqueryintegerNo
    location_idquerystring (uuid)NoLimit to one location.
    checks_as_ofquerystring (date-time)NoSend the check time from page one.

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/analytics/citation_gaps" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode "brand_id=$BRAND_ID"

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.answers_with_tracked_competitors_in_scopeintegerYes
    data.brand_idstringYesIdentifies the brand this result belongs to.
    data.brand_missing_from_countintegerYes
    data.checks_as_ofstringYes
    data.competitor_cited_sources_countintegerYes
    data.competitor_without_brand_answersintegerYes
    data.competitorsarray of objectYes
    data.competitors[].answersintegerYes
    data.competitors[].location_idstring | nullYes
    data.competitors[].namestringYes
    data.domainsarray of objectYes
    data.domains[].domainstringYes
    data.domains[].domain_relationship"registered_competitor" | "other_external"Yes
    data.domains[].gap_answers_citing_domainintegerYes
    data.gap_answers_with_displayable_citationsintegerYes
    data.location_groupsarray of objectYes
    data.location_groups[].brand_missing_from_countintegerYes
    data.location_groups[].competitor_cited_sources_countintegerYes
    data.location_groups[].location_idstring | nullYes
    data.location_idstring | nullYes
    data.missing_sourcesarray of objectYes
    data.missing_sources[].answers_affectedintegerYes
    data.missing_sources[].brand_cited_in_answersbooleanYes
    data.missing_sources[].brand_present_on_pageboolean | nullYes
    data.missing_sources[].classification_basis"curated_domain" | "url_pattern" | "page_content" | "unknown"Yes
    data.missing_sources[].classification_confidencenumberYes
    data.missing_sources[].competitor_evidence"page_check" | "co_citation"Yes
    data.missing_sources[].competitors_present_on_pagearray of stringYes
    data.missing_sources[].domainstringYes
    data.missing_sources[].enginesarray of stringYes
    data.missing_sources[].evidenceobjectYes
    data.missing_sources[].evidence.answer_idsarray of stringYes
    data.missing_sources[].evidence.competitorsarray of stringYes
    data.missing_sources[].evidence.enginesarray of stringYes
    data.missing_sources[].evidence.prompt_idsarray of stringYes
    data.missing_sources[].last_checked_atstring | nullYes
    data.missing_sources[].latest_cited_atstringYes
    data.missing_sources[].location_idstring | nullYes
    data.missing_sources[].page_typestringYes
    data.missing_sources[].priority_reasonsarray of stringYes
    data.missing_sources[].priority_scoreintegerYes
    data.missing_sources[].prompts_affectedintegerYes
    data.missing_sources[].resolved_answerobjectNo
    data.missing_sources[].resolved_answer.answer_idstring | nullConditional
    data.missing_sources[].resolved_answer.basis"page_check" | "answer"Conditional
    data.missing_sources[].resolved_answer.observed_atstringConditional
    data.missing_sources[].source_category"directory" | "review_site" | "local_directory" | "industry_directory" | "forum" | "social" | "video" | "news" | "local_news" | "comparison" | "marketplace" | "brand_site" | "competitor_site" | "docs" | "press" | "other"Yes
    data.missing_sources[].urlstringYes
    data.monthstring | nullYes
    data.next_offsetinteger | nullYes
    data.next_sources_offsetinteger | nullYes
    data.report_idstring | nullYes
    data.third_party_domainsarray of objectYes
    data.third_party_domains[].answers_affectedintegerYes
    data.third_party_domains[].competitorsarray of stringYes
    data.third_party_domains[].domainstringYes
    data.third_party_domains[].location_idstring | nullYes
    data.third_party_domains[].pagesintegerYes
    data.third_party_sourcesarray of objectYes
    data.third_party_sources[].answers_affectedintegerYes
    data.third_party_sources[].brand_cited_in_answersbooleanYes
    data.third_party_sources[].brand_present_on_pageboolean | nullYes
    data.third_party_sources[].classification_basis"curated_domain" | "url_pattern" | "page_content" | "unknown"Yes
    data.third_party_sources[].classification_confidencenumberYes
    data.third_party_sources[].competitor_evidence"page_check" | "co_citation"Yes
    data.third_party_sources[].competitors_present_on_pagearray of stringYes
    data.third_party_sources[].domainstringYes
    data.third_party_sources[].enginesarray of stringYes
    data.third_party_sources[].evidenceobjectYes
    data.third_party_sources[].evidence.answer_idsarray of stringYes
    data.third_party_sources[].evidence.competitorsarray of stringYes
    data.third_party_sources[].evidence.enginesarray of stringYes
    data.third_party_sources[].evidence.prompt_idsarray of stringYes
    data.third_party_sources[].last_checked_atstring | nullYes
    data.third_party_sources[].latest_cited_atstringYes
    data.third_party_sources[].location_idstring | nullYes
    data.third_party_sources[].page_typestringYes
    data.third_party_sources[].priority_reasonsarray of stringYes
    data.third_party_sources[].priority_scoreintegerYes
    data.third_party_sources[].prompts_affectedintegerYes
    data.third_party_sources[].resolved_answerobjectNo
    data.third_party_sources[].resolved_answer.answer_idstring | nullConditional
    data.third_party_sources[].resolved_answer.basis"page_check" | "answer"Conditional
    data.third_party_sources[].resolved_answer.observed_atstringConditional
    data.third_party_sources[].source_category"directory" | "review_site" | "local_directory" | "industry_directory" | "forum" | "social" | "video" | "news" | "local_news" | "comparison" | "marketplace" | "brand_site" | "competitor_site" | "docs" | "press" | "other"Yes
    data.third_party_sources[].urlstringYes
    data.total_domainsintegerYes
    data.total_missing_sourcesintegerYes
    data.valid_answersintegerYes
    metaobjectYesInformation about this response, including any warnings or pagination details.

    Errors

    Read cited sources in saved answers that omit a brandmissing_brand

    Open this request with Python and TypeScript examples

    • Path dataset is missing_brand.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    datasetpath"missing_brand"Yes
    brand_idquerystring (uuid)Yes
    monthquerystring | nullNo
    report_idquerystring (uuid) | nullNo
    enginequerystring | nullNo
    ai_searchquerystring | nullNoThe AI search product the answer came from, such as google_ai_overviews.
    topic_idquerystring | nullNo
    prompt_idquerystring (uuid) | nullNo
    page_idquerystring | nullNo
    limitqueryintegerNo
    cursorquerystring | nullNo
    opportunitiesquerybooleanNoSet to true to page through data.opportunities.items. Use meta.next_cursor with the same filters and opportunities value.

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/analytics/missing_brand" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode "brand_id=$BRAND_ID"

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstringYesIdentifies the brand this result belongs to.
    data.brand_missing_answersintegerYes
    data.brand_missing_answers_with_displayable_citationsintegerYes
    data.brand_missing_answers_with_unusable_citation_urlsintegerYes
    data.brand_missing_answers_with_withheld_citationsintegerYes
    data.evidencearray of objectYes
    data.evidence[].ai_searchstringYesThe AI search product the answer came from, such as google_ai_overviews.
    data.evidence[].answer_excerptstring | nullYes
    data.evidence[].answer_excerpt_truncatedboolean | nullYes
    data.evidence[].collected_atstring | nullYes
    data.evidence[].enginestringYes
    data.evidence[].observation_idstringYes
    data.evidence[].prompt_idstringYes
    data.evidence[].prompt_textstring | nullYes
    data.evidence[].prompt_versioninteger | nullYes
    data.evidence[].providerstring | nullYes
    data.evidence[].scheduled_atstringYes
    data.monthstring | nullYes
    data.opportunitiesobjectNo
    data.opportunities.answers_without_citation_urlsintegerConditional
    data.opportunities.eligible_question_countintegerConditional
    data.opportunities.itemsarray of objectConditional
    data.opportunities.items[].basis"observed_citation" | "customer_review"Conditional
    data.opportunities.items[].buyer_questionsarray of objectConditional
    data.opportunities.items[].buyer_questions[].prompt_idstringConditional
    data.opportunities.items[].buyer_questions[].prompt_textstring | nullConditional
    data.opportunities.items[].buyer_questions[].prompt_versionintegerConditional
    data.opportunities.items[].classification_basis"curated_domain" | "url_pattern" | "page_content" | "unknown"No
    data.opportunities.items[].classification_confidencenumberNo
    data.opportunities.items[].competitor_co_citationsintegerConditional
    data.opportunities.items[].item_idstringConditional
    data.opportunities.items[].latest_observed_atstring | nullConditional
    data.opportunities.items[].matched_query_termsarray of stringConditional
    data.opportunities.items[].matching_question_countintegerConditional
    data.opportunities.items[].observed_citationsintegerConditional
    data.opportunities.items[].observed_question_countintegerConditional
    data.opportunities.items[].outreach_outcome"no_response" | "declined" | "accepted" | "published" | "other" | nullConditional
    data.opportunities.items[].outreach_ownerstring | nullConditional
    data.opportunities.items[].outreach_revisioninteger | nullConditional
    data.opportunities.items[].outreach_statusstring | nullConditional
    data.opportunities.items[].page_idstringConditional
    data.opportunities.items[].page_type"comparison_guide" | "directory" | "forum" | "news_article" | "product_page" | "review" | "social" | "unknown" | "video" | "brand_site" | "competitor_site" | "docs" | "marketplace" | "press_release"Conditional
    data.opportunities.items[].rankintegerConditional
    data.opportunities.items[].reviewed_atstring | nullConditional
    data.opportunities.items[].reviewed_question_countintegerConditional
    data.opportunities.items[].source_category"directory" | "review_site" | "local_directory" | "industry_directory" | "forum" | "social" | "video" | "news" | "local_news" | "comparison" | "marketplace" | "brand_site" | "competitor_site" | "docs" | "press" | "other"No
    data.opportunities.items[].urlstringConditional
    data.opportunities.totalintegerConditional
    data.ownership_countsobjectYes
    data.ownership_counts.[key]integerNoValue for each key.
    data.pageobject | nullYes
    data.page.brand_missing_answers_citing_pageintegerConditional
    data.page.classification_basis"curated_domain" | "url_pattern" | "page_content" | "unknown"Conditional
    data.page.classification_confidencenumberConditional
    data.page.domainstringConditional
    data.page.matched_domainstring | nullConditional
    data.page.ownership"brand_owned" | "registered_competitor" | "other_external"Conditional
    data.page.ownership_basis"configured_brand_domain" | "configured_competitor_domain" | "no_configured_domain_match"Conditional
    data.page.page_idstringConditional
    data.page.page_type"comparison_guide" | "directory" | "forum" | "news_article" | "product_page" | "review" | "social" | "unknown" | "video" | "brand_site" | "competitor_site" | "docs" | "marketplace" | "press_release"Conditional
    data.page.page_type_basisstringConditional
    data.page.rankintegerConditional
    data.page.source_category"directory" | "review_site" | "local_directory" | "industry_directory" | "forum" | "social" | "video" | "news" | "local_news" | "comparison" | "marketplace" | "brand_site" | "competitor_site" | "docs" | "press" | "other"Conditional
    data.page.urlstringConditional
    data.page_type_countsobjectYes
    data.page_type_counts.[key]integerNoValue for each key.
    data.pagesarray of objectYes
    data.pages[].brand_missing_answers_citing_pageintegerYes
    data.pages[].classification_basis"curated_domain" | "url_pattern" | "page_content" | "unknown"Yes
    data.pages[].classification_confidencenumberYes
    data.pages[].domainstringYes
    data.pages[].matched_domainstring | nullYes
    data.pages[].ownership"brand_owned" | "registered_competitor" | "other_external"Yes
    data.pages[].ownership_basis"configured_brand_domain" | "configured_competitor_domain" | "no_configured_domain_match"Yes
    data.pages[].page_idstringYes
    data.pages[].page_type"comparison_guide" | "directory" | "forum" | "news_article" | "product_page" | "review" | "social" | "unknown" | "video" | "brand_site" | "competitor_site" | "docs" | "marketplace" | "press_release"Yes
    data.pages[].page_type_basisstringYes
    data.pages[].rankintegerYes
    data.pages[].source_category"directory" | "review_site" | "local_directory" | "industry_directory" | "forum" | "social" | "video" | "news" | "local_news" | "comparison" | "marketplace" | "brand_site" | "competitor_site" | "docs" | "press" | "other"Yes
    data.pages[].urlstringYes
    data.report_idstring | nullYes
    data.total_evidenceintegerYes
    data.total_pagesintegerYes
    data.valid_answersintegerYes
    metaobjectYesInformation about this response, including any warnings or pagination details.

    Errors

    Get Citation Analyticscitations_domains

    Open this request with Python and TypeScript examples

    • Path dataset is citations.
    • Query section is domains.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    datasetpath"citations"Yes
    audience_idquerystring (uuid) | nullNoCurrent audience assignment. Requires prompts:read.
    product_idquerystring (uuid) | nullNoCurrent product assignment. Requires prompts:read.
    service_idquerystring (uuid) | nullNoCurrent service assignment. Requires prompts:read.
    group_idquerystring (uuid) | nullNoCurrent prompt group assignment. Requires prompts:read.
    stagequery"awareness" | "consideration" | "evaluation" | "decision" | "retention" | nullNoCurrent prompt buyer stage. Requires prompts:read.
    brand_idquerystring (uuid)Yes
    report_idquerystring (uuid) | nullNo
    start_atquerystring (date-time) | nullNo
    end_atquerystring (date-time) | nullNo
    enginequerystring | nullNo
    ai_searchquerystring | nullNoThe AI search product the answer came from, such as google_ai_overviews.
    providerquerystring | nullNoFilter by source label. Available labels include official_api, collector_a, collector_b, collector_c, collector_d, collector_e, collector_f, collector_g, collector_h.
    prompt_idquerystring (uuid) | nullNo
    prompt_versionqueryinteger | nullNo
    limitqueryintegerNo
    cursorquerystring | nullNo
    page_typequery"blog" | "directory" | "review_site" | "news" | "forum" | "brand_site" | "competitor_site" | "marketplace" | "docs" | "social" | "press_release" | "comparison" | "roundup" | "guide" | "institution" | "reference" | "other" | "unknown" | nullNo
    include_page_detailsquerybooleanNo
    urlquerystring | nullNo
    ownershipquery"brand_owned" | "registered_competitor" | "other_external" | "unknown" | nullNo
    social_platformquery"linkedin" | "reddit" | "youtube" | nullNo
    location_idquerystring (uuid)No
    group_byquery"location" | "city" | "region"No
    monthquerystring | nullNoUse with section=growth.
    previous_monthquerystring | nullNoUse with section=growth.
    topic_idquerystring | nullNoUse with section=growth.
    sectionquery"domains"Yes

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/analytics/citations" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode "brand_id=$BRAND_ID" \
      --data-urlencode 'section=domains'

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.content_compositionarray of objectYes
    data.content_composition[].answer_url_pairsintegerYes
    data.content_composition[].unique_urlsintegerYes
    data.content_composition[].valuestringYes
    data.ownership"brand_owned" | "registered_competitor" | "other_external" | "unknown" | nullYes
    data.ownership_basis"pinned_analysis_configuration" | "unknown"Yes
    data.ownership_compositionarray of objectYes
    data.ownership_composition[].answer_url_pairsintegerYes
    data.ownership_composition[].unique_urlsintegerYes
    data.ownership_composition[].valuestringYes
    data.page_type_compositionarray of objectNo
    data.page_type_composition[].answer_url_pairsintegerConditional
    data.page_type_composition[].unique_urlsintegerConditional
    data.page_type_composition[].valuestringConditional
    data.reportobjectYes
    data.report.analysis_versionstring | nullYes
    data.report.brand_idstringYes
    data.report.comparison_set_versionstring | nullYes
    data.report.end_atstringYes
    data.report.generated_atstring | nullYes
    data.report.report_idstring | nullYes
    data.report.segmentationobject | nullYes
    data.report.segmentation.audience_idstring | nullConditional
    data.report.segmentation.basis"current_prompt_metadata"Conditional
    data.report.segmentation.group_idstring | nullConditional
    data.report.segmentation.product_idstring | nullConditional
    data.report.segmentation.service_idstring | nullConditional
    data.report.segmentation.stage"awareness" | "consideration" | "evaluation" | "decision" | "retention" | nullConditional
    data.report.start_atstringYes
    data.rowsarray of objectYes
    data.rows[].dimensionobject | nullYes
    data.rows[].dimension.ai_searchstring | nullConditionalThe AI search product the answer came from, such as google_ai_overviews.
    data.rows[].dimension.comparison_set_versionstring | nullConditional
    data.rows[].dimension.datestring | nullConditional
    data.rows[].dimension.enginestring | nullConditional
    data.rows[].dimension.prompt_idstring | nullConditional
    data.rows[].dimension.prompt_versioninteger | nullConditional
    data.rows[].dimension.providerstring | nullConditional
    data.rows[].dimension.source_cohortobject | nullConditional
    data.rows[].dimension.source_cohort.[key]string | nullNoValue for each key.
    data.rows[].domainstring | nullYes
    data.rows[].matched_domainstring | nullYes
    data.rows[].matched_entity_idstring | nullYes
    data.rows[].metricsobjectYes
    data.rows[].metrics.answer_mentionsobjectYes
    data.rows[].metrics.answer_mentions.brand_mention_answersintegerYes
    data.rows[].metrics.answer_mentions.competitor_mention_answersobjectYes
    data.rows[].metrics.answer_mentions.competitor_mention_answers.[key]integerNoValue for each key.
    data.rows[].metrics.answer_url_pairsintegerYes
    data.rows[].metrics.answers_with_displayable_citationsintegerYes
    data.rows[].metrics.answers_with_recorded_citationsintegerYes
    data.rows[].metrics.answers_with_unusable_citation_urlsintegerYes
    data.rows[].metrics.answers_with_withheld_citationsintegerYes
    data.rows[].metrics.cited_page_brand_mention_ratenumber | nullYes
    data.rows[].metrics.cited_page_brand_mentionsinteger | nullYes
    data.rows[].metrics.cited_page_competitor_mention_ratesobjectYes
    data.rows[].metrics.cited_page_competitor_mention_rates.[key]number | nullNoValue for each key.
    data.rows[].metrics.cited_page_competitor_mentionsobjectYes
    data.rows[].metrics.cited_page_competitor_mentions.[key]integer | nullNoValue for each key.
    data.rows[].metrics.citing_answersintegerYes
    data.rows[].metrics.citing_share_of_answers_with_displayable_citationsnumber | nullYes
    data.rows[].metrics.content_type_answer_url_pairsobjectYes
    data.rows[].metrics.content_type_answer_url_pairs.[key]integerNoValue for each key.
    data.rows[].metrics.ownership_answer_url_pairsobjectYes
    data.rows[].metrics.ownership_answer_url_pairs.[key]integerNoValue for each key.
    data.rows[].metrics.scheduled_samplesintegerYes
    data.rows[].metrics.source_channel_answer_url_pairsobjectYes
    data.rows[].metrics.source_channel_answer_url_pairs.[key]integerNoValue for each key.
    data.rows[].metrics.unique_domainsintegerYes
    data.rows[].metrics.unique_urlsintegerYes
    data.rows[].metrics.urls_with_brand_mention_reviewintegerYes
    data.rows[].metrics.urls_with_competitor_mention_reviewobjectYes
    data.rows[].metrics.urls_with_competitor_mention_review.[key]integerNoValue for each key.
    data.rows[].metrics.valid_answersintegerYes
    data.rows[].ownership"brand_owned" | "registered_competitor" | "other_external" | "unknown" | nullYes
    data.rows[].ownership_rankinteger | nullYes
    data.rows[].pageobject | nullYes
    data.rows[].page.brand_mentioned_on_pageboolean | nullConditional
    data.rows[].page.checked_atstring | nullConditional
    data.rows[].page.classification_basis"curated_domain" | "url_pattern" | "page_content" | "unknown"No
    data.rows[].page.classification_confidencenumberNo
    data.rows[].page.competitors_mentioned_on_pageobjectConditional
    data.rows[].page.competitors_mentioned_on_page.[key]boolean | nullNoValue for each key.
    data.rows[].page.content_typestringConditional
    data.rows[].page.content_type_basis"review" | "url_pattern" | "unknown"Conditional
    data.rows[].page.evidence_referencestring | nullConditional
    data.rows[].page.page_evidence_status"reviewed" | "unknown"Conditional
    data.rows[].page.page_type"blog" | "directory" | "review_site" | "news" | "forum" | "brand_site" | "competitor_site" | "marketplace" | "docs" | "social" | "press_release" | "comparison" | "roundup" | "guide" | "institution" | "reference" | "other" | "unknown" | "video"No
    data.rows[].page.page_type_confidencenumber | nullNo
    data.rows[].page.social_publisherobjectNo
    data.rows[].page.social_publisher.entity_idstringConditional
    data.rows[].page.social_publisher.profile_urlstringConditional
    data.rows[].page.source_category"directory" | "review_site" | "local_directory" | "industry_directory" | "forum" | "social" | "video" | "news" | "local_news" | "comparison" | "marketplace" | "brand_site" | "competitor_site" | "docs" | "press" | "other"No
    data.rows[].page.source_channelstringConditional
    data.rows[].page.source_channel_basis"review" | "url_pattern" | "unknown"Conditional
    data.rows[].page.urlstringConditional
    data.rows[].page.url_pattern_basisstring | nullConditional
    data.rows[].rankinteger | nullYes
    data.rows[].social_platform"linkedin" | "reddit" | "youtube"No
    data.rows[].social_publisher_metricsobjectNo
    data.rows[].social_publisher_metrics.answers_with_displayable_citationsintegerConditional
    data.rows[].social_publisher_metrics.brandobjectConditional
    data.rows[].social_publisher_metrics.brand.answer_url_pairsintegerConditional
    data.rows[].social_publisher_metrics.brand.citation_ratenumber | nullConditional
    data.rows[].social_publisher_metrics.brand.citing_answersintegerConditional
    data.rows[].social_publisher_metrics.competitorsobjectConditional
    data.rows[].social_publisher_metrics.competitors.[key]objectNoValue for each key.
    data.rows[].social_publisher_metrics.unknown_publisherobjectConditional
    data.rows[].social_publisher_metrics.unknown_publisher.answer_url_pairsintegerConditional
    data.rows[].social_publisher_metrics.unknown_publisher.citation_ratenumber | nullConditional
    data.rows[].social_publisher_metrics.unknown_publisher.citing_answersintegerConditional
    data.section"domains" | "urls" | "timeline" | "channels" | "prompts" | "social_timeline"Yes
    data.social_platform"linkedin" | "reddit" | "youtube"No
    data.source_channel_compositionarray of objectYes
    data.source_channel_composition[].answer_url_pairsintegerYes
    data.source_channel_composition[].unique_urlsintegerYes
    data.source_channel_composition[].valuestringYes
    data.summaryobjectYes
    data.summary.answer_mentionsobjectYes
    data.summary.answer_mentions.brand_mention_answersintegerYes
    data.summary.answer_mentions.competitor_mention_answersobjectYes
    data.summary.answer_mentions.competitor_mention_answers.[key]integerNoValue for each key.
    data.summary.answer_url_pairsintegerYes
    data.summary.answers_with_displayable_citationsintegerYes
    data.summary.answers_with_recorded_citationsintegerYes
    data.summary.answers_with_unusable_citation_urlsintegerYes
    data.summary.answers_with_withheld_citationsintegerYes
    data.summary.cited_page_brand_mention_ratenumber | nullYes
    data.summary.cited_page_brand_mentionsinteger | nullYes
    data.summary.cited_page_competitor_mention_ratesobjectYes
    data.summary.cited_page_competitor_mention_rates.[key]number | nullNoValue for each key.
    data.summary.cited_page_competitor_mentionsobjectYes
    data.summary.cited_page_competitor_mentions.[key]integer | nullNoValue for each key.
    data.summary.citing_answersintegerYes
    data.summary.citing_share_of_answers_with_displayable_citationsnumber | nullYes
    data.summary.content_type_answer_url_pairsobjectYes
    data.summary.content_type_answer_url_pairs.[key]integerNoValue for each key.
    data.summary.ownership_answer_url_pairsobjectYes
    data.summary.ownership_answer_url_pairs.[key]integerNoValue for each key.
    data.summary.scheduled_samplesintegerYes
    data.summary.source_channel_answer_url_pairsobjectYes
    data.summary.source_channel_answer_url_pairs.[key]integerNoValue for each key.
    data.summary.unique_domainsintegerYes
    data.summary.unique_urlsintegerYes
    data.summary.urls_with_brand_mention_reviewintegerYes
    data.summary.urls_with_competitor_mention_reviewobjectYes
    data.summary.urls_with_competitor_mention_review.[key]integerNoValue for each key.
    data.summary.valid_answersintegerYes
    data.total_rowsintegerYes
    data.urlstring | nullYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    HTTP 200 response fields 2
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.growthobjectYes
    data.growth.brand_idstringYes
    data.growth.comparison_coverageobjectYes
    data.growth.comparison_coverage.current_samplesintegerYes
    data.growth.comparison_coverage.matched_pairsintegerYes
    data.growth.comparison_coverage.previous_samplesintegerYes
    data.growth.comparison_status"no_baseline" | "partial" | "complete"Yes
    data.growth.currentobjectYes
    data.growth.current.answersintegerYes
    data.growth.current.citationsintegerYes
    data.growth.current.monthstringYes
    data.growth.current.pagesintegerYes
    data.growth.current.websitesintegerYes
    data.growth.historyarray of objectYes
    data.growth.history[].answersintegerYes
    data.growth.history[].citationsintegerYes
    data.growth.history[].monthstringYes
    data.growth.history[].pagesintegerYes
    data.growth.history[].websitesintegerYes
    data.growth.page_changesobject | nullYes
    data.growth.page_changes.keptintegerConditional
    data.growth.page_changes.lostintegerConditional
    data.growth.page_changes.newintegerConditional
    data.growth.pagesarray of objectYes
    data.growth.pages[].change"new" | "lost"Yes
    data.growth.pages[].domainstringYes
    data.growth.pages[].urlstringYes
    data.growth.previousobjectYes
    data.growth.previous.answersintegerYes
    data.growth.previous.citationsintegerYes
    data.growth.previous.monthstringYes
    data.growth.previous.pagesintegerYes
    data.growth.previous.websitesintegerYes
    data.growth.report_idstring | nullYes
    data.growth.total_changed_pagesintegerYes
    data.growth.website_changesobject | nullYes
    data.growth.website_changes.keptintegerConditional
    data.growth.website_changes.lostintegerConditional
    data.growth.website_changes.newintegerConditional
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Get Citation Analyticscitations_urls

    Open this request with Python and TypeScript examples

    • Path dataset is citations.
    • Query section is urls.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    datasetpath"citations"Yes
    audience_idquerystring (uuid) | nullNoCurrent audience assignment. Requires prompts:read.
    product_idquerystring (uuid) | nullNoCurrent product assignment. Requires prompts:read.
    service_idquerystring (uuid) | nullNoCurrent service assignment. Requires prompts:read.
    group_idquerystring (uuid) | nullNoCurrent prompt group assignment. Requires prompts:read.
    stagequery"awareness" | "consideration" | "evaluation" | "decision" | "retention" | nullNoCurrent prompt buyer stage. Requires prompts:read.
    brand_idquerystring (uuid)Yes
    report_idquerystring (uuid) | nullNo
    start_atquerystring (date-time) | nullNo
    end_atquerystring (date-time) | nullNo
    enginequerystring | nullNo
    ai_searchquerystring | nullNoThe AI search product the answer came from, such as google_ai_overviews.
    providerquerystring | nullNoFilter by source label. Available labels include official_api, collector_a, collector_b, collector_c, collector_d, collector_e, collector_f, collector_g, collector_h.
    prompt_idquerystring (uuid) | nullNo
    prompt_versionqueryinteger | nullNo
    limitqueryintegerNo
    cursorquerystring | nullNo
    page_typequery"blog" | "directory" | "review_site" | "news" | "forum" | "brand_site" | "competitor_site" | "marketplace" | "docs" | "social" | "press_release" | "comparison" | "roundup" | "guide" | "institution" | "reference" | "other" | "unknown" | nullNo
    include_page_detailsquerybooleanNo
    urlquerystring | nullNo
    ownershipquery"brand_owned" | "registered_competitor" | "other_external" | "unknown" | nullNo
    social_platformquery"linkedin" | "reddit" | "youtube" | nullNo
    location_idquerystring (uuid)No
    group_byquery"location" | "city" | "region"No
    monthquerystring | nullNoUse with section=growth.
    previous_monthquerystring | nullNoUse with section=growth.
    topic_idquerystring | nullNoUse with section=growth.
    sectionquery"urls"Yes

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/analytics/citations" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode "brand_id=$BRAND_ID" \
      --data-urlencode 'section=urls'

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.content_compositionarray of objectYes
    data.content_composition[].answer_url_pairsintegerYes
    data.content_composition[].unique_urlsintegerYes
    data.content_composition[].valuestringYes
    data.ownership"brand_owned" | "registered_competitor" | "other_external" | "unknown" | nullYes
    data.ownership_basis"pinned_analysis_configuration" | "unknown"Yes
    data.ownership_compositionarray of objectYes
    data.ownership_composition[].answer_url_pairsintegerYes
    data.ownership_composition[].unique_urlsintegerYes
    data.ownership_composition[].valuestringYes
    data.page_type_compositionarray of objectNo
    data.page_type_composition[].answer_url_pairsintegerConditional
    data.page_type_composition[].unique_urlsintegerConditional
    data.page_type_composition[].valuestringConditional
    data.reportobjectYes
    data.report.analysis_versionstring | nullYes
    data.report.brand_idstringYes
    data.report.comparison_set_versionstring | nullYes
    data.report.end_atstringYes
    data.report.generated_atstring | nullYes
    data.report.report_idstring | nullYes
    data.report.segmentationobject | nullYes
    data.report.segmentation.audience_idstring | nullConditional
    data.report.segmentation.basis"current_prompt_metadata"Conditional
    data.report.segmentation.group_idstring | nullConditional
    data.report.segmentation.product_idstring | nullConditional
    data.report.segmentation.service_idstring | nullConditional
    data.report.segmentation.stage"awareness" | "consideration" | "evaluation" | "decision" | "retention" | nullConditional
    data.report.start_atstringYes
    data.rowsarray of objectYes
    data.rows[].dimensionobject | nullYes
    data.rows[].dimension.ai_searchstring | nullConditionalThe AI search product the answer came from, such as google_ai_overviews.
    data.rows[].dimension.comparison_set_versionstring | nullConditional
    data.rows[].dimension.datestring | nullConditional
    data.rows[].dimension.enginestring | nullConditional
    data.rows[].dimension.prompt_idstring | nullConditional
    data.rows[].dimension.prompt_versioninteger | nullConditional
    data.rows[].dimension.providerstring | nullConditional
    data.rows[].dimension.source_cohortobject | nullConditional
    data.rows[].dimension.source_cohort.[key]string | nullNoValue for each key.
    data.rows[].domainstring | nullYes
    data.rows[].matched_domainstring | nullYes
    data.rows[].matched_entity_idstring | nullYes
    data.rows[].metricsobjectYes
    data.rows[].metrics.answer_mentionsobjectYes
    data.rows[].metrics.answer_mentions.brand_mention_answersintegerYes
    data.rows[].metrics.answer_mentions.competitor_mention_answersobjectYes
    data.rows[].metrics.answer_mentions.competitor_mention_answers.[key]integerNoValue for each key.
    data.rows[].metrics.answer_url_pairsintegerYes
    data.rows[].metrics.answers_with_displayable_citationsintegerYes
    data.rows[].metrics.answers_with_recorded_citationsintegerYes
    data.rows[].metrics.answers_with_unusable_citation_urlsintegerYes
    data.rows[].metrics.answers_with_withheld_citationsintegerYes
    data.rows[].metrics.cited_page_brand_mention_ratenumber | nullYes
    data.rows[].metrics.cited_page_brand_mentionsinteger | nullYes
    data.rows[].metrics.cited_page_competitor_mention_ratesobjectYes
    data.rows[].metrics.cited_page_competitor_mention_rates.[key]number | nullNoValue for each key.
    data.rows[].metrics.cited_page_competitor_mentionsobjectYes
    data.rows[].metrics.cited_page_competitor_mentions.[key]integer | nullNoValue for each key.
    data.rows[].metrics.citing_answersintegerYes
    data.rows[].metrics.citing_share_of_answers_with_displayable_citationsnumber | nullYes
    data.rows[].metrics.content_type_answer_url_pairsobjectYes
    data.rows[].metrics.content_type_answer_url_pairs.[key]integerNoValue for each key.
    data.rows[].metrics.ownership_answer_url_pairsobjectYes
    data.rows[].metrics.ownership_answer_url_pairs.[key]integerNoValue for each key.
    data.rows[].metrics.scheduled_samplesintegerYes
    data.rows[].metrics.source_channel_answer_url_pairsobjectYes
    data.rows[].metrics.source_channel_answer_url_pairs.[key]integerNoValue for each key.
    data.rows[].metrics.unique_domainsintegerYes
    data.rows[].metrics.unique_urlsintegerYes
    data.rows[].metrics.urls_with_brand_mention_reviewintegerYes
    data.rows[].metrics.urls_with_competitor_mention_reviewobjectYes
    data.rows[].metrics.urls_with_competitor_mention_review.[key]integerNoValue for each key.
    data.rows[].metrics.valid_answersintegerYes
    data.rows[].ownership"brand_owned" | "registered_competitor" | "other_external" | "unknown" | nullYes
    data.rows[].ownership_rankinteger | nullYes
    data.rows[].pageobject | nullYes
    data.rows[].page.brand_mentioned_on_pageboolean | nullConditional
    data.rows[].page.checked_atstring | nullConditional
    data.rows[].page.classification_basis"curated_domain" | "url_pattern" | "page_content" | "unknown"No
    data.rows[].page.classification_confidencenumberNo
    data.rows[].page.competitors_mentioned_on_pageobjectConditional
    data.rows[].page.competitors_mentioned_on_page.[key]boolean | nullNoValue for each key.
    data.rows[].page.content_typestringConditional
    data.rows[].page.content_type_basis"review" | "url_pattern" | "unknown"Conditional
    data.rows[].page.evidence_referencestring | nullConditional
    data.rows[].page.page_evidence_status"reviewed" | "unknown"Conditional
    data.rows[].page.page_type"blog" | "directory" | "review_site" | "news" | "forum" | "brand_site" | "competitor_site" | "marketplace" | "docs" | "social" | "press_release" | "comparison" | "roundup" | "guide" | "institution" | "reference" | "other" | "unknown" | "video"No
    data.rows[].page.page_type_confidencenumber | nullNo
    data.rows[].page.social_publisherobjectNo
    data.rows[].page.social_publisher.entity_idstringConditional
    data.rows[].page.social_publisher.profile_urlstringConditional
    data.rows[].page.source_category"directory" | "review_site" | "local_directory" | "industry_directory" | "forum" | "social" | "video" | "news" | "local_news" | "comparison" | "marketplace" | "brand_site" | "competitor_site" | "docs" | "press" | "other"No
    data.rows[].page.source_channelstringConditional
    data.rows[].page.source_channel_basis"review" | "url_pattern" | "unknown"Conditional
    data.rows[].page.urlstringConditional
    data.rows[].page.url_pattern_basisstring | nullConditional
    data.rows[].rankinteger | nullYes
    data.rows[].social_platform"linkedin" | "reddit" | "youtube"No
    data.rows[].social_publisher_metricsobjectNo
    data.rows[].social_publisher_metrics.answers_with_displayable_citationsintegerConditional
    data.rows[].social_publisher_metrics.brandobjectConditional
    data.rows[].social_publisher_metrics.brand.answer_url_pairsintegerConditional
    data.rows[].social_publisher_metrics.brand.citation_ratenumber | nullConditional
    data.rows[].social_publisher_metrics.brand.citing_answersintegerConditional
    data.rows[].social_publisher_metrics.competitorsobjectConditional
    data.rows[].social_publisher_metrics.competitors.[key]objectNoValue for each key.
    data.rows[].social_publisher_metrics.unknown_publisherobjectConditional
    data.rows[].social_publisher_metrics.unknown_publisher.answer_url_pairsintegerConditional
    data.rows[].social_publisher_metrics.unknown_publisher.citation_ratenumber | nullConditional
    data.rows[].social_publisher_metrics.unknown_publisher.citing_answersintegerConditional
    data.section"domains" | "urls" | "timeline" | "channels" | "prompts" | "social_timeline"Yes
    data.social_platform"linkedin" | "reddit" | "youtube"No
    data.source_channel_compositionarray of objectYes
    data.source_channel_composition[].answer_url_pairsintegerYes
    data.source_channel_composition[].unique_urlsintegerYes
    data.source_channel_composition[].valuestringYes
    data.summaryobjectYes
    data.summary.answer_mentionsobjectYes
    data.summary.answer_mentions.brand_mention_answersintegerYes
    data.summary.answer_mentions.competitor_mention_answersobjectYes
    data.summary.answer_mentions.competitor_mention_answers.[key]integerNoValue for each key.
    data.summary.answer_url_pairsintegerYes
    data.summary.answers_with_displayable_citationsintegerYes
    data.summary.answers_with_recorded_citationsintegerYes
    data.summary.answers_with_unusable_citation_urlsintegerYes
    data.summary.answers_with_withheld_citationsintegerYes
    data.summary.cited_page_brand_mention_ratenumber | nullYes
    data.summary.cited_page_brand_mentionsinteger | nullYes
    data.summary.cited_page_competitor_mention_ratesobjectYes
    data.summary.cited_page_competitor_mention_rates.[key]number | nullNoValue for each key.
    data.summary.cited_page_competitor_mentionsobjectYes
    data.summary.cited_page_competitor_mentions.[key]integer | nullNoValue for each key.
    data.summary.citing_answersintegerYes
    data.summary.citing_share_of_answers_with_displayable_citationsnumber | nullYes
    data.summary.content_type_answer_url_pairsobjectYes
    data.summary.content_type_answer_url_pairs.[key]integerNoValue for each key.
    data.summary.ownership_answer_url_pairsobjectYes
    data.summary.ownership_answer_url_pairs.[key]integerNoValue for each key.
    data.summary.scheduled_samplesintegerYes
    data.summary.source_channel_answer_url_pairsobjectYes
    data.summary.source_channel_answer_url_pairs.[key]integerNoValue for each key.
    data.summary.unique_domainsintegerYes
    data.summary.unique_urlsintegerYes
    data.summary.urls_with_brand_mention_reviewintegerYes
    data.summary.urls_with_competitor_mention_reviewobjectYes
    data.summary.urls_with_competitor_mention_review.[key]integerNoValue for each key.
    data.summary.valid_answersintegerYes
    data.total_rowsintegerYes
    data.urlstring | nullYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    HTTP 200 response fields 2
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.growthobjectYes
    data.growth.brand_idstringYes
    data.growth.comparison_coverageobjectYes
    data.growth.comparison_coverage.current_samplesintegerYes
    data.growth.comparison_coverage.matched_pairsintegerYes
    data.growth.comparison_coverage.previous_samplesintegerYes
    data.growth.comparison_status"no_baseline" | "partial" | "complete"Yes
    data.growth.currentobjectYes
    data.growth.current.answersintegerYes
    data.growth.current.citationsintegerYes
    data.growth.current.monthstringYes
    data.growth.current.pagesintegerYes
    data.growth.current.websitesintegerYes
    data.growth.historyarray of objectYes
    data.growth.history[].answersintegerYes
    data.growth.history[].citationsintegerYes
    data.growth.history[].monthstringYes
    data.growth.history[].pagesintegerYes
    data.growth.history[].websitesintegerYes
    data.growth.page_changesobject | nullYes
    data.growth.page_changes.keptintegerConditional
    data.growth.page_changes.lostintegerConditional
    data.growth.page_changes.newintegerConditional
    data.growth.pagesarray of objectYes
    data.growth.pages[].change"new" | "lost"Yes
    data.growth.pages[].domainstringYes
    data.growth.pages[].urlstringYes
    data.growth.previousobjectYes
    data.growth.previous.answersintegerYes
    data.growth.previous.citationsintegerYes
    data.growth.previous.monthstringYes
    data.growth.previous.pagesintegerYes
    data.growth.previous.websitesintegerYes
    data.growth.report_idstring | nullYes
    data.growth.total_changed_pagesintegerYes
    data.growth.website_changesobject | nullYes
    data.growth.website_changes.keptintegerConditional
    data.growth.website_changes.lostintegerConditional
    data.growth.website_changes.newintegerConditional
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Get Citation Analyticscitations_timeline

    Open this request with Python and TypeScript examples

    • Path dataset is citations.
    • Query section is timeline.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    datasetpath"citations"Yes
    audience_idquerystring (uuid) | nullNoCurrent audience assignment. Requires prompts:read.
    product_idquerystring (uuid) | nullNoCurrent product assignment. Requires prompts:read.
    service_idquerystring (uuid) | nullNoCurrent service assignment. Requires prompts:read.
    group_idquerystring (uuid) | nullNoCurrent prompt group assignment. Requires prompts:read.
    stagequery"awareness" | "consideration" | "evaluation" | "decision" | "retention" | nullNoCurrent prompt buyer stage. Requires prompts:read.
    brand_idquerystring (uuid)Yes
    report_idquerystring (uuid) | nullNo
    start_atquerystring (date-time) | nullNo
    end_atquerystring (date-time) | nullNo
    enginequerystring | nullNo
    ai_searchquerystring | nullNoThe AI search product the answer came from, such as google_ai_overviews.
    providerquerystring | nullNoFilter by source label. Available labels include official_api, collector_a, collector_b, collector_c, collector_d, collector_e, collector_f, collector_g, collector_h.
    prompt_idquerystring (uuid) | nullNo
    prompt_versionqueryinteger | nullNo
    limitqueryintegerNo
    cursorquerystring | nullNo
    page_typequery"blog" | "directory" | "review_site" | "news" | "forum" | "brand_site" | "competitor_site" | "marketplace" | "docs" | "social" | "press_release" | "comparison" | "roundup" | "guide" | "institution" | "reference" | "other" | "unknown" | nullNo
    include_page_detailsquerybooleanNo
    urlquerystring | nullNo
    ownershipquery"brand_owned" | "registered_competitor" | "other_external" | "unknown" | nullNo
    social_platformquery"linkedin" | "reddit" | "youtube" | nullNo
    location_idquerystring (uuid)No
    group_byquery"location" | "city" | "region"No
    monthquerystring | nullNoUse with section=growth.
    previous_monthquerystring | nullNoUse with section=growth.
    topic_idquerystring | nullNoUse with section=growth.
    sectionquery"timeline"Yes

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/analytics/citations" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode "brand_id=$BRAND_ID" \
      --data-urlencode 'section=timeline'

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.content_compositionarray of objectYes
    data.content_composition[].answer_url_pairsintegerYes
    data.content_composition[].unique_urlsintegerYes
    data.content_composition[].valuestringYes
    data.ownership"brand_owned" | "registered_competitor" | "other_external" | "unknown" | nullYes
    data.ownership_basis"pinned_analysis_configuration" | "unknown"Yes
    data.ownership_compositionarray of objectYes
    data.ownership_composition[].answer_url_pairsintegerYes
    data.ownership_composition[].unique_urlsintegerYes
    data.ownership_composition[].valuestringYes
    data.page_type_compositionarray of objectNo
    data.page_type_composition[].answer_url_pairsintegerConditional
    data.page_type_composition[].unique_urlsintegerConditional
    data.page_type_composition[].valuestringConditional
    data.reportobjectYes
    data.report.analysis_versionstring | nullYes
    data.report.brand_idstringYes
    data.report.comparison_set_versionstring | nullYes
    data.report.end_atstringYes
    data.report.generated_atstring | nullYes
    data.report.report_idstring | nullYes
    data.report.segmentationobject | nullYes
    data.report.segmentation.audience_idstring | nullConditional
    data.report.segmentation.basis"current_prompt_metadata"Conditional
    data.report.segmentation.group_idstring | nullConditional
    data.report.segmentation.product_idstring | nullConditional
    data.report.segmentation.service_idstring | nullConditional
    data.report.segmentation.stage"awareness" | "consideration" | "evaluation" | "decision" | "retention" | nullConditional
    data.report.start_atstringYes
    data.rowsarray of objectYes
    data.rows[].dimensionobject | nullYes
    data.rows[].dimension.ai_searchstring | nullConditionalThe AI search product the answer came from, such as google_ai_overviews.
    data.rows[].dimension.comparison_set_versionstring | nullConditional
    data.rows[].dimension.datestring | nullConditional
    data.rows[].dimension.enginestring | nullConditional
    data.rows[].dimension.prompt_idstring | nullConditional
    data.rows[].dimension.prompt_versioninteger | nullConditional
    data.rows[].dimension.providerstring | nullConditional
    data.rows[].dimension.source_cohortobject | nullConditional
    data.rows[].dimension.source_cohort.[key]string | nullNoValue for each key.
    data.rows[].domainstring | nullYes
    data.rows[].matched_domainstring | nullYes
    data.rows[].matched_entity_idstring | nullYes
    data.rows[].metricsobjectYes
    data.rows[].metrics.answer_mentionsobjectYes
    data.rows[].metrics.answer_mentions.brand_mention_answersintegerYes
    data.rows[].metrics.answer_mentions.competitor_mention_answersobjectYes
    data.rows[].metrics.answer_mentions.competitor_mention_answers.[key]integerNoValue for each key.
    data.rows[].metrics.answer_url_pairsintegerYes
    data.rows[].metrics.answers_with_displayable_citationsintegerYes
    data.rows[].metrics.answers_with_recorded_citationsintegerYes
    data.rows[].metrics.answers_with_unusable_citation_urlsintegerYes
    data.rows[].metrics.answers_with_withheld_citationsintegerYes
    data.rows[].metrics.cited_page_brand_mention_ratenumber | nullYes
    data.rows[].metrics.cited_page_brand_mentionsinteger | nullYes
    data.rows[].metrics.cited_page_competitor_mention_ratesobjectYes
    data.rows[].metrics.cited_page_competitor_mention_rates.[key]number | nullNoValue for each key.
    data.rows[].metrics.cited_page_competitor_mentionsobjectYes
    data.rows[].metrics.cited_page_competitor_mentions.[key]integer | nullNoValue for each key.
    data.rows[].metrics.citing_answersintegerYes
    data.rows[].metrics.citing_share_of_answers_with_displayable_citationsnumber | nullYes
    data.rows[].metrics.content_type_answer_url_pairsobjectYes
    data.rows[].metrics.content_type_answer_url_pairs.[key]integerNoValue for each key.
    data.rows[].metrics.ownership_answer_url_pairsobjectYes
    data.rows[].metrics.ownership_answer_url_pairs.[key]integerNoValue for each key.
    data.rows[].metrics.scheduled_samplesintegerYes
    data.rows[].metrics.source_channel_answer_url_pairsobjectYes
    data.rows[].metrics.source_channel_answer_url_pairs.[key]integerNoValue for each key.
    data.rows[].metrics.unique_domainsintegerYes
    data.rows[].metrics.unique_urlsintegerYes
    data.rows[].metrics.urls_with_brand_mention_reviewintegerYes
    data.rows[].metrics.urls_with_competitor_mention_reviewobjectYes
    data.rows[].metrics.urls_with_competitor_mention_review.[key]integerNoValue for each key.
    data.rows[].metrics.valid_answersintegerYes
    data.rows[].ownership"brand_owned" | "registered_competitor" | "other_external" | "unknown" | nullYes
    data.rows[].ownership_rankinteger | nullYes
    data.rows[].pageobject | nullYes
    data.rows[].page.brand_mentioned_on_pageboolean | nullConditional
    data.rows[].page.checked_atstring | nullConditional
    data.rows[].page.classification_basis"curated_domain" | "url_pattern" | "page_content" | "unknown"No
    data.rows[].page.classification_confidencenumberNo
    data.rows[].page.competitors_mentioned_on_pageobjectConditional
    data.rows[].page.competitors_mentioned_on_page.[key]boolean | nullNoValue for each key.
    data.rows[].page.content_typestringConditional
    data.rows[].page.content_type_basis"review" | "url_pattern" | "unknown"Conditional
    data.rows[].page.evidence_referencestring | nullConditional
    data.rows[].page.page_evidence_status"reviewed" | "unknown"Conditional
    data.rows[].page.page_type"blog" | "directory" | "review_site" | "news" | "forum" | "brand_site" | "competitor_site" | "marketplace" | "docs" | "social" | "press_release" | "comparison" | "roundup" | "guide" | "institution" | "reference" | "other" | "unknown" | "video"No
    data.rows[].page.page_type_confidencenumber | nullNo
    data.rows[].page.social_publisherobjectNo
    data.rows[].page.social_publisher.entity_idstringConditional
    data.rows[].page.social_publisher.profile_urlstringConditional
    data.rows[].page.source_category"directory" | "review_site" | "local_directory" | "industry_directory" | "forum" | "social" | "video" | "news" | "local_news" | "comparison" | "marketplace" | "brand_site" | "competitor_site" | "docs" | "press" | "other"No
    data.rows[].page.source_channelstringConditional
    data.rows[].page.source_channel_basis"review" | "url_pattern" | "unknown"Conditional
    data.rows[].page.urlstringConditional
    data.rows[].page.url_pattern_basisstring | nullConditional
    data.rows[].rankinteger | nullYes
    data.rows[].social_platform"linkedin" | "reddit" | "youtube"No
    data.rows[].social_publisher_metricsobjectNo
    data.rows[].social_publisher_metrics.answers_with_displayable_citationsintegerConditional
    data.rows[].social_publisher_metrics.brandobjectConditional
    data.rows[].social_publisher_metrics.brand.answer_url_pairsintegerConditional
    data.rows[].social_publisher_metrics.brand.citation_ratenumber | nullConditional
    data.rows[].social_publisher_metrics.brand.citing_answersintegerConditional
    data.rows[].social_publisher_metrics.competitorsobjectConditional
    data.rows[].social_publisher_metrics.competitors.[key]objectNoValue for each key.
    data.rows[].social_publisher_metrics.unknown_publisherobjectConditional
    data.rows[].social_publisher_metrics.unknown_publisher.answer_url_pairsintegerConditional
    data.rows[].social_publisher_metrics.unknown_publisher.citation_ratenumber | nullConditional
    data.rows[].social_publisher_metrics.unknown_publisher.citing_answersintegerConditional
    data.section"domains" | "urls" | "timeline" | "channels" | "prompts" | "social_timeline"Yes
    data.social_platform"linkedin" | "reddit" | "youtube"No
    data.source_channel_compositionarray of objectYes
    data.source_channel_composition[].answer_url_pairsintegerYes
    data.source_channel_composition[].unique_urlsintegerYes
    data.source_channel_composition[].valuestringYes
    data.summaryobjectYes
    data.summary.answer_mentionsobjectYes
    data.summary.answer_mentions.brand_mention_answersintegerYes
    data.summary.answer_mentions.competitor_mention_answersobjectYes
    data.summary.answer_mentions.competitor_mention_answers.[key]integerNoValue for each key.
    data.summary.answer_url_pairsintegerYes
    data.summary.answers_with_displayable_citationsintegerYes
    data.summary.answers_with_recorded_citationsintegerYes
    data.summary.answers_with_unusable_citation_urlsintegerYes
    data.summary.answers_with_withheld_citationsintegerYes
    data.summary.cited_page_brand_mention_ratenumber | nullYes
    data.summary.cited_page_brand_mentionsinteger | nullYes
    data.summary.cited_page_competitor_mention_ratesobjectYes
    data.summary.cited_page_competitor_mention_rates.[key]number | nullNoValue for each key.
    data.summary.cited_page_competitor_mentionsobjectYes
    data.summary.cited_page_competitor_mentions.[key]integer | nullNoValue for each key.
    data.summary.citing_answersintegerYes
    data.summary.citing_share_of_answers_with_displayable_citationsnumber | nullYes
    data.summary.content_type_answer_url_pairsobjectYes
    data.summary.content_type_answer_url_pairs.[key]integerNoValue for each key.
    data.summary.ownership_answer_url_pairsobjectYes
    data.summary.ownership_answer_url_pairs.[key]integerNoValue for each key.
    data.summary.scheduled_samplesintegerYes
    data.summary.source_channel_answer_url_pairsobjectYes
    data.summary.source_channel_answer_url_pairs.[key]integerNoValue for each key.
    data.summary.unique_domainsintegerYes
    data.summary.unique_urlsintegerYes
    data.summary.urls_with_brand_mention_reviewintegerYes
    data.summary.urls_with_competitor_mention_reviewobjectYes
    data.summary.urls_with_competitor_mention_review.[key]integerNoValue for each key.
    data.summary.valid_answersintegerYes
    data.total_rowsintegerYes
    data.urlstring | nullYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    HTTP 200 response fields 2
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.growthobjectYes
    data.growth.brand_idstringYes
    data.growth.comparison_coverageobjectYes
    data.growth.comparison_coverage.current_samplesintegerYes
    data.growth.comparison_coverage.matched_pairsintegerYes
    data.growth.comparison_coverage.previous_samplesintegerYes
    data.growth.comparison_status"no_baseline" | "partial" | "complete"Yes
    data.growth.currentobjectYes
    data.growth.current.answersintegerYes
    data.growth.current.citationsintegerYes
    data.growth.current.monthstringYes
    data.growth.current.pagesintegerYes
    data.growth.current.websitesintegerYes
    data.growth.historyarray of objectYes
    data.growth.history[].answersintegerYes
    data.growth.history[].citationsintegerYes
    data.growth.history[].monthstringYes
    data.growth.history[].pagesintegerYes
    data.growth.history[].websitesintegerYes
    data.growth.page_changesobject | nullYes
    data.growth.page_changes.keptintegerConditional
    data.growth.page_changes.lostintegerConditional
    data.growth.page_changes.newintegerConditional
    data.growth.pagesarray of objectYes
    data.growth.pages[].change"new" | "lost"Yes
    data.growth.pages[].domainstringYes
    data.growth.pages[].urlstringYes
    data.growth.previousobjectYes
    data.growth.previous.answersintegerYes
    data.growth.previous.citationsintegerYes
    data.growth.previous.monthstringYes
    data.growth.previous.pagesintegerYes
    data.growth.previous.websitesintegerYes
    data.growth.report_idstring | nullYes
    data.growth.total_changed_pagesintegerYes
    data.growth.website_changesobject | nullYes
    data.growth.website_changes.keptintegerConditional
    data.growth.website_changes.lostintegerConditional
    data.growth.website_changes.newintegerConditional
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Get Citation Analyticscitations_channels

    Open this request with Python and TypeScript examples

    • Path dataset is citations.
    • Query section is channels.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    datasetpath"citations"Yes
    audience_idquerystring (uuid) | nullNoCurrent audience assignment. Requires prompts:read.
    product_idquerystring (uuid) | nullNoCurrent product assignment. Requires prompts:read.
    service_idquerystring (uuid) | nullNoCurrent service assignment. Requires prompts:read.
    group_idquerystring (uuid) | nullNoCurrent prompt group assignment. Requires prompts:read.
    stagequery"awareness" | "consideration" | "evaluation" | "decision" | "retention" | nullNoCurrent prompt buyer stage. Requires prompts:read.
    brand_idquerystring (uuid)Yes
    report_idquerystring (uuid) | nullNo
    start_atquerystring (date-time) | nullNo
    end_atquerystring (date-time) | nullNo
    enginequerystring | nullNo
    ai_searchquerystring | nullNoThe AI search product the answer came from, such as google_ai_overviews.
    providerquerystring | nullNoFilter by source label. Available labels include official_api, collector_a, collector_b, collector_c, collector_d, collector_e, collector_f, collector_g, collector_h.
    prompt_idquerystring (uuid) | nullNo
    prompt_versionqueryinteger | nullNo
    limitqueryintegerNo
    cursorquerystring | nullNo
    page_typequery"blog" | "directory" | "review_site" | "news" | "forum" | "brand_site" | "competitor_site" | "marketplace" | "docs" | "social" | "press_release" | "comparison" | "roundup" | "guide" | "institution" | "reference" | "other" | "unknown" | nullNo
    include_page_detailsquerybooleanNo
    urlquerystring | nullNo
    ownershipquery"brand_owned" | "registered_competitor" | "other_external" | "unknown" | nullNo
    social_platformquery"linkedin" | "reddit" | "youtube" | nullNo
    location_idquerystring (uuid)No
    group_byquery"location" | "city" | "region"No
    monthquerystring | nullNoUse with section=growth.
    previous_monthquerystring | nullNoUse with section=growth.
    topic_idquerystring | nullNoUse with section=growth.
    sectionquery"channels"Yes

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/analytics/citations" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode "brand_id=$BRAND_ID" \
      --data-urlencode 'section=channels'

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.content_compositionarray of objectYes
    data.content_composition[].answer_url_pairsintegerYes
    data.content_composition[].unique_urlsintegerYes
    data.content_composition[].valuestringYes
    data.ownership"brand_owned" | "registered_competitor" | "other_external" | "unknown" | nullYes
    data.ownership_basis"pinned_analysis_configuration" | "unknown"Yes
    data.ownership_compositionarray of objectYes
    data.ownership_composition[].answer_url_pairsintegerYes
    data.ownership_composition[].unique_urlsintegerYes
    data.ownership_composition[].valuestringYes
    data.page_type_compositionarray of objectNo
    data.page_type_composition[].answer_url_pairsintegerConditional
    data.page_type_composition[].unique_urlsintegerConditional
    data.page_type_composition[].valuestringConditional
    data.reportobjectYes
    data.report.analysis_versionstring | nullYes
    data.report.brand_idstringYes
    data.report.comparison_set_versionstring | nullYes
    data.report.end_atstringYes
    data.report.generated_atstring | nullYes
    data.report.report_idstring | nullYes
    data.report.segmentationobject | nullYes
    data.report.segmentation.audience_idstring | nullConditional
    data.report.segmentation.basis"current_prompt_metadata"Conditional
    data.report.segmentation.group_idstring | nullConditional
    data.report.segmentation.product_idstring | nullConditional
    data.report.segmentation.service_idstring | nullConditional
    data.report.segmentation.stage"awareness" | "consideration" | "evaluation" | "decision" | "retention" | nullConditional
    data.report.start_atstringYes
    data.rowsarray of objectYes
    data.rows[].dimensionobject | nullYes
    data.rows[].dimension.ai_searchstring | nullConditionalThe AI search product the answer came from, such as google_ai_overviews.
    data.rows[].dimension.comparison_set_versionstring | nullConditional
    data.rows[].dimension.datestring | nullConditional
    data.rows[].dimension.enginestring | nullConditional
    data.rows[].dimension.prompt_idstring | nullConditional
    data.rows[].dimension.prompt_versioninteger | nullConditional
    data.rows[].dimension.providerstring | nullConditional
    data.rows[].dimension.source_cohortobject | nullConditional
    data.rows[].dimension.source_cohort.[key]string | nullNoValue for each key.
    data.rows[].domainstring | nullYes
    data.rows[].matched_domainstring | nullYes
    data.rows[].matched_entity_idstring | nullYes
    data.rows[].metricsobjectYes
    data.rows[].metrics.answer_mentionsobjectYes
    data.rows[].metrics.answer_mentions.brand_mention_answersintegerYes
    data.rows[].metrics.answer_mentions.competitor_mention_answersobjectYes
    data.rows[].metrics.answer_mentions.competitor_mention_answers.[key]integerNoValue for each key.
    data.rows[].metrics.answer_url_pairsintegerYes
    data.rows[].metrics.answers_with_displayable_citationsintegerYes
    data.rows[].metrics.answers_with_recorded_citationsintegerYes
    data.rows[].metrics.answers_with_unusable_citation_urlsintegerYes
    data.rows[].metrics.answers_with_withheld_citationsintegerYes
    data.rows[].metrics.cited_page_brand_mention_ratenumber | nullYes
    data.rows[].metrics.cited_page_brand_mentionsinteger | nullYes
    data.rows[].metrics.cited_page_competitor_mention_ratesobjectYes
    data.rows[].metrics.cited_page_competitor_mention_rates.[key]number | nullNoValue for each key.
    data.rows[].metrics.cited_page_competitor_mentionsobjectYes
    data.rows[].metrics.cited_page_competitor_mentions.[key]integer | nullNoValue for each key.
    data.rows[].metrics.citing_answersintegerYes
    data.rows[].metrics.citing_share_of_answers_with_displayable_citationsnumber | nullYes
    data.rows[].metrics.content_type_answer_url_pairsobjectYes
    data.rows[].metrics.content_type_answer_url_pairs.[key]integerNoValue for each key.
    data.rows[].metrics.ownership_answer_url_pairsobjectYes
    data.rows[].metrics.ownership_answer_url_pairs.[key]integerNoValue for each key.
    data.rows[].metrics.scheduled_samplesintegerYes
    data.rows[].metrics.source_channel_answer_url_pairsobjectYes
    data.rows[].metrics.source_channel_answer_url_pairs.[key]integerNoValue for each key.
    data.rows[].metrics.unique_domainsintegerYes
    data.rows[].metrics.unique_urlsintegerYes
    data.rows[].metrics.urls_with_brand_mention_reviewintegerYes
    data.rows[].metrics.urls_with_competitor_mention_reviewobjectYes
    data.rows[].metrics.urls_with_competitor_mention_review.[key]integerNoValue for each key.
    data.rows[].metrics.valid_answersintegerYes
    data.rows[].ownership"brand_owned" | "registered_competitor" | "other_external" | "unknown" | nullYes
    data.rows[].ownership_rankinteger | nullYes
    data.rows[].pageobject | nullYes
    data.rows[].page.brand_mentioned_on_pageboolean | nullConditional
    data.rows[].page.checked_atstring | nullConditional
    data.rows[].page.classification_basis"curated_domain" | "url_pattern" | "page_content" | "unknown"No
    data.rows[].page.classification_confidencenumberNo
    data.rows[].page.competitors_mentioned_on_pageobjectConditional
    data.rows[].page.competitors_mentioned_on_page.[key]boolean | nullNoValue for each key.
    data.rows[].page.content_typestringConditional
    data.rows[].page.content_type_basis"review" | "url_pattern" | "unknown"Conditional
    data.rows[].page.evidence_referencestring | nullConditional
    data.rows[].page.page_evidence_status"reviewed" | "unknown"Conditional
    data.rows[].page.page_type"blog" | "directory" | "review_site" | "news" | "forum" | "brand_site" | "competitor_site" | "marketplace" | "docs" | "social" | "press_release" | "comparison" | "roundup" | "guide" | "institution" | "reference" | "other" | "unknown" | "video"No
    data.rows[].page.page_type_confidencenumber | nullNo
    data.rows[].page.social_publisherobjectNo
    data.rows[].page.social_publisher.entity_idstringConditional
    data.rows[].page.social_publisher.profile_urlstringConditional
    data.rows[].page.source_category"directory" | "review_site" | "local_directory" | "industry_directory" | "forum" | "social" | "video" | "news" | "local_news" | "comparison" | "marketplace" | "brand_site" | "competitor_site" | "docs" | "press" | "other"No
    data.rows[].page.source_channelstringConditional
    data.rows[].page.source_channel_basis"review" | "url_pattern" | "unknown"Conditional
    data.rows[].page.urlstringConditional
    data.rows[].page.url_pattern_basisstring | nullConditional
    data.rows[].rankinteger | nullYes
    data.rows[].social_platform"linkedin" | "reddit" | "youtube"No
    data.rows[].social_publisher_metricsobjectNo
    data.rows[].social_publisher_metrics.answers_with_displayable_citationsintegerConditional
    data.rows[].social_publisher_metrics.brandobjectConditional
    data.rows[].social_publisher_metrics.brand.answer_url_pairsintegerConditional
    data.rows[].social_publisher_metrics.brand.citation_ratenumber | nullConditional
    data.rows[].social_publisher_metrics.brand.citing_answersintegerConditional
    data.rows[].social_publisher_metrics.competitorsobjectConditional
    data.rows[].social_publisher_metrics.competitors.[key]objectNoValue for each key.
    data.rows[].social_publisher_metrics.unknown_publisherobjectConditional
    data.rows[].social_publisher_metrics.unknown_publisher.answer_url_pairsintegerConditional
    data.rows[].social_publisher_metrics.unknown_publisher.citation_ratenumber | nullConditional
    data.rows[].social_publisher_metrics.unknown_publisher.citing_answersintegerConditional
    data.section"domains" | "urls" | "timeline" | "channels" | "prompts" | "social_timeline"Yes
    data.social_platform"linkedin" | "reddit" | "youtube"No
    data.source_channel_compositionarray of objectYes
    data.source_channel_composition[].answer_url_pairsintegerYes
    data.source_channel_composition[].unique_urlsintegerYes
    data.source_channel_composition[].valuestringYes
    data.summaryobjectYes
    data.summary.answer_mentionsobjectYes
    data.summary.answer_mentions.brand_mention_answersintegerYes
    data.summary.answer_mentions.competitor_mention_answersobjectYes
    data.summary.answer_mentions.competitor_mention_answers.[key]integerNoValue for each key.
    data.summary.answer_url_pairsintegerYes
    data.summary.answers_with_displayable_citationsintegerYes
    data.summary.answers_with_recorded_citationsintegerYes
    data.summary.answers_with_unusable_citation_urlsintegerYes
    data.summary.answers_with_withheld_citationsintegerYes
    data.summary.cited_page_brand_mention_ratenumber | nullYes
    data.summary.cited_page_brand_mentionsinteger | nullYes
    data.summary.cited_page_competitor_mention_ratesobjectYes
    data.summary.cited_page_competitor_mention_rates.[key]number | nullNoValue for each key.
    data.summary.cited_page_competitor_mentionsobjectYes
    data.summary.cited_page_competitor_mentions.[key]integer | nullNoValue for each key.
    data.summary.citing_answersintegerYes
    data.summary.citing_share_of_answers_with_displayable_citationsnumber | nullYes
    data.summary.content_type_answer_url_pairsobjectYes
    data.summary.content_type_answer_url_pairs.[key]integerNoValue for each key.
    data.summary.ownership_answer_url_pairsobjectYes
    data.summary.ownership_answer_url_pairs.[key]integerNoValue for each key.
    data.summary.scheduled_samplesintegerYes
    data.summary.source_channel_answer_url_pairsobjectYes
    data.summary.source_channel_answer_url_pairs.[key]integerNoValue for each key.
    data.summary.unique_domainsintegerYes
    data.summary.unique_urlsintegerYes
    data.summary.urls_with_brand_mention_reviewintegerYes
    data.summary.urls_with_competitor_mention_reviewobjectYes
    data.summary.urls_with_competitor_mention_review.[key]integerNoValue for each key.
    data.summary.valid_answersintegerYes
    data.total_rowsintegerYes
    data.urlstring | nullYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    HTTP 200 response fields 2
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.growthobjectYes
    data.growth.brand_idstringYes
    data.growth.comparison_coverageobjectYes
    data.growth.comparison_coverage.current_samplesintegerYes
    data.growth.comparison_coverage.matched_pairsintegerYes
    data.growth.comparison_coverage.previous_samplesintegerYes
    data.growth.comparison_status"no_baseline" | "partial" | "complete"Yes
    data.growth.currentobjectYes
    data.growth.current.answersintegerYes
    data.growth.current.citationsintegerYes
    data.growth.current.monthstringYes
    data.growth.current.pagesintegerYes
    data.growth.current.websitesintegerYes
    data.growth.historyarray of objectYes
    data.growth.history[].answersintegerYes
    data.growth.history[].citationsintegerYes
    data.growth.history[].monthstringYes
    data.growth.history[].pagesintegerYes
    data.growth.history[].websitesintegerYes
    data.growth.page_changesobject | nullYes
    data.growth.page_changes.keptintegerConditional
    data.growth.page_changes.lostintegerConditional
    data.growth.page_changes.newintegerConditional
    data.growth.pagesarray of objectYes
    data.growth.pages[].change"new" | "lost"Yes
    data.growth.pages[].domainstringYes
    data.growth.pages[].urlstringYes
    data.growth.previousobjectYes
    data.growth.previous.answersintegerYes
    data.growth.previous.citationsintegerYes
    data.growth.previous.monthstringYes
    data.growth.previous.pagesintegerYes
    data.growth.previous.websitesintegerYes
    data.growth.report_idstring | nullYes
    data.growth.total_changed_pagesintegerYes
    data.growth.website_changesobject | nullYes
    data.growth.website_changes.keptintegerConditional
    data.growth.website_changes.lostintegerConditional
    data.growth.website_changes.newintegerConditional
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Get Citation Analyticscitations_prompts

    Open this request with Python and TypeScript examples

    • Path dataset is citations.
    • Query section is prompts.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    datasetpath"citations"Yes
    audience_idquerystring (uuid) | nullNoCurrent audience assignment. Requires prompts:read.
    product_idquerystring (uuid) | nullNoCurrent product assignment. Requires prompts:read.
    service_idquerystring (uuid) | nullNoCurrent service assignment. Requires prompts:read.
    group_idquerystring (uuid) | nullNoCurrent prompt group assignment. Requires prompts:read.
    stagequery"awareness" | "consideration" | "evaluation" | "decision" | "retention" | nullNoCurrent prompt buyer stage. Requires prompts:read.
    brand_idquerystring (uuid)Yes
    report_idquerystring (uuid) | nullNo
    start_atquerystring (date-time) | nullNo
    end_atquerystring (date-time) | nullNo
    enginequerystring | nullNo
    ai_searchquerystring | nullNoThe AI search product the answer came from, such as google_ai_overviews.
    providerquerystring | nullNoFilter by source label. Available labels include official_api, collector_a, collector_b, collector_c, collector_d, collector_e, collector_f, collector_g, collector_h.
    prompt_idquerystring (uuid) | nullNo
    prompt_versionqueryinteger | nullNo
    limitqueryintegerNo
    cursorquerystring | nullNo
    page_typequery"blog" | "directory" | "review_site" | "news" | "forum" | "brand_site" | "competitor_site" | "marketplace" | "docs" | "social" | "press_release" | "comparison" | "roundup" | "guide" | "institution" | "reference" | "other" | "unknown" | nullNo
    include_page_detailsquerybooleanNo
    urlquerystring | nullNo
    ownershipquery"brand_owned" | "registered_competitor" | "other_external" | "unknown" | nullNo
    social_platformquery"linkedin" | "reddit" | "youtube" | nullNo
    location_idquerystring (uuid)No
    group_byquery"location" | "city" | "region"No
    monthquerystring | nullNoUse with section=growth.
    previous_monthquerystring | nullNoUse with section=growth.
    topic_idquerystring | nullNoUse with section=growth.
    sectionquery"prompts"Yes

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/analytics/citations" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode "brand_id=$BRAND_ID" \
      --data-urlencode 'section=prompts'

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.content_compositionarray of objectYes
    data.content_composition[].answer_url_pairsintegerYes
    data.content_composition[].unique_urlsintegerYes
    data.content_composition[].valuestringYes
    data.ownership"brand_owned" | "registered_competitor" | "other_external" | "unknown" | nullYes
    data.ownership_basis"pinned_analysis_configuration" | "unknown"Yes
    data.ownership_compositionarray of objectYes
    data.ownership_composition[].answer_url_pairsintegerYes
    data.ownership_composition[].unique_urlsintegerYes
    data.ownership_composition[].valuestringYes
    data.page_type_compositionarray of objectNo
    data.page_type_composition[].answer_url_pairsintegerConditional
    data.page_type_composition[].unique_urlsintegerConditional
    data.page_type_composition[].valuestringConditional
    data.reportobjectYes
    data.report.analysis_versionstring | nullYes
    data.report.brand_idstringYes
    data.report.comparison_set_versionstring | nullYes
    data.report.end_atstringYes
    data.report.generated_atstring | nullYes
    data.report.report_idstring | nullYes
    data.report.segmentationobject | nullYes
    data.report.segmentation.audience_idstring | nullConditional
    data.report.segmentation.basis"current_prompt_metadata"Conditional
    data.report.segmentation.group_idstring | nullConditional
    data.report.segmentation.product_idstring | nullConditional
    data.report.segmentation.service_idstring | nullConditional
    data.report.segmentation.stage"awareness" | "consideration" | "evaluation" | "decision" | "retention" | nullConditional
    data.report.start_atstringYes
    data.rowsarray of objectYes
    data.rows[].dimensionobject | nullYes
    data.rows[].dimension.ai_searchstring | nullConditionalThe AI search product the answer came from, such as google_ai_overviews.
    data.rows[].dimension.comparison_set_versionstring | nullConditional
    data.rows[].dimension.datestring | nullConditional
    data.rows[].dimension.enginestring | nullConditional
    data.rows[].dimension.prompt_idstring | nullConditional
    data.rows[].dimension.prompt_versioninteger | nullConditional
    data.rows[].dimension.providerstring | nullConditional
    data.rows[].dimension.source_cohortobject | nullConditional
    data.rows[].dimension.source_cohort.[key]string | nullNoValue for each key.
    data.rows[].domainstring | nullYes
    data.rows[].matched_domainstring | nullYes
    data.rows[].matched_entity_idstring | nullYes
    data.rows[].metricsobjectYes
    data.rows[].metrics.answer_mentionsobjectYes
    data.rows[].metrics.answer_mentions.brand_mention_answersintegerYes
    data.rows[].metrics.answer_mentions.competitor_mention_answersobjectYes
    data.rows[].metrics.answer_mentions.competitor_mention_answers.[key]integerNoValue for each key.
    data.rows[].metrics.answer_url_pairsintegerYes
    data.rows[].metrics.answers_with_displayable_citationsintegerYes
    data.rows[].metrics.answers_with_recorded_citationsintegerYes
    data.rows[].metrics.answers_with_unusable_citation_urlsintegerYes
    data.rows[].metrics.answers_with_withheld_citationsintegerYes
    data.rows[].metrics.cited_page_brand_mention_ratenumber | nullYes
    data.rows[].metrics.cited_page_brand_mentionsinteger | nullYes
    data.rows[].metrics.cited_page_competitor_mention_ratesobjectYes
    data.rows[].metrics.cited_page_competitor_mention_rates.[key]number | nullNoValue for each key.
    data.rows[].metrics.cited_page_competitor_mentionsobjectYes
    data.rows[].metrics.cited_page_competitor_mentions.[key]integer | nullNoValue for each key.
    data.rows[].metrics.citing_answersintegerYes
    data.rows[].metrics.citing_share_of_answers_with_displayable_citationsnumber | nullYes
    data.rows[].metrics.content_type_answer_url_pairsobjectYes
    data.rows[].metrics.content_type_answer_url_pairs.[key]integerNoValue for each key.
    data.rows[].metrics.ownership_answer_url_pairsobjectYes
    data.rows[].metrics.ownership_answer_url_pairs.[key]integerNoValue for each key.
    data.rows[].metrics.scheduled_samplesintegerYes
    data.rows[].metrics.source_channel_answer_url_pairsobjectYes
    data.rows[].metrics.source_channel_answer_url_pairs.[key]integerNoValue for each key.
    data.rows[].metrics.unique_domainsintegerYes
    data.rows[].metrics.unique_urlsintegerYes
    data.rows[].metrics.urls_with_brand_mention_reviewintegerYes
    data.rows[].metrics.urls_with_competitor_mention_reviewobjectYes
    data.rows[].metrics.urls_with_competitor_mention_review.[key]integerNoValue for each key.
    data.rows[].metrics.valid_answersintegerYes
    data.rows[].ownership"brand_owned" | "registered_competitor" | "other_external" | "unknown" | nullYes
    data.rows[].ownership_rankinteger | nullYes
    data.rows[].pageobject | nullYes
    data.rows[].page.brand_mentioned_on_pageboolean | nullConditional
    data.rows[].page.checked_atstring | nullConditional
    data.rows[].page.classification_basis"curated_domain" | "url_pattern" | "page_content" | "unknown"No
    data.rows[].page.classification_confidencenumberNo
    data.rows[].page.competitors_mentioned_on_pageobjectConditional
    data.rows[].page.competitors_mentioned_on_page.[key]boolean | nullNoValue for each key.
    data.rows[].page.content_typestringConditional
    data.rows[].page.content_type_basis"review" | "url_pattern" | "unknown"Conditional
    data.rows[].page.evidence_referencestring | nullConditional
    data.rows[].page.page_evidence_status"reviewed" | "unknown"Conditional
    data.rows[].page.page_type"blog" | "directory" | "review_site" | "news" | "forum" | "brand_site" | "competitor_site" | "marketplace" | "docs" | "social" | "press_release" | "comparison" | "roundup" | "guide" | "institution" | "reference" | "other" | "unknown" | "video"No
    data.rows[].page.page_type_confidencenumber | nullNo
    data.rows[].page.social_publisherobjectNo
    data.rows[].page.social_publisher.entity_idstringConditional
    data.rows[].page.social_publisher.profile_urlstringConditional
    data.rows[].page.source_category"directory" | "review_site" | "local_directory" | "industry_directory" | "forum" | "social" | "video" | "news" | "local_news" | "comparison" | "marketplace" | "brand_site" | "competitor_site" | "docs" | "press" | "other"No
    data.rows[].page.source_channelstringConditional
    data.rows[].page.source_channel_basis"review" | "url_pattern" | "unknown"Conditional
    data.rows[].page.urlstringConditional
    data.rows[].page.url_pattern_basisstring | nullConditional
    data.rows[].rankinteger | nullYes
    data.rows[].social_platform"linkedin" | "reddit" | "youtube"No
    data.rows[].social_publisher_metricsobjectNo
    data.rows[].social_publisher_metrics.answers_with_displayable_citationsintegerConditional
    data.rows[].social_publisher_metrics.brandobjectConditional
    data.rows[].social_publisher_metrics.brand.answer_url_pairsintegerConditional
    data.rows[].social_publisher_metrics.brand.citation_ratenumber | nullConditional
    data.rows[].social_publisher_metrics.brand.citing_answersintegerConditional
    data.rows[].social_publisher_metrics.competitorsobjectConditional
    data.rows[].social_publisher_metrics.competitors.[key]objectNoValue for each key.
    data.rows[].social_publisher_metrics.unknown_publisherobjectConditional
    data.rows[].social_publisher_metrics.unknown_publisher.answer_url_pairsintegerConditional
    data.rows[].social_publisher_metrics.unknown_publisher.citation_ratenumber | nullConditional
    data.rows[].social_publisher_metrics.unknown_publisher.citing_answersintegerConditional
    data.section"domains" | "urls" | "timeline" | "channels" | "prompts" | "social_timeline"Yes
    data.social_platform"linkedin" | "reddit" | "youtube"No
    data.source_channel_compositionarray of objectYes
    data.source_channel_composition[].answer_url_pairsintegerYes
    data.source_channel_composition[].unique_urlsintegerYes
    data.source_channel_composition[].valuestringYes
    data.summaryobjectYes
    data.summary.answer_mentionsobjectYes
    data.summary.answer_mentions.brand_mention_answersintegerYes
    data.summary.answer_mentions.competitor_mention_answersobjectYes
    data.summary.answer_mentions.competitor_mention_answers.[key]integerNoValue for each key.
    data.summary.answer_url_pairsintegerYes
    data.summary.answers_with_displayable_citationsintegerYes
    data.summary.answers_with_recorded_citationsintegerYes
    data.summary.answers_with_unusable_citation_urlsintegerYes
    data.summary.answers_with_withheld_citationsintegerYes
    data.summary.cited_page_brand_mention_ratenumber | nullYes
    data.summary.cited_page_brand_mentionsinteger | nullYes
    data.summary.cited_page_competitor_mention_ratesobjectYes
    data.summary.cited_page_competitor_mention_rates.[key]number | nullNoValue for each key.
    data.summary.cited_page_competitor_mentionsobjectYes
    data.summary.cited_page_competitor_mentions.[key]integer | nullNoValue for each key.
    data.summary.citing_answersintegerYes
    data.summary.citing_share_of_answers_with_displayable_citationsnumber | nullYes
    data.summary.content_type_answer_url_pairsobjectYes
    data.summary.content_type_answer_url_pairs.[key]integerNoValue for each key.
    data.summary.ownership_answer_url_pairsobjectYes
    data.summary.ownership_answer_url_pairs.[key]integerNoValue for each key.
    data.summary.scheduled_samplesintegerYes
    data.summary.source_channel_answer_url_pairsobjectYes
    data.summary.source_channel_answer_url_pairs.[key]integerNoValue for each key.
    data.summary.unique_domainsintegerYes
    data.summary.unique_urlsintegerYes
    data.summary.urls_with_brand_mention_reviewintegerYes
    data.summary.urls_with_competitor_mention_reviewobjectYes
    data.summary.urls_with_competitor_mention_review.[key]integerNoValue for each key.
    data.summary.valid_answersintegerYes
    data.total_rowsintegerYes
    data.urlstring | nullYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    HTTP 200 response fields 2
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.growthobjectYes
    data.growth.brand_idstringYes
    data.growth.comparison_coverageobjectYes
    data.growth.comparison_coverage.current_samplesintegerYes
    data.growth.comparison_coverage.matched_pairsintegerYes
    data.growth.comparison_coverage.previous_samplesintegerYes
    data.growth.comparison_status"no_baseline" | "partial" | "complete"Yes
    data.growth.currentobjectYes
    data.growth.current.answersintegerYes
    data.growth.current.citationsintegerYes
    data.growth.current.monthstringYes
    data.growth.current.pagesintegerYes
    data.growth.current.websitesintegerYes
    data.growth.historyarray of objectYes
    data.growth.history[].answersintegerYes
    data.growth.history[].citationsintegerYes
    data.growth.history[].monthstringYes
    data.growth.history[].pagesintegerYes
    data.growth.history[].websitesintegerYes
    data.growth.page_changesobject | nullYes
    data.growth.page_changes.keptintegerConditional
    data.growth.page_changes.lostintegerConditional
    data.growth.page_changes.newintegerConditional
    data.growth.pagesarray of objectYes
    data.growth.pages[].change"new" | "lost"Yes
    data.growth.pages[].domainstringYes
    data.growth.pages[].urlstringYes
    data.growth.previousobjectYes
    data.growth.previous.answersintegerYes
    data.growth.previous.citationsintegerYes
    data.growth.previous.monthstringYes
    data.growth.previous.pagesintegerYes
    data.growth.previous.websitesintegerYes
    data.growth.report_idstring | nullYes
    data.growth.total_changed_pagesintegerYes
    data.growth.website_changesobject | nullYes
    data.growth.website_changes.keptintegerConditional
    data.growth.website_changes.lostintegerConditional
    data.growth.website_changes.newintegerConditional
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Get Citation Analyticscitations_social_timeline

    Open this request with Python and TypeScript examples

    • Path dataset is citations.
    • Query section is social_timeline.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    datasetpath"citations"Yes
    audience_idquerystring (uuid) | nullNoCurrent audience assignment. Requires prompts:read.
    product_idquerystring (uuid) | nullNoCurrent product assignment. Requires prompts:read.
    service_idquerystring (uuid) | nullNoCurrent service assignment. Requires prompts:read.
    group_idquerystring (uuid) | nullNoCurrent prompt group assignment. Requires prompts:read.
    stagequery"awareness" | "consideration" | "evaluation" | "decision" | "retention" | nullNoCurrent prompt buyer stage. Requires prompts:read.
    brand_idquerystring (uuid)Yes
    report_idquerystring (uuid) | nullNo
    start_atquerystring (date-time) | nullNo
    end_atquerystring (date-time) | nullNo
    enginequerystring | nullNo
    ai_searchquerystring | nullNoThe AI search product the answer came from, such as google_ai_overviews.
    providerquerystring | nullNoFilter by source label. Available labels include official_api, collector_a, collector_b, collector_c, collector_d, collector_e, collector_f, collector_g, collector_h.
    prompt_idquerystring (uuid) | nullNo
    prompt_versionqueryinteger | nullNo
    limitqueryintegerNo
    cursorquerystring | nullNo
    page_typequery"blog" | "directory" | "review_site" | "news" | "forum" | "brand_site" | "competitor_site" | "marketplace" | "docs" | "social" | "press_release" | "comparison" | "roundup" | "guide" | "institution" | "reference" | "other" | "unknown" | nullNo
    include_page_detailsquerybooleanNo
    urlquerystring | nullNo
    ownershipquery"brand_owned" | "registered_competitor" | "other_external" | "unknown" | nullNo
    social_platformquery"linkedin" | "reddit" | "youtube" | nullNo
    location_idquerystring (uuid)No
    group_byquery"location" | "city" | "region"No
    monthquerystring | nullNoUse with section=growth.
    previous_monthquerystring | nullNoUse with section=growth.
    topic_idquerystring | nullNoUse with section=growth.
    sectionquery"social_timeline"Yes

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/analytics/citations" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode "brand_id=$BRAND_ID" \
      --data-urlencode 'section=social_timeline'

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.content_compositionarray of objectYes
    data.content_composition[].answer_url_pairsintegerYes
    data.content_composition[].unique_urlsintegerYes
    data.content_composition[].valuestringYes
    data.ownership"brand_owned" | "registered_competitor" | "other_external" | "unknown" | nullYes
    data.ownership_basis"pinned_analysis_configuration" | "unknown"Yes
    data.ownership_compositionarray of objectYes
    data.ownership_composition[].answer_url_pairsintegerYes
    data.ownership_composition[].unique_urlsintegerYes
    data.ownership_composition[].valuestringYes
    data.page_type_compositionarray of objectNo
    data.page_type_composition[].answer_url_pairsintegerConditional
    data.page_type_composition[].unique_urlsintegerConditional
    data.page_type_composition[].valuestringConditional
    data.reportobjectYes
    data.report.analysis_versionstring | nullYes
    data.report.brand_idstringYes
    data.report.comparison_set_versionstring | nullYes
    data.report.end_atstringYes
    data.report.generated_atstring | nullYes
    data.report.report_idstring | nullYes
    data.report.segmentationobject | nullYes
    data.report.segmentation.audience_idstring | nullConditional
    data.report.segmentation.basis"current_prompt_metadata"Conditional
    data.report.segmentation.group_idstring | nullConditional
    data.report.segmentation.product_idstring | nullConditional
    data.report.segmentation.service_idstring | nullConditional
    data.report.segmentation.stage"awareness" | "consideration" | "evaluation" | "decision" | "retention" | nullConditional
    data.report.start_atstringYes
    data.rowsarray of objectYes
    data.rows[].dimensionobject | nullYes
    data.rows[].dimension.ai_searchstring | nullConditionalThe AI search product the answer came from, such as google_ai_overviews.
    data.rows[].dimension.comparison_set_versionstring | nullConditional
    data.rows[].dimension.datestring | nullConditional
    data.rows[].dimension.enginestring | nullConditional
    data.rows[].dimension.prompt_idstring | nullConditional
    data.rows[].dimension.prompt_versioninteger | nullConditional
    data.rows[].dimension.providerstring | nullConditional
    data.rows[].dimension.source_cohortobject | nullConditional
    data.rows[].dimension.source_cohort.[key]string | nullNoValue for each key.
    data.rows[].domainstring | nullYes
    data.rows[].matched_domainstring | nullYes
    data.rows[].matched_entity_idstring | nullYes
    data.rows[].metricsobjectYes
    data.rows[].metrics.answer_mentionsobjectYes
    data.rows[].metrics.answer_mentions.brand_mention_answersintegerYes
    data.rows[].metrics.answer_mentions.competitor_mention_answersobjectYes
    data.rows[].metrics.answer_mentions.competitor_mention_answers.[key]integerNoValue for each key.
    data.rows[].metrics.answer_url_pairsintegerYes
    data.rows[].metrics.answers_with_displayable_citationsintegerYes
    data.rows[].metrics.answers_with_recorded_citationsintegerYes
    data.rows[].metrics.answers_with_unusable_citation_urlsintegerYes
    data.rows[].metrics.answers_with_withheld_citationsintegerYes
    data.rows[].metrics.cited_page_brand_mention_ratenumber | nullYes
    data.rows[].metrics.cited_page_brand_mentionsinteger | nullYes
    data.rows[].metrics.cited_page_competitor_mention_ratesobjectYes
    data.rows[].metrics.cited_page_competitor_mention_rates.[key]number | nullNoValue for each key.
    data.rows[].metrics.cited_page_competitor_mentionsobjectYes
    data.rows[].metrics.cited_page_competitor_mentions.[key]integer | nullNoValue for each key.
    data.rows[].metrics.citing_answersintegerYes
    data.rows[].metrics.citing_share_of_answers_with_displayable_citationsnumber | nullYes
    data.rows[].metrics.content_type_answer_url_pairsobjectYes
    data.rows[].metrics.content_type_answer_url_pairs.[key]integerNoValue for each key.
    data.rows[].metrics.ownership_answer_url_pairsobjectYes
    data.rows[].metrics.ownership_answer_url_pairs.[key]integerNoValue for each key.
    data.rows[].metrics.scheduled_samplesintegerYes
    data.rows[].metrics.source_channel_answer_url_pairsobjectYes
    data.rows[].metrics.source_channel_answer_url_pairs.[key]integerNoValue for each key.
    data.rows[].metrics.unique_domainsintegerYes
    data.rows[].metrics.unique_urlsintegerYes
    data.rows[].metrics.urls_with_brand_mention_reviewintegerYes
    data.rows[].metrics.urls_with_competitor_mention_reviewobjectYes
    data.rows[].metrics.urls_with_competitor_mention_review.[key]integerNoValue for each key.
    data.rows[].metrics.valid_answersintegerYes
    data.rows[].ownership"brand_owned" | "registered_competitor" | "other_external" | "unknown" | nullYes
    data.rows[].ownership_rankinteger | nullYes
    data.rows[].pageobject | nullYes
    data.rows[].page.brand_mentioned_on_pageboolean | nullConditional
    data.rows[].page.checked_atstring | nullConditional
    data.rows[].page.classification_basis"curated_domain" | "url_pattern" | "page_content" | "unknown"No
    data.rows[].page.classification_confidencenumberNo
    data.rows[].page.competitors_mentioned_on_pageobjectConditional
    data.rows[].page.competitors_mentioned_on_page.[key]boolean | nullNoValue for each key.
    data.rows[].page.content_typestringConditional
    data.rows[].page.content_type_basis"review" | "url_pattern" | "unknown"Conditional
    data.rows[].page.evidence_referencestring | nullConditional
    data.rows[].page.page_evidence_status"reviewed" | "unknown"Conditional
    data.rows[].page.page_type"blog" | "directory" | "review_site" | "news" | "forum" | "brand_site" | "competitor_site" | "marketplace" | "docs" | "social" | "press_release" | "comparison" | "roundup" | "guide" | "institution" | "reference" | "other" | "unknown" | "video"No
    data.rows[].page.page_type_confidencenumber | nullNo
    data.rows[].page.social_publisherobjectNo
    data.rows[].page.social_publisher.entity_idstringConditional
    data.rows[].page.social_publisher.profile_urlstringConditional
    data.rows[].page.source_category"directory" | "review_site" | "local_directory" | "industry_directory" | "forum" | "social" | "video" | "news" | "local_news" | "comparison" | "marketplace" | "brand_site" | "competitor_site" | "docs" | "press" | "other"No
    data.rows[].page.source_channelstringConditional
    data.rows[].page.source_channel_basis"review" | "url_pattern" | "unknown"Conditional
    data.rows[].page.urlstringConditional
    data.rows[].page.url_pattern_basisstring | nullConditional
    data.rows[].rankinteger | nullYes
    data.rows[].social_platform"linkedin" | "reddit" | "youtube"No
    data.rows[].social_publisher_metricsobjectNo
    data.rows[].social_publisher_metrics.answers_with_displayable_citationsintegerConditional
    data.rows[].social_publisher_metrics.brandobjectConditional
    data.rows[].social_publisher_metrics.brand.answer_url_pairsintegerConditional
    data.rows[].social_publisher_metrics.brand.citation_ratenumber | nullConditional
    data.rows[].social_publisher_metrics.brand.citing_answersintegerConditional
    data.rows[].social_publisher_metrics.competitorsobjectConditional
    data.rows[].social_publisher_metrics.competitors.[key]objectNoValue for each key.
    data.rows[].social_publisher_metrics.unknown_publisherobjectConditional
    data.rows[].social_publisher_metrics.unknown_publisher.answer_url_pairsintegerConditional
    data.rows[].social_publisher_metrics.unknown_publisher.citation_ratenumber | nullConditional
    data.rows[].social_publisher_metrics.unknown_publisher.citing_answersintegerConditional
    data.section"domains" | "urls" | "timeline" | "channels" | "prompts" | "social_timeline"Yes
    data.social_platform"linkedin" | "reddit" | "youtube"No
    data.source_channel_compositionarray of objectYes
    data.source_channel_composition[].answer_url_pairsintegerYes
    data.source_channel_composition[].unique_urlsintegerYes
    data.source_channel_composition[].valuestringYes
    data.summaryobjectYes
    data.summary.answer_mentionsobjectYes
    data.summary.answer_mentions.brand_mention_answersintegerYes
    data.summary.answer_mentions.competitor_mention_answersobjectYes
    data.summary.answer_mentions.competitor_mention_answers.[key]integerNoValue for each key.
    data.summary.answer_url_pairsintegerYes
    data.summary.answers_with_displayable_citationsintegerYes
    data.summary.answers_with_recorded_citationsintegerYes
    data.summary.answers_with_unusable_citation_urlsintegerYes
    data.summary.answers_with_withheld_citationsintegerYes
    data.summary.cited_page_brand_mention_ratenumber | nullYes
    data.summary.cited_page_brand_mentionsinteger | nullYes
    data.summary.cited_page_competitor_mention_ratesobjectYes
    data.summary.cited_page_competitor_mention_rates.[key]number | nullNoValue for each key.
    data.summary.cited_page_competitor_mentionsobjectYes
    data.summary.cited_page_competitor_mentions.[key]integer | nullNoValue for each key.
    data.summary.citing_answersintegerYes
    data.summary.citing_share_of_answers_with_displayable_citationsnumber | nullYes
    data.summary.content_type_answer_url_pairsobjectYes
    data.summary.content_type_answer_url_pairs.[key]integerNoValue for each key.
    data.summary.ownership_answer_url_pairsobjectYes
    data.summary.ownership_answer_url_pairs.[key]integerNoValue for each key.
    data.summary.scheduled_samplesintegerYes
    data.summary.source_channel_answer_url_pairsobjectYes
    data.summary.source_channel_answer_url_pairs.[key]integerNoValue for each key.
    data.summary.unique_domainsintegerYes
    data.summary.unique_urlsintegerYes
    data.summary.urls_with_brand_mention_reviewintegerYes
    data.summary.urls_with_competitor_mention_reviewobjectYes
    data.summary.urls_with_competitor_mention_review.[key]integerNoValue for each key.
    data.summary.valid_answersintegerYes
    data.total_rowsintegerYes
    data.urlstring | nullYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    HTTP 200 response fields 2
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.growthobjectYes
    data.growth.brand_idstringYes
    data.growth.comparison_coverageobjectYes
    data.growth.comparison_coverage.current_samplesintegerYes
    data.growth.comparison_coverage.matched_pairsintegerYes
    data.growth.comparison_coverage.previous_samplesintegerYes
    data.growth.comparison_status"no_baseline" | "partial" | "complete"Yes
    data.growth.currentobjectYes
    data.growth.current.answersintegerYes
    data.growth.current.citationsintegerYes
    data.growth.current.monthstringYes
    data.growth.current.pagesintegerYes
    data.growth.current.websitesintegerYes
    data.growth.historyarray of objectYes
    data.growth.history[].answersintegerYes
    data.growth.history[].citationsintegerYes
    data.growth.history[].monthstringYes
    data.growth.history[].pagesintegerYes
    data.growth.history[].websitesintegerYes
    data.growth.page_changesobject | nullYes
    data.growth.page_changes.keptintegerConditional
    data.growth.page_changes.lostintegerConditional
    data.growth.page_changes.newintegerConditional
    data.growth.pagesarray of objectYes
    data.growth.pages[].change"new" | "lost"Yes
    data.growth.pages[].domainstringYes
    data.growth.pages[].urlstringYes
    data.growth.previousobjectYes
    data.growth.previous.answersintegerYes
    data.growth.previous.citationsintegerYes
    data.growth.previous.monthstringYes
    data.growth.previous.pagesintegerYes
    data.growth.previous.websitesintegerYes
    data.growth.report_idstring | nullYes
    data.growth.total_changed_pagesintegerYes
    data.growth.website_changesobject | nullYes
    data.growth.website_changes.keptintegerConditional
    data.growth.website_changes.lostintegerConditional
    data.growth.website_changes.newintegerConditional
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    POST /v2/attribution/events

    Ingest consented attribution events

    Ingest consented attribution eventsdefault

    Open this request with Python and TypeScript examples

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    attribution:write
    Roles
    editor, owner, service
    Plans
    Optimizer
    Credits
    This operation can use credits.
    Billing access
    Required

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    Idempotency-KeyheaderstringYesFor 7 days, sending the same key and body for the same account and operation returns the original response. Changing the body for that key returns HTTP 409.

    Request body

    {
      "events": [
        {
          "brand_id": "00000000-0000-4000-8000-000000000001",
          "consent_reference": "example",
          "external_event_id": "example",
          "kind": "referral",
          "occurred_at": "2026-11-06T00:00:00Z",
          "session_id": "example",
          "source": "example"
        }
      ],
      "max_units": 1
    }
    Request body fields 1
    NameTypeRequiredDescription
    eventsarray of objectYes
    events[].brand_idstring (uuid)Yes
    events[].consent_referencestring | nullYes
    events[].conversion_idstring | null | nullNo
    events[].countrystring | nullNoOptional consented ISO 3166-1 alpha-2 country the customer supplies for this event. Absent or null means unknown; never inferred from IP, address or other unconsented data.
    events[].currencystring | nullNo
    events[].external_event_idstring | nullYes
    events[].kind"referral" | "conversion" | "refund"Yes
    events[].languagestring | nullNoOptional consented language tag for this event (matched case-insensitively). Absent or null means unknown.
    events[].location_idstring (uuid) | nullNoOptional location of the event's brand. A location that is not one of the brand's locations rejects that event by index (code location_not_found). Absent or null means unknown.
    events[].occurred_atstring (date-time)Yes
    events[].referrer_urlstring (uri) | nullNo
    events[].session_idstring | nullYes
    events[].signalsobjectNoOptional consented customer evidence; no raw email, IP or fingerprint. An identity reference must be deterministic and authorized.
    events[].signals.campaign_source_hintstring | nullNo
    events[].signals.prior_session_refstring | nullNo
    events[].signals.self_reported_sourcestring | nullNo
    events[].sourcestring | nullYes
    events[].utm_sourcestring | null | nullNo
    events[].value_minorinteger | nullNo
    max_unitsintegerYes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X POST "$AEO_API_BASE_URL/v2/attribution/events" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 202

    Ingest consented attribution events result.

    HTTP 202 headers
    NameTypeRequiredDescription
    X-RateLimit-LimitintegerNoRequests in rate window.
    X-RateLimit-RemainingintegerNoRemaining request tokens.
    X-RateLimit-ResetintegerNoUTC Unix seconds when window resets.
    X-Request-Idstring (uuid)NoTrace identifier.
    X-Usage-UnitsintegerNoCU charged by this response; GET and account/usage always zero.

    application/json

    {
      "data": {
        "accepted": 0,
        "duplicates": 0,
        "ingestion_id": "00000000-0000-4000-8000-000000000001",
        "rejected": []
      },
      "meta": {
        "as_of": "2026-11-06T00:00:00Z",
        "collected_at": null,
        "next_cursor": null,
        "next_refresh_at": null,
        "request_id": "00000000-0000-4000-8000-000000000001",
        "rights_filtered": false,
        "schema_version": "1.0",
        "stale": false,
        "warnings": []
      }
    }
    HTTP 202 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.acceptedintegerYes
    data.duplicatesintegerYes
    data.ingestion_idstring (uuid)Yes
    data.rejectedarray of objectYes
    data.rejected[].codestring | nullYes
    data.rejected[].indexintegerYes
    data.rejected[].messagestringYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    GET /v2/brands

    List brands or discover categories

    List brands or discover categoriesdefault

    Open this request with Python and TypeScript examples

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    brands:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    viewquery"brands" | "categories"NoDefault brands; categories returns the shared approved catalog.
    idquerystring (uuid)Noid
    qquerystringNoq
    category_idquerystring | nullNocategory_id
    countryquerystringNocountry
    include_archivedquerybooleanNoinclude_archived
    cursorquerystringNocursor
    limitqueryintegerNolimit

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body -X GET "$AEO_API_BASE_URL/v2/brands" \
      -H "Authorization: Bearer $AEO_API_KEY"

    Responses

    HTTP 200

    List brands or discover categories result.

    HTTP 200 headers
    NameTypeRequiredDescription
    X-RateLimit-LimitintegerNoRequests in rate window.
    X-RateLimit-RemainingintegerNoRemaining request tokens.
    X-RateLimit-ResetintegerNoUTC Unix seconds when window resets.
    X-Request-Idstring (uuid)NoTrace identifier.
    X-Usage-UnitsintegerNoCU charged by this response; GET and account/usage always zero.

    application/json

    {
      "data": {
        "items": [],
        "view": "brands"
      },
      "meta": {
        "as_of": "2026-11-06T00:00:00Z",
        "collected_at": null,
        "next_cursor": null,
        "next_refresh_at": null,
        "request_id": "00000000-0000-4000-8000-000000000001",
        "rights_filtered": false,
        "schema_version": "1.0",
        "stale": false,
        "warnings": []
      }
    }
    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobject | objectYesThe requested result. See the fields below for its contents.
    data.itemsarray of objectYes
    data.items[].aliasesarray of string | nullConditional
    data.items[].business_profileobjectNoBusiness details used as the reference for website and listing audits.
    data.items[].business_profile.address_line1string | nullNo
    data.items[].business_profile.address_line2string | nullNo
    data.items[].business_profile.citystring | nullNo
    data.items[].business_profile.countrystring | nullNo
    data.items[].business_profile.hoursobject | nullNo
    data.items[].business_profile.hours.[key]array of stringNoValue for each key.
    data.items[].business_profile.latitudenumber | nullNo
    data.items[].business_profile.longitudenumber | nullNo
    data.items[].business_profile.phonestring | nullNo
    data.items[].business_profile.postal_codestring | nullNo
    data.items[].business_profile.price_rangestring | nullNo
    data.items[].business_profile.regionstring | nullNo
    data.items[].business_profile.same_asarray of stringNo
    data.items[].business_profile.servicesarray of stringNo
    data.items[].business_profile.website_urlstring | nullNo
    data.items[].category_idsarray of string | nullConditional
    data.items[].competitorsarray of objectConditional
    data.items[].competitors[].aliasesarray of string | nullConditional
    data.items[].competitors[].domainsarray of string | nullConditional
    data.items[].competitors[].idstring (uuid)Conditional
    data.items[].competitors[].namestring | nullConditional
    data.items[].created_atstring (date-time)Conditional
    data.items[].domainsarray of string | nullConditional
    data.items[].factsarray of objectNo
    data.items[].facts[].idstring (uuid)Conditional
    data.items[].facts[].predicatestring | nullConditional
    data.items[].facts[].source_urlsarray of string (uri)Conditional
    data.items[].facts[].status"proposed" | "approved" | "inactive"Conditional
    data.items[].facts[].subjectstring | nullConditional
    data.items[].facts[].valid_fromstring (date-time)Conditional
    data.items[].facts[].valid_tostring (date-time) | nullNo
    data.items[].facts[].valuestringConditional
    data.items[].idstring (uuid) | string | nullYes
    data.items[].locationsarray of objectNo
    data.items[].locations[].address_line1string | nullNo
    data.items[].locations[].address_line2string | nullNo
    data.items[].locations[].categoriesarray of string | objectNo
    data.items[].locations[].categories[].category_idstring | nullNo
    data.items[].locations[].categories[].namestringConditional
    data.items[].locations[].citystringConditional
    data.items[].locations[].countrystringConditional
    data.items[].locations[].hoursobjectNo
    data.items[].locations[].hours.special_datesobjectNo
    data.items[].locations[].hours.special_dates.[key]array of objectNoValue for each key.
    data.items[].locations[].hours.weeklyobjectNo
    data.items[].locations[].hours.weekly.[key]array of objectNoValue for each key.
    data.items[].locations[].idstring (uuid) | nullNo
    data.items[].locations[].latitudenumber | nullNo
    data.items[].locations[].longitudenumber | nullNo
    data.items[].locations[].namestringConditional
    data.items[].locations[].phonestring | nullNo
    data.items[].locations[].postal_codestring | nullNo
    data.items[].locations[].radius_kmnumber | nullNo
    data.items[].locations[].regionstring | nullNo
    data.items[].locations[].service_areaarray of objectNo
    data.items[].locations[].service_area[].citystring | nullNo
    data.items[].locations[].service_area[].postal_codestring | nullNo
    data.items[].locations[].service_area[].regionstring | nullNo
    data.items[].locations[].status"active" | "paused" | "archived"No
    data.items[].locations[].store_codestringConditional
    data.items[].locations[].website_urlstring (uri) | nullNo
    data.items[].marketsarray of objectConditional
    data.items[].markets[].citystring | null | nullNo
    data.items[].markets[].countrystringConditional
    data.items[].markets[].languagestringConditional
    data.items[].markets[].regionstring | null | nullNo
    data.items[].namestring | nullYes
    data.items[].revisionintegerConditional
    data.items[].status"active" | "archived" | "deletion_pending"Conditional
    data.items[].updated_atstring (date-time)Conditional
    data.view"brands" | "categories"Yes
    data.items[].country_eligibility"yes" | "no" | "unknown"Conditional
    data.items[].parent_idsarray of string | nullConditional
    data.items[].source"google_business_profile" | "internal"Conditional
    data.items[].taxonomy_versionstring | nullConditional
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    POST /v2/brands

    Create a brand

    Create a branddefault

    Open this request with Python and TypeScript examples

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    brands:write
    Roles
    editor, owner, service
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.
    • An inline schedule with enabled set to false. Scopes collections:write. Roles editor, owner, service. Plans Optimizer, Analyzer.
    • One or more inline prompts. Scopes prompts:write. Roles editor, owner, service. Plans Optimizer, Analyzer. Billing access required.
    • An enabled inline schedule. Scopes collections:write, prompts:write. Roles editor, owner, service. Plans Optimizer, Analyzer.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    Idempotency-KeyheaderstringYesFor 7 days, sending the same key and body for the same account and operation returns the original response. Changing the body for that key returns HTTP 409.

    Request body

    {
      "category_ids": [
        "gcid:plumber"
      ],
      "domains": [
        "example.com"
      ],
      "markets": [
        {
          "city": "Chicago",
          "country": "US",
          "language": "en"
        }
      ],
      "name": "Example Plumbing",
      "prompts": [
        "What should homeowners compare when choosing a plumber in Chicago?",
        "How do I find a plumber for an emergency repair in Chicago?"
      ],
      "schedule": {
        "enabled": false
      }
    }
    Request body fields 1
    NameTypeRequiredDescription
    aliasesarray of string | nullNo
    business_profileobject | nullNoBusiness details the audit compares with websites and listings.
    business_profile.address_line1string | nullNo
    business_profile.address_line2string | nullNo
    business_profile.citystring | nullNo
    business_profile.countrystring | nullNo
    business_profile.hoursobject | nullNo
    business_profile.hours.[key]array of stringNoValue for each key.
    business_profile.latitudenumber | nullNo
    business_profile.longitudenumber | nullNo
    business_profile.phonestring | nullNo
    business_profile.postal_codestring | nullNo
    business_profile.price_rangestring | nullNo
    business_profile.regionstring | nullNo
    business_profile.same_asarray of stringNo
    business_profile.servicesarray of stringNo
    business_profile.website_urlstring | nullNo
    category_idsarray of string | nullYes
    competitorsarray of objectNo
    competitors[].aliasesarray of string | nullConditional
    competitors[].domainsarray of string | nullConditional
    competitors[].idstring (uuid)Conditional
    competitors[].namestring | nullConditional
    domainsarray of string | nullYes
    locationsarray of objectNo
    locations[].address_line1string | nullNo
    locations[].address_line2string | nullNo
    locations[].categoriesarray of string | objectNo
    locations[].categories[].category_idstring | nullNo
    locations[].categories[].namestringConditional
    locations[].citystringConditional
    locations[].countrystringConditional
    locations[].hoursobjectNo
    locations[].hours.special_datesobjectNo
    locations[].hours.special_dates.[key]array of objectNoValue for each key.
    locations[].hours.weeklyobjectNo
    locations[].hours.weekly.[key]array of objectNoValue for each key.
    locations[].idstring (uuid) | nullNo
    locations[].latitudenumber | nullNo
    locations[].longitudenumber | nullNo
    locations[].namestringConditional
    locations[].phonestring | nullNo
    locations[].postal_codestring | nullNo
    locations[].radius_kmnumber | nullNo
    locations[].regionstring | nullNo
    locations[].service_areaarray of objectNo
    locations[].service_area[].citystring | nullNo
    locations[].service_area[].postal_codestring | nullNo
    locations[].service_area[].regionstring | nullNo
    locations[].status"active" | "paused" | "archived"No
    locations[].store_codestringConditional
    locations[].website_urlstring (uri) | nullNo
    marketsarray of objectYes
    markets[].citystring | null | nullNo
    markets[].countrystringYes
    markets[].languagestringYes
    markets[].regionstring | null | nullNo
    namestring | nullYes
    promptsarray of stringNoLiteral prompts in the submitted order. Account limits apply. The prompts use the brand's categories and first market.
    scheduleobject | object | nullNoOptional managed schedule. When enabled, it uses the first domain in `domains`.
    schedule.all_locationsbooleanNo
    schedule.allow_country_levelbooleanNoAllow a country-level answer when the source cannot apply the requested location.
    schedule.cadence_days1 | 3 | 7 | 14 | 30Conditional
    schedule.enabledbooleanConditional
    schedule.location_idsarray of string (uuid)No
    schedule.marketobjectConditional``components.schemas.Market``.
    schedule.market.citystring | nullNo
    schedule.market.countrystringConditional
    schedule.market.languagestringConditional
    schedule.market.latitudenumber | nullNo
    schedule.market.location_idstring (uuid) | nullNo
    schedule.market.longitudenumber | nullNo
    schedule.market.postal_codestring | nullNo
    schedule.market.regionstring | nullNo
    schedule.max_credits_per_runintegerConditional
    schedule.sourceobjectConditionalBrave AI summaries use brave and ai_overview. Brave Ask uses brave and ai_mode. Meta AI uses meta_ai and ui_normal. Grok uses grok and ui_normal. These four sources are available on Optimizer.
    schedule.source.device"desktop" | "mobile" | "unknown" | nullNo
    schedule.source.mode"ui_normal" | "ui_search" | "api_normal" | "api_web" | "ai_mode" | "ai_overview" | "organic_search"ConditionalThe mode used to collect the answer. The unverified value appears only in evidence.
    schedule.source.platform"chatgpt" | "gemini" | "claude" | "perplexity" | "google" | "bing" | "brave" | "meta_ai" | "grok" | "universal"ConditionalThe platform where the answer was observed.
    schedule.source.providerstring | nullNo
    schedule.enabledfalseConditional

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X POST "$AEO_API_BASE_URL/v2/brands" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 201

    Create a brand result.

    HTTP 201 headers
    NameTypeRequiredDescription
    X-RateLimit-LimitintegerNoRequests in rate window.
    X-RateLimit-RemainingintegerNoRemaining request tokens.
    X-RateLimit-ResetintegerNoUTC Unix seconds when window resets.
    X-Request-Idstring (uuid)NoTrace identifier.
    X-Usage-UnitsintegerNoCU charged by this response; GET and account/usage always zero.

    application/json

    {
      "data": {
        "aliases": [],
        "category_ids": [
          "example"
        ],
        "competitors": [],
        "created_at": "2026-11-06T00:00:00Z",
        "domains": [
          "example"
        ],
        "id": "00000000-0000-4000-8000-000000000001",
        "markets": [
          {
            "country": "US",
            "language": "example"
          }
        ],
        "name": "example",
        "revision": 1,
        "status": "active",
        "updated_at": "2026-11-06T00:00:00Z"
      },
      "meta": {
        "as_of": "2026-11-06T00:00:00Z",
        "collected_at": null,
        "next_cursor": null,
        "next_refresh_at": null,
        "request_id": "00000000-0000-4000-8000-000000000001",
        "rights_filtered": false,
        "schema_version": "1.0",
        "stale": false,
        "warnings": []
      }
    }
    HTTP 201 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.aliasesarray of string | nullYes
    data.business_profileobjectNoBusiness details used as the reference for website and listing audits.
    data.business_profile.address_line1string | nullNo
    data.business_profile.address_line2string | nullNo
    data.business_profile.citystring | nullNo
    data.business_profile.countrystring | nullNo
    data.business_profile.hoursobject | nullNo
    data.business_profile.hours.[key]array of stringNoValue for each key.
    data.business_profile.latitudenumber | nullNo
    data.business_profile.longitudenumber | nullNo
    data.business_profile.phonestring | nullNo
    data.business_profile.postal_codestring | nullNo
    data.business_profile.price_rangestring | nullNo
    data.business_profile.regionstring | nullNo
    data.business_profile.same_asarray of stringNo
    data.business_profile.servicesarray of stringNo
    data.business_profile.website_urlstring | nullNo
    data.category_idsarray of string | nullYes
    data.competitorsarray of objectYes
    data.competitors[].aliasesarray of string | nullYes
    data.competitors[].domainsarray of string | nullYes
    data.competitors[].idstring (uuid)Yes
    data.competitors[].namestring | nullYes
    data.created_atstring (date-time)Yes
    data.domainsarray of string | nullYes
    data.factsarray of objectNo
    data.facts[].idstring (uuid)Conditional
    data.facts[].predicatestring | nullConditional
    data.facts[].source_urlsarray of string (uri)Conditional
    data.facts[].status"proposed" | "approved" | "inactive"Conditional
    data.facts[].subjectstring | nullConditional
    data.facts[].valid_fromstring (date-time)Conditional
    data.facts[].valid_tostring (date-time) | nullNo
    data.facts[].valuestringConditional
    data.idstring (uuid)Yes
    data.locationsarray of objectNo
    data.locations[].address_line1string | nullNo
    data.locations[].address_line2string | nullNo
    data.locations[].categoriesarray of string | objectNo
    data.locations[].categories[].category_idstring | nullNo
    data.locations[].categories[].namestringConditional
    data.locations[].citystringConditional
    data.locations[].countrystringConditional
    data.locations[].hoursobjectNo
    data.locations[].hours.special_datesobjectNo
    data.locations[].hours.special_dates.[key]array of objectNoValue for each key.
    data.locations[].hours.weeklyobjectNo
    data.locations[].hours.weekly.[key]array of objectNoValue for each key.
    data.locations[].idstring (uuid) | nullNo
    data.locations[].latitudenumber | nullNo
    data.locations[].longitudenumber | nullNo
    data.locations[].namestringConditional
    data.locations[].phonestring | nullNo
    data.locations[].postal_codestring | nullNo
    data.locations[].radius_kmnumber | nullNo
    data.locations[].regionstring | nullNo
    data.locations[].service_areaarray of objectNo
    data.locations[].service_area[].citystring | nullNo
    data.locations[].service_area[].postal_codestring | nullNo
    data.locations[].service_area[].regionstring | nullNo
    data.locations[].status"active" | "paused" | "archived"No
    data.locations[].store_codestringConditional
    data.locations[].website_urlstring (uri) | nullNo
    data.marketsarray of objectYes
    data.markets[].citystring | null | nullNo
    data.markets[].countrystringYes
    data.markets[].languagestringYes
    data.markets[].regionstring | null | nullNo
    data.namestring | nullYes
    data.prompt_idsarray of string (uuid)NoPrompt IDs in submitted order. Pass them with workflow collect and max_units to start a run.
    data.revisionintegerYes
    data.scheduleobject | nullNoThe created schedule, or null when the schedule was paused.
    data.schedule.all_locationsbooleanNo
    data.schedule.allow_country_levelbooleanNoAllow a country-level answer when the source cannot apply the requested location.
    data.schedule.brand_idstring (uuid)Conditional
    data.schedule.cadence_days1 | 3 | 7 | 14 | 30Conditional
    data.schedule.enabledbooleanConditional
    data.schedule.estimated_credits_per_runinteger | nullConditional
    data.schedule.idstring (uuid)Conditional
    data.schedule.location_idsarray of string (uuid)No
    data.schedule.marketobjectConditional
    data.schedule.market.citystring | null | nullNo
    data.schedule.market.countrystringConditional
    data.schedule.market.languagestringConditional
    data.schedule.market.latitudenumber | nullNo
    data.schedule.market.location_idstring (uuid) | nullNo
    data.schedule.market.longitudenumber | nullNo
    data.schedule.market.postal_codestring | nullNo
    data.schedule.market.regionstring | null | nullNo
    data.schedule.max_units_per_runintegerConditional
    data.schedule.maximum_recurring_credits_30_daysinteger | nullConditional
    data.schedule.next_run_atstring (date-time) | nullConditional
    data.schedule.prompt_idsarray of string (uuid)Conditional
    data.schedule.prompt_set_revisionstringConditional
    data.schedule.sourceobjectConditionalBrave AI summaries use brave and ai_overview. Brave Ask uses brave and ai_mode. Meta AI uses meta_ai and ui_normal. Grok uses grok and ui_normal. These four sources are available on Optimizer.
    data.schedule.source.device"desktop" | "mobile" | "unknown" | nullNo
    data.schedule.source.mode"ui_normal" | "ui_search" | "api_normal" | "api_web" | "ai_mode" | "ai_overview" | "organic_search"ConditionalThe mode used to collect the answer. The unverified value appears only in evidence.
    data.schedule.source.platform"chatgpt" | "gemini" | "claude" | "perplexity" | "google" | "bing" | "brave" | "meta_ai" | "grok" | "universal"ConditionalThe platform where the answer was observed.
    data.schedule.source.providerstring | nullNo
    data.schedule.websitestring | nullConditional
    data.status"active" | "archived" | "deletion_pending"Yes
    data.updated_atstring (date-time)Yes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    GET /v2/brands/{brand_id}

    Read brand settings or activity

    Get Profileprofile

    Open this request with Python and TypeScript examples

    • Query view is profile. Default is profile.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    brands:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idpathstring (uuid)Yes
    viewquery"profile"No

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/brands/$BRAND_ID" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode 'view=profile'

    Responses

    HTTP 200

    Successful Response

    HTTP 200 headers
    NameTypeRequiredDescription
    ETagstringNoCurrent quoted resource revision

    application/json

    Example generated from the response schema.

    {
      "data": {},
      "meta": {
        "request_id": "00000000-0000-4000-8000-000000000001",
        "as_of": "2026-01-01T00:00:00Z",
        "schema_version": "1.0",
        "warnings": [],
        "rights_filtered": false,
        "next_cursor": null,
        "collected_at": null,
        "next_refresh_at": null,
        "stale": false
      }
    }
    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.competitor_discovery"suggest" | "auto_add"NoChoose whether newly discovered competitors are suggested or added.
    data.competitorsarray of objectNo
    data.competitors[].aliasesarray of string | nullConditional
    data.competitors[].domainsarray of string | nullConditional
    data.competitors[].idstring (uuid)Conditional
    data.competitors[].namestring | nullConditional
    data.competitors[].sourceobjectNo
    data.competitors[].source.kind"tracked_answers"Conditional
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Get Profilelocations

    Open this request with Python and TypeScript examples

    • Query view is locations. Default is profile.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    brands:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idpathstring (uuid)Yes
    cityquerystringNo
    regionquerystringNo
    postal_codequerystringNo
    store_codequerystringNo
    cursorquerystringNo
    statusquery"active" | "paused" | "archived"No
    limitqueryintegerNo
    viewquery"locations"Yes

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/brands/$BRAND_ID" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode 'view=locations'

    Responses

    HTTP 200

    Successful Response

    HTTP 200 headers
    NameTypeRequiredDescription
    ETagstringNoCurrent quoted resource revision

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.itemsarray of objectYes
    data.items[].address_line1string | nullNo
    data.items[].address_line2string | nullNo
    data.items[].categoriesarray of string | objectNo
    data.items[].categories[].category_idstring | nullNo
    data.items[].categories[].namestringConditional
    data.items[].citystringYes
    data.items[].countrystringYes
    data.items[].hoursobjectNo
    data.items[].hours.special_datesobjectNo
    data.items[].hours.special_dates.[key]array of objectNoValue for each key.
    data.items[].hours.weeklyobjectNo
    data.items[].hours.weekly.[key]array of objectNoValue for each key.
    data.items[].idstring (uuid) | nullNo
    data.items[].latitudenumber | nullNo
    data.items[].longitudenumber | nullNo
    data.items[].namestringYes
    data.items[].phonestring | nullNo
    data.items[].postal_codestring | nullNo
    data.items[].radius_kmnumber | nullNo
    data.items[].regionstring | nullNo
    data.items[].service_areaarray of objectNo
    data.items[].service_area[].citystring | nullNo
    data.items[].service_area[].postal_codestring | nullNo
    data.items[].service_area[].regionstring | nullNo
    data.items[].status"active" | "paused" | "archived"No
    data.items[].store_codestringYes
    data.items[].website_urlstring (uri) | nullNo
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Get Voicevoice

    Open this request with Python and TypeScript examples

    • Query view is voice. Default is profile.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    optimizations:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idpathstring (uuid)Yes
    viewquery"voice"Yes

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/brands/$BRAND_ID" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode 'view=voice'

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.revisionintegerYes
    data.voiceobject | nullYes
    data.voice.audiencestringConditional
    data.voice.avoided_termsarray of stringNo
    data.voice.call_to_actionstring | nullNo
    data.voice.editorial_guidelinesstring | nullNo
    data.voice.languagestringConditional
    data.voice.openingstring | nullNo
    data.voice.preferred_termsarray of stringNo
    data.voice.tonestringConditional
    data.voice.writing_samplesarray of stringNo
    metaobjectYesInformation about this response, including any warnings or pagination details.

    Errors

    Get Profile Suggestionssuggestions

    Open this request with Python and TypeScript examples

    • Query view is suggestions. Default is profile.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    brands:read, audits:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idpathstring (uuid)Yes
    audit_idquerystring (uuid) | nullNo
    viewquery"suggestions"Yes

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/brands/$BRAND_ID" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode 'view=suggestions'

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.suggestionsarray of objectNo
    data.suggestions[].sourceobject | objectNo
    data.suggestions[].source.answer_countintegerConditional
    data.suggestions[].source.example_run_idstringConditional
    data.suggestions[].source.kind"tracked_answers"Conditional
    data.suggestions[].source.platformsarray of stringConditional
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Connectionconnection_bing

    Open this request with Python and TypeScript examples

    • Query view is connection.
    • Query provider is bing.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idpathstring (uuid)Yes
    websitequerystring | nullNo
    propertyquerystring | nullNo
    viewquery"connection"Yes
    providerquery"bing"Yes

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/brands/$BRAND_ID" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode 'view=connection' \
      --data-urlencode 'provider=bing'

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.collected_atstring | nullNo
    data.connected_atstring (date-time)No
    data.last_refresh_atstring | nullYesWhen the last refresh was attempted.
    data.last_refresh_statusnull | "pending" | "in_progress" | "collected" | "partial" | "reconnect_required"YesThe latest refresh status.
    data.propertystring (uri)No
    data.status"connected" | "reconnect_required" | "disconnected" | "website_changed"Yes
    data.websitestring (uri)No
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Read a managed report webhook configurationconnection_webhook

    Open this request with Python and TypeScript examples

    • Query view is connection.
    • Query provider is webhook.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    brands:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idpathstring (uuid)Yes
    viewquery"connection"Yes
    providerquery"webhook"Yes

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/brands/$BRAND_ID" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode 'view=connection' \
      --data-urlencode 'provider=webhook'

    Responses

    HTTP 200

    Current webhook configuration.

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobject | objectYesThe requested result. See the fields below for its contents.
    data.event_typesarray of "aeo.report.completed" | "aeo.report.failed"Yes
    data.state"configured" | "not_configured"Yes
    data.urlstring (uri) | nullYesThe scheme, host and port followed by /...
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Get Scheduleschedule_managed

    Open this request with Python and TypeScript examples

    • Query view is schedule.
    • Query kind is managed.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    collections:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idpathstring (uuid)Yes
    viewquery"schedule"Yes
    kindquery"managed"Yes

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/brands/$BRAND_ID" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode 'view=schedule' \
      --data-urlencode 'kind=managed'

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstringYesIdentifies the brand this result belongs to.
    data.enabledbooleanYes
    data.kind"cited_page_sweep"Yes
    data.label_pagesbooleanYes
    data.max_credits_per_runintegerYes
    data.max_pages_per_runintegerYes
    data.next_run_atstring | nullYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Get Scheduleschedule_cited_page_sweep

    Open this request with Python and TypeScript examples

    • Query view is schedule.
    • Query kind is cited_page_sweep.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    collections:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idpathstring (uuid)Yes
    viewquery"schedule"Yes
    kindquery"cited_page_sweep"Yes

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/brands/$BRAND_ID" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode 'view=schedule' \
      --data-urlencode 'kind=cited_page_sweep'

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstringYesIdentifies the brand this result belongs to.
    data.enabledbooleanYes
    data.kind"cited_page_sweep"Yes
    data.label_pagesbooleanYes
    data.max_credits_per_runintegerYes
    data.max_pages_per_runintegerYes
    data.next_run_atstring | nullYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Read the post-publication accuracy settingschedule_answer_accuracy

    Open this request with Python and TypeScript examples

    • Query view is schedule.
    • Query kind is answer_accuracy.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idpathstring (uuid)Yes
    viewquery"schedule"Yes
    kindquery"answer_accuracy"Yes

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/brands/$BRAND_ID" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode 'view=schedule' \
      --data-urlencode 'kind=answer_accuracy'

    Responses

    HTTP 200

    Read the post-publication accuracy setting

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.kind"answer_accuracy"Yes
    data.max_units_per_runintegerNo
    data.recheck_after_publicationbooleanNo
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    List Eventscontent_events

    Open this request with Python and TypeScript examples

    • Query view is content_events.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    optimizations:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idpathstring (uuid)Yes
    afterqueryintegerNo
    limitqueryintegerNo
    viewquery"content_events"Yes

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/brands/$BRAND_ID" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode 'view=content_events'

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.has_morebooleanYes
    data.itemsarray of objectYes
    data.items[].actor_idstring (uuid)Yes
    data.items[].created_atstring (date-time)Yes
    data.items[].draft_idstring (uuid)Yes
    data.items[].handoff_idstring (uuid) | nullYes
    data.items[].revisionintegerYes
    data.items[].sequenceintegerYes
    data.items[].status"draft" | "in_review" | "changes_requested" | "approved" | "handed_off" | "publication_failed" | "published" | "archived"Yes
    data.items[].type"created" | "edited" | "submitted" | "changes_requested" | "approved" | "handed_off" | "delivery_claimed" | "publication_failed" | "publication_reported" | "archived"Yes
    data.latest_sequenceintegerYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    HTTP 200 response fields 2
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.has_morebooleanYes
    data.itemsarray of objectYes
    data.items[].actor_idstring (uuid)Yes
    data.items[].created_atstring (date-time)Yes
    data.items[].draft_idstring (uuid)Yes
    data.items[].handoff_idstring (uuid) | nullYes
    data.items[].revisionintegerYes
    data.items[].sequenceintegerYes
    data.items[].status"draft" | "in_review" | "changes_requested" | "approved" | "handed_off" | "publication_failed" | "published" | "archived" | "rolled_back"Yes
    data.items[].type"created" | "edited" | "submitted" | "changes_requested" | "approved" | "handed_off" | "delivery_claimed" | "publication_failed" | "publication_reported" | "archived" | "artifact_claimed" | "artifact_receipt" | "artifact_paused"Yes
    data.latest_sequenceintegerYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    PATCH /v2/brands/{brand_id}

    Update brand settings

    Update, archive or request brand deletionbrand

    Open this request with Python and TypeScript examples

    • Body section is brand.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    brands:write
    Roles
    approver, editor, owner, service
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idpathstring (uuid)Yes
    Idempotency-KeyheaderstringYesFor 7 days, sending the same key and body for the same account and operation returns the original response. Changing the body for that key returns HTTP 409.
    If-MatchheaderstringYesResource/config revision ETag; mismatch returns 412.

    Request body

    {
      "action": "update",
      "name": "Example Plumbing",
      "section": "brand"
    }
    Request body fields 1
    NameTypeRequiredDescription
    action"update"Yes
    aliasesarray of string | nullNo
    business_profileobject | nullNoReplace audit business details. Send null to clear them.
    business_profile.address_line1string | nullNo
    business_profile.address_line2string | nullNo
    business_profile.citystring | nullNo
    business_profile.countrystring | nullNo
    business_profile.hoursobject | nullNo
    business_profile.hours.[key]array of stringNoValue for each key.
    business_profile.latitudenumber | nullNo
    business_profile.longitudenumber | nullNo
    business_profile.phonestring | nullNo
    business_profile.postal_codestring | nullNo
    business_profile.price_rangestring | nullNo
    business_profile.regionstring | nullNo
    business_profile.same_asarray of stringNo
    business_profile.servicesarray of stringNo
    business_profile.website_urlstring | nullNo
    category_idsarray of string | nullNo
    competitor_discovery"suggest" | "auto_add"NoChoose whether newly discovered competitors are suggested or added.
    competitorsarray of objectNo
    competitors[].aliasesarray of string | nullConditional
    competitors[].domainsarray of string | nullConditional
    competitors[].idstring (uuid)Conditional
    competitors[].namestring | nullConditional
    connector_refsarray of string (uuid)No
    domainsarray of string | nullNo
    locationsarray of objectNo
    locations[].address_line1string | nullNo
    locations[].address_line2string | nullNo
    locations[].categoriesarray of string | objectNo
    locations[].categories[].category_idstring | nullNo
    locations[].categories[].namestringConditional
    locations[].citystringConditional
    locations[].countrystringConditional
    locations[].hoursobjectNo
    locations[].hours.special_datesobjectNo
    locations[].hours.special_dates.[key]array of objectNoValue for each key.
    locations[].hours.weeklyobjectNo
    locations[].hours.weekly.[key]array of objectNoValue for each key.
    locations[].idstring (uuid) | nullNo
    locations[].latitudenumber | nullNo
    locations[].longitudenumber | nullNo
    locations[].namestringConditional
    locations[].phonestring | nullNo
    locations[].postal_codestring | nullNo
    locations[].radius_kmnumber | nullNo
    locations[].regionstring | nullNo
    locations[].service_areaarray of objectNo
    locations[].service_area[].citystring | nullNo
    locations[].service_area[].postal_codestring | nullNo
    locations[].service_area[].regionstring | nullNo
    locations[].status"active" | "paused" | "archived"No
    locations[].store_codestringConditional
    locations[].website_urlstring (uri) | nullNo
    marketsarray of objectNo
    markets[].citystring | null | nullNo
    markets[].countrystringConditional
    markets[].languagestringConditional
    markets[].regionstring | null | nullNo
    namestring | nullNo
    remove_location_idsarray of string (uuid)No
    section"brand"Yes
    status"active" | "archived"No
    Request body fields 2
    NameTypeRequiredDescription
    action"archive"Yes
    section"brand"Yes
    Request body fields 3
    NameTypeRequiredDescription
    action"request_delete"Yes
    confirmation_namestring | nullYes
    reasonstringYes
    section"brand"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X PATCH "$AEO_API_BASE_URL/v2/brands/$BRAND_ID" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
      -H "If-Match: $IF_MATCH" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Update, archive or request brand deletion result.

    HTTP 200 headers
    NameTypeRequiredDescription
    ETagstringNoCurrent revision as a quoted integer.
    X-RateLimit-LimitintegerNoRequests in rate window.
    X-RateLimit-RemainingintegerNoRemaining request tokens.
    X-RateLimit-ResetintegerNoUTC Unix seconds when window resets.
    X-Request-Idstring (uuid)NoTrace identifier.
    X-Usage-UnitsintegerNoCU charged by this response; GET and account/usage always zero.

    application/json

    {
      "data": {
        "aliases": [],
        "category_ids": [
          "example"
        ],
        "competitors": [],
        "created_at": "2026-11-06T00:00:00Z",
        "domains": [
          "example"
        ],
        "id": "00000000-0000-4000-8000-000000000001",
        "markets": [
          {
            "country": "US",
            "language": "example"
          }
        ],
        "name": "example",
        "revision": 1,
        "status": "active",
        "updated_at": "2026-11-06T00:00:00Z"
      },
      "meta": {
        "as_of": "2026-11-06T00:00:00Z",
        "collected_at": null,
        "next_cursor": null,
        "next_refresh_at": null,
        "request_id": "00000000-0000-4000-8000-000000000001",
        "rights_filtered": false,
        "schema_version": "1.0",
        "stale": false,
        "warnings": []
      }
    }
    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.aliasesarray of string | nullYes
    data.business_profileobjectNoBusiness details used as the reference for website and listing audits.
    data.business_profile.address_line1string | nullNo
    data.business_profile.address_line2string | nullNo
    data.business_profile.citystring | nullNo
    data.business_profile.countrystring | nullNo
    data.business_profile.hoursobject | nullNo
    data.business_profile.hours.[key]array of stringNoValue for each key.
    data.business_profile.latitudenumber | nullNo
    data.business_profile.longitudenumber | nullNo
    data.business_profile.phonestring | nullNo
    data.business_profile.postal_codestring | nullNo
    data.business_profile.price_rangestring | nullNo
    data.business_profile.regionstring | nullNo
    data.business_profile.same_asarray of stringNo
    data.business_profile.servicesarray of stringNo
    data.business_profile.website_urlstring | nullNo
    data.category_idsarray of string | nullYes
    data.competitor_discovery"suggest" | "auto_add"NoChoose whether newly discovered competitors are suggested or added.
    data.competitorsarray of objectYes
    data.competitors[].aliasesarray of string | nullYes
    data.competitors[].domainsarray of string | nullYes
    data.competitors[].idstring (uuid)Yes
    data.competitors[].namestring | nullYes
    data.competitors[].sourceobjectNo
    data.competitors[].source.kind"tracked_answers"Conditional
    data.created_atstring (date-time)Yes
    data.domainsarray of string | nullYes
    data.factsarray of objectNo
    data.facts[].idstring (uuid)Conditional
    data.facts[].predicatestring | nullConditional
    data.facts[].source_urlsarray of string (uri)Conditional
    data.facts[].status"proposed" | "approved" | "inactive"Conditional
    data.facts[].subjectstring | nullConditional
    data.facts[].valid_fromstring (date-time)Conditional
    data.facts[].valid_tostring (date-time) | nullNo
    data.facts[].valuestringConditional
    data.idstring (uuid)Yes
    data.locationsarray of objectNo
    data.locations[].address_line1string | nullNo
    data.locations[].address_line2string | nullNo
    data.locations[].categoriesarray of string | objectNo
    data.locations[].categories[].category_idstring | nullNo
    data.locations[].categories[].namestringConditional
    data.locations[].citystringConditional
    data.locations[].countrystringConditional
    data.locations[].hoursobjectNo
    data.locations[].hours.special_datesobjectNo
    data.locations[].hours.special_dates.[key]array of objectNoValue for each key.
    data.locations[].hours.weeklyobjectNo
    data.locations[].hours.weekly.[key]array of objectNoValue for each key.
    data.locations[].idstring (uuid) | nullNo
    data.locations[].latitudenumber | nullNo
    data.locations[].longitudenumber | nullNo
    data.locations[].namestringConditional
    data.locations[].phonestring | nullNo
    data.locations[].postal_codestring | nullNo
    data.locations[].radius_kmnumber | nullNo
    data.locations[].regionstring | nullNo
    data.locations[].service_areaarray of objectNo
    data.locations[].service_area[].citystring | nullNo
    data.locations[].service_area[].postal_codestring | nullNo
    data.locations[].service_area[].regionstring | nullNo
    data.locations[].status"active" | "paused" | "archived"No
    data.locations[].store_codestringConditional
    data.locations[].website_urlstring (uri) | nullNo
    data.marketsarray of objectYes
    data.markets[].citystring | null | nullNo
    data.markets[].countrystringYes
    data.markets[].languagestringYes
    data.markets[].regionstring | null | nullNo
    data.namestring | nullYes
    data.revisionintegerYes
    data.status"active" | "archived" | "deletion_pending"Yes
    data.updated_atstring (date-time)Yes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    HTTP 202

    Deletion queued.

    HTTP 202 headers
    NameTypeRequiredDescription
    Locationstring (uri)NoAuthenticated polling URI returned in data.poll_url.
    X-RateLimit-LimitintegerNoRequests in rate window.
    X-RateLimit-RemainingintegerNoRemaining request tokens.
    X-RateLimit-ResetintegerNoUTC Unix seconds when window resets.
    X-Request-Idstring (uuid)NoTrace identifier.
    X-Usage-UnitsintegerNoCU charged by this response; GET and account/usage always zero.

    application/json

    {
      "data": {
        "billed_units": 0,
        "created_at": "2026-11-06T00:00:00Z",
        "error": null,
        "estimated_units": 0,
        "id": "00000000-0000-4000-8000-000000000001",
        "kind": "deletion",
        "poll_url": "https://api.aeoapi.dev/v2/runs/job:00000000-0000-4000-8000-000000000001",
        "progress": 0,
        "reserved_units": 0,
        "result": null,
        "revision": 1,
        "state": "queued",
        "updated_at": "2026-11-06T00:00:00Z"
      },
      "meta": {
        "as_of": "2026-11-06T00:00:00Z",
        "collected_at": null,
        "next_cursor": null,
        "next_refresh_at": null,
        "request_id": "00000000-0000-4000-8000-000000000001",
        "rights_filtered": false,
        "schema_version": "1.0",
        "stale": false,
        "warnings": []
      }
    }
    HTTP 202 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.billed_unitsintegerYesThe credits charged for this work.
    data.created_atstring (date-time)Yes
    data.errorobject | nullYes
    data.error.code"invalid_request" | "unauthenticated" | "quota_exceeded" | "forbidden" | "not_found" | "conflict" | "precondition_failed" | "validation_error" | "rate_limited" | "source_pending" | "feature_not_offered" | "internal_error"Conditional
    data.error.duplicate_ofstring (uuid)NoID of your existing prompt.
    data.error.field_errorsarray of objectNo
    data.error.field_errors[].fieldstring | nullConditional
    data.error.field_errors[].messagestringConditional
    data.error.messagestringConditional
    data.error.request_idstring (uuid)Conditional
    data.error.retryablebooleanConditional
    data.error.similar_promptsarray of objectNoOther matching prompts in your library.
    data.error.similar_prompts[].prompt_idstring (uuid)Conditional
    data.estimated_unitsintegerYes
    data.idstring (uuid)Yes
    data.kind"collection" | "prompt_generation" | "deletion" | "audit" | "optimization"Yes
    data.phase"researching" | "drafting" | "validating" | "collecting" | "analyzing" | "exporting" | "purging" | nullNo
    data.poll_urlstring (uri)YesSend an authenticated GET request to this URL to read the current result.
    data.progressnumberYes
    data.reserved_unitsintegerYesCredits held for the run.
    data.resultobject | object | object | object | object | nullYes
    data.result.acceptedintegerConditional
    data.result.answersarray of objectNo
    data.result.answers[].answer_textstringConditional
    data.result.answers[].answer_text_truncatedbooleanConditional
    data.result.answers[].brand_citedbooleanConditional
    data.result.answers[].brand_mentionedboolean | nullConditional
    data.result.answers[].citationsarray of objectConditional
    data.result.answers[].citations[].orderintegerConditional
    data.result.answers[].citations[].urlstringConditional
    data.result.answers[].observation_idstringConditional
    data.result.evidence_cursorstring | nullConditional
    data.result.failedintegerConditional
    data.result.kind"collection"Conditional
    data.result.observation_idsarray of string (uuid)Conditional
    data.result.observationsarray of objectNo
    data.result.observations[].applied_locationobject | nullConditional
    data.result.observations[].applied_location.citystring | nullNo
    data.result.observations[].applied_location.countrystring | nullNo
    data.result.observations[].applied_location.granularity"country" | "region" | "city" | "postal" | "coordinates"Conditional
    data.result.observations[].applied_location.latitudenumber | nullNo
    data.result.observations[].applied_location.longitudenumber | nullNo
    data.result.observations[].applied_location.postal_codestring | nullNo
    data.result.observations[].applied_location.regionstring | nullNo
    data.result.observations[].observation_idstring (uuid)Conditional
    data.result.detailsarray of objectNo
    data.result.details[].rationalestringConditional
    data.result.details[].suggestion_indexintegerConditional
    data.result.details[].template_versionstringConditional
    data.result.details[].warningsarray of stringConditional
    data.result.kind"prompt_generation"Conditional
    data.result.outcomeobjectNoExplains why the result contains no suggestions.
    data.result.outcome.reason"no_eligible_candidates" | "web_evidence_missing"ConditionalWhether no candidate qualified or usable web evidence was missing.
    data.result.outcome.web_evidence_usedbooleanConditionalWhether the generation received a reply with confirmed web activity.
    data.result.suggestionsarray of objectConditional
    data.result.suggestions[].action"create"Conditional
    data.result.suggestions[].allow_similarbooleanNoSave the prompt even if you already track the same question or a differently worded question with the same meaning.
    data.result.suggestions[].brand_idstring (uuid) | nullNo
    data.result.suggestions[].category_idsarray of string | nullConditional
    data.result.suggestions[].intent"discovery" | "recommendation" | "evaluation" | "pricing" | "comparison" | "alternatives" | "use_case" | "transaction" | "local" | "troubleshooting" | "trust" | "informational"Conditional
    data.result.suggestions[].marketobjectConditional
    data.result.suggestions[].market.citystring | null | nullNo
    data.result.suggestions[].market.countrystringConditional
    data.result.suggestions[].market.languagestringConditional
    data.result.suggestions[].market.regionstring | null | nullNo
    data.result.suggestions[].tagsarray of string | nullNo
    data.result.suggestions[].textstringConditional
    data.result.backup_expiry_atstring (date-time) | nullConditional
    data.result.kind"deletion"Conditional
    data.result.purgedbooleanConditional
    data.result.resource_idstring (uuid)Conditional
    data.result.retained_record_reasonsarray of stringConditional
    data.result.agent_readinessobjectNoOur defined website access criteria for AI agents at checked_at (not a universal AI-readiness standard; no indexing, ranking, citation or answer outcome is measured).
    data.result.agent_readiness.checked_atstring (date-time)Conditional
    data.result.agent_readiness.checksarray of objectConditional
    data.result.agent_readiness.checks[].assessment"verified" | "detected" | "not_detected" | "not_assessed"No
    data.result.agent_readiness.checks[].category"core" | "robots" | "content" | "discovery" | "protocol"Conditional
    data.result.agent_readiness.checks[].evidencearray of objectConditional
    data.result.agent_readiness.checks[].evidence[].methodstringConditional
    data.result.agent_readiness.checks[].evidence[].observedstringConditional
    data.result.agent_readiness.checks[].evidence[].urlstringConditional
    data.result.agent_readiness.checks[].idstringConditional
    data.result.agent_readiness.checks[].labelstringConditional
    data.result.agent_readiness.checks[].limitationsarray of stringConditional
    data.result.agent_readiness.checks[].recommendationstring | nullConditional
    data.result.agent_readiness.checks[].referencestringNo
    data.result.agent_readiness.checks[].scoredbooleanConditional
    data.result.agent_readiness.checks[].spec_versionstringNo
    data.result.agent_readiness.checks[].status"pass" | "fail" | "unknown" | "not_applicable"Conditional
    data.result.agent_readiness.limitationsarray of stringConditional
    data.result.agent_readiness.scope"essential" | "full"Conditional
    data.result.agent_readiness.scoreobjectConditionaleligible = passed + failed + unknown over applicable scored checks; value = 100 * passed / (passed + failed), or null when no scored check was conclusive.
    data.result.agent_readiness.score.eligibleintegerConditional
    data.result.agent_readiness.score.failedintegerConditional
    data.result.agent_readiness.score.passedintegerConditional
    data.result.agent_readiness.score.unknownintegerConditional
    data.result.agent_readiness.score.valuenumber | nullConditional
    data.result.agent_readiness.status"completed" | "partial" | "not_assessed"Conditional
    data.result.agent_readiness.versionstringConditional
    data.result.budget_exhaustedbooleanNo
    data.result.business_factsobjectNo
    data.result.business_facts.locationsarray of objectConditional
    data.result.business_facts.locations[].location_idstring (uuid) | nullConditional
    data.result.business_facts.locations[].scoreobjectConditional
    data.result.business_facts.locations[].score.fieldsobjectConditional
    data.result.business_facts.locations[].score.fields.[key]number | nullNoValue for each key.
    data.result.business_facts.locations[].score.matched_fieldsintegerConditional
    data.result.business_facts.locations[].score.mismatched_fieldsintegerConditional
    data.result.business_facts.locations[].score.overallnumber | nullConditional
    data.result.business_facts.omitted_sourcesintegerConditional
    data.result.business_facts.scoreobjectConditional
    data.result.business_facts.score.fieldsobjectConditional
    data.result.business_facts.score.fields.[key]number | nullNoValue for each key.
    data.result.business_facts.score.matched_fieldsintegerConditional
    data.result.business_facts.score.mismatched_fieldsintegerConditional
    data.result.business_facts.score.overallnumber | nullConditional
    data.result.business_facts.sourcesarray of objectConditional
    data.result.business_facts.sources[].fieldsarray of objectConditional
    data.result.business_facts.sources[].fields[].expectedstring | array of string | object | nullConditional
    data.result.business_facts.sources[].fields[].expected.[key]string | number | array of stringNoValue for each key.
    data.result.business_facts.sources[].fields[].fieldstringConditional
    data.result.business_facts.sources[].fields[].observedstring | array of string | object | nullConditional
    data.result.business_facts.sources[].fields[].observed.[key]string | number | array of stringNoValue for each key.
    data.result.business_facts.sources[].fields[].status"matched" | "mismatched" | "not_found"Conditional
    data.result.business_facts.sources[].final_urlstring | nullConditional
    data.result.business_facts.sources[].http_statusinteger | nullConditional
    data.result.business_facts.sources[].location_idstring (uuid) | nullConditional
    data.result.business_facts.sources[].source"supplied" | "profile" | "citation"Conditional
    data.result.business_facts.sources[].status"matched" | "mismatched" | "not_found" | "could_not_fetch"Conditional
    data.result.business_facts.sources[].urlstringConditional
    data.result.completeness"preliminary" | "partial" | "complete" | "blocked"No
    data.result.content_coverage_notestringNo
    data.result.crawler_accessobjectNo
    data.result.crawler_access.assessedintegerConditional
    data.result.crawler_access.eligibleintegerConditional
    data.result.crawler_access.notestringConditional
    data.result.crawler_access.pagesarray of objectConditional
    data.result.crawler_access.pages[].agentsarray of objectConditional
    data.result.crawler_access.pages[].agents[].access"allowed" | "blocked_by_robots" | "blocked_by_firewall" | "challenged" | "rate_limited" | "unknown"Conditional
    data.result.crawler_access.pages[].agents[].agentstringConditional
    data.result.crawler_access.pages[].agents[].evidenceobjectConditional
    data.result.crawler_access.pages[].agents[].evidence.body_size_rationumber | nullConditional
    data.result.crawler_access.pages[].agents[].evidence.browser_statusinteger | nullConditional
    data.result.crawler_access.pages[].agents[].evidence.crawler_statusinteger | nullConditional
    data.result.crawler_access.pages[].agents[].evidence.marker"challenge_page" | "block_page" | "block_redirect" | "empty_or_short_body" | nullConditional
    data.result.crawler_access.pages[].agents[].purpose"search" | "user_fetch" | "training"Conditional
    data.result.crawler_access.pages[].agents[].robots_access"allowed" | "blocked" | nullNoWhether robots.txt allows this crawler on this page. HTTP 4xx responses other than 429 mean allowed. The value is null if the rules could not be checked.
    data.result.crawler_access.pages[].agents[].visibility_riskbooleanConditional
    data.result.crawler_access.pages[].urlstringConditional
    data.result.crawler_access.scorenumber | nullConditional
    data.result.findingsarray of objectConditional
    data.result.findings[].codestring | nullConditional
    data.result.findings[].confidencenumberConditional
    data.result.findings[].evidencestringConditional
    data.result.findings[].idstring (uuid)Conditional
    data.result.findings[].recommendationstringConditional
    data.result.findings[].severity"critical" | "high" | "medium" | "low" | "info"Conditional
    data.result.findings[].urlstring (uri)Conditional
    data.result.findings[].verificationstringConditional
    data.result.first_result_atstring (date-time) | nullNo
    data.result.kind"audit"Conditional
    data.result.next_cursorstring | nullConditional
    data.result.pages_billedintegerNoPages counted toward the final charge.
    data.result.pages_checkedintegerConditional
    data.result.pages_discoveredintegerNo
    data.result.pages_skippedintegerConditional
    data.result.profile"instant" | "detailed"No
    data.result.schema_consistencyobjectNo
    data.result.schema_consistency.pagesarray of objectConditional
    data.result.schema_consistency.pages[].fieldsarray of objectConditional
    data.result.schema_consistency.pages[].fields[].basis"visible" | "profile"Conditional
    data.result.schema_consistency.pages[].fields[].expectedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].fields[].expected.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].fields[].fieldstringConditional
    data.result.schema_consistency.pages[].fields[].observedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].fields[].observed.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].fields[].status"matched" | "mismatched" | "not_found"Conditional
    data.result.schema_consistency.pages[].issuesarray of objectConditional
    data.result.schema_consistency.pages[].issues[].code"missing_local_business" | "missing_required_properties" | "differs_from_visible" | "differs_from_profile" | "conflicting_blocks"Conditional
    data.result.schema_consistency.pages[].issues[].comparedarray of object | object | objectConditional
    data.result.schema_consistency.pages[].issues[].compared[].expectedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].issues[].compared[].expected.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].issues[].compared[].fieldstringConditional
    data.result.schema_consistency.pages[].issues[].compared[].observedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].issues[].compared[].observed.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].issues[].compared[].basis"visible" | "profile"Conditional
    data.result.schema_consistency.pages[].issues[].compared[].status"matched" | "mismatched" | "not_found"Conditional
    data.result.schema_consistency.pages[].issues[].fieldsarray of stringConditional
    data.result.schema_consistency.pages[].location_idstring (uuid) | nullConditional
    data.result.schema_consistency.pages[].markup"json_ld" | "microdata" | nullConditional
    data.result.schema_consistency.pages[].schema_typestring | nullConditional
    data.result.schema_consistency.pages[].urlstringConditional
    data.result.schema_consistency.pages_with_issuesintegerConditional
    data.result.schema_consistency.scorenumber | nullConditional
    data.result.skipped_reasonsarray of stringNo
    data.result.approval_expires_atstring (date-time) | nullConditional
    data.result.approval_idstring (uuid) | nullConditional
    data.result.artifact_download_urlstring (uri) | nullConditional
    data.result.artifact_sha256string | nullConditional
    data.result.diffstring | nullConditional
    data.result.external_revisionstring | null | nullConditional
    data.result.kind"optimization"Conditional
    data.result.syntheticbooleanNo
    data.result.target_urlstring (uri)Conditional
    data.result.verification_findingsarray of objectConditional
    data.result.verification_findings[].codestring | nullConditional
    data.result.verification_findings[].confidencenumberConditional
    data.result.verification_findings[].evidencestringConditional
    data.result.verification_findings[].idstring (uuid)Conditional
    data.result.verification_findings[].recommendationstringConditional
    data.result.verification_findings[].severity"critical" | "high" | "medium" | "low" | "info"Conditional
    data.result.verification_findings[].urlstring (uri)Conditional
    data.result.verification_findings[].verificationstringConditional
    data.revisionintegerYes
    data.state"queued" | "running" | "awaiting_approval" | "approved" | "executing" | "verifying" | "completed" | "partial" | "failed" | "cancelled" | "rejected" | "stale_approval"Yes
    data.updated_atstring (date-time)Yes
    data.v2_run_idstringNoThe prefixed run ID accepted by GET /v2/runs/{run_id}.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Dismiss competitor suggestionscompetitor_suggestions

    Open this request with Python and TypeScript examples

    • Body section is competitor_suggestions.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    brands:write
    Roles
    approver, editor, owner, service
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idpathstring (uuid)Yes
    Idempotency-KeyheaderstringYes

    Request body

    {
      "action": "dismiss",
      "section": "competitor_suggestions",
      "suggestion_ids": [
        "00000000-0000-4000-8000-000000015111"
      ]
    }
    Request body fields 1
    NameTypeRequiredDescription
    action"dismiss"Yes
    section"competitor_suggestions"Yes
    suggestion_idsarray of string (uuid)Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X PATCH "$AEO_API_BASE_URL/v2/brands/$BRAND_ID" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Dismissed suggestions

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.dismissed_idsarray of string (uuid)Yes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Update Profileprofile

    Open this request with Python and TypeScript examples

    • Body section is profile.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    brands:write
    Roles
    approver, editor, owner, service
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idpathstring (uuid)Yes
    Idempotency-KeyheaderstringYes
    If-MatchheaderstringYes

    Request body

    {
      "name": "Example Company",
      "section": "profile"
    }
    Request body fields 1
    NameTypeRequiredDescription
    action"update"No
    aliasesarray of string | nullNo
    audiencesarray of object | nullNo
    audiences.descriptionstring | nullNo
    audiences.idstring (uuid)Conditional
    audiences.marketsarray of objectNo
    audiences.markets[].citystring | nullNo
    audiences.markets[].countrystringConditional
    audiences.markets[].languagestringConditional
    audiences.markets[].regionstring | nullNo
    audiences.namestringConditional
    business_type"b2b" | "b2c" | "both" | "nonprofit" | "public_sector" | "other" | nullNo
    comparison_evidencearray of object | nullNo
    comparison_evidence.idstring (uuid)Conditional
    comparison_evidence.permission"customer_permitted"Conditional
    comparison_evidence.source_refstringConditional
    comparison_evidence.textstringConditional
    competitorsarray of object | nullNo
    competitors.aliasesarray of stringConditional
    competitors.domainsarray of stringConditional
    competitors.idstring (uuid)Conditional
    competitors.namestringConditional
    crm_questionsarray of object | nullNo
    crm_questions.duplicate_ofstring (uuid)NoID of your existing prompt.
    crm_questions.idstring (uuid)Conditional
    crm_questions.intent"discovery" | "recommendation" | "evaluation" | "pricing" | "comparison" | "alternatives" | "use_case" | "transaction" | "local" | "troubleshooting" | "trust" | "informational"NoThe purpose of the prompt.
    crm_questions.marketobject | nullNo
    crm_questions.market.citystring | nullNo
    crm_questions.market.countrystringConditional
    crm_questions.market.languagestringConditional
    crm_questions.market.regionstring | nullNo
    crm_questions.metadataobjectNo
    crm_questions.metadata.audience_idsarray of string (uuid)No
    crm_questions.metadata.group_idsarray of string (uuid)No
    crm_questions.metadata.product_idsarray of string (uuid)No
    crm_questions.metadata.service_idsarray of string (uuid)No
    crm_questions.metadata.stage"awareness" | "consideration" | "evaluation" | "decision" | "retention" | nullNo
    crm_questions.similar_promptsarray of objectNoOther matching prompts in your library.
    crm_questions.similar_prompts[].prompt_idstring (uuid)Conditional
    crm_questions.source_refstringConditional
    crm_questions.textstringConditional
    domainsarray of string | nullNo
    groupsarray of object | nullNo
    groups.descriptionstring | nullNo
    groups.idstring (uuid)Conditional
    groups.namestringConditional
    localized_templatesarray of object | nullNo
    localized_templates.idstring (uuid)Conditional
    localized_templates.intent"discovery" | "recommendation" | "evaluation" | "pricing" | "comparison" | "alternatives" | "use_case" | "transaction" | "local" | "troubleshooting" | "trust" | "informational"ConditionalThe purpose of the prompt.
    localized_templates.languagestringConditional
    localized_templates.textstringConditional
    marketsarray of object | nullNo
    markets.citystring | nullNo
    markets.countrystringConditional
    markets.languagestringConditional
    markets.regionstring | nullNo
    namestring | nullNo
    productsarray of object | nullNo
    products.descriptionstring | nullNo
    products.idstring (uuid)Conditional
    products.namestringConditional
    section"profile"Yes
    servicesarray of object | nullNo
    services.descriptionstring | nullNo
    services.idstring (uuid)Conditional
    services.namestringConditional

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X PATCH "$AEO_API_BASE_URL/v2/brands/$BRAND_ID" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
      -H "If-Match: $IF_MATCH" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Successful Response

    HTTP 200 headers
    NameTypeRequiredDescription
    ETagstringNoCurrent quoted resource revision

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.idstring (uuid)Yes
    data.namestringYes
    data.domainsarray of stringYes
    data.aliasesarray of stringYes
    data.category_idsarray of stringYes
    data.marketsarray of objectYes
    data.markets[].citystring | null | nullNo
    data.markets[].countrystringYes
    data.markets[].languagestringYes
    data.markets[].regionstring | null | nullNo
    data.competitorsarray of objectYes
    data.competitors[].idstring (uuid)Yes
    data.competitors[].namestringYes
    data.competitors[].aliasesarray of stringYes
    data.competitors[].domainsarray of stringYes
    data.revisionintegerYesCurrent revision. Use it when you edit this record.
    data.statusstringYes
    data.created_atstring (date-time)Yes
    data.updated_atstring (date-time)Yes
    data.business_profileobjectNo
    data.business_typestring | nullYes
    data.productsarray of objectYes
    data.products[].descriptionstring | nullYes
    data.products[].idstring (uuid)Yes
    data.products[].namestringYes
    data.servicesarray of objectYes
    data.services[].descriptionstring | nullYes
    data.services[].idstring (uuid)Yes
    data.services[].namestringYes
    data.groupsarray of objectYes
    data.groups[].descriptionstring | nullYes
    data.groups[].idstring (uuid)Yes
    data.groups[].namestringYes
    data.audiencesarray of objectYes
    data.audiences[].descriptionstring | nullYes
    data.audiences[].idstring (uuid)Yes
    data.audiences[].marketsarray of objectYes
    data.audiences[].markets[].citystring | nullNo
    data.audiences[].markets[].countrystringYes
    data.audiences[].markets[].languagestringYes
    data.audiences[].markets[].regionstring | nullNo
    data.audiences[].namestringYes
    data.crm_questionsarray of objectYes
    data.crm_questions[].duplicate_ofstring (uuid)NoID of your existing prompt.
    data.crm_questions[].idstring (uuid)Yes
    data.crm_questions[].intent"discovery" | "recommendation" | "evaluation" | "pricing" | "comparison" | "alternatives" | "use_case" | "transaction" | "local" | "troubleshooting" | "trust" | "informational"YesThe purpose of the prompt.
    data.crm_questions[].marketobject | nullYes
    data.crm_questions[].market.citystring | nullNo
    data.crm_questions[].market.countrystringConditional
    data.crm_questions[].market.languagestringConditional
    data.crm_questions[].market.regionstring | nullNo
    data.crm_questions[].metadataobjectYes
    data.crm_questions[].metadata.audience_idsarray of string (uuid)Yes
    data.crm_questions[].metadata.group_idsarray of string (uuid)Yes
    data.crm_questions[].metadata.product_idsarray of string (uuid)Yes
    data.crm_questions[].metadata.service_idsarray of string (uuid)Yes
    data.crm_questions[].metadata.stage"awareness" | "consideration" | "evaluation" | "decision" | "retention" | nullYes
    data.crm_questions[].similar_promptsarray of objectNoOther matching prompts in your library.
    data.crm_questions[].similar_prompts[].prompt_idstring (uuid)Conditional
    data.crm_questions[].source_refstringYes
    data.crm_questions[].textstringYes
    data.localized_templatesarray of objectYes
    data.localized_templates[].idstring (uuid)Yes
    data.localized_templates[].intent"discovery" | "recommendation" | "evaluation" | "pricing" | "comparison" | "alternatives" | "use_case" | "transaction" | "local" | "troubleshooting" | "trust" | "informational"YesThe purpose of the prompt.
    data.localized_templates[].languagestringYes
    data.localized_templates[].textstringYes
    data.comparison_evidencearray of objectYes
    data.comparison_evidence[].idstring (uuid)Yes
    data.comparison_evidence[].permission"customer_permitted"Yes
    data.comparison_evidence[].source_refstringYes
    data.comparison_evidence[].textstringYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Put Voicevoice

    Open this request with Python and TypeScript examples

    • Body section is voice.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    optimizations:write
    Roles
    editor, owner, service
    Plans
    Optimizer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idpathstring (uuid)Yes

    Request body

    {
      "audience": "Office managers",
      "expected_revision": 0,
      "language": "en",
      "section": "voice",
      "tone": "Direct and concrete"
    }
    Request body fields 1
    NameTypeRequiredDescription
    audiencestringYes
    avoided_termsarray of stringNo
    call_to_actionstring | nullNo
    editorial_guidelinesstring | nullNo
    expected_revisionintegerYes
    languagestringYes
    openingstring | nullNo
    preferred_termsarray of stringNo
    section"voice"Yes
    tonestringYes
    writing_samplesarray of stringNo

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X PATCH "$AEO_API_BASE_URL/v2/brands/$BRAND_ID" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.revisionintegerYes
    data.voiceobject | nullYes
    data.voice.audiencestringConditional
    data.voice.avoided_termsarray of stringNo
    data.voice.call_to_actionstring | nullNo
    data.voice.editorial_guidelinesstring | nullNo
    data.voice.languagestringConditional
    data.voice.openingstring | nullNo
    data.voice.preferred_termsarray of stringNo
    data.voice.tonestringConditional
    data.voice.writing_samplesarray of stringNo
    metaobjectYesInformation about this response, including any warnings or pagination details.

    Errors

    Configure Hubspotconnection_hubspot

    Open this request with Python and TypeScript examples

    • Body section is connection.
    • Body provider is hubspot.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    brands:write
    Roles
    owner
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.
    • Use an account-wide key. Roles owner.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idpathstring (uuid)Yes
    X-HubSpot-Access-Tokenheaderstring (password)ConditionalCustomer-held HubSpot conversations.read credential. Required when enabling or pulling from a connector.

    Request body

    {
      "section": "connection",
      "provider": "hubspot",
      "state": "enabled",
      "inbox_id": "12345"
    }
    Request body fields 1
    NameTypeRequiredDescription
    inbox_idstring | nullConditionalRequired when state is enabled. Omit it when state is disabled.
    provider"hubspot"Yes
    section"connection"Yes
    state"enabled" | "disabled"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X PATCH "$AEO_API_BASE_URL/v2/brands/$BRAND_ID" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "X-HubSpot-Access-Token: $X_HUBSPOT_ACCESS_TOKEN" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.inbox_idstring | nullNo
    data.state"enabled" | "disabled"Yes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Register, rotate or remove a managed report webhookconnection_webhook

    Open this request with Python and TypeScript examples

    • Body section is connection.
    • Body provider is webhook.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    brands:write
    Roles
    owner
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idpathstring (uuid)Yes

    Request body

    {
      "provider": "webhook",
      "section": "connection",
      "url": "https://example.com/report-events"
    }
    Request body fields 1
    NameTypeRequiredDescription
    event_typesarray of "aeo.report.completed" | "aeo.report.failed" | nullNoOmit this field or set it to null to receive both events.
    provider"webhook"Yes
    section"connection"Yes
    urlstring (uri) | nullYesSupply a public HTTPS URL on port 443 or 8443. Set it to null to remove the webhook.

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X PATCH "$AEO_API_BASE_URL/v2/brands/$BRAND_ID" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Current webhook configuration.

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobject | objectYesThe requested result. See the fields below for its contents.
    data.event_typesarray of "aeo.report.completed" | "aeo.report.failed"Yes
    data.signing_secretstringConditionalSave this secret when you register or rotate the webhook.
    data.state"configured" | "not_configured"Yes
    data.urlstring (uri) | nullYesThe full registered URL. Save it when you register.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Refresh a Bing Webmaster Tools connectionconnection_bing

    Open this request with Python and TypeScript examples

    • Body section is connection.
    • Body provider is bing.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    brands:write
    Roles
    approver, editor, owner, service
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idpathstring (uuid)Yes
    Idempotency-KeyheaderstringYes

    Request body

    {
      "action": "refresh",
      "provider": "bing",
      "section": "connection"
    }
    Request body fields 1
    NameTypeRequiredDescription
    action"refresh"Yes
    provider"bing"Yes
    section"connection"Yes
    websitestring | nullNo

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X PATCH "$AEO_API_BASE_URL/v2/brands/$BRAND_ID" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 202

    Refresh queued

    application/json

    Response fields are listed below.

    HTTP 202 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.collected_atstring | nullYes
    data.connected_atstring (date-time)Yes
    data.last_refresh_atstring | nullYesWhen the last refresh was attempted.
    data.last_refresh_statusnull | "pending" | "in_progress" | "collected" | "partial" | "reconnect_required"YesThe latest refresh status.
    data.propertystring (uri)Yes
    data.status"connected"Yes
    data.websitestring (uri)Yes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Upsert named collection schedulesschedule_collection

    Open this request with Python and TypeScript examples

    • Body section is schedule.
    • Body kind is collection.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    collections:write
    Roles
    editor, owner, service
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idpathstring (uuid)Yes
    Idempotency-KeyheaderstringYesFor 7 days, sending the same key and body for the same account and operation returns the original response. Changing the body for that key returns HTTP 409.

    Request body

    {
      "kind": "collection",
      "schedules": [
        {
          "cadence_days": 1,
          "enabled": false,
          "id": "00000000-0000-4000-8000-000000000001",
          "market": {
            "country": "US",
            "language": "example"
          },
          "max_units_per_run": 0,
          "prompt_ids": [
            "00000000-0000-4000-8000-000000000001"
          ],
          "source": {
            "mode": "ui_normal",
            "platform": "chatgpt"
          }
        }
      ],
      "section": "schedule"
    }
    Request body fields 1
    NameTypeRequiredDescription
    kind"collection"Yes
    schedulesarray of objectYes
    schedules[].all_locationsbooleanNo
    schedules[].allow_country_levelbooleanNoAllow a country-level answer when the source cannot apply the requested location.
    schedules[].cadence_days1 | 3 | 7 | 14 | 30Yes
    schedules[].enabledbooleanYes
    schedules[].idstring (uuid)Yes
    schedules[].location_idsarray of string (uuid)No
    schedules[].marketobjectYes
    schedules[].market.citystring | null | nullNo
    schedules[].market.countrystringYes
    schedules[].market.languagestringYes
    schedules[].market.latitudenumber | nullNo
    schedules[].market.location_idstring (uuid) | nullNo
    schedules[].market.longitudenumber | nullNo
    schedules[].market.postal_codestring | nullNo
    schedules[].market.regionstring | null | nullNo
    schedules[].max_units_per_runintegerYes
    schedules[].next_run_atstring (date-time) | nullNo
    schedules[].prompt_idsarray of string (uuid)Yes
    schedules[].sourceobjectYes
    schedules[].source.device"desktop" | "mobile" | "unknown"No
    schedules[].source.mode"ui_normal" | "ui_search" | "api_normal" | "api_web" | "ai_mode" | "ai_overview" | "organic_search"Yes
    schedules[].source.platform"chatgpt" | "gemini" | "claude" | "perplexity" | "google" | "bing" | "brave" | "meta_ai" | "grok" | "universal"Yes
    schedules[].source.providerstringNoOptional source label for the selected platform and mode. An unsupported combination is rejected before the job starts.
    section"schedule"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X PATCH "$AEO_API_BASE_URL/v2/brands/$BRAND_ID" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Upsert named collection schedules result.

    HTTP 200 headers
    NameTypeRequiredDescription
    X-RateLimit-LimitintegerNoRequests in rate window.
    X-RateLimit-RemainingintegerNoRemaining request tokens.
    X-RateLimit-ResetintegerNoUTC Unix seconds when window resets.
    X-Request-Idstring (uuid)NoTrace identifier.
    X-Usage-UnitsintegerNoCU charged by this response; GET and account/usage always zero.

    application/json

    {
      "data": [],
      "meta": {
        "as_of": "2026-11-06T00:00:00Z",
        "collected_at": null,
        "next_cursor": null,
        "next_refresh_at": null,
        "request_id": "00000000-0000-4000-8000-000000000001",
        "rights_filtered": false,
        "schema_version": "1.0",
        "stale": false,
        "warnings": []
      }
    }
    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataarray of objectYesThe requested result. See the fields below for its contents.
    data[].all_locationsbooleanNo
    data[].allow_country_levelbooleanNoAllow a country-level answer when the source cannot apply the requested location.
    data[].brand_idstring (uuid)Yes
    data[].cadence_days1 | 3 | 7 | 14 | 30Yes
    data[].enabledbooleanYes
    data[].idstring (uuid)Yes
    data[].location_idsarray of string (uuid)No
    data[].marketobjectYes
    data[].market.citystring | null | nullNo
    data[].market.countrystringYes
    data[].market.languagestringYes
    data[].market.latitudenumber | nullNo
    data[].market.location_idstring (uuid) | nullNo
    data[].market.longitudenumber | nullNo
    data[].market.postal_codestring | nullNo
    data[].market.regionstring | null | nullNo
    data[].max_units_per_runintegerYes
    data[].next_run_atstring (date-time) | nullNo
    data[].prompt_idsarray of string (uuid)Yes
    data[].sourceobjectYes
    data[].source.device"desktop" | "mobile" | "unknown"No
    data[].source.mode"ui_normal" | "ui_search" | "api_normal" | "api_web" | "ai_mode" | "ai_overview" | "organic_search"Yes
    data[].source.platform"chatgpt" | "gemini" | "claude" | "perplexity" | "google" | "bing" | "brave" | "meta_ai" | "grok" | "universal"Yes
    data[].source.providerstringNoOptional source label for the selected platform and mode. An unsupported combination is rejected before the job starts.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Set a cited page sweep scheduleschedule_cited_page_sweep

    Open this request with Python and TypeScript examples

    • Body section is schedule.
    • Body kind is cited_page_sweep.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    collections:write
    Roles
    editor, owner, service
    Plans
    Optimizer, Analyzer
    Credits
    This operation can use credits.
    Billing access
    Required

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idpathstring (uuid)Yes

    Request body

    {
      "kind": "cited_page_sweep",
      "max_credits_per_run": 1,
      "section": "schedule"
    }
    Request body fields 1
    NameTypeRequiredDescription
    enabledbooleanNo
    kind"cited_page_sweep"Yes
    label_pagesbooleanNo
    max_credits_per_runintegerYes
    max_pages_per_runintegerNo
    section"schedule"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X PATCH "$AEO_API_BASE_URL/v2/brands/$BRAND_ID" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Set a cited page sweep schedule.

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstringYesIdentifies the brand this result belongs to.
    data.enabledbooleanYes
    data.kind"cited_page_sweep"Yes
    data.label_pagesbooleanYes
    data.max_credits_per_runintegerYes
    data.max_pages_per_runintegerYes
    data.next_run_atstring | nullYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Update Scheduleschedule_managed

    Open this request with Python and TypeScript examples

    • Body section is schedule.
    • Body kind is managed.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    collections:write
    Roles
    editor, owner, service
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idpathstring (uuid)Yes
    websitequerystring | nullNo
    Idempotency-KeyheaderstringYes

    Request body

    {
      "enabled": false,
      "kind": "managed",
      "section": "schedule"
    }
    Request body fields 1
    NameTypeRequiredDescription
    all_locationsbooleanNo
    allow_country_levelbooleanNoAllow a country-level answer when the source cannot apply the requested location.
    cadence_days1 | 3 | 7 | 14 | 30Yes
    enabledbooleanYes
    kind"managed"Yes
    location_idsarray of string (uuid)No
    marketobjectYes``components.schemas.Market``.
    market.citystring | nullNo
    market.countrystringYes
    market.languagestringYes
    market.latitudenumber | nullNo
    market.location_idstring (uuid) | nullNo
    market.longitudenumber | nullNo
    market.postal_codestring | nullNo
    market.regionstring | nullNo
    max_credits_per_runintegerYes
    section"schedule"Yes
    sourceobjectYesBrave AI summaries use brave and ai_overview. Brave Ask uses brave and ai_mode. Meta AI uses meta_ai and ui_normal. Grok uses grok and ui_normal. These four sources are available on Optimizer.
    source.device"desktop" | "mobile" | "unknown" | nullNo
    source.mode"ui_normal" | "ui_search" | "api_normal" | "api_web" | "ai_mode" | "ai_overview" | "organic_search"YesThe mode used to collect the answer. The unverified value appears only in evidence.
    source.platform"chatgpt" | "gemini" | "claude" | "perplexity" | "google" | "bing" | "brave" | "meta_ai" | "grok" | "universal"YesThe platform where the answer was observed.
    source.providerstring | nullNo
    Request body fields 2
    NameTypeRequiredDescription
    enabledfalseYes
    kind"managed"Yes
    section"schedule"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X PATCH "$AEO_API_BASE_URL/v2/brands/$BRAND_ID" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe saved schedule.
    data.all_locationsbooleanNo
    data.allow_country_levelbooleanNoAllow a country-level answer when the source cannot apply the requested location.
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.cadence_days1 | 3 | 7 | 14 | 30Yes
    data.enabledbooleanYes
    data.idstring (uuid)Yes
    data.location_idsarray of string (uuid)No
    data.marketobjectYes
    data.market.citystring | null | nullNo
    data.market.countrystringYes
    data.market.languagestringYes
    data.market.latitudenumber | nullNo
    data.market.location_idstring (uuid) | nullNo
    data.market.longitudenumber | nullNo
    data.market.postal_codestring | nullNo
    data.market.regionstring | null | nullNo
    data.max_units_per_runintegerYes
    data.next_run_atstring (date-time) | nullYes
    data.prompt_idsarray of string (uuid)Yes
    data.sourceobjectYes
    data.source.device"desktop" | "mobile" | "unknown"No
    data.source.mode"ui_normal" | "ui_search" | "api_normal" | "api_web" | "ai_mode" | "ai_overview" | "organic_search"Yes
    data.source.platform"chatgpt" | "gemini" | "claude" | "perplexity" | "google" | "bing" | "brave" | "meta_ai" | "grok" | "universal"Yes
    data.source.providerstringNoOptional source label for the selected platform and mode. An unsupported combination is rejected before the job starts.
    data.websitestring | nullYes
    data.prompt_set_revisionstringYes
    data.estimated_credits_per_runinteger | nullYes
    data.maximum_recurring_credits_30_daysinteger | nullYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.
    HTTP 200 response fields 2
    NameTypeRequiredDescription
    datanullYesYou paused a brand that had no schedule.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Set the post-publication accuracy settingschedule_answer_accuracy

    Open this request with Python and TypeScript examples

    • Body section is schedule.
    • Body kind is answer_accuracy.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    brands:write
    Roles
    owner
    Plans
    Optimizer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idpathstring (uuid)Yes

    Request body

    {
      "kind": "answer_accuracy",
      "section": "schedule"
    }
    Request body fields 1
    NameTypeRequiredDescription
    kind"answer_accuracy"Yes
    max_units_per_runintegerNo
    recheck_after_publicationbooleanNo
    section"schedule"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X PATCH "$AEO_API_BASE_URL/v2/brands/$BRAND_ID" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Set the post-publication accuracy setting

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.kind"answer_accuracy"Yes
    data.max_units_per_runintegerNo
    data.recheck_after_publicationbooleanNo
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    GET /v2/brands/{brand_id}/drafts

    List Drafts

    List Draftsdefault

    Open this request with Python and TypeScript examples

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    optimizations:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idpathstring (uuid)Yes
    statusquery"draft" | "in_review" | "changes_requested" | "approved" | "handed_off" | "publication_failed" | "published" | "archived" | "rolled_back" | nullNo
    item_idquerystring (uuid) | nullNo
    offsetqueryintegerNo
    limitqueryintegerNo

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body -X GET "$AEO_API_BASE_URL/v2/brands/$BRAND_ID/drafts" \
      -H "Authorization: Bearer $AEO_API_KEY"

    Responses

    HTTP 200

    Successful Response

    application/json

    Example generated from the response schema.

    {
      "data": {
        "items": [],
        "next_offset": null
      },
      "meta": {}
    }
    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.itemsarray of objectYes
    data.items[].created_atstring (date-time)Yes
    data.items[].draft_idstring (uuid)Yes
    data.items[].format"blog" | "social" | "linkedin_article"Yes
    data.items[].item_idstring (uuid)Yes
    data.items[].revisionintegerYes
    data.items[].status"draft" | "in_review" | "changes_requested" | "approved" | "handed_off" | "publication_failed" | "published" | "archived"Yes
    data.items[].updated_atstring (date-time)Yes
    data.next_offsetinteger | nullYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    HTTP 200 response fields 2
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.itemsarray of object | object | objectYes
    data.items[].created_atstring (date-time)Yes
    data.items[].draft_idstring (uuid)Yes
    data.items[].format"blog" | "social" | "linkedin_article" | "product_fact_patch" | "accuracy_fix"Yes
    data.items[].item_idstring (uuid)Yes
    data.items[].revisionintegerYes
    data.items[].status"draft" | "in_review" | "changes_requested" | "approved" | "handed_off" | "publication_failed" | "published" | "archived" | "rolled_back"Yes
    data.items[].updated_atstring (date-time)Yes
    data.next_offsetinteger | nullYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    GET /v2/brands/{brand_id}/drafts/{draft_id}

    Get Draft

    Get Draftdefault

    Open this request with Python and TypeScript examples

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    optimizations:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idpathstring (uuid)Yes
    draft_idpathstring (uuid)Yes
    include_citation_benchmarkquerybooleanNo

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body -X GET "$AEO_API_BASE_URL/v2/brands/$BRAND_ID/drafts/$DRAFT_ID" \
      -H "Authorization: Bearer $AEO_API_KEY"

    Responses

    HTTP 200

    Successful Response

    application/json

    Example generated from the response schema.

    {
      "data": {
        "draft_id": "00000000-0000-4000-8000-000000000001",
        "item_id": "00000000-0000-4000-8000-000000000001",
        "format": "blog",
        "revision": 0,
        "status": "draft",
        "created_at": "2026-01-01T00:00:00Z",
        "updated_at": "2026-01-01T00:00:00Z",
        "voice": {
          "tone": "example",
          "audience": "example",
          "language": "en"
        },
        "voice_revision": 0,
        "keywords": [],
        "primary_keyword": "example",
        "content": null,
        "content_method": "customer_owned_passage_assembly",
        "content_sha256": null,
        "approved_content_sha256": null,
        "source_passages": [],
        "claim_support": [],
        "source_availability": "current",
        "voice_checks": null,
        "review_note": null,
        "generation_guidance": null,
        "handoff": null,
        "receipt": null,
        "publication_failure": null
      },
      "meta": {}
    }
    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.approved_content_sha256string | nullYesSHA-256 hash of the content approved for delivery.
    data.citation_lift_benchmarkobject | nullNo
    data.citation_lift_benchmark.benchmarkobject | nullConditional
    data.citation_lift_benchmark.benchmark.action_channelstringConditional
    data.citation_lift_benchmark.benchmark.after_answer_target_pairsintegerConditional
    data.citation_lift_benchmark.benchmark.after_citing_target_pairsintegerConditional
    data.citation_lift_benchmark.benchmark.before_answer_target_pairsintegerConditional
    data.citation_lift_benchmark.benchmark.before_citing_target_pairsintegerConditional
    data.citation_lift_benchmark.benchmark.eligible_targetsintegerConditional
    data.citation_lift_benchmark.benchmark.matched_target_cohortsintegerConditional
    data.citation_lift_benchmark.benchmark.mean_after_citation_ratenumberConditional
    data.citation_lift_benchmark.benchmark.mean_before_citation_ratenumberConditional
    data.citation_lift_benchmark.benchmark.mean_citation_rate_change_percentage_pointsnumberConditional
    data.citation_lift_benchmark.benchmark.median_citation_rate_change_percentage_pointsnumberConditional
    data.citation_lift_benchmark.benchmark.method"equal_weighted_targets_and_matched_cohorts"Conditional
    data.citation_lift_benchmark.benchmark.observationaltrueConditional
    data.citation_lift_benchmark.benchmark.report_generated_atstringConditional
    data.citation_lift_benchmark.benchmark.report_idstringConditional
    data.citation_lift_benchmark.benchmark.window_daysintegerConditional
    data.citation_lift_benchmark.reason"insufficient_access" | "no_saved_report" | "insufficient_eligible_targets" | "scan_limit_exceeded" | nullConditional
    data.claim_supportarray of objectYes
    data.claim_support[].claim_textstringYes
    data.claim_support[].passage_idstring (uuid)Yes
    data.claim_support[].source_excerptstringYes
    data.contentobject | nullYes
    data.content.bodystringConditional
    data.content.titlestringConditional
    data.content_method"customer_owned_passage_assembly" | "agency_edited"Yes
    data.content_sha256string | nullYesSHA-256 hash identifying this version of the content.
    data.created_atstring (date-time)Yes
    data.draft_idstring (uuid)YesIdentifies the draft associated with this result.
    data.format"blog" | "social" | "linkedin_article"Yes
    data.generation_guidancestring | nullYes
    data.handoffobject | nullYes
    data.handoff.content_sha256stringConditional
    data.handoff.created_atstring (date-time)Conditional
    data.handoff.delivery_claim_idstring (uuid) | nullNo
    data.handoff.destinationobjectConditional
    data.handoff.destination.destination_referencestringConditional
    data.handoff.destination.platform"cms" | "linkedin" | "reddit" | "youtube" | "other"Conditional
    data.handoff.handoff_idstring (uuid)Conditional
    data.item_idstring (uuid)Yes
    data.keywordsarray of objectYes
    data.keywords[].countrystringYes
    data.keywords[].difficulty_methodstring | nullNo
    data.keywords[].difficulty_scorenumber | nullNo
    data.keywords[].estimated_monthly_searchesinteger | nullNo
    data.keywords[].keywordstringYes
    data.keywords[].languagestringYes
    data.keywords[].measured_onstring (date)Yes
    data.keywords[].sourcestringYes
    data.keywords[].source_referencestringYes
    data.keywords[].volume_period_endstring (date) | nullNo
    data.keywords[].volume_period_startstring (date) | nullNo
    data.primary_keywordstringYes
    data.publication_failurestring | nullYes
    data.receiptobject | nullYes
    data.receipt.evidence_basis"publisher_reported"No
    data.receipt.published_atstring (date-time)Conditional
    data.receipt.published_urlstringConditional
    data.receipt.publisher_referencestringConditional
    data.receipt.reported_atstring (date-time)Conditional
    data.review_notestring | nullYes
    data.revisionintegerYes
    data.source_availability"current" | "missing"Yes
    data.source_passagesarray of objectYes
    data.source_passages[].content_revisionstring (uuid)Yes
    data.source_passages[].headingstringYes
    data.source_passages[].passage_idstring (uuid)Yes
    data.source_passages[].source_urlstringYes
    data.status"draft" | "in_review" | "changes_requested" | "approved" | "handed_off" | "publication_failed" | "published" | "archived"Yes
    data.updated_atstring (date-time)Yes
    data.voiceobjectYes
    data.voice.audiencestringYes
    data.voice.avoided_termsarray of stringNo
    data.voice.call_to_actionstring | nullNo
    data.voice.editorial_guidelinesstring | nullNo
    data.voice.languagestringYes
    data.voice.openingstring | nullNo
    data.voice.preferred_termsarray of stringNo
    data.voice.tonestringYes
    data.voice.writing_samplesarray of stringNo
    data.voice_checksobject | nullYes
    data.voice_checks.avoided_terms_presentarray of stringConditional
    data.voice_checks.copy_uses_primary_keywordbooleanConditional
    data.voice_checks.languagestringConditional
    data.voice_checks.preferred_terms_absentarray of stringConditional
    data.voice_checks.title_uses_primary_keywordbooleanConditional
    data.voice_revisionintegerYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    HTTP 200 response fields 2
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.created_atstring (date-time)Yes
    data.draft_idstring (uuid)YesIdentifies the draft associated with this result.
    data.format"product_fact_patch"Yes
    data.item_idstring (uuid)Yes
    data.patchobject | nullYes
    data.patch.approved_content_sha256string | nullNo
    data.patch.automatic_policyobject | nullNo
    data.patch.automatic_policy.artifact_typesarray of "llms_txt" | "json_ld" | "canonical_summary"Conditional
    data.patch.automatic_policy.domainsarray of stringConditional
    data.patch.automatic_policy.fact_sourcesarray of stringConditional
    data.patch.automatic_policy.max_changed_bytesintegerConditional
    data.patch.automatic_policy.max_targetsintegerConditional
    data.patch.automatic_policy.pathsarray of stringConditional
    data.patch.automatic_policy.versionstringConditional
    data.patch.content_sha256stringConditional
    data.patch.pause_reason"destination_drift" | "destination_unresolved" | nullNo
    data.patch.policy_approved_bystring (uuid) | nullNo
    data.patch.policy_versionstringConditional
    data.patch.source_content_revisionstring (uuid)Conditional
    data.patch.source_factobjectConditional
    data.patch.source_fact.amountstringConditional
    data.patch.source_fact.currencystringConditional
    data.patch.source_fact.depends_onarray of string (uuid)No
    data.patch.source_fact.effective_fromstring (date)Conditional
    data.patch.source_fact.event_idstring (uuid)Conditional
    data.patch.source_fact.marketstringConditional
    data.patch.source_fact.period"month" | "year" | "one_time"Conditional
    data.patch.source_fact.productstringConditional
    data.patch.source_fact.resolves_conflictbooleanNo
    data.patch.source_fact.sequenceintegerConditional
    data.patch.source_fact.sourcestringConditional
    data.patch.source_factsarray of objectConditional
    data.patch.source_facts[].amountstringConditional
    data.patch.source_facts[].currencystringConditional
    data.patch.source_facts[].depends_onarray of string (uuid)No
    data.patch.source_facts[].effective_fromstring (date)Conditional
    data.patch.source_facts[].event_idstring (uuid)Conditional
    data.patch.source_facts[].marketstringConditional
    data.patch.source_facts[].period"month" | "year" | "one_time"Conditional
    data.patch.source_facts[].productstringConditional
    data.patch.source_facts[].resolves_conflictbooleanNo
    data.patch.source_facts[].sequenceintegerConditional
    data.patch.source_facts[].sourcestringConditional
    data.patch.source_urlstringConditional
    data.patch.targetsarray of objectConditional
    data.patch.targets[].baseline_revisionstringConditional
    data.patch.targets[].connector"cms" | "edge"Conditional
    data.patch.targets[].contentstringConditional
    data.patch.targets[].content_sha256stringConditional
    data.patch.targets[].diffstringConditional
    data.patch.targets[].domainstringConditional
    data.patch.targets[].kind"llms_txt" | "json_ld" | "canonical_summary"Conditional
    data.patch.targets[].pathstringConditional
    data.patch.targets[].previous_sha256stringConditional
    data.patch.targets[].publish_claimobject | nullNo
    data.patch.targets[].publish_claim.expected_revisionstringConditional
    data.patch.targets[].publish_claim.expected_sha256stringConditional
    data.patch.targets[].publish_claim.idstring (uuid)Conditional
    data.patch.targets[].publish_receiptobject | nullNo
    data.patch.targets[].publish_receipt.claim_idstring (uuid)Conditional
    data.patch.targets[].publish_receipt.content_sha256stringConditional
    data.patch.targets[].publish_receipt.revisionstringConditional
    data.patch.targets[].rollback_claimobject | nullNo
    data.patch.targets[].rollback_claim.expected_revisionstringConditional
    data.patch.targets[].rollback_claim.expected_sha256stringConditional
    data.patch.targets[].rollback_claim.idstring (uuid)Conditional
    data.patch.targets[].rollback_contentstringConditional
    data.patch.targets[].rollback_receiptobject | nullNo
    data.patch.targets[].rollback_receipt.claim_idstring (uuid)Conditional
    data.patch.targets[].rollback_receipt.content_sha256stringConditional
    data.patch.targets[].rollback_receipt.revisionstringConditional
    data.patch.targets[].target_idstring (uuid)Conditional
    data.revisionintegerYes
    data.source_availability"current" | "missing"Yes
    data.status"draft" | "in_review" | "changes_requested" | "approved" | "handed_off" | "publication_failed" | "published" | "archived" | "rolled_back"Yes
    data.updated_atstring (date-time)Yes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.
    HTTP 200 response fields 3
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.accuracy_claim_idstring (uuid)Yes
    data.accuracy_source_pagesarray of objectYes
    data.accuracy_source_pages[].ownership"brand" | "competitor" | "third_party"Yes
    data.accuracy_source_pages[].scope"answer" | "claim"Yes
    data.accuracy_source_pages[].urlstringYes
    data.approved_content_sha256string | nullYesSHA-256 hash of the content approved for delivery.
    data.citation_lift_benchmarknullNo
    data.claim_supportarray of objectYes
    data.claim_support[].claim_textstringYes
    data.claim_support[].passage_idstring (uuid)Yes
    data.claim_support[].source_excerptstringYes
    data.contentobject | nullYes
    data.content.bodystringConditional
    data.content.titlestringConditional
    data.content_method"approved_accuracy_fact" | "agency_edited"Yes
    data.content_sha256string | nullYesSHA-256 hash identifying this version of the content.
    data.created_atstring (date-time)Yes
    data.draft_idstring (uuid)YesIdentifies the draft associated with this result.
    data.format"accuracy_fix"Yes
    data.generation_guidancestring | nullYes
    data.handoffobject | nullYes
    data.handoff.content_sha256stringConditional
    data.handoff.created_atstring (date-time)Conditional
    data.handoff.delivery_claim_idstring (uuid) | nullNo
    data.handoff.destinationobjectConditional
    data.handoff.destination.destination_referencestringConditional
    data.handoff.destination.platform"cms" | "linkedin" | "reddit" | "youtube" | "other"Conditional
    data.handoff.handoff_idstring (uuid)Conditional
    data.item_idstring (uuid)Yes
    data.keywordsarray of objectYes
    data.keywords[].countrystringYes
    data.keywords[].difficulty_methodstring | nullNo
    data.keywords[].difficulty_scorenumber | nullNo
    data.keywords[].estimated_monthly_searchesinteger | nullNo
    data.keywords[].keywordstringYes
    data.keywords[].languagestringYes
    data.keywords[].measured_onstring (date)Yes
    data.keywords[].sourcestringYes
    data.keywords[].source_referencestringYes
    data.keywords[].volume_period_endstring (date) | nullNo
    data.keywords[].volume_period_startstring (date) | nullNo
    data.primary_keywordstringYes
    data.publication_failurestring | nullYes
    data.receiptobject | nullYes
    data.receipt.evidence_basis"publisher_reported"No
    data.receipt.published_atstring (date-time)Conditional
    data.receipt.published_urlstringConditional
    data.receipt.publisher_referencestringConditional
    data.receipt.reported_atstring (date-time)Conditional
    data.review_notestring | nullYes
    data.revisionintegerYes
    data.source_availability"current" | "needs_review"Yes
    data.source_passagesarray of objectYes
    data.source_passages[].content_revisionstring (uuid)Yes
    data.source_passages[].headingstringYes
    data.source_passages[].passage_idstring (uuid)Yes
    data.source_passages[].source_urlstringYes
    data.status"draft" | "in_review" | "changes_requested" | "approved" | "handed_off" | "publication_failed" | "published" | "archived"Yes
    data.updated_atstring (date-time)Yes
    data.voiceobjectYes
    data.voice.audiencestringYes
    data.voice.avoided_termsarray of stringNo
    data.voice.call_to_actionstring | nullNo
    data.voice.editorial_guidelinesstring | nullNo
    data.voice.languagestringYes
    data.voice.openingstring | nullNo
    data.voice.preferred_termsarray of stringNo
    data.voice.tonestringYes
    data.voice.writing_samplesarray of stringNo
    data.voice_checksobject | nullYes
    data.voice_checks.avoided_terms_presentarray of stringConditional
    data.voice_checks.copy_uses_primary_keywordbooleanConditional
    data.voice_checks.languagestringConditional
    data.voice_checks.preferred_terms_absentarray of stringConditional
    data.voice_checks.title_uses_primary_keywordbooleanConditional
    data.voice_revisionintegerYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    PUT /v2/brands/{brand_id}/drafts/{draft_id}

    Create Draft

    Create Draftdefault

    Open this request with Python and TypeScript examples

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    optimizations:write, analytics:read, recommendations:read
    Roles
    editor, owner, service
    Plans
    Optimizer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idpathstring (uuid)Yes
    draft_idpathstring (uuid)Yes

    Request body

    {
      "format": "blog",
      "item_id": "00000000-0000-4000-8000-000000000001",
      "keywords": [
        {
          "country": "US",
          "estimated_monthly_searches": 120,
          "keyword": "setup",
          "language": "en",
          "measured_on": "2026-11-24",
          "source": "example",
          "source_reference": "fixture-measurement",
          "volume_period_end": "2026-10-31",
          "volume_period_start": "2026-10-01"
        }
      ],
      "primary_keyword": "setup",
      "sections": [
        {
          "heading": "Getting started",
          "passage_id": "00000000-0000-4000-8000-000000000001"
        }
      ],
      "title": "Setup instructions"
    }
    Request body fields 1
    NameTypeRequiredDescription
    format"blog" | "social" | "linkedin_article"Yes
    item_idstring (uuid)Yes
    keywordsarray of objectYes
    keywords[].countrystringYes
    keywords[].difficulty_methodstring | nullNo
    keywords[].difficulty_scorenumber | nullNo
    keywords[].estimated_monthly_searchesinteger | nullNo
    keywords[].keywordstringYes
    keywords[].languagestringYes
    keywords[].measured_onstring (date)Yes
    keywords[].sourcestringYes
    keywords[].source_referencestringYes
    keywords[].volume_period_endstring (date) | nullNo
    keywords[].volume_period_startstring (date) | nullNo
    monthstring | nullNo
    primary_keywordstringYes
    report_idstring (uuid) | nullNo
    sectionsarray of objectYes
    sections[].headingstringYes
    sections[].passage_idstring (uuid)Yes
    titlestringYes
    Request body fields 2
    NameTypeRequiredDescription
    automatic_policyobject | nullNo
    automatic_policy.artifact_typesarray of "llms_txt" | "json_ld" | "canonical_summary"Conditional
    automatic_policy.domainsarray of stringConditional
    automatic_policy.fact_sourcesarray of stringConditional
    automatic_policy.max_changed_bytesintegerConditional
    automatic_policy.max_targetsintegerConditional
    automatic_policy.pathsarray of stringConditional
    automatic_policy.versionstringConditional
    fact_event_idstring (uuid)Yes
    format"product_fact_patch"Yes
    targetsarray of objectYes
    targets[].baselinestringYes
    targets[].baseline_revisionstringYes
    targets[].connector"cms" | "edge"Yes
    targets[].domainstringYes
    targets[].kind"llms_txt" | "json_ld" | "canonical_summary"Yes
    targets[].pathstringYes
    Request body fields 3
    NameTypeRequiredDescription
    claim_idstring (uuid)Yes
    format"accuracy_fix"Yes
    titlestring | nullNo

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X PUT "$AEO_API_BASE_URL/v2/brands/$BRAND_ID/drafts/$DRAFT_ID" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Successful Response

    application/json

    Example generated from the response schema.

    {
      "data": {
        "draft_id": "00000000-0000-4000-8000-000000000001",
        "item_id": "00000000-0000-4000-8000-000000000001",
        "format": "blog",
        "revision": 0,
        "status": "draft",
        "created_at": "2026-01-01T00:00:00Z",
        "updated_at": "2026-01-01T00:00:00Z",
        "voice": {
          "tone": "example",
          "audience": "example",
          "language": "en"
        },
        "voice_revision": 0,
        "keywords": [],
        "primary_keyword": "example",
        "content": null,
        "content_method": "customer_owned_passage_assembly",
        "content_sha256": null,
        "approved_content_sha256": null,
        "source_passages": [],
        "claim_support": [],
        "source_availability": "current",
        "voice_checks": null,
        "review_note": null,
        "generation_guidance": null,
        "handoff": null,
        "receipt": null,
        "publication_failure": null
      },
      "meta": {}
    }
    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.approved_content_sha256string | nullYesSHA-256 hash of the content approved for delivery.
    data.citation_lift_benchmarkobject | nullNo
    data.citation_lift_benchmark.benchmarkobject | nullConditional
    data.citation_lift_benchmark.benchmark.action_channelstringConditional
    data.citation_lift_benchmark.benchmark.after_answer_target_pairsintegerConditional
    data.citation_lift_benchmark.benchmark.after_citing_target_pairsintegerConditional
    data.citation_lift_benchmark.benchmark.before_answer_target_pairsintegerConditional
    data.citation_lift_benchmark.benchmark.before_citing_target_pairsintegerConditional
    data.citation_lift_benchmark.benchmark.eligible_targetsintegerConditional
    data.citation_lift_benchmark.benchmark.matched_target_cohortsintegerConditional
    data.citation_lift_benchmark.benchmark.mean_after_citation_ratenumberConditional
    data.citation_lift_benchmark.benchmark.mean_before_citation_ratenumberConditional
    data.citation_lift_benchmark.benchmark.mean_citation_rate_change_percentage_pointsnumberConditional
    data.citation_lift_benchmark.benchmark.median_citation_rate_change_percentage_pointsnumberConditional
    data.citation_lift_benchmark.benchmark.method"equal_weighted_targets_and_matched_cohorts"Conditional
    data.citation_lift_benchmark.benchmark.observationaltrueConditional
    data.citation_lift_benchmark.benchmark.report_generated_atstringConditional
    data.citation_lift_benchmark.benchmark.report_idstringConditional
    data.citation_lift_benchmark.benchmark.window_daysintegerConditional
    data.citation_lift_benchmark.reason"insufficient_access" | "no_saved_report" | "insufficient_eligible_targets" | "scan_limit_exceeded" | nullConditional
    data.claim_supportarray of objectYes
    data.claim_support[].claim_textstringYes
    data.claim_support[].passage_idstring (uuid)Yes
    data.claim_support[].source_excerptstringYes
    data.contentobject | nullYes
    data.content.bodystringConditional
    data.content.titlestringConditional
    data.content_method"customer_owned_passage_assembly" | "agency_edited"Yes
    data.content_sha256string | nullYesSHA-256 hash identifying this version of the content.
    data.created_atstring (date-time)Yes
    data.draft_idstring (uuid)YesIdentifies the draft associated with this result.
    data.format"blog" | "social" | "linkedin_article"Yes
    data.generation_guidancestring | nullYes
    data.handoffobject | nullYes
    data.handoff.content_sha256stringConditional
    data.handoff.created_atstring (date-time)Conditional
    data.handoff.delivery_claim_idstring (uuid) | nullNo
    data.handoff.destinationobjectConditional
    data.handoff.destination.destination_referencestringConditional
    data.handoff.destination.platform"cms" | "linkedin" | "reddit" | "youtube" | "other"Conditional
    data.handoff.handoff_idstring (uuid)Conditional
    data.item_idstring (uuid)Yes
    data.keywordsarray of objectYes
    data.keywords[].countrystringYes
    data.keywords[].difficulty_methodstring | nullNo
    data.keywords[].difficulty_scorenumber | nullNo
    data.keywords[].estimated_monthly_searchesinteger | nullNo
    data.keywords[].keywordstringYes
    data.keywords[].languagestringYes
    data.keywords[].measured_onstring (date)Yes
    data.keywords[].sourcestringYes
    data.keywords[].source_referencestringYes
    data.keywords[].volume_period_endstring (date) | nullNo
    data.keywords[].volume_period_startstring (date) | nullNo
    data.primary_keywordstringYes
    data.publication_failurestring | nullYes
    data.receiptobject | nullYes
    data.receipt.evidence_basis"publisher_reported"No
    data.receipt.published_atstring (date-time)Conditional
    data.receipt.published_urlstringConditional
    data.receipt.publisher_referencestringConditional
    data.receipt.reported_atstring (date-time)Conditional
    data.review_notestring | nullYes
    data.revisionintegerYes
    data.source_availability"current" | "missing"Yes
    data.source_passagesarray of objectYes
    data.source_passages[].content_revisionstring (uuid)Yes
    data.source_passages[].headingstringYes
    data.source_passages[].passage_idstring (uuid)Yes
    data.source_passages[].source_urlstringYes
    data.status"draft" | "in_review" | "changes_requested" | "approved" | "handed_off" | "publication_failed" | "published" | "archived"Yes
    data.updated_atstring (date-time)Yes
    data.voiceobjectYes
    data.voice.audiencestringYes
    data.voice.avoided_termsarray of stringNo
    data.voice.call_to_actionstring | nullNo
    data.voice.editorial_guidelinesstring | nullNo
    data.voice.languagestringYes
    data.voice.openingstring | nullNo
    data.voice.preferred_termsarray of stringNo
    data.voice.tonestringYes
    data.voice.writing_samplesarray of stringNo
    data.voice_checksobject | nullYes
    data.voice_checks.avoided_terms_presentarray of stringConditional
    data.voice_checks.copy_uses_primary_keywordbooleanConditional
    data.voice_checks.languagestringConditional
    data.voice_checks.preferred_terms_absentarray of stringConditional
    data.voice_checks.title_uses_primary_keywordbooleanConditional
    data.voice_revisionintegerYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    HTTP 200 response fields 2
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.created_atstring (date-time)Yes
    data.draft_idstring (uuid)YesIdentifies the draft associated with this result.
    data.format"product_fact_patch"Yes
    data.item_idstring (uuid)Yes
    data.patchobject | nullYes
    data.patch.approved_content_sha256string | nullNo
    data.patch.automatic_policyobject | nullNo
    data.patch.automatic_policy.artifact_typesarray of "llms_txt" | "json_ld" | "canonical_summary"Conditional
    data.patch.automatic_policy.domainsarray of stringConditional
    data.patch.automatic_policy.fact_sourcesarray of stringConditional
    data.patch.automatic_policy.max_changed_bytesintegerConditional
    data.patch.automatic_policy.max_targetsintegerConditional
    data.patch.automatic_policy.pathsarray of stringConditional
    data.patch.automatic_policy.versionstringConditional
    data.patch.content_sha256stringConditional
    data.patch.pause_reason"destination_drift" | "destination_unresolved" | nullNo
    data.patch.policy_approved_bystring (uuid) | nullNo
    data.patch.policy_versionstringConditional
    data.patch.source_content_revisionstring (uuid)Conditional
    data.patch.source_factobjectConditional
    data.patch.source_fact.amountstringConditional
    data.patch.source_fact.currencystringConditional
    data.patch.source_fact.depends_onarray of string (uuid)No
    data.patch.source_fact.effective_fromstring (date)Conditional
    data.patch.source_fact.event_idstring (uuid)Conditional
    data.patch.source_fact.marketstringConditional
    data.patch.source_fact.period"month" | "year" | "one_time"Conditional
    data.patch.source_fact.productstringConditional
    data.patch.source_fact.resolves_conflictbooleanNo
    data.patch.source_fact.sequenceintegerConditional
    data.patch.source_fact.sourcestringConditional
    data.patch.source_factsarray of objectConditional
    data.patch.source_facts[].amountstringConditional
    data.patch.source_facts[].currencystringConditional
    data.patch.source_facts[].depends_onarray of string (uuid)No
    data.patch.source_facts[].effective_fromstring (date)Conditional
    data.patch.source_facts[].event_idstring (uuid)Conditional
    data.patch.source_facts[].marketstringConditional
    data.patch.source_facts[].period"month" | "year" | "one_time"Conditional
    data.patch.source_facts[].productstringConditional
    data.patch.source_facts[].resolves_conflictbooleanNo
    data.patch.source_facts[].sequenceintegerConditional
    data.patch.source_facts[].sourcestringConditional
    data.patch.source_urlstringConditional
    data.patch.targetsarray of objectConditional
    data.patch.targets[].baseline_revisionstringConditional
    data.patch.targets[].connector"cms" | "edge"Conditional
    data.patch.targets[].contentstringConditional
    data.patch.targets[].content_sha256stringConditional
    data.patch.targets[].diffstringConditional
    data.patch.targets[].domainstringConditional
    data.patch.targets[].kind"llms_txt" | "json_ld" | "canonical_summary"Conditional
    data.patch.targets[].pathstringConditional
    data.patch.targets[].previous_sha256stringConditional
    data.patch.targets[].publish_claimobject | nullNo
    data.patch.targets[].publish_claim.expected_revisionstringConditional
    data.patch.targets[].publish_claim.expected_sha256stringConditional
    data.patch.targets[].publish_claim.idstring (uuid)Conditional
    data.patch.targets[].publish_receiptobject | nullNo
    data.patch.targets[].publish_receipt.claim_idstring (uuid)Conditional
    data.patch.targets[].publish_receipt.content_sha256stringConditional
    data.patch.targets[].publish_receipt.revisionstringConditional
    data.patch.targets[].rollback_claimobject | nullNo
    data.patch.targets[].rollback_claim.expected_revisionstringConditional
    data.patch.targets[].rollback_claim.expected_sha256stringConditional
    data.patch.targets[].rollback_claim.idstring (uuid)Conditional
    data.patch.targets[].rollback_contentstringConditional
    data.patch.targets[].rollback_receiptobject | nullNo
    data.patch.targets[].rollback_receipt.claim_idstring (uuid)Conditional
    data.patch.targets[].rollback_receipt.content_sha256stringConditional
    data.patch.targets[].rollback_receipt.revisionstringConditional
    data.patch.targets[].target_idstring (uuid)Conditional
    data.revisionintegerYes
    data.source_availability"current" | "missing"Yes
    data.status"draft" | "in_review" | "changes_requested" | "approved" | "handed_off" | "publication_failed" | "published" | "archived" | "rolled_back"Yes
    data.updated_atstring (date-time)Yes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.
    HTTP 200 response fields 3
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.accuracy_claim_idstring (uuid)Yes
    data.accuracy_source_pagesarray of objectYes
    data.accuracy_source_pages[].ownership"brand" | "competitor" | "third_party"Yes
    data.accuracy_source_pages[].scope"answer" | "claim"Yes
    data.accuracy_source_pages[].urlstringYes
    data.approved_content_sha256string | nullYesSHA-256 hash of the content approved for delivery.
    data.citation_lift_benchmarknullNo
    data.claim_supportarray of objectYes
    data.claim_support[].claim_textstringYes
    data.claim_support[].passage_idstring (uuid)Yes
    data.claim_support[].source_excerptstringYes
    data.contentobject | nullYes
    data.content.bodystringConditional
    data.content.titlestringConditional
    data.content_method"approved_accuracy_fact" | "agency_edited"Yes
    data.content_sha256string | nullYesSHA-256 hash identifying this version of the content.
    data.created_atstring (date-time)Yes
    data.draft_idstring (uuid)YesIdentifies the draft associated with this result.
    data.format"accuracy_fix"Yes
    data.generation_guidancestring | nullYes
    data.handoffobject | nullYes
    data.handoff.content_sha256stringConditional
    data.handoff.created_atstring (date-time)Conditional
    data.handoff.delivery_claim_idstring (uuid) | nullNo
    data.handoff.destinationobjectConditional
    data.handoff.destination.destination_referencestringConditional
    data.handoff.destination.platform"cms" | "linkedin" | "reddit" | "youtube" | "other"Conditional
    data.handoff.handoff_idstring (uuid)Conditional
    data.item_idstring (uuid)Yes
    data.keywordsarray of objectYes
    data.keywords[].countrystringYes
    data.keywords[].difficulty_methodstring | nullNo
    data.keywords[].difficulty_scorenumber | nullNo
    data.keywords[].estimated_monthly_searchesinteger | nullNo
    data.keywords[].keywordstringYes
    data.keywords[].languagestringYes
    data.keywords[].measured_onstring (date)Yes
    data.keywords[].sourcestringYes
    data.keywords[].source_referencestringYes
    data.keywords[].volume_period_endstring (date) | nullNo
    data.keywords[].volume_period_startstring (date) | nullNo
    data.primary_keywordstringYes
    data.publication_failurestring | nullYes
    data.receiptobject | nullYes
    data.receipt.evidence_basis"publisher_reported"No
    data.receipt.published_atstring (date-time)Conditional
    data.receipt.published_urlstringConditional
    data.receipt.publisher_referencestringConditional
    data.receipt.reported_atstring (date-time)Conditional
    data.review_notestring | nullYes
    data.revisionintegerYes
    data.source_availability"current" | "needs_review"Yes
    data.source_passagesarray of objectYes
    data.source_passages[].content_revisionstring (uuid)Yes
    data.source_passages[].headingstringYes
    data.source_passages[].passage_idstring (uuid)Yes
    data.source_passages[].source_urlstringYes
    data.status"draft" | "in_review" | "changes_requested" | "approved" | "handed_off" | "publication_failed" | "published" | "archived"Yes
    data.updated_atstring (date-time)Yes
    data.voiceobjectYes
    data.voice.audiencestringYes
    data.voice.avoided_termsarray of stringNo
    data.voice.call_to_actionstring | nullNo
    data.voice.editorial_guidelinesstring | nullNo
    data.voice.languagestringYes
    data.voice.openingstring | nullNo
    data.voice.preferred_termsarray of stringNo
    data.voice.tonestringYes
    data.voice.writing_samplesarray of stringNo
    data.voice_checksobject | nullYes
    data.voice_checks.avoided_terms_presentarray of stringConditional
    data.voice_checks.copy_uses_primary_keywordbooleanConditional
    data.voice_checks.languagestringConditional
    data.voice_checks.preferred_terms_absentarray of stringConditional
    data.voice_checks.title_uses_primary_keywordbooleanConditional
    data.voice_revisionintegerYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    PATCH /v2/brands/{brand_id}/drafts/{draft_id}

    Update a draft or change its status

    Update Draftupdate

    Open this request with Python and TypeScript examples

    • Body transition is omitted.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    optimizations:write, analytics:read
    Roles
    editor, owner, service
    Plans
    Optimizer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idpathstring (uuid)Yes
    draft_idpathstring (uuid)Yes

    Request body

    {
      "body": "Revised instructions.",
      "expected_revision": 1,
      "title": "Update setup instructions"
    }
    Request body fields 1
    NameTypeRequiredDescription
    bodystringYes
    claim_supportarray of objectNo
    claim_support[].claim_textstringConditional
    claim_support[].passage_idstring (uuid)Conditional
    claim_support[].source_excerptstringConditional
    expected_revisionintegerYes
    generation_guidancestring | nullNo
    titlestringYes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X PATCH "$AEO_API_BASE_URL/v2/brands/$BRAND_ID/drafts/$DRAFT_ID" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Successful Response

    application/json

    Example generated from the response schema.

    {
      "data": {
        "draft_id": "00000000-0000-4000-8000-000000000001",
        "item_id": "00000000-0000-4000-8000-000000000001",
        "format": "blog",
        "revision": 0,
        "status": "draft",
        "created_at": "2026-01-01T00:00:00Z",
        "updated_at": "2026-01-01T00:00:00Z",
        "voice": {
          "tone": "example",
          "audience": "example",
          "language": "en"
        },
        "voice_revision": 0,
        "keywords": [],
        "primary_keyword": "example",
        "content": null,
        "content_method": "customer_owned_passage_assembly",
        "content_sha256": null,
        "approved_content_sha256": null,
        "source_passages": [],
        "claim_support": [],
        "source_availability": "current",
        "voice_checks": null,
        "review_note": null,
        "generation_guidance": null,
        "handoff": null,
        "receipt": null,
        "publication_failure": null
      },
      "meta": {}
    }
    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.approved_content_sha256string | nullYesSHA-256 hash of the content approved for delivery.
    data.citation_lift_benchmarkobject | nullNo
    data.citation_lift_benchmark.benchmarkobject | nullConditional
    data.citation_lift_benchmark.benchmark.action_channelstringConditional
    data.citation_lift_benchmark.benchmark.after_answer_target_pairsintegerConditional
    data.citation_lift_benchmark.benchmark.after_citing_target_pairsintegerConditional
    data.citation_lift_benchmark.benchmark.before_answer_target_pairsintegerConditional
    data.citation_lift_benchmark.benchmark.before_citing_target_pairsintegerConditional
    data.citation_lift_benchmark.benchmark.eligible_targetsintegerConditional
    data.citation_lift_benchmark.benchmark.matched_target_cohortsintegerConditional
    data.citation_lift_benchmark.benchmark.mean_after_citation_ratenumberConditional
    data.citation_lift_benchmark.benchmark.mean_before_citation_ratenumberConditional
    data.citation_lift_benchmark.benchmark.mean_citation_rate_change_percentage_pointsnumberConditional
    data.citation_lift_benchmark.benchmark.median_citation_rate_change_percentage_pointsnumberConditional
    data.citation_lift_benchmark.benchmark.method"equal_weighted_targets_and_matched_cohorts"Conditional
    data.citation_lift_benchmark.benchmark.observationaltrueConditional
    data.citation_lift_benchmark.benchmark.report_generated_atstringConditional
    data.citation_lift_benchmark.benchmark.report_idstringConditional
    data.citation_lift_benchmark.benchmark.window_daysintegerConditional
    data.citation_lift_benchmark.reason"insufficient_access" | "no_saved_report" | "insufficient_eligible_targets" | "scan_limit_exceeded" | nullConditional
    data.claim_supportarray of objectYes
    data.claim_support[].claim_textstringYes
    data.claim_support[].passage_idstring (uuid)Yes
    data.claim_support[].source_excerptstringYes
    data.contentobject | nullYes
    data.content.bodystringConditional
    data.content.titlestringConditional
    data.content_method"customer_owned_passage_assembly" | "agency_edited"Yes
    data.content_sha256string | nullYesSHA-256 hash identifying this version of the content.
    data.created_atstring (date-time)Yes
    data.draft_idstring (uuid)YesIdentifies the draft associated with this result.
    data.format"blog" | "social" | "linkedin_article"Yes
    data.generation_guidancestring | nullYes
    data.handoffobject | nullYes
    data.handoff.content_sha256stringConditional
    data.handoff.created_atstring (date-time)Conditional
    data.handoff.delivery_claim_idstring (uuid) | nullNo
    data.handoff.destinationobjectConditional
    data.handoff.destination.destination_referencestringConditional
    data.handoff.destination.platform"cms" | "linkedin" | "reddit" | "youtube" | "other"Conditional
    data.handoff.handoff_idstring (uuid)Conditional
    data.item_idstring (uuid)Yes
    data.keywordsarray of objectYes
    data.keywords[].countrystringYes
    data.keywords[].difficulty_methodstring | nullNo
    data.keywords[].difficulty_scorenumber | nullNo
    data.keywords[].estimated_monthly_searchesinteger | nullNo
    data.keywords[].keywordstringYes
    data.keywords[].languagestringYes
    data.keywords[].measured_onstring (date)Yes
    data.keywords[].sourcestringYes
    data.keywords[].source_referencestringYes
    data.keywords[].volume_period_endstring (date) | nullNo
    data.keywords[].volume_period_startstring (date) | nullNo
    data.primary_keywordstringYes
    data.publication_failurestring | nullYes
    data.receiptobject | nullYes
    data.receipt.evidence_basis"publisher_reported"No
    data.receipt.published_atstring (date-time)Conditional
    data.receipt.published_urlstringConditional
    data.receipt.publisher_referencestringConditional
    data.receipt.reported_atstring (date-time)Conditional
    data.review_notestring | nullYes
    data.revisionintegerYes
    data.source_availability"current" | "missing"Yes
    data.source_passagesarray of objectYes
    data.source_passages[].content_revisionstring (uuid)Yes
    data.source_passages[].headingstringYes
    data.source_passages[].passage_idstring (uuid)Yes
    data.source_passages[].source_urlstringYes
    data.status"draft" | "in_review" | "changes_requested" | "approved" | "handed_off" | "publication_failed" | "published" | "archived"Yes
    data.updated_atstring (date-time)Yes
    data.voiceobjectYes
    data.voice.audiencestringYes
    data.voice.avoided_termsarray of stringNo
    data.voice.call_to_actionstring | nullNo
    data.voice.editorial_guidelinesstring | nullNo
    data.voice.languagestringYes
    data.voice.openingstring | nullNo
    data.voice.preferred_termsarray of stringNo
    data.voice.tonestringYes
    data.voice.writing_samplesarray of stringNo
    data.voice_checksobject | nullYes
    data.voice_checks.avoided_terms_presentarray of stringConditional
    data.voice_checks.copy_uses_primary_keywordbooleanConditional
    data.voice_checks.languagestringConditional
    data.voice_checks.preferred_terms_absentarray of stringConditional
    data.voice_checks.title_uses_primary_keywordbooleanConditional
    data.voice_revisionintegerYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    HTTP 200 response fields 2
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.accuracy_claim_idstring (uuid)Yes
    data.accuracy_source_pagesarray of objectYes
    data.accuracy_source_pages[].ownership"brand" | "competitor" | "third_party"Yes
    data.accuracy_source_pages[].scope"answer" | "claim"Yes
    data.accuracy_source_pages[].urlstringYes
    data.approved_content_sha256string | nullYesSHA-256 hash of the content approved for delivery.
    data.citation_lift_benchmarknullNo
    data.claim_supportarray of objectYes
    data.claim_support[].claim_textstringYes
    data.claim_support[].passage_idstring (uuid)Yes
    data.claim_support[].source_excerptstringYes
    data.contentobject | nullYes
    data.content.bodystringConditional
    data.content.titlestringConditional
    data.content_method"approved_accuracy_fact" | "agency_edited"Yes
    data.content_sha256string | nullYesSHA-256 hash identifying this version of the content.
    data.created_atstring (date-time)Yes
    data.draft_idstring (uuid)YesIdentifies the draft associated with this result.
    data.format"accuracy_fix"Yes
    data.generation_guidancestring | nullYes
    data.handoffobject | nullYes
    data.handoff.content_sha256stringConditional
    data.handoff.created_atstring (date-time)Conditional
    data.handoff.delivery_claim_idstring (uuid) | nullNo
    data.handoff.destinationobjectConditional
    data.handoff.destination.destination_referencestringConditional
    data.handoff.destination.platform"cms" | "linkedin" | "reddit" | "youtube" | "other"Conditional
    data.handoff.handoff_idstring (uuid)Conditional
    data.item_idstring (uuid)Yes
    data.keywordsarray of objectYes
    data.keywords[].countrystringYes
    data.keywords[].difficulty_methodstring | nullNo
    data.keywords[].difficulty_scorenumber | nullNo
    data.keywords[].estimated_monthly_searchesinteger | nullNo
    data.keywords[].keywordstringYes
    data.keywords[].languagestringYes
    data.keywords[].measured_onstring (date)Yes
    data.keywords[].sourcestringYes
    data.keywords[].source_referencestringYes
    data.keywords[].volume_period_endstring (date) | nullNo
    data.keywords[].volume_period_startstring (date) | nullNo
    data.primary_keywordstringYes
    data.publication_failurestring | nullYes
    data.receiptobject | nullYes
    data.receipt.evidence_basis"publisher_reported"No
    data.receipt.published_atstring (date-time)Conditional
    data.receipt.published_urlstringConditional
    data.receipt.publisher_referencestringConditional
    data.receipt.reported_atstring (date-time)Conditional
    data.review_notestring | nullYes
    data.revisionintegerYes
    data.source_availability"current" | "needs_review"Yes
    data.source_passagesarray of objectYes
    data.source_passages[].content_revisionstring (uuid)Yes
    data.source_passages[].headingstringYes
    data.source_passages[].passage_idstring (uuid)Yes
    data.source_passages[].source_urlstringYes
    data.status"draft" | "in_review" | "changes_requested" | "approved" | "handed_off" | "publication_failed" | "published" | "archived"Yes
    data.updated_atstring (date-time)Yes
    data.voiceobjectYes
    data.voice.audiencestringYes
    data.voice.avoided_termsarray of stringNo
    data.voice.call_to_actionstring | nullNo
    data.voice.editorial_guidelinesstring | nullNo
    data.voice.languagestringYes
    data.voice.openingstring | nullNo
    data.voice.preferred_termsarray of stringNo
    data.voice.tonestringYes
    data.voice.writing_samplesarray of stringNo
    data.voice_checksobject | nullYes
    data.voice_checks.avoided_terms_presentarray of stringConditional
    data.voice_checks.copy_uses_primary_keywordbooleanConditional
    data.voice_checks.languagestringConditional
    data.voice_checks.preferred_terms_absentarray of stringConditional
    data.voice_checks.title_uses_primary_keywordbooleanConditional
    data.voice_revisionintegerYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Transition Draftsubmit

    Open this request with Python and TypeScript examples

    • Body transition is submit.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    optimizations:write
    Roles
    approver, editor, owner, publisher, service
    Plans
    Optimizer
    Credits
    No credit charge.
    • Action submit. Scope analytics:read. Roles editor, owner, service.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idpathstring (uuid)Yes
    draft_idpathstring (uuid)Yes

    Request body

    {
      "expected_revision": 1,
      "transition": "submit"
    }
    Request body fields 1
    NameTypeRequiredDescription
    expected_revisionintegerYes
    transition"submit"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X PATCH "$AEO_API_BASE_URL/v2/brands/$BRAND_ID/drafts/$DRAFT_ID" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.approved_content_sha256string | nullYesSHA-256 hash of the content approved for delivery.
    data.citation_lift_benchmarkobject | nullNo
    data.citation_lift_benchmark.benchmarkobject | nullConditional
    data.citation_lift_benchmark.benchmark.action_channelstringConditional
    data.citation_lift_benchmark.benchmark.after_answer_target_pairsintegerConditional
    data.citation_lift_benchmark.benchmark.after_citing_target_pairsintegerConditional
    data.citation_lift_benchmark.benchmark.before_answer_target_pairsintegerConditional
    data.citation_lift_benchmark.benchmark.before_citing_target_pairsintegerConditional
    data.citation_lift_benchmark.benchmark.eligible_targetsintegerConditional
    data.citation_lift_benchmark.benchmark.matched_target_cohortsintegerConditional
    data.citation_lift_benchmark.benchmark.mean_after_citation_ratenumberConditional
    data.citation_lift_benchmark.benchmark.mean_before_citation_ratenumberConditional
    data.citation_lift_benchmark.benchmark.mean_citation_rate_change_percentage_pointsnumberConditional
    data.citation_lift_benchmark.benchmark.median_citation_rate_change_percentage_pointsnumberConditional
    data.citation_lift_benchmark.benchmark.method"equal_weighted_targets_and_matched_cohorts"Conditional
    data.citation_lift_benchmark.benchmark.observationaltrueConditional
    data.citation_lift_benchmark.benchmark.report_generated_atstringConditional
    data.citation_lift_benchmark.benchmark.report_idstringConditional
    data.citation_lift_benchmark.benchmark.window_daysintegerConditional
    data.citation_lift_benchmark.reason"insufficient_access" | "no_saved_report" | "insufficient_eligible_targets" | "scan_limit_exceeded" | nullConditional
    data.claim_supportarray of objectYes
    data.claim_support[].claim_textstringYes
    data.claim_support[].passage_idstring (uuid)Yes
    data.claim_support[].source_excerptstringYes
    data.contentobject | nullYes
    data.content.bodystringConditional
    data.content.titlestringConditional
    data.content_method"customer_owned_passage_assembly" | "agency_edited"Yes
    data.content_sha256string | nullYesSHA-256 hash identifying this version of the content.
    data.created_atstring (date-time)Yes
    data.draft_idstring (uuid)YesIdentifies the draft associated with this result.
    data.format"blog" | "social" | "linkedin_article"Yes
    data.generation_guidancestring | nullYes
    data.handoffobject | nullYes
    data.handoff.content_sha256stringConditional
    data.handoff.created_atstring (date-time)Conditional
    data.handoff.delivery_claim_idstring (uuid) | nullNo
    data.handoff.destinationobjectConditional
    data.handoff.destination.destination_referencestringConditional
    data.handoff.destination.platform"cms" | "linkedin" | "reddit" | "youtube" | "other"Conditional
    data.handoff.handoff_idstring (uuid)Conditional
    data.item_idstring (uuid)Yes
    data.keywordsarray of objectYes
    data.keywords[].countrystringYes
    data.keywords[].difficulty_methodstring | nullNo
    data.keywords[].difficulty_scorenumber | nullNo
    data.keywords[].estimated_monthly_searchesinteger | nullNo
    data.keywords[].keywordstringYes
    data.keywords[].languagestringYes
    data.keywords[].measured_onstring (date)Yes
    data.keywords[].sourcestringYes
    data.keywords[].source_referencestringYes
    data.keywords[].volume_period_endstring (date) | nullNo
    data.keywords[].volume_period_startstring (date) | nullNo
    data.primary_keywordstringYes
    data.publication_failurestring | nullYes
    data.receiptobject | nullYes
    data.receipt.evidence_basis"publisher_reported"No
    data.receipt.published_atstring (date-time)Conditional
    data.receipt.published_urlstringConditional
    data.receipt.publisher_referencestringConditional
    data.receipt.reported_atstring (date-time)Conditional
    data.review_notestring | nullYes
    data.revisionintegerYes
    data.source_availability"current" | "missing"Yes
    data.source_passagesarray of objectYes
    data.source_passages[].content_revisionstring (uuid)Yes
    data.source_passages[].headingstringYes
    data.source_passages[].passage_idstring (uuid)Yes
    data.source_passages[].source_urlstringYes
    data.status"draft" | "in_review" | "changes_requested" | "approved" | "handed_off" | "publication_failed" | "published" | "archived"Yes
    data.updated_atstring (date-time)Yes
    data.voiceobjectYes
    data.voice.audiencestringYes
    data.voice.avoided_termsarray of stringNo
    data.voice.call_to_actionstring | nullNo
    data.voice.editorial_guidelinesstring | nullNo
    data.voice.languagestringYes
    data.voice.openingstring | nullNo
    data.voice.preferred_termsarray of stringNo
    data.voice.tonestringYes
    data.voice.writing_samplesarray of stringNo
    data.voice_checksobject | nullYes
    data.voice_checks.avoided_terms_presentarray of stringConditional
    data.voice_checks.copy_uses_primary_keywordbooleanConditional
    data.voice_checks.languagestringConditional
    data.voice_checks.preferred_terms_absentarray of stringConditional
    data.voice_checks.title_uses_primary_keywordbooleanConditional
    data.voice_revisionintegerYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    HTTP 200 response fields 2
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.created_atstring (date-time)Yes
    data.draft_idstring (uuid)YesIdentifies the draft associated with this result.
    data.format"product_fact_patch"Yes
    data.item_idstring (uuid)Yes
    data.patchobject | nullYes
    data.patch.approved_content_sha256string | nullNo
    data.patch.automatic_policyobject | nullNo
    data.patch.automatic_policy.artifact_typesarray of "llms_txt" | "json_ld" | "canonical_summary"Conditional
    data.patch.automatic_policy.domainsarray of stringConditional
    data.patch.automatic_policy.fact_sourcesarray of stringConditional
    data.patch.automatic_policy.max_changed_bytesintegerConditional
    data.patch.automatic_policy.max_targetsintegerConditional
    data.patch.automatic_policy.pathsarray of stringConditional
    data.patch.automatic_policy.versionstringConditional
    data.patch.content_sha256stringConditional
    data.patch.pause_reason"destination_drift" | "destination_unresolved" | nullNo
    data.patch.policy_approved_bystring (uuid) | nullNo
    data.patch.policy_versionstringConditional
    data.patch.source_content_revisionstring (uuid)Conditional
    data.patch.source_factobjectConditional
    data.patch.source_fact.amountstringConditional
    data.patch.source_fact.currencystringConditional
    data.patch.source_fact.depends_onarray of string (uuid)No
    data.patch.source_fact.effective_fromstring (date)Conditional
    data.patch.source_fact.event_idstring (uuid)Conditional
    data.patch.source_fact.marketstringConditional
    data.patch.source_fact.period"month" | "year" | "one_time"Conditional
    data.patch.source_fact.productstringConditional
    data.patch.source_fact.resolves_conflictbooleanNo
    data.patch.source_fact.sequenceintegerConditional
    data.patch.source_fact.sourcestringConditional
    data.patch.source_factsarray of objectConditional
    data.patch.source_facts[].amountstringConditional
    data.patch.source_facts[].currencystringConditional
    data.patch.source_facts[].depends_onarray of string (uuid)No
    data.patch.source_facts[].effective_fromstring (date)Conditional
    data.patch.source_facts[].event_idstring (uuid)Conditional
    data.patch.source_facts[].marketstringConditional
    data.patch.source_facts[].period"month" | "year" | "one_time"Conditional
    data.patch.source_facts[].productstringConditional
    data.patch.source_facts[].resolves_conflictbooleanNo
    data.patch.source_facts[].sequenceintegerConditional
    data.patch.source_facts[].sourcestringConditional
    data.patch.source_urlstringConditional
    data.patch.targetsarray of objectConditional
    data.patch.targets[].baseline_revisionstringConditional
    data.patch.targets[].connector"cms" | "edge"Conditional
    data.patch.targets[].contentstringConditional
    data.patch.targets[].content_sha256stringConditional
    data.patch.targets[].diffstringConditional
    data.patch.targets[].domainstringConditional
    data.patch.targets[].kind"llms_txt" | "json_ld" | "canonical_summary"Conditional
    data.patch.targets[].pathstringConditional
    data.patch.targets[].previous_sha256stringConditional
    data.patch.targets[].publish_claimobject | nullNo
    data.patch.targets[].publish_claim.expected_revisionstringConditional
    data.patch.targets[].publish_claim.expected_sha256stringConditional
    data.patch.targets[].publish_claim.idstring (uuid)Conditional
    data.patch.targets[].publish_receiptobject | nullNo
    data.patch.targets[].publish_receipt.claim_idstring (uuid)Conditional
    data.patch.targets[].publish_receipt.content_sha256stringConditional
    data.patch.targets[].publish_receipt.revisionstringConditional
    data.patch.targets[].rollback_claimobject | nullNo
    data.patch.targets[].rollback_claim.expected_revisionstringConditional
    data.patch.targets[].rollback_claim.expected_sha256stringConditional
    data.patch.targets[].rollback_claim.idstring (uuid)Conditional
    data.patch.targets[].rollback_contentstringConditional
    data.patch.targets[].rollback_receiptobject | nullNo
    data.patch.targets[].rollback_receipt.claim_idstring (uuid)Conditional
    data.patch.targets[].rollback_receipt.content_sha256stringConditional
    data.patch.targets[].rollback_receipt.revisionstringConditional
    data.patch.targets[].target_idstring (uuid)Conditional
    data.revisionintegerYes
    data.source_availability"current" | "missing"Yes
    data.status"draft" | "in_review" | "changes_requested" | "approved" | "handed_off" | "publication_failed" | "published" | "archived" | "rolled_back"Yes
    data.updated_atstring (date-time)Yes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.
    HTTP 200 response fields 3
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.accuracy_claim_idstring (uuid)Yes
    data.accuracy_source_pagesarray of objectYes
    data.accuracy_source_pages[].ownership"brand" | "competitor" | "third_party"Yes
    data.accuracy_source_pages[].scope"answer" | "claim"Yes
    data.accuracy_source_pages[].urlstringYes
    data.approved_content_sha256string | nullYesSHA-256 hash of the content approved for delivery.
    data.citation_lift_benchmarknullNo
    data.claim_supportarray of objectYes
    data.claim_support[].claim_textstringYes
    data.claim_support[].passage_idstring (uuid)Yes
    data.claim_support[].source_excerptstringYes
    data.contentobject | nullYes
    data.content.bodystringConditional
    data.content.titlestringConditional
    data.content_method"approved_accuracy_fact" | "agency_edited"Yes
    data.content_sha256string | nullYesSHA-256 hash identifying this version of the content.
    data.created_atstring (date-time)Yes
    data.draft_idstring (uuid)YesIdentifies the draft associated with this result.
    data.format"accuracy_fix"Yes
    data.generation_guidancestring | nullYes
    data.handoffobject | nullYes
    data.handoff.content_sha256stringConditional
    data.handoff.created_atstring (date-time)Conditional
    data.handoff.delivery_claim_idstring (uuid) | nullNo
    data.handoff.destinationobjectConditional
    data.handoff.destination.destination_referencestringConditional
    data.handoff.destination.platform"cms" | "linkedin" | "reddit" | "youtube" | "other"Conditional
    data.handoff.handoff_idstring (uuid)Conditional
    data.item_idstring (uuid)Yes
    data.keywordsarray of objectYes
    data.keywords[].countrystringYes
    data.keywords[].difficulty_methodstring | nullNo
    data.keywords[].difficulty_scorenumber | nullNo
    data.keywords[].estimated_monthly_searchesinteger | nullNo
    data.keywords[].keywordstringYes
    data.keywords[].languagestringYes
    data.keywords[].measured_onstring (date)Yes
    data.keywords[].sourcestringYes
    data.keywords[].source_referencestringYes
    data.keywords[].volume_period_endstring (date) | nullNo
    data.keywords[].volume_period_startstring (date) | nullNo
    data.primary_keywordstringYes
    data.publication_failurestring | nullYes
    data.receiptobject | nullYes
    data.receipt.evidence_basis"publisher_reported"No
    data.receipt.published_atstring (date-time)Conditional
    data.receipt.published_urlstringConditional
    data.receipt.publisher_referencestringConditional
    data.receipt.reported_atstring (date-time)Conditional
    data.review_notestring | nullYes
    data.revisionintegerYes
    data.source_availability"current" | "needs_review"Yes
    data.source_passagesarray of objectYes
    data.source_passages[].content_revisionstring (uuid)Yes
    data.source_passages[].headingstringYes
    data.source_passages[].passage_idstring (uuid)Yes
    data.source_passages[].source_urlstringYes
    data.status"draft" | "in_review" | "changes_requested" | "approved" | "handed_off" | "publication_failed" | "published" | "archived"Yes
    data.updated_atstring (date-time)Yes
    data.voiceobjectYes
    data.voice.audiencestringYes
    data.voice.avoided_termsarray of stringNo
    data.voice.call_to_actionstring | nullNo
    data.voice.editorial_guidelinesstring | nullNo
    data.voice.languagestringYes
    data.voice.openingstring | nullNo
    data.voice.preferred_termsarray of stringNo
    data.voice.tonestringYes
    data.voice.writing_samplesarray of stringNo
    data.voice_checksobject | nullYes
    data.voice_checks.avoided_terms_presentarray of stringConditional
    data.voice_checks.copy_uses_primary_keywordbooleanConditional
    data.voice_checks.languagestringConditional
    data.voice_checks.preferred_terms_absentarray of stringConditional
    data.voice_checks.title_uses_primary_keywordbooleanConditional
    data.voice_revisionintegerYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Transition Draftrequest_changes

    Open this request with Python and TypeScript examples

    • Body transition is request_changes.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    optimizations:write
    Roles
    approver, editor, owner, publisher, service
    Plans
    Optimizer
    Credits
    No credit charge.
    • Action request_changes. Roles approver, owner.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idpathstring (uuid)Yes
    draft_idpathstring (uuid)Yes

    Request body

    {
      "expected_revision": 1,
      "note": "Please check the current monthly price.",
      "transition": "request_changes"
    }
    Request body fields 1
    NameTypeRequiredDescription
    expected_revisionintegerYes
    notestringYes
    transition"request_changes"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X PATCH "$AEO_API_BASE_URL/v2/brands/$BRAND_ID/drafts/$DRAFT_ID" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.approved_content_sha256string | nullYesSHA-256 hash of the content approved for delivery.
    data.citation_lift_benchmarkobject | nullNo
    data.citation_lift_benchmark.benchmarkobject | nullConditional
    data.citation_lift_benchmark.benchmark.action_channelstringConditional
    data.citation_lift_benchmark.benchmark.after_answer_target_pairsintegerConditional
    data.citation_lift_benchmark.benchmark.after_citing_target_pairsintegerConditional
    data.citation_lift_benchmark.benchmark.before_answer_target_pairsintegerConditional
    data.citation_lift_benchmark.benchmark.before_citing_target_pairsintegerConditional
    data.citation_lift_benchmark.benchmark.eligible_targetsintegerConditional
    data.citation_lift_benchmark.benchmark.matched_target_cohortsintegerConditional
    data.citation_lift_benchmark.benchmark.mean_after_citation_ratenumberConditional
    data.citation_lift_benchmark.benchmark.mean_before_citation_ratenumberConditional
    data.citation_lift_benchmark.benchmark.mean_citation_rate_change_percentage_pointsnumberConditional
    data.citation_lift_benchmark.benchmark.median_citation_rate_change_percentage_pointsnumberConditional
    data.citation_lift_benchmark.benchmark.method"equal_weighted_targets_and_matched_cohorts"Conditional
    data.citation_lift_benchmark.benchmark.observationaltrueConditional
    data.citation_lift_benchmark.benchmark.report_generated_atstringConditional
    data.citation_lift_benchmark.benchmark.report_idstringConditional
    data.citation_lift_benchmark.benchmark.window_daysintegerConditional
    data.citation_lift_benchmark.reason"insufficient_access" | "no_saved_report" | "insufficient_eligible_targets" | "scan_limit_exceeded" | nullConditional
    data.claim_supportarray of objectYes
    data.claim_support[].claim_textstringYes
    data.claim_support[].passage_idstring (uuid)Yes
    data.claim_support[].source_excerptstringYes
    data.contentobject | nullYes
    data.content.bodystringConditional
    data.content.titlestringConditional
    data.content_method"customer_owned_passage_assembly" | "agency_edited"Yes
    data.content_sha256string | nullYesSHA-256 hash identifying this version of the content.
    data.created_atstring (date-time)Yes
    data.draft_idstring (uuid)YesIdentifies the draft associated with this result.
    data.format"blog" | "social" | "linkedin_article"Yes
    data.generation_guidancestring | nullYes
    data.handoffobject | nullYes
    data.handoff.content_sha256stringConditional
    data.handoff.created_atstring (date-time)Conditional
    data.handoff.delivery_claim_idstring (uuid) | nullNo
    data.handoff.destinationobjectConditional
    data.handoff.destination.destination_referencestringConditional
    data.handoff.destination.platform"cms" | "linkedin" | "reddit" | "youtube" | "other"Conditional
    data.handoff.handoff_idstring (uuid)Conditional
    data.item_idstring (uuid)Yes
    data.keywordsarray of objectYes
    data.keywords[].countrystringYes
    data.keywords[].difficulty_methodstring | nullNo
    data.keywords[].difficulty_scorenumber | nullNo
    data.keywords[].estimated_monthly_searchesinteger | nullNo
    data.keywords[].keywordstringYes
    data.keywords[].languagestringYes
    data.keywords[].measured_onstring (date)Yes
    data.keywords[].sourcestringYes
    data.keywords[].source_referencestringYes
    data.keywords[].volume_period_endstring (date) | nullNo
    data.keywords[].volume_period_startstring (date) | nullNo
    data.primary_keywordstringYes
    data.publication_failurestring | nullYes
    data.receiptobject | nullYes
    data.receipt.evidence_basis"publisher_reported"No
    data.receipt.published_atstring (date-time)Conditional
    data.receipt.published_urlstringConditional
    data.receipt.publisher_referencestringConditional
    data.receipt.reported_atstring (date-time)Conditional
    data.review_notestring | nullYes
    data.revisionintegerYes
    data.source_availability"current" | "missing"Yes
    data.source_passagesarray of objectYes
    data.source_passages[].content_revisionstring (uuid)Yes
    data.source_passages[].headingstringYes
    data.source_passages[].passage_idstring (uuid)Yes
    data.source_passages[].source_urlstringYes
    data.status"draft" | "in_review" | "changes_requested" | "approved" | "handed_off" | "publication_failed" | "published" | "archived"Yes
    data.updated_atstring (date-time)Yes
    data.voiceobjectYes
    data.voice.audiencestringYes
    data.voice.avoided_termsarray of stringNo
    data.voice.call_to_actionstring | nullNo
    data.voice.editorial_guidelinesstring | nullNo
    data.voice.languagestringYes
    data.voice.openingstring | nullNo
    data.voice.preferred_termsarray of stringNo
    data.voice.tonestringYes
    data.voice.writing_samplesarray of stringNo
    data.voice_checksobject | nullYes
    data.voice_checks.avoided_terms_presentarray of stringConditional
    data.voice_checks.copy_uses_primary_keywordbooleanConditional
    data.voice_checks.languagestringConditional
    data.voice_checks.preferred_terms_absentarray of stringConditional
    data.voice_checks.title_uses_primary_keywordbooleanConditional
    data.voice_revisionintegerYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    HTTP 200 response fields 2
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.created_atstring (date-time)Yes
    data.draft_idstring (uuid)YesIdentifies the draft associated with this result.
    data.format"product_fact_patch"Yes
    data.item_idstring (uuid)Yes
    data.patchobject | nullYes
    data.patch.approved_content_sha256string | nullNo
    data.patch.automatic_policyobject | nullNo
    data.patch.automatic_policy.artifact_typesarray of "llms_txt" | "json_ld" | "canonical_summary"Conditional
    data.patch.automatic_policy.domainsarray of stringConditional
    data.patch.automatic_policy.fact_sourcesarray of stringConditional
    data.patch.automatic_policy.max_changed_bytesintegerConditional
    data.patch.automatic_policy.max_targetsintegerConditional
    data.patch.automatic_policy.pathsarray of stringConditional
    data.patch.automatic_policy.versionstringConditional
    data.patch.content_sha256stringConditional
    data.patch.pause_reason"destination_drift" | "destination_unresolved" | nullNo
    data.patch.policy_approved_bystring (uuid) | nullNo
    data.patch.policy_versionstringConditional
    data.patch.source_content_revisionstring (uuid)Conditional
    data.patch.source_factobjectConditional
    data.patch.source_fact.amountstringConditional
    data.patch.source_fact.currencystringConditional
    data.patch.source_fact.depends_onarray of string (uuid)No
    data.patch.source_fact.effective_fromstring (date)Conditional
    data.patch.source_fact.event_idstring (uuid)Conditional
    data.patch.source_fact.marketstringConditional
    data.patch.source_fact.period"month" | "year" | "one_time"Conditional
    data.patch.source_fact.productstringConditional
    data.patch.source_fact.resolves_conflictbooleanNo
    data.patch.source_fact.sequenceintegerConditional
    data.patch.source_fact.sourcestringConditional
    data.patch.source_factsarray of objectConditional
    data.patch.source_facts[].amountstringConditional
    data.patch.source_facts[].currencystringConditional
    data.patch.source_facts[].depends_onarray of string (uuid)No
    data.patch.source_facts[].effective_fromstring (date)Conditional
    data.patch.source_facts[].event_idstring (uuid)Conditional
    data.patch.source_facts[].marketstringConditional
    data.patch.source_facts[].period"month" | "year" | "one_time"Conditional
    data.patch.source_facts[].productstringConditional
    data.patch.source_facts[].resolves_conflictbooleanNo
    data.patch.source_facts[].sequenceintegerConditional
    data.patch.source_facts[].sourcestringConditional
    data.patch.source_urlstringConditional
    data.patch.targetsarray of objectConditional
    data.patch.targets[].baseline_revisionstringConditional
    data.patch.targets[].connector"cms" | "edge"Conditional
    data.patch.targets[].contentstringConditional
    data.patch.targets[].content_sha256stringConditional
    data.patch.targets[].diffstringConditional
    data.patch.targets[].domainstringConditional
    data.patch.targets[].kind"llms_txt" | "json_ld" | "canonical_summary"Conditional
    data.patch.targets[].pathstringConditional
    data.patch.targets[].previous_sha256stringConditional
    data.patch.targets[].publish_claimobject | nullNo
    data.patch.targets[].publish_claim.expected_revisionstringConditional
    data.patch.targets[].publish_claim.expected_sha256stringConditional
    data.patch.targets[].publish_claim.idstring (uuid)Conditional
    data.patch.targets[].publish_receiptobject | nullNo
    data.patch.targets[].publish_receipt.claim_idstring (uuid)Conditional
    data.patch.targets[].publish_receipt.content_sha256stringConditional
    data.patch.targets[].publish_receipt.revisionstringConditional
    data.patch.targets[].rollback_claimobject | nullNo
    data.patch.targets[].rollback_claim.expected_revisionstringConditional
    data.patch.targets[].rollback_claim.expected_sha256stringConditional
    data.patch.targets[].rollback_claim.idstring (uuid)Conditional
    data.patch.targets[].rollback_contentstringConditional
    data.patch.targets[].rollback_receiptobject | nullNo
    data.patch.targets[].rollback_receipt.claim_idstring (uuid)Conditional
    data.patch.targets[].rollback_receipt.content_sha256stringConditional
    data.patch.targets[].rollback_receipt.revisionstringConditional
    data.patch.targets[].target_idstring (uuid)Conditional
    data.revisionintegerYes
    data.source_availability"current" | "missing"Yes
    data.status"draft" | "in_review" | "changes_requested" | "approved" | "handed_off" | "publication_failed" | "published" | "archived" | "rolled_back"Yes
    data.updated_atstring (date-time)Yes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.
    HTTP 200 response fields 3
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.accuracy_claim_idstring (uuid)Yes
    data.accuracy_source_pagesarray of objectYes
    data.accuracy_source_pages[].ownership"brand" | "competitor" | "third_party"Yes
    data.accuracy_source_pages[].scope"answer" | "claim"Yes
    data.accuracy_source_pages[].urlstringYes
    data.approved_content_sha256string | nullYesSHA-256 hash of the content approved for delivery.
    data.citation_lift_benchmarknullNo
    data.claim_supportarray of objectYes
    data.claim_support[].claim_textstringYes
    data.claim_support[].passage_idstring (uuid)Yes
    data.claim_support[].source_excerptstringYes
    data.contentobject | nullYes
    data.content.bodystringConditional
    data.content.titlestringConditional
    data.content_method"approved_accuracy_fact" | "agency_edited"Yes
    data.content_sha256string | nullYesSHA-256 hash identifying this version of the content.
    data.created_atstring (date-time)Yes
    data.draft_idstring (uuid)YesIdentifies the draft associated with this result.
    data.format"accuracy_fix"Yes
    data.generation_guidancestring | nullYes
    data.handoffobject | nullYes
    data.handoff.content_sha256stringConditional
    data.handoff.created_atstring (date-time)Conditional
    data.handoff.delivery_claim_idstring (uuid) | nullNo
    data.handoff.destinationobjectConditional
    data.handoff.destination.destination_referencestringConditional
    data.handoff.destination.platform"cms" | "linkedin" | "reddit" | "youtube" | "other"Conditional
    data.handoff.handoff_idstring (uuid)Conditional
    data.item_idstring (uuid)Yes
    data.keywordsarray of objectYes
    data.keywords[].countrystringYes
    data.keywords[].difficulty_methodstring | nullNo
    data.keywords[].difficulty_scorenumber | nullNo
    data.keywords[].estimated_monthly_searchesinteger | nullNo
    data.keywords[].keywordstringYes
    data.keywords[].languagestringYes
    data.keywords[].measured_onstring (date)Yes
    data.keywords[].sourcestringYes
    data.keywords[].source_referencestringYes
    data.keywords[].volume_period_endstring (date) | nullNo
    data.keywords[].volume_period_startstring (date) | nullNo
    data.primary_keywordstringYes
    data.publication_failurestring | nullYes
    data.receiptobject | nullYes
    data.receipt.evidence_basis"publisher_reported"No
    data.receipt.published_atstring (date-time)Conditional
    data.receipt.published_urlstringConditional
    data.receipt.publisher_referencestringConditional
    data.receipt.reported_atstring (date-time)Conditional
    data.review_notestring | nullYes
    data.revisionintegerYes
    data.source_availability"current" | "needs_review"Yes
    data.source_passagesarray of objectYes
    data.source_passages[].content_revisionstring (uuid)Yes
    data.source_passages[].headingstringYes
    data.source_passages[].passage_idstring (uuid)Yes
    data.source_passages[].source_urlstringYes
    data.status"draft" | "in_review" | "changes_requested" | "approved" | "handed_off" | "publication_failed" | "published" | "archived"Yes
    data.updated_atstring (date-time)Yes
    data.voiceobjectYes
    data.voice.audiencestringYes
    data.voice.avoided_termsarray of stringNo
    data.voice.call_to_actionstring | nullNo
    data.voice.editorial_guidelinesstring | nullNo
    data.voice.languagestringYes
    data.voice.openingstring | nullNo
    data.voice.preferred_termsarray of stringNo
    data.voice.tonestringYes
    data.voice.writing_samplesarray of stringNo
    data.voice_checksobject | nullYes
    data.voice_checks.avoided_terms_presentarray of stringConditional
    data.voice_checks.copy_uses_primary_keywordbooleanConditional
    data.voice_checks.languagestringConditional
    data.voice_checks.preferred_terms_absentarray of stringConditional
    data.voice_checks.title_uses_primary_keywordbooleanConditional
    data.voice_revisionintegerYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Transition Draftapprove

    Open this request with Python and TypeScript examples

    • Body transition is approve.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    optimizations:write
    Roles
    approver, editor, owner, publisher, service
    Plans
    Optimizer
    Credits
    No credit charge.
    • Action approve. Scope analytics:read. Roles approver, owner.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idpathstring (uuid)Yes
    draft_idpathstring (uuid)Yes

    Request body

    {
      "content_sha256": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "expected_revision": 1,
      "transition": "approve"
    }
    Request body fields 1
    NameTypeRequiredDescription
    content_sha256stringYes
    expected_revisionintegerYes
    transition"approve"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X PATCH "$AEO_API_BASE_URL/v2/brands/$BRAND_ID/drafts/$DRAFT_ID" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.approved_content_sha256string | nullYesSHA-256 hash of the content approved for delivery.
    data.citation_lift_benchmarkobject | nullNo
    data.citation_lift_benchmark.benchmarkobject | nullConditional
    data.citation_lift_benchmark.benchmark.action_channelstringConditional
    data.citation_lift_benchmark.benchmark.after_answer_target_pairsintegerConditional
    data.citation_lift_benchmark.benchmark.after_citing_target_pairsintegerConditional
    data.citation_lift_benchmark.benchmark.before_answer_target_pairsintegerConditional
    data.citation_lift_benchmark.benchmark.before_citing_target_pairsintegerConditional
    data.citation_lift_benchmark.benchmark.eligible_targetsintegerConditional
    data.citation_lift_benchmark.benchmark.matched_target_cohortsintegerConditional
    data.citation_lift_benchmark.benchmark.mean_after_citation_ratenumberConditional
    data.citation_lift_benchmark.benchmark.mean_before_citation_ratenumberConditional
    data.citation_lift_benchmark.benchmark.mean_citation_rate_change_percentage_pointsnumberConditional
    data.citation_lift_benchmark.benchmark.median_citation_rate_change_percentage_pointsnumberConditional
    data.citation_lift_benchmark.benchmark.method"equal_weighted_targets_and_matched_cohorts"Conditional
    data.citation_lift_benchmark.benchmark.observationaltrueConditional
    data.citation_lift_benchmark.benchmark.report_generated_atstringConditional
    data.citation_lift_benchmark.benchmark.report_idstringConditional
    data.citation_lift_benchmark.benchmark.window_daysintegerConditional
    data.citation_lift_benchmark.reason"insufficient_access" | "no_saved_report" | "insufficient_eligible_targets" | "scan_limit_exceeded" | nullConditional
    data.claim_supportarray of objectYes
    data.claim_support[].claim_textstringYes
    data.claim_support[].passage_idstring (uuid)Yes
    data.claim_support[].source_excerptstringYes
    data.contentobject | nullYes
    data.content.bodystringConditional
    data.content.titlestringConditional
    data.content_method"customer_owned_passage_assembly" | "agency_edited"Yes
    data.content_sha256string | nullYesSHA-256 hash identifying this version of the content.
    data.created_atstring (date-time)Yes
    data.draft_idstring (uuid)YesIdentifies the draft associated with this result.
    data.format"blog" | "social" | "linkedin_article"Yes
    data.generation_guidancestring | nullYes
    data.handoffobject | nullYes
    data.handoff.content_sha256stringConditional
    data.handoff.created_atstring (date-time)Conditional
    data.handoff.delivery_claim_idstring (uuid) | nullNo
    data.handoff.destinationobjectConditional
    data.handoff.destination.destination_referencestringConditional
    data.handoff.destination.platform"cms" | "linkedin" | "reddit" | "youtube" | "other"Conditional
    data.handoff.handoff_idstring (uuid)Conditional
    data.item_idstring (uuid)Yes
    data.keywordsarray of objectYes
    data.keywords[].countrystringYes
    data.keywords[].difficulty_methodstring | nullNo
    data.keywords[].difficulty_scorenumber | nullNo
    data.keywords[].estimated_monthly_searchesinteger | nullNo
    data.keywords[].keywordstringYes
    data.keywords[].languagestringYes
    data.keywords[].measured_onstring (date)Yes
    data.keywords[].sourcestringYes
    data.keywords[].source_referencestringYes
    data.keywords[].volume_period_endstring (date) | nullNo
    data.keywords[].volume_period_startstring (date) | nullNo
    data.primary_keywordstringYes
    data.publication_failurestring | nullYes
    data.receiptobject | nullYes
    data.receipt.evidence_basis"publisher_reported"No
    data.receipt.published_atstring (date-time)Conditional
    data.receipt.published_urlstringConditional
    data.receipt.publisher_referencestringConditional
    data.receipt.reported_atstring (date-time)Conditional
    data.review_notestring | nullYes
    data.revisionintegerYes
    data.source_availability"current" | "missing"Yes
    data.source_passagesarray of objectYes
    data.source_passages[].content_revisionstring (uuid)Yes
    data.source_passages[].headingstringYes
    data.source_passages[].passage_idstring (uuid)Yes
    data.source_passages[].source_urlstringYes
    data.status"draft" | "in_review" | "changes_requested" | "approved" | "handed_off" | "publication_failed" | "published" | "archived"Yes
    data.updated_atstring (date-time)Yes
    data.voiceobjectYes
    data.voice.audiencestringYes
    data.voice.avoided_termsarray of stringNo
    data.voice.call_to_actionstring | nullNo
    data.voice.editorial_guidelinesstring | nullNo
    data.voice.languagestringYes
    data.voice.openingstring | nullNo
    data.voice.preferred_termsarray of stringNo
    data.voice.tonestringYes
    data.voice.writing_samplesarray of stringNo
    data.voice_checksobject | nullYes
    data.voice_checks.avoided_terms_presentarray of stringConditional
    data.voice_checks.copy_uses_primary_keywordbooleanConditional
    data.voice_checks.languagestringConditional
    data.voice_checks.preferred_terms_absentarray of stringConditional
    data.voice_checks.title_uses_primary_keywordbooleanConditional
    data.voice_revisionintegerYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    HTTP 200 response fields 2
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.created_atstring (date-time)Yes
    data.draft_idstring (uuid)YesIdentifies the draft associated with this result.
    data.format"product_fact_patch"Yes
    data.item_idstring (uuid)Yes
    data.patchobject | nullYes
    data.patch.approved_content_sha256string | nullNo
    data.patch.automatic_policyobject | nullNo
    data.patch.automatic_policy.artifact_typesarray of "llms_txt" | "json_ld" | "canonical_summary"Conditional
    data.patch.automatic_policy.domainsarray of stringConditional
    data.patch.automatic_policy.fact_sourcesarray of stringConditional
    data.patch.automatic_policy.max_changed_bytesintegerConditional
    data.patch.automatic_policy.max_targetsintegerConditional
    data.patch.automatic_policy.pathsarray of stringConditional
    data.patch.automatic_policy.versionstringConditional
    data.patch.content_sha256stringConditional
    data.patch.pause_reason"destination_drift" | "destination_unresolved" | nullNo
    data.patch.policy_approved_bystring (uuid) | nullNo
    data.patch.policy_versionstringConditional
    data.patch.source_content_revisionstring (uuid)Conditional
    data.patch.source_factobjectConditional
    data.patch.source_fact.amountstringConditional
    data.patch.source_fact.currencystringConditional
    data.patch.source_fact.depends_onarray of string (uuid)No
    data.patch.source_fact.effective_fromstring (date)Conditional
    data.patch.source_fact.event_idstring (uuid)Conditional
    data.patch.source_fact.marketstringConditional
    data.patch.source_fact.period"month" | "year" | "one_time"Conditional
    data.patch.source_fact.productstringConditional
    data.patch.source_fact.resolves_conflictbooleanNo
    data.patch.source_fact.sequenceintegerConditional
    data.patch.source_fact.sourcestringConditional
    data.patch.source_factsarray of objectConditional
    data.patch.source_facts[].amountstringConditional
    data.patch.source_facts[].currencystringConditional
    data.patch.source_facts[].depends_onarray of string (uuid)No
    data.patch.source_facts[].effective_fromstring (date)Conditional
    data.patch.source_facts[].event_idstring (uuid)Conditional
    data.patch.source_facts[].marketstringConditional
    data.patch.source_facts[].period"month" | "year" | "one_time"Conditional
    data.patch.source_facts[].productstringConditional
    data.patch.source_facts[].resolves_conflictbooleanNo
    data.patch.source_facts[].sequenceintegerConditional
    data.patch.source_facts[].sourcestringConditional
    data.patch.source_urlstringConditional
    data.patch.targetsarray of objectConditional
    data.patch.targets[].baseline_revisionstringConditional
    data.patch.targets[].connector"cms" | "edge"Conditional
    data.patch.targets[].contentstringConditional
    data.patch.targets[].content_sha256stringConditional
    data.patch.targets[].diffstringConditional
    data.patch.targets[].domainstringConditional
    data.patch.targets[].kind"llms_txt" | "json_ld" | "canonical_summary"Conditional
    data.patch.targets[].pathstringConditional
    data.patch.targets[].previous_sha256stringConditional
    data.patch.targets[].publish_claimobject | nullNo
    data.patch.targets[].publish_claim.expected_revisionstringConditional
    data.patch.targets[].publish_claim.expected_sha256stringConditional
    data.patch.targets[].publish_claim.idstring (uuid)Conditional
    data.patch.targets[].publish_receiptobject | nullNo
    data.patch.targets[].publish_receipt.claim_idstring (uuid)Conditional
    data.patch.targets[].publish_receipt.content_sha256stringConditional
    data.patch.targets[].publish_receipt.revisionstringConditional
    data.patch.targets[].rollback_claimobject | nullNo
    data.patch.targets[].rollback_claim.expected_revisionstringConditional
    data.patch.targets[].rollback_claim.expected_sha256stringConditional
    data.patch.targets[].rollback_claim.idstring (uuid)Conditional
    data.patch.targets[].rollback_contentstringConditional
    data.patch.targets[].rollback_receiptobject | nullNo
    data.patch.targets[].rollback_receipt.claim_idstring (uuid)Conditional
    data.patch.targets[].rollback_receipt.content_sha256stringConditional
    data.patch.targets[].rollback_receipt.revisionstringConditional
    data.patch.targets[].target_idstring (uuid)Conditional
    data.revisionintegerYes
    data.source_availability"current" | "missing"Yes
    data.status"draft" | "in_review" | "changes_requested" | "approved" | "handed_off" | "publication_failed" | "published" | "archived" | "rolled_back"Yes
    data.updated_atstring (date-time)Yes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.
    HTTP 200 response fields 3
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.accuracy_claim_idstring (uuid)Yes
    data.accuracy_source_pagesarray of objectYes
    data.accuracy_source_pages[].ownership"brand" | "competitor" | "third_party"Yes
    data.accuracy_source_pages[].scope"answer" | "claim"Yes
    data.accuracy_source_pages[].urlstringYes
    data.approved_content_sha256string | nullYesSHA-256 hash of the content approved for delivery.
    data.citation_lift_benchmarknullNo
    data.claim_supportarray of objectYes
    data.claim_support[].claim_textstringYes
    data.claim_support[].passage_idstring (uuid)Yes
    data.claim_support[].source_excerptstringYes
    data.contentobject | nullYes
    data.content.bodystringConditional
    data.content.titlestringConditional
    data.content_method"approved_accuracy_fact" | "agency_edited"Yes
    data.content_sha256string | nullYesSHA-256 hash identifying this version of the content.
    data.created_atstring (date-time)Yes
    data.draft_idstring (uuid)YesIdentifies the draft associated with this result.
    data.format"accuracy_fix"Yes
    data.generation_guidancestring | nullYes
    data.handoffobject | nullYes
    data.handoff.content_sha256stringConditional
    data.handoff.created_atstring (date-time)Conditional
    data.handoff.delivery_claim_idstring (uuid) | nullNo
    data.handoff.destinationobjectConditional
    data.handoff.destination.destination_referencestringConditional
    data.handoff.destination.platform"cms" | "linkedin" | "reddit" | "youtube" | "other"Conditional
    data.handoff.handoff_idstring (uuid)Conditional
    data.item_idstring (uuid)Yes
    data.keywordsarray of objectYes
    data.keywords[].countrystringYes
    data.keywords[].difficulty_methodstring | nullNo
    data.keywords[].difficulty_scorenumber | nullNo
    data.keywords[].estimated_monthly_searchesinteger | nullNo
    data.keywords[].keywordstringYes
    data.keywords[].languagestringYes
    data.keywords[].measured_onstring (date)Yes
    data.keywords[].sourcestringYes
    data.keywords[].source_referencestringYes
    data.keywords[].volume_period_endstring (date) | nullNo
    data.keywords[].volume_period_startstring (date) | nullNo
    data.primary_keywordstringYes
    data.publication_failurestring | nullYes
    data.receiptobject | nullYes
    data.receipt.evidence_basis"publisher_reported"No
    data.receipt.published_atstring (date-time)Conditional
    data.receipt.published_urlstringConditional
    data.receipt.publisher_referencestringConditional
    data.receipt.reported_atstring (date-time)Conditional
    data.review_notestring | nullYes
    data.revisionintegerYes
    data.source_availability"current" | "needs_review"Yes
    data.source_passagesarray of objectYes
    data.source_passages[].content_revisionstring (uuid)Yes
    data.source_passages[].headingstringYes
    data.source_passages[].passage_idstring (uuid)Yes
    data.source_passages[].source_urlstringYes
    data.status"draft" | "in_review" | "changes_requested" | "approved" | "handed_off" | "publication_failed" | "published" | "archived"Yes
    data.updated_atstring (date-time)Yes
    data.voiceobjectYes
    data.voice.audiencestringYes
    data.voice.avoided_termsarray of stringNo
    data.voice.call_to_actionstring | nullNo
    data.voice.editorial_guidelinesstring | nullNo
    data.voice.languagestringYes
    data.voice.openingstring | nullNo
    data.voice.preferred_termsarray of stringNo
    data.voice.tonestringYes
    data.voice.writing_samplesarray of stringNo
    data.voice_checksobject | nullYes
    data.voice_checks.avoided_terms_presentarray of stringConditional
    data.voice_checks.copy_uses_primary_keywordbooleanConditional
    data.voice_checks.languagestringConditional
    data.voice_checks.preferred_terms_absentarray of stringConditional
    data.voice_checks.title_uses_primary_keywordbooleanConditional
    data.voice_revisionintegerYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Transition Drafthand_off

    Open this request with Python and TypeScript examples

    • Body transition is hand_off.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    optimizations:write
    Roles
    approver, editor, owner, publisher, service
    Plans
    Optimizer
    Credits
    No credit charge.
    • Action hand_off. Scope analytics:read. Roles publisher, owner.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idpathstring (uuid)Yes
    draft_idpathstring (uuid)Yes

    Request body

    {
      "content_sha256": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "destination": {
        "platform": "cms",
        "destination_reference": "pricing-page"
      },
      "expected_revision": 1,
      "transition": "hand_off"
    }
    Request body fields 1
    NameTypeRequiredDescription
    content_sha256stringYes
    destinationobjectYes
    destination.destination_referencestringYes
    destination.platform"cms" | "linkedin" | "reddit" | "youtube" | "other"Yes
    expected_revisionintegerYes
    transition"hand_off"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X PATCH "$AEO_API_BASE_URL/v2/brands/$BRAND_ID/drafts/$DRAFT_ID" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.approved_content_sha256string | nullYesSHA-256 hash of the content approved for delivery.
    data.citation_lift_benchmarkobject | nullNo
    data.citation_lift_benchmark.benchmarkobject | nullConditional
    data.citation_lift_benchmark.benchmark.action_channelstringConditional
    data.citation_lift_benchmark.benchmark.after_answer_target_pairsintegerConditional
    data.citation_lift_benchmark.benchmark.after_citing_target_pairsintegerConditional
    data.citation_lift_benchmark.benchmark.before_answer_target_pairsintegerConditional
    data.citation_lift_benchmark.benchmark.before_citing_target_pairsintegerConditional
    data.citation_lift_benchmark.benchmark.eligible_targetsintegerConditional
    data.citation_lift_benchmark.benchmark.matched_target_cohortsintegerConditional
    data.citation_lift_benchmark.benchmark.mean_after_citation_ratenumberConditional
    data.citation_lift_benchmark.benchmark.mean_before_citation_ratenumberConditional
    data.citation_lift_benchmark.benchmark.mean_citation_rate_change_percentage_pointsnumberConditional
    data.citation_lift_benchmark.benchmark.median_citation_rate_change_percentage_pointsnumberConditional
    data.citation_lift_benchmark.benchmark.method"equal_weighted_targets_and_matched_cohorts"Conditional
    data.citation_lift_benchmark.benchmark.observationaltrueConditional
    data.citation_lift_benchmark.benchmark.report_generated_atstringConditional
    data.citation_lift_benchmark.benchmark.report_idstringConditional
    data.citation_lift_benchmark.benchmark.window_daysintegerConditional
    data.citation_lift_benchmark.reason"insufficient_access" | "no_saved_report" | "insufficient_eligible_targets" | "scan_limit_exceeded" | nullConditional
    data.claim_supportarray of objectYes
    data.claim_support[].claim_textstringYes
    data.claim_support[].passage_idstring (uuid)Yes
    data.claim_support[].source_excerptstringYes
    data.contentobject | nullYes
    data.content.bodystringConditional
    data.content.titlestringConditional
    data.content_method"customer_owned_passage_assembly" | "agency_edited"Yes
    data.content_sha256string | nullYesSHA-256 hash identifying this version of the content.
    data.created_atstring (date-time)Yes
    data.draft_idstring (uuid)YesIdentifies the draft associated with this result.
    data.format"blog" | "social" | "linkedin_article"Yes
    data.generation_guidancestring | nullYes
    data.handoffobject | nullYes
    data.handoff.content_sha256stringConditional
    data.handoff.created_atstring (date-time)Conditional
    data.handoff.delivery_claim_idstring (uuid) | nullNo
    data.handoff.destinationobjectConditional
    data.handoff.destination.destination_referencestringConditional
    data.handoff.destination.platform"cms" | "linkedin" | "reddit" | "youtube" | "other"Conditional
    data.handoff.handoff_idstring (uuid)Conditional
    data.item_idstring (uuid)Yes
    data.keywordsarray of objectYes
    data.keywords[].countrystringYes
    data.keywords[].difficulty_methodstring | nullNo
    data.keywords[].difficulty_scorenumber | nullNo
    data.keywords[].estimated_monthly_searchesinteger | nullNo
    data.keywords[].keywordstringYes
    data.keywords[].languagestringYes
    data.keywords[].measured_onstring (date)Yes
    data.keywords[].sourcestringYes
    data.keywords[].source_referencestringYes
    data.keywords[].volume_period_endstring (date) | nullNo
    data.keywords[].volume_period_startstring (date) | nullNo
    data.primary_keywordstringYes
    data.publication_failurestring | nullYes
    data.receiptobject | nullYes
    data.receipt.evidence_basis"publisher_reported"No
    data.receipt.published_atstring (date-time)Conditional
    data.receipt.published_urlstringConditional
    data.receipt.publisher_referencestringConditional
    data.receipt.reported_atstring (date-time)Conditional
    data.review_notestring | nullYes
    data.revisionintegerYes
    data.source_availability"current" | "missing"Yes
    data.source_passagesarray of objectYes
    data.source_passages[].content_revisionstring (uuid)Yes
    data.source_passages[].headingstringYes
    data.source_passages[].passage_idstring (uuid)Yes
    data.source_passages[].source_urlstringYes
    data.status"draft" | "in_review" | "changes_requested" | "approved" | "handed_off" | "publication_failed" | "published" | "archived"Yes
    data.updated_atstring (date-time)Yes
    data.voiceobjectYes
    data.voice.audiencestringYes
    data.voice.avoided_termsarray of stringNo
    data.voice.call_to_actionstring | nullNo
    data.voice.editorial_guidelinesstring | nullNo
    data.voice.languagestringYes
    data.voice.openingstring | nullNo
    data.voice.preferred_termsarray of stringNo
    data.voice.tonestringYes
    data.voice.writing_samplesarray of stringNo
    data.voice_checksobject | nullYes
    data.voice_checks.avoided_terms_presentarray of stringConditional
    data.voice_checks.copy_uses_primary_keywordbooleanConditional
    data.voice_checks.languagestringConditional
    data.voice_checks.preferred_terms_absentarray of stringConditional
    data.voice_checks.title_uses_primary_keywordbooleanConditional
    data.voice_revisionintegerYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    HTTP 200 response fields 2
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.created_atstring (date-time)Yes
    data.draft_idstring (uuid)YesIdentifies the draft associated with this result.
    data.format"product_fact_patch"Yes
    data.item_idstring (uuid)Yes
    data.patchobject | nullYes
    data.patch.approved_content_sha256string | nullNo
    data.patch.automatic_policyobject | nullNo
    data.patch.automatic_policy.artifact_typesarray of "llms_txt" | "json_ld" | "canonical_summary"Conditional
    data.patch.automatic_policy.domainsarray of stringConditional
    data.patch.automatic_policy.fact_sourcesarray of stringConditional
    data.patch.automatic_policy.max_changed_bytesintegerConditional
    data.patch.automatic_policy.max_targetsintegerConditional
    data.patch.automatic_policy.pathsarray of stringConditional
    data.patch.automatic_policy.versionstringConditional
    data.patch.content_sha256stringConditional
    data.patch.pause_reason"destination_drift" | "destination_unresolved" | nullNo
    data.patch.policy_approved_bystring (uuid) | nullNo
    data.patch.policy_versionstringConditional
    data.patch.source_content_revisionstring (uuid)Conditional
    data.patch.source_factobjectConditional
    data.patch.source_fact.amountstringConditional
    data.patch.source_fact.currencystringConditional
    data.patch.source_fact.depends_onarray of string (uuid)No
    data.patch.source_fact.effective_fromstring (date)Conditional
    data.patch.source_fact.event_idstring (uuid)Conditional
    data.patch.source_fact.marketstringConditional
    data.patch.source_fact.period"month" | "year" | "one_time"Conditional
    data.patch.source_fact.productstringConditional
    data.patch.source_fact.resolves_conflictbooleanNo
    data.patch.source_fact.sequenceintegerConditional
    data.patch.source_fact.sourcestringConditional
    data.patch.source_factsarray of objectConditional
    data.patch.source_facts[].amountstringConditional
    data.patch.source_facts[].currencystringConditional
    data.patch.source_facts[].depends_onarray of string (uuid)No
    data.patch.source_facts[].effective_fromstring (date)Conditional
    data.patch.source_facts[].event_idstring (uuid)Conditional
    data.patch.source_facts[].marketstringConditional
    data.patch.source_facts[].period"month" | "year" | "one_time"Conditional
    data.patch.source_facts[].productstringConditional
    data.patch.source_facts[].resolves_conflictbooleanNo
    data.patch.source_facts[].sequenceintegerConditional
    data.patch.source_facts[].sourcestringConditional
    data.patch.source_urlstringConditional
    data.patch.targetsarray of objectConditional
    data.patch.targets[].baseline_revisionstringConditional
    data.patch.targets[].connector"cms" | "edge"Conditional
    data.patch.targets[].contentstringConditional
    data.patch.targets[].content_sha256stringConditional
    data.patch.targets[].diffstringConditional
    data.patch.targets[].domainstringConditional
    data.patch.targets[].kind"llms_txt" | "json_ld" | "canonical_summary"Conditional
    data.patch.targets[].pathstringConditional
    data.patch.targets[].previous_sha256stringConditional
    data.patch.targets[].publish_claimobject | nullNo
    data.patch.targets[].publish_claim.expected_revisionstringConditional
    data.patch.targets[].publish_claim.expected_sha256stringConditional
    data.patch.targets[].publish_claim.idstring (uuid)Conditional
    data.patch.targets[].publish_receiptobject | nullNo
    data.patch.targets[].publish_receipt.claim_idstring (uuid)Conditional
    data.patch.targets[].publish_receipt.content_sha256stringConditional
    data.patch.targets[].publish_receipt.revisionstringConditional
    data.patch.targets[].rollback_claimobject | nullNo
    data.patch.targets[].rollback_claim.expected_revisionstringConditional
    data.patch.targets[].rollback_claim.expected_sha256stringConditional
    data.patch.targets[].rollback_claim.idstring (uuid)Conditional
    data.patch.targets[].rollback_contentstringConditional
    data.patch.targets[].rollback_receiptobject | nullNo
    data.patch.targets[].rollback_receipt.claim_idstring (uuid)Conditional
    data.patch.targets[].rollback_receipt.content_sha256stringConditional
    data.patch.targets[].rollback_receipt.revisionstringConditional
    data.patch.targets[].target_idstring (uuid)Conditional
    data.revisionintegerYes
    data.source_availability"current" | "missing"Yes
    data.status"draft" | "in_review" | "changes_requested" | "approved" | "handed_off" | "publication_failed" | "published" | "archived" | "rolled_back"Yes
    data.updated_atstring (date-time)Yes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.
    HTTP 200 response fields 3
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.accuracy_claim_idstring (uuid)Yes
    data.accuracy_source_pagesarray of objectYes
    data.accuracy_source_pages[].ownership"brand" | "competitor" | "third_party"Yes
    data.accuracy_source_pages[].scope"answer" | "claim"Yes
    data.accuracy_source_pages[].urlstringYes
    data.approved_content_sha256string | nullYesSHA-256 hash of the content approved for delivery.
    data.citation_lift_benchmarknullNo
    data.claim_supportarray of objectYes
    data.claim_support[].claim_textstringYes
    data.claim_support[].passage_idstring (uuid)Yes
    data.claim_support[].source_excerptstringYes
    data.contentobject | nullYes
    data.content.bodystringConditional
    data.content.titlestringConditional
    data.content_method"approved_accuracy_fact" | "agency_edited"Yes
    data.content_sha256string | nullYesSHA-256 hash identifying this version of the content.
    data.created_atstring (date-time)Yes
    data.draft_idstring (uuid)YesIdentifies the draft associated with this result.
    data.format"accuracy_fix"Yes
    data.generation_guidancestring | nullYes
    data.handoffobject | nullYes
    data.handoff.content_sha256stringConditional
    data.handoff.created_atstring (date-time)Conditional
    data.handoff.delivery_claim_idstring (uuid) | nullNo
    data.handoff.destinationobjectConditional
    data.handoff.destination.destination_referencestringConditional
    data.handoff.destination.platform"cms" | "linkedin" | "reddit" | "youtube" | "other"Conditional
    data.handoff.handoff_idstring (uuid)Conditional
    data.item_idstring (uuid)Yes
    data.keywordsarray of objectYes
    data.keywords[].countrystringYes
    data.keywords[].difficulty_methodstring | nullNo
    data.keywords[].difficulty_scorenumber | nullNo
    data.keywords[].estimated_monthly_searchesinteger | nullNo
    data.keywords[].keywordstringYes
    data.keywords[].languagestringYes
    data.keywords[].measured_onstring (date)Yes
    data.keywords[].sourcestringYes
    data.keywords[].source_referencestringYes
    data.keywords[].volume_period_endstring (date) | nullNo
    data.keywords[].volume_period_startstring (date) | nullNo
    data.primary_keywordstringYes
    data.publication_failurestring | nullYes
    data.receiptobject | nullYes
    data.receipt.evidence_basis"publisher_reported"No
    data.receipt.published_atstring (date-time)Conditional
    data.receipt.published_urlstringConditional
    data.receipt.publisher_referencestringConditional
    data.receipt.reported_atstring (date-time)Conditional
    data.review_notestring | nullYes
    data.revisionintegerYes
    data.source_availability"current" | "needs_review"Yes
    data.source_passagesarray of objectYes
    data.source_passages[].content_revisionstring (uuid)Yes
    data.source_passages[].headingstringYes
    data.source_passages[].passage_idstring (uuid)Yes
    data.source_passages[].source_urlstringYes
    data.status"draft" | "in_review" | "changes_requested" | "approved" | "handed_off" | "publication_failed" | "published" | "archived"Yes
    data.updated_atstring (date-time)Yes
    data.voiceobjectYes
    data.voice.audiencestringYes
    data.voice.avoided_termsarray of stringNo
    data.voice.call_to_actionstring | nullNo
    data.voice.editorial_guidelinesstring | nullNo
    data.voice.languagestringYes
    data.voice.openingstring | nullNo
    data.voice.preferred_termsarray of stringNo
    data.voice.tonestringYes
    data.voice.writing_samplesarray of stringNo
    data.voice_checksobject | nullYes
    data.voice_checks.avoided_terms_presentarray of stringConditional
    data.voice_checks.copy_uses_primary_keywordbooleanConditional
    data.voice_checks.languagestringConditional
    data.voice_checks.preferred_terms_absentarray of stringConditional
    data.voice_checks.title_uses_primary_keywordbooleanConditional
    data.voice_revisionintegerYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Transition Draftclaim_delivery

    Open this request with Python and TypeScript examples

    • Body transition is claim_delivery.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    optimizations:write
    Roles
    approver, editor, owner, publisher, service
    Plans
    Optimizer
    Credits
    No credit charge.
    • Action claim_delivery. Scope analytics:read. Roles publisher, owner.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idpathstring (uuid)Yes
    draft_idpathstring (uuid)Yes

    Request body

    {
      "claim_id": "00000000-0000-4000-8000-000000008181",
      "expected_revision": 1,
      "handoff_id": "00000000-0000-4000-8000-000000010261",
      "transition": "claim_delivery"
    }
    Request body fields 1
    NameTypeRequiredDescription
    claim_idstring (uuid)Yes
    expected_revisionintegerYes
    handoff_idstring (uuid)Yes
    transition"claim_delivery"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X PATCH "$AEO_API_BASE_URL/v2/brands/$BRAND_ID/drafts/$DRAFT_ID" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.approved_content_sha256string | nullYesSHA-256 hash of the content approved for delivery.
    data.citation_lift_benchmarkobject | nullNo
    data.citation_lift_benchmark.benchmarkobject | nullConditional
    data.citation_lift_benchmark.benchmark.action_channelstringConditional
    data.citation_lift_benchmark.benchmark.after_answer_target_pairsintegerConditional
    data.citation_lift_benchmark.benchmark.after_citing_target_pairsintegerConditional
    data.citation_lift_benchmark.benchmark.before_answer_target_pairsintegerConditional
    data.citation_lift_benchmark.benchmark.before_citing_target_pairsintegerConditional
    data.citation_lift_benchmark.benchmark.eligible_targetsintegerConditional
    data.citation_lift_benchmark.benchmark.matched_target_cohortsintegerConditional
    data.citation_lift_benchmark.benchmark.mean_after_citation_ratenumberConditional
    data.citation_lift_benchmark.benchmark.mean_before_citation_ratenumberConditional
    data.citation_lift_benchmark.benchmark.mean_citation_rate_change_percentage_pointsnumberConditional
    data.citation_lift_benchmark.benchmark.median_citation_rate_change_percentage_pointsnumberConditional
    data.citation_lift_benchmark.benchmark.method"equal_weighted_targets_and_matched_cohorts"Conditional
    data.citation_lift_benchmark.benchmark.observationaltrueConditional
    data.citation_lift_benchmark.benchmark.report_generated_atstringConditional
    data.citation_lift_benchmark.benchmark.report_idstringConditional
    data.citation_lift_benchmark.benchmark.window_daysintegerConditional
    data.citation_lift_benchmark.reason"insufficient_access" | "no_saved_report" | "insufficient_eligible_targets" | "scan_limit_exceeded" | nullConditional
    data.claim_supportarray of objectYes
    data.claim_support[].claim_textstringYes
    data.claim_support[].passage_idstring (uuid)Yes
    data.claim_support[].source_excerptstringYes
    data.contentobject | nullYes
    data.content.bodystringConditional
    data.content.titlestringConditional
    data.content_method"customer_owned_passage_assembly" | "agency_edited"Yes
    data.content_sha256string | nullYesSHA-256 hash identifying this version of the content.
    data.created_atstring (date-time)Yes
    data.draft_idstring (uuid)YesIdentifies the draft associated with this result.
    data.format"blog" | "social" | "linkedin_article"Yes
    data.generation_guidancestring | nullYes
    data.handoffobject | nullYes
    data.handoff.content_sha256stringConditional
    data.handoff.created_atstring (date-time)Conditional
    data.handoff.delivery_claim_idstring (uuid) | nullNo
    data.handoff.destinationobjectConditional
    data.handoff.destination.destination_referencestringConditional
    data.handoff.destination.platform"cms" | "linkedin" | "reddit" | "youtube" | "other"Conditional
    data.handoff.handoff_idstring (uuid)Conditional
    data.item_idstring (uuid)Yes
    data.keywordsarray of objectYes
    data.keywords[].countrystringYes
    data.keywords[].difficulty_methodstring | nullNo
    data.keywords[].difficulty_scorenumber | nullNo
    data.keywords[].estimated_monthly_searchesinteger | nullNo
    data.keywords[].keywordstringYes
    data.keywords[].languagestringYes
    data.keywords[].measured_onstring (date)Yes
    data.keywords[].sourcestringYes
    data.keywords[].source_referencestringYes
    data.keywords[].volume_period_endstring (date) | nullNo
    data.keywords[].volume_period_startstring (date) | nullNo
    data.primary_keywordstringYes
    data.publication_failurestring | nullYes
    data.receiptobject | nullYes
    data.receipt.evidence_basis"publisher_reported"No
    data.receipt.published_atstring (date-time)Conditional
    data.receipt.published_urlstringConditional
    data.receipt.publisher_referencestringConditional
    data.receipt.reported_atstring (date-time)Conditional
    data.review_notestring | nullYes
    data.revisionintegerYes
    data.source_availability"current" | "missing"Yes
    data.source_passagesarray of objectYes
    data.source_passages[].content_revisionstring (uuid)Yes
    data.source_passages[].headingstringYes
    data.source_passages[].passage_idstring (uuid)Yes
    data.source_passages[].source_urlstringYes
    data.status"draft" | "in_review" | "changes_requested" | "approved" | "handed_off" | "publication_failed" | "published" | "archived"Yes
    data.updated_atstring (date-time)Yes
    data.voiceobjectYes
    data.voice.audiencestringYes
    data.voice.avoided_termsarray of stringNo
    data.voice.call_to_actionstring | nullNo
    data.voice.editorial_guidelinesstring | nullNo
    data.voice.languagestringYes
    data.voice.openingstring | nullNo
    data.voice.preferred_termsarray of stringNo
    data.voice.tonestringYes
    data.voice.writing_samplesarray of stringNo
    data.voice_checksobject | nullYes
    data.voice_checks.avoided_terms_presentarray of stringConditional
    data.voice_checks.copy_uses_primary_keywordbooleanConditional
    data.voice_checks.languagestringConditional
    data.voice_checks.preferred_terms_absentarray of stringConditional
    data.voice_checks.title_uses_primary_keywordbooleanConditional
    data.voice_revisionintegerYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    HTTP 200 response fields 2
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.created_atstring (date-time)Yes
    data.draft_idstring (uuid)YesIdentifies the draft associated with this result.
    data.format"product_fact_patch"Yes
    data.item_idstring (uuid)Yes
    data.patchobject | nullYes
    data.patch.approved_content_sha256string | nullNo
    data.patch.automatic_policyobject | nullNo
    data.patch.automatic_policy.artifact_typesarray of "llms_txt" | "json_ld" | "canonical_summary"Conditional
    data.patch.automatic_policy.domainsarray of stringConditional
    data.patch.automatic_policy.fact_sourcesarray of stringConditional
    data.patch.automatic_policy.max_changed_bytesintegerConditional
    data.patch.automatic_policy.max_targetsintegerConditional
    data.patch.automatic_policy.pathsarray of stringConditional
    data.patch.automatic_policy.versionstringConditional
    data.patch.content_sha256stringConditional
    data.patch.pause_reason"destination_drift" | "destination_unresolved" | nullNo
    data.patch.policy_approved_bystring (uuid) | nullNo
    data.patch.policy_versionstringConditional
    data.patch.source_content_revisionstring (uuid)Conditional
    data.patch.source_factobjectConditional
    data.patch.source_fact.amountstringConditional
    data.patch.source_fact.currencystringConditional
    data.patch.source_fact.depends_onarray of string (uuid)No
    data.patch.source_fact.effective_fromstring (date)Conditional
    data.patch.source_fact.event_idstring (uuid)Conditional
    data.patch.source_fact.marketstringConditional
    data.patch.source_fact.period"month" | "year" | "one_time"Conditional
    data.patch.source_fact.productstringConditional
    data.patch.source_fact.resolves_conflictbooleanNo
    data.patch.source_fact.sequenceintegerConditional
    data.patch.source_fact.sourcestringConditional
    data.patch.source_factsarray of objectConditional
    data.patch.source_facts[].amountstringConditional
    data.patch.source_facts[].currencystringConditional
    data.patch.source_facts[].depends_onarray of string (uuid)No
    data.patch.source_facts[].effective_fromstring (date)Conditional
    data.patch.source_facts[].event_idstring (uuid)Conditional
    data.patch.source_facts[].marketstringConditional
    data.patch.source_facts[].period"month" | "year" | "one_time"Conditional
    data.patch.source_facts[].productstringConditional
    data.patch.source_facts[].resolves_conflictbooleanNo
    data.patch.source_facts[].sequenceintegerConditional
    data.patch.source_facts[].sourcestringConditional
    data.patch.source_urlstringConditional
    data.patch.targetsarray of objectConditional
    data.patch.targets[].baseline_revisionstringConditional
    data.patch.targets[].connector"cms" | "edge"Conditional
    data.patch.targets[].contentstringConditional
    data.patch.targets[].content_sha256stringConditional
    data.patch.targets[].diffstringConditional
    data.patch.targets[].domainstringConditional
    data.patch.targets[].kind"llms_txt" | "json_ld" | "canonical_summary"Conditional
    data.patch.targets[].pathstringConditional
    data.patch.targets[].previous_sha256stringConditional
    data.patch.targets[].publish_claimobject | nullNo
    data.patch.targets[].publish_claim.expected_revisionstringConditional
    data.patch.targets[].publish_claim.expected_sha256stringConditional
    data.patch.targets[].publish_claim.idstring (uuid)Conditional
    data.patch.targets[].publish_receiptobject | nullNo
    data.patch.targets[].publish_receipt.claim_idstring (uuid)Conditional
    data.patch.targets[].publish_receipt.content_sha256stringConditional
    data.patch.targets[].publish_receipt.revisionstringConditional
    data.patch.targets[].rollback_claimobject | nullNo
    data.patch.targets[].rollback_claim.expected_revisionstringConditional
    data.patch.targets[].rollback_claim.expected_sha256stringConditional
    data.patch.targets[].rollback_claim.idstring (uuid)Conditional
    data.patch.targets[].rollback_contentstringConditional
    data.patch.targets[].rollback_receiptobject | nullNo
    data.patch.targets[].rollback_receipt.claim_idstring (uuid)Conditional
    data.patch.targets[].rollback_receipt.content_sha256stringConditional
    data.patch.targets[].rollback_receipt.revisionstringConditional
    data.patch.targets[].target_idstring (uuid)Conditional
    data.revisionintegerYes
    data.source_availability"current" | "missing"Yes
    data.status"draft" | "in_review" | "changes_requested" | "approved" | "handed_off" | "publication_failed" | "published" | "archived" | "rolled_back"Yes
    data.updated_atstring (date-time)Yes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.
    HTTP 200 response fields 3
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.accuracy_claim_idstring (uuid)Yes
    data.accuracy_source_pagesarray of objectYes
    data.accuracy_source_pages[].ownership"brand" | "competitor" | "third_party"Yes
    data.accuracy_source_pages[].scope"answer" | "claim"Yes
    data.accuracy_source_pages[].urlstringYes
    data.approved_content_sha256string | nullYesSHA-256 hash of the content approved for delivery.
    data.citation_lift_benchmarknullNo
    data.claim_supportarray of objectYes
    data.claim_support[].claim_textstringYes
    data.claim_support[].passage_idstring (uuid)Yes
    data.claim_support[].source_excerptstringYes
    data.contentobject | nullYes
    data.content.bodystringConditional
    data.content.titlestringConditional
    data.content_method"approved_accuracy_fact" | "agency_edited"Yes
    data.content_sha256string | nullYesSHA-256 hash identifying this version of the content.
    data.created_atstring (date-time)Yes
    data.draft_idstring (uuid)YesIdentifies the draft associated with this result.
    data.format"accuracy_fix"Yes
    data.generation_guidancestring | nullYes
    data.handoffobject | nullYes
    data.handoff.content_sha256stringConditional
    data.handoff.created_atstring (date-time)Conditional
    data.handoff.delivery_claim_idstring (uuid) | nullNo
    data.handoff.destinationobjectConditional
    data.handoff.destination.destination_referencestringConditional
    data.handoff.destination.platform"cms" | "linkedin" | "reddit" | "youtube" | "other"Conditional
    data.handoff.handoff_idstring (uuid)Conditional
    data.item_idstring (uuid)Yes
    data.keywordsarray of objectYes
    data.keywords[].countrystringYes
    data.keywords[].difficulty_methodstring | nullNo
    data.keywords[].difficulty_scorenumber | nullNo
    data.keywords[].estimated_monthly_searchesinteger | nullNo
    data.keywords[].keywordstringYes
    data.keywords[].languagestringYes
    data.keywords[].measured_onstring (date)Yes
    data.keywords[].sourcestringYes
    data.keywords[].source_referencestringYes
    data.keywords[].volume_period_endstring (date) | nullNo
    data.keywords[].volume_period_startstring (date) | nullNo
    data.primary_keywordstringYes
    data.publication_failurestring | nullYes
    data.receiptobject | nullYes
    data.receipt.evidence_basis"publisher_reported"No
    data.receipt.published_atstring (date-time)Conditional
    data.receipt.published_urlstringConditional
    data.receipt.publisher_referencestringConditional
    data.receipt.reported_atstring (date-time)Conditional
    data.review_notestring | nullYes
    data.revisionintegerYes
    data.source_availability"current" | "needs_review"Yes
    data.source_passagesarray of objectYes
    data.source_passages[].content_revisionstring (uuid)Yes
    data.source_passages[].headingstringYes
    data.source_passages[].passage_idstring (uuid)Yes
    data.source_passages[].source_urlstringYes
    data.status"draft" | "in_review" | "changes_requested" | "approved" | "handed_off" | "publication_failed" | "published" | "archived"Yes
    data.updated_atstring (date-time)Yes
    data.voiceobjectYes
    data.voice.audiencestringYes
    data.voice.avoided_termsarray of stringNo
    data.voice.call_to_actionstring | nullNo
    data.voice.editorial_guidelinesstring | nullNo
    data.voice.languagestringYes
    data.voice.openingstring | nullNo
    data.voice.preferred_termsarray of stringNo
    data.voice.tonestringYes
    data.voice.writing_samplesarray of stringNo
    data.voice_checksobject | nullYes
    data.voice_checks.avoided_terms_presentarray of stringConditional
    data.voice_checks.copy_uses_primary_keywordbooleanConditional
    data.voice_checks.languagestringConditional
    data.voice_checks.preferred_terms_absentarray of stringConditional
    data.voice_checks.title_uses_primary_keywordbooleanConditional
    data.voice_revisionintegerYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Transition Draftreport_publication

    Open this request with Python and TypeScript examples

    • Body transition is report_publication.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    optimizations:write
    Roles
    approver, editor, owner, publisher, service
    Plans
    Optimizer
    Credits
    No credit charge.
    • Action report_publication. Roles publisher, owner.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idpathstring (uuid)Yes
    draft_idpathstring (uuid)Yes

    Request body

    {
      "expected_revision": 1,
      "handoff_id": "00000000-0000-4000-8000-000000010261",
      "published_at": "2026-11-01T12:00:00Z",
      "published_url": "https://example.com/pricing",
      "publisher_reference": "page-187",
      "transition": "report_publication"
    }
    Request body fields 1
    NameTypeRequiredDescription
    expected_revisionintegerYes
    handoff_idstring (uuid)Yes
    published_atstring (date-time)Yes
    published_urlstringYes
    publisher_referencestringYes
    transition"report_publication"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X PATCH "$AEO_API_BASE_URL/v2/brands/$BRAND_ID/drafts/$DRAFT_ID" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.approved_content_sha256string | nullYesSHA-256 hash of the content approved for delivery.
    data.citation_lift_benchmarkobject | nullNo
    data.citation_lift_benchmark.benchmarkobject | nullConditional
    data.citation_lift_benchmark.benchmark.action_channelstringConditional
    data.citation_lift_benchmark.benchmark.after_answer_target_pairsintegerConditional
    data.citation_lift_benchmark.benchmark.after_citing_target_pairsintegerConditional
    data.citation_lift_benchmark.benchmark.before_answer_target_pairsintegerConditional
    data.citation_lift_benchmark.benchmark.before_citing_target_pairsintegerConditional
    data.citation_lift_benchmark.benchmark.eligible_targetsintegerConditional
    data.citation_lift_benchmark.benchmark.matched_target_cohortsintegerConditional
    data.citation_lift_benchmark.benchmark.mean_after_citation_ratenumberConditional
    data.citation_lift_benchmark.benchmark.mean_before_citation_ratenumberConditional
    data.citation_lift_benchmark.benchmark.mean_citation_rate_change_percentage_pointsnumberConditional
    data.citation_lift_benchmark.benchmark.median_citation_rate_change_percentage_pointsnumberConditional
    data.citation_lift_benchmark.benchmark.method"equal_weighted_targets_and_matched_cohorts"Conditional
    data.citation_lift_benchmark.benchmark.observationaltrueConditional
    data.citation_lift_benchmark.benchmark.report_generated_atstringConditional
    data.citation_lift_benchmark.benchmark.report_idstringConditional
    data.citation_lift_benchmark.benchmark.window_daysintegerConditional
    data.citation_lift_benchmark.reason"insufficient_access" | "no_saved_report" | "insufficient_eligible_targets" | "scan_limit_exceeded" | nullConditional
    data.claim_supportarray of objectYes
    data.claim_support[].claim_textstringYes
    data.claim_support[].passage_idstring (uuid)Yes
    data.claim_support[].source_excerptstringYes
    data.contentobject | nullYes
    data.content.bodystringConditional
    data.content.titlestringConditional
    data.content_method"customer_owned_passage_assembly" | "agency_edited"Yes
    data.content_sha256string | nullYesSHA-256 hash identifying this version of the content.
    data.created_atstring (date-time)Yes
    data.draft_idstring (uuid)YesIdentifies the draft associated with this result.
    data.format"blog" | "social" | "linkedin_article"Yes
    data.generation_guidancestring | nullYes
    data.handoffobject | nullYes
    data.handoff.content_sha256stringConditional
    data.handoff.created_atstring (date-time)Conditional
    data.handoff.delivery_claim_idstring (uuid) | nullNo
    data.handoff.destinationobjectConditional
    data.handoff.destination.destination_referencestringConditional
    data.handoff.destination.platform"cms" | "linkedin" | "reddit" | "youtube" | "other"Conditional
    data.handoff.handoff_idstring (uuid)Conditional
    data.item_idstring (uuid)Yes
    data.keywordsarray of objectYes
    data.keywords[].countrystringYes
    data.keywords[].difficulty_methodstring | nullNo
    data.keywords[].difficulty_scorenumber | nullNo
    data.keywords[].estimated_monthly_searchesinteger | nullNo
    data.keywords[].keywordstringYes
    data.keywords[].languagestringYes
    data.keywords[].measured_onstring (date)Yes
    data.keywords[].sourcestringYes
    data.keywords[].source_referencestringYes
    data.keywords[].volume_period_endstring (date) | nullNo
    data.keywords[].volume_period_startstring (date) | nullNo
    data.primary_keywordstringYes
    data.publication_failurestring | nullYes
    data.receiptobject | nullYes
    data.receipt.evidence_basis"publisher_reported"No
    data.receipt.published_atstring (date-time)Conditional
    data.receipt.published_urlstringConditional
    data.receipt.publisher_referencestringConditional
    data.receipt.reported_atstring (date-time)Conditional
    data.review_notestring | nullYes
    data.revisionintegerYes
    data.source_availability"current" | "missing"Yes
    data.source_passagesarray of objectYes
    data.source_passages[].content_revisionstring (uuid)Yes
    data.source_passages[].headingstringYes
    data.source_passages[].passage_idstring (uuid)Yes
    data.source_passages[].source_urlstringYes
    data.status"draft" | "in_review" | "changes_requested" | "approved" | "handed_off" | "publication_failed" | "published" | "archived"Yes
    data.updated_atstring (date-time)Yes
    data.voiceobjectYes
    data.voice.audiencestringYes
    data.voice.avoided_termsarray of stringNo
    data.voice.call_to_actionstring | nullNo
    data.voice.editorial_guidelinesstring | nullNo
    data.voice.languagestringYes
    data.voice.openingstring | nullNo
    data.voice.preferred_termsarray of stringNo
    data.voice.tonestringYes
    data.voice.writing_samplesarray of stringNo
    data.voice_checksobject | nullYes
    data.voice_checks.avoided_terms_presentarray of stringConditional
    data.voice_checks.copy_uses_primary_keywordbooleanConditional
    data.voice_checks.languagestringConditional
    data.voice_checks.preferred_terms_absentarray of stringConditional
    data.voice_checks.title_uses_primary_keywordbooleanConditional
    data.voice_revisionintegerYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    HTTP 200 response fields 2
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.created_atstring (date-time)Yes
    data.draft_idstring (uuid)YesIdentifies the draft associated with this result.
    data.format"product_fact_patch"Yes
    data.item_idstring (uuid)Yes
    data.patchobject | nullYes
    data.patch.approved_content_sha256string | nullNo
    data.patch.automatic_policyobject | nullNo
    data.patch.automatic_policy.artifact_typesarray of "llms_txt" | "json_ld" | "canonical_summary"Conditional
    data.patch.automatic_policy.domainsarray of stringConditional
    data.patch.automatic_policy.fact_sourcesarray of stringConditional
    data.patch.automatic_policy.max_changed_bytesintegerConditional
    data.patch.automatic_policy.max_targetsintegerConditional
    data.patch.automatic_policy.pathsarray of stringConditional
    data.patch.automatic_policy.versionstringConditional
    data.patch.content_sha256stringConditional
    data.patch.pause_reason"destination_drift" | "destination_unresolved" | nullNo
    data.patch.policy_approved_bystring (uuid) | nullNo
    data.patch.policy_versionstringConditional
    data.patch.source_content_revisionstring (uuid)Conditional
    data.patch.source_factobjectConditional
    data.patch.source_fact.amountstringConditional
    data.patch.source_fact.currencystringConditional
    data.patch.source_fact.depends_onarray of string (uuid)No
    data.patch.source_fact.effective_fromstring (date)Conditional
    data.patch.source_fact.event_idstring (uuid)Conditional
    data.patch.source_fact.marketstringConditional
    data.patch.source_fact.period"month" | "year" | "one_time"Conditional
    data.patch.source_fact.productstringConditional
    data.patch.source_fact.resolves_conflictbooleanNo
    data.patch.source_fact.sequenceintegerConditional
    data.patch.source_fact.sourcestringConditional
    data.patch.source_factsarray of objectConditional
    data.patch.source_facts[].amountstringConditional
    data.patch.source_facts[].currencystringConditional
    data.patch.source_facts[].depends_onarray of string (uuid)No
    data.patch.source_facts[].effective_fromstring (date)Conditional
    data.patch.source_facts[].event_idstring (uuid)Conditional
    data.patch.source_facts[].marketstringConditional
    data.patch.source_facts[].period"month" | "year" | "one_time"Conditional
    data.patch.source_facts[].productstringConditional
    data.patch.source_facts[].resolves_conflictbooleanNo
    data.patch.source_facts[].sequenceintegerConditional
    data.patch.source_facts[].sourcestringConditional
    data.patch.source_urlstringConditional
    data.patch.targetsarray of objectConditional
    data.patch.targets[].baseline_revisionstringConditional
    data.patch.targets[].connector"cms" | "edge"Conditional
    data.patch.targets[].contentstringConditional
    data.patch.targets[].content_sha256stringConditional
    data.patch.targets[].diffstringConditional
    data.patch.targets[].domainstringConditional
    data.patch.targets[].kind"llms_txt" | "json_ld" | "canonical_summary"Conditional
    data.patch.targets[].pathstringConditional
    data.patch.targets[].previous_sha256stringConditional
    data.patch.targets[].publish_claimobject | nullNo
    data.patch.targets[].publish_claim.expected_revisionstringConditional
    data.patch.targets[].publish_claim.expected_sha256stringConditional
    data.patch.targets[].publish_claim.idstring (uuid)Conditional
    data.patch.targets[].publish_receiptobject | nullNo
    data.patch.targets[].publish_receipt.claim_idstring (uuid)Conditional
    data.patch.targets[].publish_receipt.content_sha256stringConditional
    data.patch.targets[].publish_receipt.revisionstringConditional
    data.patch.targets[].rollback_claimobject | nullNo
    data.patch.targets[].rollback_claim.expected_revisionstringConditional
    data.patch.targets[].rollback_claim.expected_sha256stringConditional
    data.patch.targets[].rollback_claim.idstring (uuid)Conditional
    data.patch.targets[].rollback_contentstringConditional
    data.patch.targets[].rollback_receiptobject | nullNo
    data.patch.targets[].rollback_receipt.claim_idstring (uuid)Conditional
    data.patch.targets[].rollback_receipt.content_sha256stringConditional
    data.patch.targets[].rollback_receipt.revisionstringConditional
    data.patch.targets[].target_idstring (uuid)Conditional
    data.revisionintegerYes
    data.source_availability"current" | "missing"Yes
    data.status"draft" | "in_review" | "changes_requested" | "approved" | "handed_off" | "publication_failed" | "published" | "archived" | "rolled_back"Yes
    data.updated_atstring (date-time)Yes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.
    HTTP 200 response fields 3
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.accuracy_claim_idstring (uuid)Yes
    data.accuracy_source_pagesarray of objectYes
    data.accuracy_source_pages[].ownership"brand" | "competitor" | "third_party"Yes
    data.accuracy_source_pages[].scope"answer" | "claim"Yes
    data.accuracy_source_pages[].urlstringYes
    data.approved_content_sha256string | nullYesSHA-256 hash of the content approved for delivery.
    data.citation_lift_benchmarknullNo
    data.claim_supportarray of objectYes
    data.claim_support[].claim_textstringYes
    data.claim_support[].passage_idstring (uuid)Yes
    data.claim_support[].source_excerptstringYes
    data.contentobject | nullYes
    data.content.bodystringConditional
    data.content.titlestringConditional
    data.content_method"approved_accuracy_fact" | "agency_edited"Yes
    data.content_sha256string | nullYesSHA-256 hash identifying this version of the content.
    data.created_atstring (date-time)Yes
    data.draft_idstring (uuid)YesIdentifies the draft associated with this result.
    data.format"accuracy_fix"Yes
    data.generation_guidancestring | nullYes
    data.handoffobject | nullYes
    data.handoff.content_sha256stringConditional
    data.handoff.created_atstring (date-time)Conditional
    data.handoff.delivery_claim_idstring (uuid) | nullNo
    data.handoff.destinationobjectConditional
    data.handoff.destination.destination_referencestringConditional
    data.handoff.destination.platform"cms" | "linkedin" | "reddit" | "youtube" | "other"Conditional
    data.handoff.handoff_idstring (uuid)Conditional
    data.item_idstring (uuid)Yes
    data.keywordsarray of objectYes
    data.keywords[].countrystringYes
    data.keywords[].difficulty_methodstring | nullNo
    data.keywords[].difficulty_scorenumber | nullNo
    data.keywords[].estimated_monthly_searchesinteger | nullNo
    data.keywords[].keywordstringYes
    data.keywords[].languagestringYes
    data.keywords[].measured_onstring (date)Yes
    data.keywords[].sourcestringYes
    data.keywords[].source_referencestringYes
    data.keywords[].volume_period_endstring (date) | nullNo
    data.keywords[].volume_period_startstring (date) | nullNo
    data.primary_keywordstringYes
    data.publication_failurestring | nullYes
    data.receiptobject | nullYes
    data.receipt.evidence_basis"publisher_reported"No
    data.receipt.published_atstring (date-time)Conditional
    data.receipt.published_urlstringConditional
    data.receipt.publisher_referencestringConditional
    data.receipt.reported_atstring (date-time)Conditional
    data.review_notestring | nullYes
    data.revisionintegerYes
    data.source_availability"current" | "needs_review"Yes
    data.source_passagesarray of objectYes
    data.source_passages[].content_revisionstring (uuid)Yes
    data.source_passages[].headingstringYes
    data.source_passages[].passage_idstring (uuid)Yes
    data.source_passages[].source_urlstringYes
    data.status"draft" | "in_review" | "changes_requested" | "approved" | "handed_off" | "publication_failed" | "published" | "archived"Yes
    data.updated_atstring (date-time)Yes
    data.voiceobjectYes
    data.voice.audiencestringYes
    data.voice.avoided_termsarray of stringNo
    data.voice.call_to_actionstring | nullNo
    data.voice.editorial_guidelinesstring | nullNo
    data.voice.languagestringYes
    data.voice.openingstring | nullNo
    data.voice.preferred_termsarray of stringNo
    data.voice.tonestringYes
    data.voice.writing_samplesarray of stringNo
    data.voice_checksobject | nullYes
    data.voice_checks.avoided_terms_presentarray of stringConditional
    data.voice_checks.copy_uses_primary_keywordbooleanConditional
    data.voice_checks.languagestringConditional
    data.voice_checks.preferred_terms_absentarray of stringConditional
    data.voice_checks.title_uses_primary_keywordbooleanConditional
    data.voice_revisionintegerYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Transition Draftreport_failure

    Open this request with Python and TypeScript examples

    • Body transition is report_failure.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    optimizations:write
    Roles
    approver, editor, owner, publisher, service
    Plans
    Optimizer
    Credits
    No credit charge.
    • Action report_failure. Roles publisher, owner.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idpathstring (uuid)Yes
    draft_idpathstring (uuid)Yes

    Request body

    {
      "expected_revision": 1,
      "handoff_id": "00000000-0000-4000-8000-000000010261",
      "reason": "The publishing service rejected the request.",
      "transition": "report_failure"
    }
    Request body fields 1
    NameTypeRequiredDescription
    expected_revisionintegerYes
    handoff_idstring (uuid)Yes
    reasonstringYes
    transition"report_failure"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X PATCH "$AEO_API_BASE_URL/v2/brands/$BRAND_ID/drafts/$DRAFT_ID" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.approved_content_sha256string | nullYesSHA-256 hash of the content approved for delivery.
    data.citation_lift_benchmarkobject | nullNo
    data.citation_lift_benchmark.benchmarkobject | nullConditional
    data.citation_lift_benchmark.benchmark.action_channelstringConditional
    data.citation_lift_benchmark.benchmark.after_answer_target_pairsintegerConditional
    data.citation_lift_benchmark.benchmark.after_citing_target_pairsintegerConditional
    data.citation_lift_benchmark.benchmark.before_answer_target_pairsintegerConditional
    data.citation_lift_benchmark.benchmark.before_citing_target_pairsintegerConditional
    data.citation_lift_benchmark.benchmark.eligible_targetsintegerConditional
    data.citation_lift_benchmark.benchmark.matched_target_cohortsintegerConditional
    data.citation_lift_benchmark.benchmark.mean_after_citation_ratenumberConditional
    data.citation_lift_benchmark.benchmark.mean_before_citation_ratenumberConditional
    data.citation_lift_benchmark.benchmark.mean_citation_rate_change_percentage_pointsnumberConditional
    data.citation_lift_benchmark.benchmark.median_citation_rate_change_percentage_pointsnumberConditional
    data.citation_lift_benchmark.benchmark.method"equal_weighted_targets_and_matched_cohorts"Conditional
    data.citation_lift_benchmark.benchmark.observationaltrueConditional
    data.citation_lift_benchmark.benchmark.report_generated_atstringConditional
    data.citation_lift_benchmark.benchmark.report_idstringConditional
    data.citation_lift_benchmark.benchmark.window_daysintegerConditional
    data.citation_lift_benchmark.reason"insufficient_access" | "no_saved_report" | "insufficient_eligible_targets" | "scan_limit_exceeded" | nullConditional
    data.claim_supportarray of objectYes
    data.claim_support[].claim_textstringYes
    data.claim_support[].passage_idstring (uuid)Yes
    data.claim_support[].source_excerptstringYes
    data.contentobject | nullYes
    data.content.bodystringConditional
    data.content.titlestringConditional
    data.content_method"customer_owned_passage_assembly" | "agency_edited"Yes
    data.content_sha256string | nullYesSHA-256 hash identifying this version of the content.
    data.created_atstring (date-time)Yes
    data.draft_idstring (uuid)YesIdentifies the draft associated with this result.
    data.format"blog" | "social" | "linkedin_article"Yes
    data.generation_guidancestring | nullYes
    data.handoffobject | nullYes
    data.handoff.content_sha256stringConditional
    data.handoff.created_atstring (date-time)Conditional
    data.handoff.delivery_claim_idstring (uuid) | nullNo
    data.handoff.destinationobjectConditional
    data.handoff.destination.destination_referencestringConditional
    data.handoff.destination.platform"cms" | "linkedin" | "reddit" | "youtube" | "other"Conditional
    data.handoff.handoff_idstring (uuid)Conditional
    data.item_idstring (uuid)Yes
    data.keywordsarray of objectYes
    data.keywords[].countrystringYes
    data.keywords[].difficulty_methodstring | nullNo
    data.keywords[].difficulty_scorenumber | nullNo
    data.keywords[].estimated_monthly_searchesinteger | nullNo
    data.keywords[].keywordstringYes
    data.keywords[].languagestringYes
    data.keywords[].measured_onstring (date)Yes
    data.keywords[].sourcestringYes
    data.keywords[].source_referencestringYes
    data.keywords[].volume_period_endstring (date) | nullNo
    data.keywords[].volume_period_startstring (date) | nullNo
    data.primary_keywordstringYes
    data.publication_failurestring | nullYes
    data.receiptobject | nullYes
    data.receipt.evidence_basis"publisher_reported"No
    data.receipt.published_atstring (date-time)Conditional
    data.receipt.published_urlstringConditional
    data.receipt.publisher_referencestringConditional
    data.receipt.reported_atstring (date-time)Conditional
    data.review_notestring | nullYes
    data.revisionintegerYes
    data.source_availability"current" | "missing"Yes
    data.source_passagesarray of objectYes
    data.source_passages[].content_revisionstring (uuid)Yes
    data.source_passages[].headingstringYes
    data.source_passages[].passage_idstring (uuid)Yes
    data.source_passages[].source_urlstringYes
    data.status"draft" | "in_review" | "changes_requested" | "approved" | "handed_off" | "publication_failed" | "published" | "archived"Yes
    data.updated_atstring (date-time)Yes
    data.voiceobjectYes
    data.voice.audiencestringYes
    data.voice.avoided_termsarray of stringNo
    data.voice.call_to_actionstring | nullNo
    data.voice.editorial_guidelinesstring | nullNo
    data.voice.languagestringYes
    data.voice.openingstring | nullNo
    data.voice.preferred_termsarray of stringNo
    data.voice.tonestringYes
    data.voice.writing_samplesarray of stringNo
    data.voice_checksobject | nullYes
    data.voice_checks.avoided_terms_presentarray of stringConditional
    data.voice_checks.copy_uses_primary_keywordbooleanConditional
    data.voice_checks.languagestringConditional
    data.voice_checks.preferred_terms_absentarray of stringConditional
    data.voice_checks.title_uses_primary_keywordbooleanConditional
    data.voice_revisionintegerYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    HTTP 200 response fields 2
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.created_atstring (date-time)Yes
    data.draft_idstring (uuid)YesIdentifies the draft associated with this result.
    data.format"product_fact_patch"Yes
    data.item_idstring (uuid)Yes
    data.patchobject | nullYes
    data.patch.approved_content_sha256string | nullNo
    data.patch.automatic_policyobject | nullNo
    data.patch.automatic_policy.artifact_typesarray of "llms_txt" | "json_ld" | "canonical_summary"Conditional
    data.patch.automatic_policy.domainsarray of stringConditional
    data.patch.automatic_policy.fact_sourcesarray of stringConditional
    data.patch.automatic_policy.max_changed_bytesintegerConditional
    data.patch.automatic_policy.max_targetsintegerConditional
    data.patch.automatic_policy.pathsarray of stringConditional
    data.patch.automatic_policy.versionstringConditional
    data.patch.content_sha256stringConditional
    data.patch.pause_reason"destination_drift" | "destination_unresolved" | nullNo
    data.patch.policy_approved_bystring (uuid) | nullNo
    data.patch.policy_versionstringConditional
    data.patch.source_content_revisionstring (uuid)Conditional
    data.patch.source_factobjectConditional
    data.patch.source_fact.amountstringConditional
    data.patch.source_fact.currencystringConditional
    data.patch.source_fact.depends_onarray of string (uuid)No
    data.patch.source_fact.effective_fromstring (date)Conditional
    data.patch.source_fact.event_idstring (uuid)Conditional
    data.patch.source_fact.marketstringConditional
    data.patch.source_fact.period"month" | "year" | "one_time"Conditional
    data.patch.source_fact.productstringConditional
    data.patch.source_fact.resolves_conflictbooleanNo
    data.patch.source_fact.sequenceintegerConditional
    data.patch.source_fact.sourcestringConditional
    data.patch.source_factsarray of objectConditional
    data.patch.source_facts[].amountstringConditional
    data.patch.source_facts[].currencystringConditional
    data.patch.source_facts[].depends_onarray of string (uuid)No
    data.patch.source_facts[].effective_fromstring (date)Conditional
    data.patch.source_facts[].event_idstring (uuid)Conditional
    data.patch.source_facts[].marketstringConditional
    data.patch.source_facts[].period"month" | "year" | "one_time"Conditional
    data.patch.source_facts[].productstringConditional
    data.patch.source_facts[].resolves_conflictbooleanNo
    data.patch.source_facts[].sequenceintegerConditional
    data.patch.source_facts[].sourcestringConditional
    data.patch.source_urlstringConditional
    data.patch.targetsarray of objectConditional
    data.patch.targets[].baseline_revisionstringConditional
    data.patch.targets[].connector"cms" | "edge"Conditional
    data.patch.targets[].contentstringConditional
    data.patch.targets[].content_sha256stringConditional
    data.patch.targets[].diffstringConditional
    data.patch.targets[].domainstringConditional
    data.patch.targets[].kind"llms_txt" | "json_ld" | "canonical_summary"Conditional
    data.patch.targets[].pathstringConditional
    data.patch.targets[].previous_sha256stringConditional
    data.patch.targets[].publish_claimobject | nullNo
    data.patch.targets[].publish_claim.expected_revisionstringConditional
    data.patch.targets[].publish_claim.expected_sha256stringConditional
    data.patch.targets[].publish_claim.idstring (uuid)Conditional
    data.patch.targets[].publish_receiptobject | nullNo
    data.patch.targets[].publish_receipt.claim_idstring (uuid)Conditional
    data.patch.targets[].publish_receipt.content_sha256stringConditional
    data.patch.targets[].publish_receipt.revisionstringConditional
    data.patch.targets[].rollback_claimobject | nullNo
    data.patch.targets[].rollback_claim.expected_revisionstringConditional
    data.patch.targets[].rollback_claim.expected_sha256stringConditional
    data.patch.targets[].rollback_claim.idstring (uuid)Conditional
    data.patch.targets[].rollback_contentstringConditional
    data.patch.targets[].rollback_receiptobject | nullNo
    data.patch.targets[].rollback_receipt.claim_idstring (uuid)Conditional
    data.patch.targets[].rollback_receipt.content_sha256stringConditional
    data.patch.targets[].rollback_receipt.revisionstringConditional
    data.patch.targets[].target_idstring (uuid)Conditional
    data.revisionintegerYes
    data.source_availability"current" | "missing"Yes
    data.status"draft" | "in_review" | "changes_requested" | "approved" | "handed_off" | "publication_failed" | "published" | "archived" | "rolled_back"Yes
    data.updated_atstring (date-time)Yes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.
    HTTP 200 response fields 3
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.accuracy_claim_idstring (uuid)Yes
    data.accuracy_source_pagesarray of objectYes
    data.accuracy_source_pages[].ownership"brand" | "competitor" | "third_party"Yes
    data.accuracy_source_pages[].scope"answer" | "claim"Yes
    data.accuracy_source_pages[].urlstringYes
    data.approved_content_sha256string | nullYesSHA-256 hash of the content approved for delivery.
    data.citation_lift_benchmarknullNo
    data.claim_supportarray of objectYes
    data.claim_support[].claim_textstringYes
    data.claim_support[].passage_idstring (uuid)Yes
    data.claim_support[].source_excerptstringYes
    data.contentobject | nullYes
    data.content.bodystringConditional
    data.content.titlestringConditional
    data.content_method"approved_accuracy_fact" | "agency_edited"Yes
    data.content_sha256string | nullYesSHA-256 hash identifying this version of the content.
    data.created_atstring (date-time)Yes
    data.draft_idstring (uuid)YesIdentifies the draft associated with this result.
    data.format"accuracy_fix"Yes
    data.generation_guidancestring | nullYes
    data.handoffobject | nullYes
    data.handoff.content_sha256stringConditional
    data.handoff.created_atstring (date-time)Conditional
    data.handoff.delivery_claim_idstring (uuid) | nullNo
    data.handoff.destinationobjectConditional
    data.handoff.destination.destination_referencestringConditional
    data.handoff.destination.platform"cms" | "linkedin" | "reddit" | "youtube" | "other"Conditional
    data.handoff.handoff_idstring (uuid)Conditional
    data.item_idstring (uuid)Yes
    data.keywordsarray of objectYes
    data.keywords[].countrystringYes
    data.keywords[].difficulty_methodstring | nullNo
    data.keywords[].difficulty_scorenumber | nullNo
    data.keywords[].estimated_monthly_searchesinteger | nullNo
    data.keywords[].keywordstringYes
    data.keywords[].languagestringYes
    data.keywords[].measured_onstring (date)Yes
    data.keywords[].sourcestringYes
    data.keywords[].source_referencestringYes
    data.keywords[].volume_period_endstring (date) | nullNo
    data.keywords[].volume_period_startstring (date) | nullNo
    data.primary_keywordstringYes
    data.publication_failurestring | nullYes
    data.receiptobject | nullYes
    data.receipt.evidence_basis"publisher_reported"No
    data.receipt.published_atstring (date-time)Conditional
    data.receipt.published_urlstringConditional
    data.receipt.publisher_referencestringConditional
    data.receipt.reported_atstring (date-time)Conditional
    data.review_notestring | nullYes
    data.revisionintegerYes
    data.source_availability"current" | "needs_review"Yes
    data.source_passagesarray of objectYes
    data.source_passages[].content_revisionstring (uuid)Yes
    data.source_passages[].headingstringYes
    data.source_passages[].passage_idstring (uuid)Yes
    data.source_passages[].source_urlstringYes
    data.status"draft" | "in_review" | "changes_requested" | "approved" | "handed_off" | "publication_failed" | "published" | "archived"Yes
    data.updated_atstring (date-time)Yes
    data.voiceobjectYes
    data.voice.audiencestringYes
    data.voice.avoided_termsarray of stringNo
    data.voice.call_to_actionstring | nullNo
    data.voice.editorial_guidelinesstring | nullNo
    data.voice.languagestringYes
    data.voice.openingstring | nullNo
    data.voice.preferred_termsarray of stringNo
    data.voice.tonestringYes
    data.voice.writing_samplesarray of stringNo
    data.voice_checksobject | nullYes
    data.voice_checks.avoided_terms_presentarray of stringConditional
    data.voice_checks.copy_uses_primary_keywordbooleanConditional
    data.voice_checks.languagestringConditional
    data.voice_checks.preferred_terms_absentarray of stringConditional
    data.voice_checks.title_uses_primary_keywordbooleanConditional
    data.voice_revisionintegerYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Transition Draftarchive

    Open this request with Python and TypeScript examples

    • Body transition is archive.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    optimizations:write
    Roles
    approver, editor, owner, publisher, service
    Plans
    Optimizer
    Credits
    No credit charge.
    • Action archive. Roles editor, owner, service.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idpathstring (uuid)Yes
    draft_idpathstring (uuid)Yes

    Request body

    {
      "expected_revision": 1,
      "transition": "archive"
    }
    Request body fields 1
    NameTypeRequiredDescription
    expected_revisionintegerYes
    transition"archive"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X PATCH "$AEO_API_BASE_URL/v2/brands/$BRAND_ID/drafts/$DRAFT_ID" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.approved_content_sha256string | nullYesSHA-256 hash of the content approved for delivery.
    data.citation_lift_benchmarkobject | nullNo
    data.citation_lift_benchmark.benchmarkobject | nullConditional
    data.citation_lift_benchmark.benchmark.action_channelstringConditional
    data.citation_lift_benchmark.benchmark.after_answer_target_pairsintegerConditional
    data.citation_lift_benchmark.benchmark.after_citing_target_pairsintegerConditional
    data.citation_lift_benchmark.benchmark.before_answer_target_pairsintegerConditional
    data.citation_lift_benchmark.benchmark.before_citing_target_pairsintegerConditional
    data.citation_lift_benchmark.benchmark.eligible_targetsintegerConditional
    data.citation_lift_benchmark.benchmark.matched_target_cohortsintegerConditional
    data.citation_lift_benchmark.benchmark.mean_after_citation_ratenumberConditional
    data.citation_lift_benchmark.benchmark.mean_before_citation_ratenumberConditional
    data.citation_lift_benchmark.benchmark.mean_citation_rate_change_percentage_pointsnumberConditional
    data.citation_lift_benchmark.benchmark.median_citation_rate_change_percentage_pointsnumberConditional
    data.citation_lift_benchmark.benchmark.method"equal_weighted_targets_and_matched_cohorts"Conditional
    data.citation_lift_benchmark.benchmark.observationaltrueConditional
    data.citation_lift_benchmark.benchmark.report_generated_atstringConditional
    data.citation_lift_benchmark.benchmark.report_idstringConditional
    data.citation_lift_benchmark.benchmark.window_daysintegerConditional
    data.citation_lift_benchmark.reason"insufficient_access" | "no_saved_report" | "insufficient_eligible_targets" | "scan_limit_exceeded" | nullConditional
    data.claim_supportarray of objectYes
    data.claim_support[].claim_textstringYes
    data.claim_support[].passage_idstring (uuid)Yes
    data.claim_support[].source_excerptstringYes
    data.contentobject | nullYes
    data.content.bodystringConditional
    data.content.titlestringConditional
    data.content_method"customer_owned_passage_assembly" | "agency_edited"Yes
    data.content_sha256string | nullYesSHA-256 hash identifying this version of the content.
    data.created_atstring (date-time)Yes
    data.draft_idstring (uuid)YesIdentifies the draft associated with this result.
    data.format"blog" | "social" | "linkedin_article"Yes
    data.generation_guidancestring | nullYes
    data.handoffobject | nullYes
    data.handoff.content_sha256stringConditional
    data.handoff.created_atstring (date-time)Conditional
    data.handoff.delivery_claim_idstring (uuid) | nullNo
    data.handoff.destinationobjectConditional
    data.handoff.destination.destination_referencestringConditional
    data.handoff.destination.platform"cms" | "linkedin" | "reddit" | "youtube" | "other"Conditional
    data.handoff.handoff_idstring (uuid)Conditional
    data.item_idstring (uuid)Yes
    data.keywordsarray of objectYes
    data.keywords[].countrystringYes
    data.keywords[].difficulty_methodstring | nullNo
    data.keywords[].difficulty_scorenumber | nullNo
    data.keywords[].estimated_monthly_searchesinteger | nullNo
    data.keywords[].keywordstringYes
    data.keywords[].languagestringYes
    data.keywords[].measured_onstring (date)Yes
    data.keywords[].sourcestringYes
    data.keywords[].source_referencestringYes
    data.keywords[].volume_period_endstring (date) | nullNo
    data.keywords[].volume_period_startstring (date) | nullNo
    data.primary_keywordstringYes
    data.publication_failurestring | nullYes
    data.receiptobject | nullYes
    data.receipt.evidence_basis"publisher_reported"No
    data.receipt.published_atstring (date-time)Conditional
    data.receipt.published_urlstringConditional
    data.receipt.publisher_referencestringConditional
    data.receipt.reported_atstring (date-time)Conditional
    data.review_notestring | nullYes
    data.revisionintegerYes
    data.source_availability"current" | "missing"Yes
    data.source_passagesarray of objectYes
    data.source_passages[].content_revisionstring (uuid)Yes
    data.source_passages[].headingstringYes
    data.source_passages[].passage_idstring (uuid)Yes
    data.source_passages[].source_urlstringYes
    data.status"draft" | "in_review" | "changes_requested" | "approved" | "handed_off" | "publication_failed" | "published" | "archived"Yes
    data.updated_atstring (date-time)Yes
    data.voiceobjectYes
    data.voice.audiencestringYes
    data.voice.avoided_termsarray of stringNo
    data.voice.call_to_actionstring | nullNo
    data.voice.editorial_guidelinesstring | nullNo
    data.voice.languagestringYes
    data.voice.openingstring | nullNo
    data.voice.preferred_termsarray of stringNo
    data.voice.tonestringYes
    data.voice.writing_samplesarray of stringNo
    data.voice_checksobject | nullYes
    data.voice_checks.avoided_terms_presentarray of stringConditional
    data.voice_checks.copy_uses_primary_keywordbooleanConditional
    data.voice_checks.languagestringConditional
    data.voice_checks.preferred_terms_absentarray of stringConditional
    data.voice_checks.title_uses_primary_keywordbooleanConditional
    data.voice_revisionintegerYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    HTTP 200 response fields 2
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.created_atstring (date-time)Yes
    data.draft_idstring (uuid)YesIdentifies the draft associated with this result.
    data.format"product_fact_patch"Yes
    data.item_idstring (uuid)Yes
    data.patchobject | nullYes
    data.patch.approved_content_sha256string | nullNo
    data.patch.automatic_policyobject | nullNo
    data.patch.automatic_policy.artifact_typesarray of "llms_txt" | "json_ld" | "canonical_summary"Conditional
    data.patch.automatic_policy.domainsarray of stringConditional
    data.patch.automatic_policy.fact_sourcesarray of stringConditional
    data.patch.automatic_policy.max_changed_bytesintegerConditional
    data.patch.automatic_policy.max_targetsintegerConditional
    data.patch.automatic_policy.pathsarray of stringConditional
    data.patch.automatic_policy.versionstringConditional
    data.patch.content_sha256stringConditional
    data.patch.pause_reason"destination_drift" | "destination_unresolved" | nullNo
    data.patch.policy_approved_bystring (uuid) | nullNo
    data.patch.policy_versionstringConditional
    data.patch.source_content_revisionstring (uuid)Conditional
    data.patch.source_factobjectConditional
    data.patch.source_fact.amountstringConditional
    data.patch.source_fact.currencystringConditional
    data.patch.source_fact.depends_onarray of string (uuid)No
    data.patch.source_fact.effective_fromstring (date)Conditional
    data.patch.source_fact.event_idstring (uuid)Conditional
    data.patch.source_fact.marketstringConditional
    data.patch.source_fact.period"month" | "year" | "one_time"Conditional
    data.patch.source_fact.productstringConditional
    data.patch.source_fact.resolves_conflictbooleanNo
    data.patch.source_fact.sequenceintegerConditional
    data.patch.source_fact.sourcestringConditional
    data.patch.source_factsarray of objectConditional
    data.patch.source_facts[].amountstringConditional
    data.patch.source_facts[].currencystringConditional
    data.patch.source_facts[].depends_onarray of string (uuid)No
    data.patch.source_facts[].effective_fromstring (date)Conditional
    data.patch.source_facts[].event_idstring (uuid)Conditional
    data.patch.source_facts[].marketstringConditional
    data.patch.source_facts[].period"month" | "year" | "one_time"Conditional
    data.patch.source_facts[].productstringConditional
    data.patch.source_facts[].resolves_conflictbooleanNo
    data.patch.source_facts[].sequenceintegerConditional
    data.patch.source_facts[].sourcestringConditional
    data.patch.source_urlstringConditional
    data.patch.targetsarray of objectConditional
    data.patch.targets[].baseline_revisionstringConditional
    data.patch.targets[].connector"cms" | "edge"Conditional
    data.patch.targets[].contentstringConditional
    data.patch.targets[].content_sha256stringConditional
    data.patch.targets[].diffstringConditional
    data.patch.targets[].domainstringConditional
    data.patch.targets[].kind"llms_txt" | "json_ld" | "canonical_summary"Conditional
    data.patch.targets[].pathstringConditional
    data.patch.targets[].previous_sha256stringConditional
    data.patch.targets[].publish_claimobject | nullNo
    data.patch.targets[].publish_claim.expected_revisionstringConditional
    data.patch.targets[].publish_claim.expected_sha256stringConditional
    data.patch.targets[].publish_claim.idstring (uuid)Conditional
    data.patch.targets[].publish_receiptobject | nullNo
    data.patch.targets[].publish_receipt.claim_idstring (uuid)Conditional
    data.patch.targets[].publish_receipt.content_sha256stringConditional
    data.patch.targets[].publish_receipt.revisionstringConditional
    data.patch.targets[].rollback_claimobject | nullNo
    data.patch.targets[].rollback_claim.expected_revisionstringConditional
    data.patch.targets[].rollback_claim.expected_sha256stringConditional
    data.patch.targets[].rollback_claim.idstring (uuid)Conditional
    data.patch.targets[].rollback_contentstringConditional
    data.patch.targets[].rollback_receiptobject | nullNo
    data.patch.targets[].rollback_receipt.claim_idstring (uuid)Conditional
    data.patch.targets[].rollback_receipt.content_sha256stringConditional
    data.patch.targets[].rollback_receipt.revisionstringConditional
    data.patch.targets[].target_idstring (uuid)Conditional
    data.revisionintegerYes
    data.source_availability"current" | "missing"Yes
    data.status"draft" | "in_review" | "changes_requested" | "approved" | "handed_off" | "publication_failed" | "published" | "archived" | "rolled_back"Yes
    data.updated_atstring (date-time)Yes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.
    HTTP 200 response fields 3
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.accuracy_claim_idstring (uuid)Yes
    data.accuracy_source_pagesarray of objectYes
    data.accuracy_source_pages[].ownership"brand" | "competitor" | "third_party"Yes
    data.accuracy_source_pages[].scope"answer" | "claim"Yes
    data.accuracy_source_pages[].urlstringYes
    data.approved_content_sha256string | nullYesSHA-256 hash of the content approved for delivery.
    data.citation_lift_benchmarknullNo
    data.claim_supportarray of objectYes
    data.claim_support[].claim_textstringYes
    data.claim_support[].passage_idstring (uuid)Yes
    data.claim_support[].source_excerptstringYes
    data.contentobject | nullYes
    data.content.bodystringConditional
    data.content.titlestringConditional
    data.content_method"approved_accuracy_fact" | "agency_edited"Yes
    data.content_sha256string | nullYesSHA-256 hash identifying this version of the content.
    data.created_atstring (date-time)Yes
    data.draft_idstring (uuid)YesIdentifies the draft associated with this result.
    data.format"accuracy_fix"Yes
    data.generation_guidancestring | nullYes
    data.handoffobject | nullYes
    data.handoff.content_sha256stringConditional
    data.handoff.created_atstring (date-time)Conditional
    data.handoff.delivery_claim_idstring (uuid) | nullNo
    data.handoff.destinationobjectConditional
    data.handoff.destination.destination_referencestringConditional
    data.handoff.destination.platform"cms" | "linkedin" | "reddit" | "youtube" | "other"Conditional
    data.handoff.handoff_idstring (uuid)Conditional
    data.item_idstring (uuid)Yes
    data.keywordsarray of objectYes
    data.keywords[].countrystringYes
    data.keywords[].difficulty_methodstring | nullNo
    data.keywords[].difficulty_scorenumber | nullNo
    data.keywords[].estimated_monthly_searchesinteger | nullNo
    data.keywords[].keywordstringYes
    data.keywords[].languagestringYes
    data.keywords[].measured_onstring (date)Yes
    data.keywords[].sourcestringYes
    data.keywords[].source_referencestringYes
    data.keywords[].volume_period_endstring (date) | nullNo
    data.keywords[].volume_period_startstring (date) | nullNo
    data.primary_keywordstringYes
    data.publication_failurestring | nullYes
    data.receiptobject | nullYes
    data.receipt.evidence_basis"publisher_reported"No
    data.receipt.published_atstring (date-time)Conditional
    data.receipt.published_urlstringConditional
    data.receipt.publisher_referencestringConditional
    data.receipt.reported_atstring (date-time)Conditional
    data.review_notestring | nullYes
    data.revisionintegerYes
    data.source_availability"current" | "needs_review"Yes
    data.source_passagesarray of objectYes
    data.source_passages[].content_revisionstring (uuid)Yes
    data.source_passages[].headingstringYes
    data.source_passages[].passage_idstring (uuid)Yes
    data.source_passages[].source_urlstringYes
    data.status"draft" | "in_review" | "changes_requested" | "approved" | "handed_off" | "publication_failed" | "published" | "archived"Yes
    data.updated_atstring (date-time)Yes
    data.voiceobjectYes
    data.voice.audiencestringYes
    data.voice.avoided_termsarray of stringNo
    data.voice.call_to_actionstring | nullNo
    data.voice.editorial_guidelinesstring | nullNo
    data.voice.languagestringYes
    data.voice.openingstring | nullNo
    data.voice.preferred_termsarray of stringNo
    data.voice.tonestringYes
    data.voice.writing_samplesarray of stringNo
    data.voice_checksobject | nullYes
    data.voice_checks.avoided_terms_presentarray of stringConditional
    data.voice_checks.copy_uses_primary_keywordbooleanConditional
    data.voice_checks.languagestringConditional
    data.voice_checks.preferred_terms_absentarray of stringConditional
    data.voice_checks.title_uses_primary_keywordbooleanConditional
    data.voice_revisionintegerYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Transition Draftclaim_artifact

    Open this request with Python and TypeScript examples

    • Body transition is claim_artifact.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    optimizations:write
    Roles
    approver, editor, owner, publisher, service
    Plans
    Optimizer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idpathstring (uuid)Yes
    draft_idpathstring (uuid)Yes

    Request body

    {
      "expected_destination_revision": "rev-7",
      "expected_destination_sha256": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "expected_revision": 1,
      "operation": "publish",
      "target_id": "00000000-0000-4000-8000-000000009471",
      "transition": "claim_artifact"
    }
    Request body fields 1
    NameTypeRequiredDescription
    expected_destination_revisionstringYes
    expected_destination_sha256stringYes
    expected_revisionintegerYes
    operation"publish" | "rollback"Yes
    target_idstring (uuid)Yes
    transition"claim_artifact"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X PATCH "$AEO_API_BASE_URL/v2/brands/$BRAND_ID/drafts/$DRAFT_ID" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.approved_content_sha256string | nullYesSHA-256 hash of the content approved for delivery.
    data.citation_lift_benchmarkobject | nullNo
    data.citation_lift_benchmark.benchmarkobject | nullConditional
    data.citation_lift_benchmark.benchmark.action_channelstringConditional
    data.citation_lift_benchmark.benchmark.after_answer_target_pairsintegerConditional
    data.citation_lift_benchmark.benchmark.after_citing_target_pairsintegerConditional
    data.citation_lift_benchmark.benchmark.before_answer_target_pairsintegerConditional
    data.citation_lift_benchmark.benchmark.before_citing_target_pairsintegerConditional
    data.citation_lift_benchmark.benchmark.eligible_targetsintegerConditional
    data.citation_lift_benchmark.benchmark.matched_target_cohortsintegerConditional
    data.citation_lift_benchmark.benchmark.mean_after_citation_ratenumberConditional
    data.citation_lift_benchmark.benchmark.mean_before_citation_ratenumberConditional
    data.citation_lift_benchmark.benchmark.mean_citation_rate_change_percentage_pointsnumberConditional
    data.citation_lift_benchmark.benchmark.median_citation_rate_change_percentage_pointsnumberConditional
    data.citation_lift_benchmark.benchmark.method"equal_weighted_targets_and_matched_cohorts"Conditional
    data.citation_lift_benchmark.benchmark.observationaltrueConditional
    data.citation_lift_benchmark.benchmark.report_generated_atstringConditional
    data.citation_lift_benchmark.benchmark.report_idstringConditional
    data.citation_lift_benchmark.benchmark.window_daysintegerConditional
    data.citation_lift_benchmark.reason"insufficient_access" | "no_saved_report" | "insufficient_eligible_targets" | "scan_limit_exceeded" | nullConditional
    data.claim_supportarray of objectYes
    data.claim_support[].claim_textstringYes
    data.claim_support[].passage_idstring (uuid)Yes
    data.claim_support[].source_excerptstringYes
    data.contentobject | nullYes
    data.content.bodystringConditional
    data.content.titlestringConditional
    data.content_method"customer_owned_passage_assembly" | "agency_edited"Yes
    data.content_sha256string | nullYesSHA-256 hash identifying this version of the content.
    data.created_atstring (date-time)Yes
    data.draft_idstring (uuid)YesIdentifies the draft associated with this result.
    data.format"blog" | "social" | "linkedin_article"Yes
    data.generation_guidancestring | nullYes
    data.handoffobject | nullYes
    data.handoff.content_sha256stringConditional
    data.handoff.created_atstring (date-time)Conditional
    data.handoff.delivery_claim_idstring (uuid) | nullNo
    data.handoff.destinationobjectConditional
    data.handoff.destination.destination_referencestringConditional
    data.handoff.destination.platform"cms" | "linkedin" | "reddit" | "youtube" | "other"Conditional
    data.handoff.handoff_idstring (uuid)Conditional
    data.item_idstring (uuid)Yes
    data.keywordsarray of objectYes
    data.keywords[].countrystringYes
    data.keywords[].difficulty_methodstring | nullNo
    data.keywords[].difficulty_scorenumber | nullNo
    data.keywords[].estimated_monthly_searchesinteger | nullNo
    data.keywords[].keywordstringYes
    data.keywords[].languagestringYes
    data.keywords[].measured_onstring (date)Yes
    data.keywords[].sourcestringYes
    data.keywords[].source_referencestringYes
    data.keywords[].volume_period_endstring (date) | nullNo
    data.keywords[].volume_period_startstring (date) | nullNo
    data.primary_keywordstringYes
    data.publication_failurestring | nullYes
    data.receiptobject | nullYes
    data.receipt.evidence_basis"publisher_reported"No
    data.receipt.published_atstring (date-time)Conditional
    data.receipt.published_urlstringConditional
    data.receipt.publisher_referencestringConditional
    data.receipt.reported_atstring (date-time)Conditional
    data.review_notestring | nullYes
    data.revisionintegerYes
    data.source_availability"current" | "missing"Yes
    data.source_passagesarray of objectYes
    data.source_passages[].content_revisionstring (uuid)Yes
    data.source_passages[].headingstringYes
    data.source_passages[].passage_idstring (uuid)Yes
    data.source_passages[].source_urlstringYes
    data.status"draft" | "in_review" | "changes_requested" | "approved" | "handed_off" | "publication_failed" | "published" | "archived"Yes
    data.updated_atstring (date-time)Yes
    data.voiceobjectYes
    data.voice.audiencestringYes
    data.voice.avoided_termsarray of stringNo
    data.voice.call_to_actionstring | nullNo
    data.voice.editorial_guidelinesstring | nullNo
    data.voice.languagestringYes
    data.voice.openingstring | nullNo
    data.voice.preferred_termsarray of stringNo
    data.voice.tonestringYes
    data.voice.writing_samplesarray of stringNo
    data.voice_checksobject | nullYes
    data.voice_checks.avoided_terms_presentarray of stringConditional
    data.voice_checks.copy_uses_primary_keywordbooleanConditional
    data.voice_checks.languagestringConditional
    data.voice_checks.preferred_terms_absentarray of stringConditional
    data.voice_checks.title_uses_primary_keywordbooleanConditional
    data.voice_revisionintegerYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    HTTP 200 response fields 2
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.created_atstring (date-time)Yes
    data.draft_idstring (uuid)YesIdentifies the draft associated with this result.
    data.format"product_fact_patch"Yes
    data.item_idstring (uuid)Yes
    data.patchobject | nullYes
    data.patch.approved_content_sha256string | nullNo
    data.patch.automatic_policyobject | nullNo
    data.patch.automatic_policy.artifact_typesarray of "llms_txt" | "json_ld" | "canonical_summary"Conditional
    data.patch.automatic_policy.domainsarray of stringConditional
    data.patch.automatic_policy.fact_sourcesarray of stringConditional
    data.patch.automatic_policy.max_changed_bytesintegerConditional
    data.patch.automatic_policy.max_targetsintegerConditional
    data.patch.automatic_policy.pathsarray of stringConditional
    data.patch.automatic_policy.versionstringConditional
    data.patch.content_sha256stringConditional
    data.patch.pause_reason"destination_drift" | "destination_unresolved" | nullNo
    data.patch.policy_approved_bystring (uuid) | nullNo
    data.patch.policy_versionstringConditional
    data.patch.source_content_revisionstring (uuid)Conditional
    data.patch.source_factobjectConditional
    data.patch.source_fact.amountstringConditional
    data.patch.source_fact.currencystringConditional
    data.patch.source_fact.depends_onarray of string (uuid)No
    data.patch.source_fact.effective_fromstring (date)Conditional
    data.patch.source_fact.event_idstring (uuid)Conditional
    data.patch.source_fact.marketstringConditional
    data.patch.source_fact.period"month" | "year" | "one_time"Conditional
    data.patch.source_fact.productstringConditional
    data.patch.source_fact.resolves_conflictbooleanNo
    data.patch.source_fact.sequenceintegerConditional
    data.patch.source_fact.sourcestringConditional
    data.patch.source_factsarray of objectConditional
    data.patch.source_facts[].amountstringConditional
    data.patch.source_facts[].currencystringConditional
    data.patch.source_facts[].depends_onarray of string (uuid)No
    data.patch.source_facts[].effective_fromstring (date)Conditional
    data.patch.source_facts[].event_idstring (uuid)Conditional
    data.patch.source_facts[].marketstringConditional
    data.patch.source_facts[].period"month" | "year" | "one_time"Conditional
    data.patch.source_facts[].productstringConditional
    data.patch.source_facts[].resolves_conflictbooleanNo
    data.patch.source_facts[].sequenceintegerConditional
    data.patch.source_facts[].sourcestringConditional
    data.patch.source_urlstringConditional
    data.patch.targetsarray of objectConditional
    data.patch.targets[].baseline_revisionstringConditional
    data.patch.targets[].connector"cms" | "edge"Conditional
    data.patch.targets[].contentstringConditional
    data.patch.targets[].content_sha256stringConditional
    data.patch.targets[].diffstringConditional
    data.patch.targets[].domainstringConditional
    data.patch.targets[].kind"llms_txt" | "json_ld" | "canonical_summary"Conditional
    data.patch.targets[].pathstringConditional
    data.patch.targets[].previous_sha256stringConditional
    data.patch.targets[].publish_claimobject | nullNo
    data.patch.targets[].publish_claim.expected_revisionstringConditional
    data.patch.targets[].publish_claim.expected_sha256stringConditional
    data.patch.targets[].publish_claim.idstring (uuid)Conditional
    data.patch.targets[].publish_receiptobject | nullNo
    data.patch.targets[].publish_receipt.claim_idstring (uuid)Conditional
    data.patch.targets[].publish_receipt.content_sha256stringConditional
    data.patch.targets[].publish_receipt.revisionstringConditional
    data.patch.targets[].rollback_claimobject | nullNo
    data.patch.targets[].rollback_claim.expected_revisionstringConditional
    data.patch.targets[].rollback_claim.expected_sha256stringConditional
    data.patch.targets[].rollback_claim.idstring (uuid)Conditional
    data.patch.targets[].rollback_contentstringConditional
    data.patch.targets[].rollback_receiptobject | nullNo
    data.patch.targets[].rollback_receipt.claim_idstring (uuid)Conditional
    data.patch.targets[].rollback_receipt.content_sha256stringConditional
    data.patch.targets[].rollback_receipt.revisionstringConditional
    data.patch.targets[].target_idstring (uuid)Conditional
    data.revisionintegerYes
    data.source_availability"current" | "missing"Yes
    data.status"draft" | "in_review" | "changes_requested" | "approved" | "handed_off" | "publication_failed" | "published" | "archived" | "rolled_back"Yes
    data.updated_atstring (date-time)Yes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.
    HTTP 200 response fields 3
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.accuracy_claim_idstring (uuid)Yes
    data.accuracy_source_pagesarray of objectYes
    data.accuracy_source_pages[].ownership"brand" | "competitor" | "third_party"Yes
    data.accuracy_source_pages[].scope"answer" | "claim"Yes
    data.accuracy_source_pages[].urlstringYes
    data.approved_content_sha256string | nullYesSHA-256 hash of the content approved for delivery.
    data.citation_lift_benchmarknullNo
    data.claim_supportarray of objectYes
    data.claim_support[].claim_textstringYes
    data.claim_support[].passage_idstring (uuid)Yes
    data.claim_support[].source_excerptstringYes
    data.contentobject | nullYes
    data.content.bodystringConditional
    data.content.titlestringConditional
    data.content_method"approved_accuracy_fact" | "agency_edited"Yes
    data.content_sha256string | nullYesSHA-256 hash identifying this version of the content.
    data.created_atstring (date-time)Yes
    data.draft_idstring (uuid)YesIdentifies the draft associated with this result.
    data.format"accuracy_fix"Yes
    data.generation_guidancestring | nullYes
    data.handoffobject | nullYes
    data.handoff.content_sha256stringConditional
    data.handoff.created_atstring (date-time)Conditional
    data.handoff.delivery_claim_idstring (uuid) | nullNo
    data.handoff.destinationobjectConditional
    data.handoff.destination.destination_referencestringConditional
    data.handoff.destination.platform"cms" | "linkedin" | "reddit" | "youtube" | "other"Conditional
    data.handoff.handoff_idstring (uuid)Conditional
    data.item_idstring (uuid)Yes
    data.keywordsarray of objectYes
    data.keywords[].countrystringYes
    data.keywords[].difficulty_methodstring | nullNo
    data.keywords[].difficulty_scorenumber | nullNo
    data.keywords[].estimated_monthly_searchesinteger | nullNo
    data.keywords[].keywordstringYes
    data.keywords[].languagestringYes
    data.keywords[].measured_onstring (date)Yes
    data.keywords[].sourcestringYes
    data.keywords[].source_referencestringYes
    data.keywords[].volume_period_endstring (date) | nullNo
    data.keywords[].volume_period_startstring (date) | nullNo
    data.primary_keywordstringYes
    data.publication_failurestring | nullYes
    data.receiptobject | nullYes
    data.receipt.evidence_basis"publisher_reported"No
    data.receipt.published_atstring (date-time)Conditional
    data.receipt.published_urlstringConditional
    data.receipt.publisher_referencestringConditional
    data.receipt.reported_atstring (date-time)Conditional
    data.review_notestring | nullYes
    data.revisionintegerYes
    data.source_availability"current" | "needs_review"Yes
    data.source_passagesarray of objectYes
    data.source_passages[].content_revisionstring (uuid)Yes
    data.source_passages[].headingstringYes
    data.source_passages[].passage_idstring (uuid)Yes
    data.source_passages[].source_urlstringYes
    data.status"draft" | "in_review" | "changes_requested" | "approved" | "handed_off" | "publication_failed" | "published" | "archived"Yes
    data.updated_atstring (date-time)Yes
    data.voiceobjectYes
    data.voice.audiencestringYes
    data.voice.avoided_termsarray of stringNo
    data.voice.call_to_actionstring | nullNo
    data.voice.editorial_guidelinesstring | nullNo
    data.voice.languagestringYes
    data.voice.openingstring | nullNo
    data.voice.preferred_termsarray of stringNo
    data.voice.tonestringYes
    data.voice.writing_samplesarray of stringNo
    data.voice_checksobject | nullYes
    data.voice_checks.avoided_terms_presentarray of stringConditional
    data.voice_checks.copy_uses_primary_keywordbooleanConditional
    data.voice_checks.languagestringConditional
    data.voice_checks.preferred_terms_absentarray of stringConditional
    data.voice_checks.title_uses_primary_keywordbooleanConditional
    data.voice_revisionintegerYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Transition Draftrecord_artifact

    Open this request with Python and TypeScript examples

    • Body transition is record_artifact.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    optimizations:write
    Roles
    approver, editor, owner, publisher, service
    Plans
    Optimizer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idpathstring (uuid)Yes
    draft_idpathstring (uuid)Yes

    Request body

    {
      "claim_id": "00000000-0000-4000-8000-000000008181",
      "content_sha256": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "destination_revision": "rev-8",
      "expected_revision": 1,
      "target_id": "00000000-0000-4000-8000-000000009471",
      "transition": "record_artifact"
    }
    Request body fields 1
    NameTypeRequiredDescription
    claim_idstring (uuid)Yes
    content_sha256stringYes
    destination_revisionstringYes
    expected_revisionintegerYes
    target_idstring (uuid)Yes
    transition"record_artifact"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X PATCH "$AEO_API_BASE_URL/v2/brands/$BRAND_ID/drafts/$DRAFT_ID" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.approved_content_sha256string | nullYesSHA-256 hash of the content approved for delivery.
    data.citation_lift_benchmarkobject | nullNo
    data.citation_lift_benchmark.benchmarkobject | nullConditional
    data.citation_lift_benchmark.benchmark.action_channelstringConditional
    data.citation_lift_benchmark.benchmark.after_answer_target_pairsintegerConditional
    data.citation_lift_benchmark.benchmark.after_citing_target_pairsintegerConditional
    data.citation_lift_benchmark.benchmark.before_answer_target_pairsintegerConditional
    data.citation_lift_benchmark.benchmark.before_citing_target_pairsintegerConditional
    data.citation_lift_benchmark.benchmark.eligible_targetsintegerConditional
    data.citation_lift_benchmark.benchmark.matched_target_cohortsintegerConditional
    data.citation_lift_benchmark.benchmark.mean_after_citation_ratenumberConditional
    data.citation_lift_benchmark.benchmark.mean_before_citation_ratenumberConditional
    data.citation_lift_benchmark.benchmark.mean_citation_rate_change_percentage_pointsnumberConditional
    data.citation_lift_benchmark.benchmark.median_citation_rate_change_percentage_pointsnumberConditional
    data.citation_lift_benchmark.benchmark.method"equal_weighted_targets_and_matched_cohorts"Conditional
    data.citation_lift_benchmark.benchmark.observationaltrueConditional
    data.citation_lift_benchmark.benchmark.report_generated_atstringConditional
    data.citation_lift_benchmark.benchmark.report_idstringConditional
    data.citation_lift_benchmark.benchmark.window_daysintegerConditional
    data.citation_lift_benchmark.reason"insufficient_access" | "no_saved_report" | "insufficient_eligible_targets" | "scan_limit_exceeded" | nullConditional
    data.claim_supportarray of objectYes
    data.claim_support[].claim_textstringYes
    data.claim_support[].passage_idstring (uuid)Yes
    data.claim_support[].source_excerptstringYes
    data.contentobject | nullYes
    data.content.bodystringConditional
    data.content.titlestringConditional
    data.content_method"customer_owned_passage_assembly" | "agency_edited"Yes
    data.content_sha256string | nullYesSHA-256 hash identifying this version of the content.
    data.created_atstring (date-time)Yes
    data.draft_idstring (uuid)YesIdentifies the draft associated with this result.
    data.format"blog" | "social" | "linkedin_article"Yes
    data.generation_guidancestring | nullYes
    data.handoffobject | nullYes
    data.handoff.content_sha256stringConditional
    data.handoff.created_atstring (date-time)Conditional
    data.handoff.delivery_claim_idstring (uuid) | nullNo
    data.handoff.destinationobjectConditional
    data.handoff.destination.destination_referencestringConditional
    data.handoff.destination.platform"cms" | "linkedin" | "reddit" | "youtube" | "other"Conditional
    data.handoff.handoff_idstring (uuid)Conditional
    data.item_idstring (uuid)Yes
    data.keywordsarray of objectYes
    data.keywords[].countrystringYes
    data.keywords[].difficulty_methodstring | nullNo
    data.keywords[].difficulty_scorenumber | nullNo
    data.keywords[].estimated_monthly_searchesinteger | nullNo
    data.keywords[].keywordstringYes
    data.keywords[].languagestringYes
    data.keywords[].measured_onstring (date)Yes
    data.keywords[].sourcestringYes
    data.keywords[].source_referencestringYes
    data.keywords[].volume_period_endstring (date) | nullNo
    data.keywords[].volume_period_startstring (date) | nullNo
    data.primary_keywordstringYes
    data.publication_failurestring | nullYes
    data.receiptobject | nullYes
    data.receipt.evidence_basis"publisher_reported"No
    data.receipt.published_atstring (date-time)Conditional
    data.receipt.published_urlstringConditional
    data.receipt.publisher_referencestringConditional
    data.receipt.reported_atstring (date-time)Conditional
    data.review_notestring | nullYes
    data.revisionintegerYes
    data.source_availability"current" | "missing"Yes
    data.source_passagesarray of objectYes
    data.source_passages[].content_revisionstring (uuid)Yes
    data.source_passages[].headingstringYes
    data.source_passages[].passage_idstring (uuid)Yes
    data.source_passages[].source_urlstringYes
    data.status"draft" | "in_review" | "changes_requested" | "approved" | "handed_off" | "publication_failed" | "published" | "archived"Yes
    data.updated_atstring (date-time)Yes
    data.voiceobjectYes
    data.voice.audiencestringYes
    data.voice.avoided_termsarray of stringNo
    data.voice.call_to_actionstring | nullNo
    data.voice.editorial_guidelinesstring | nullNo
    data.voice.languagestringYes
    data.voice.openingstring | nullNo
    data.voice.preferred_termsarray of stringNo
    data.voice.tonestringYes
    data.voice.writing_samplesarray of stringNo
    data.voice_checksobject | nullYes
    data.voice_checks.avoided_terms_presentarray of stringConditional
    data.voice_checks.copy_uses_primary_keywordbooleanConditional
    data.voice_checks.languagestringConditional
    data.voice_checks.preferred_terms_absentarray of stringConditional
    data.voice_checks.title_uses_primary_keywordbooleanConditional
    data.voice_revisionintegerYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    HTTP 200 response fields 2
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.created_atstring (date-time)Yes
    data.draft_idstring (uuid)YesIdentifies the draft associated with this result.
    data.format"product_fact_patch"Yes
    data.item_idstring (uuid)Yes
    data.patchobject | nullYes
    data.patch.approved_content_sha256string | nullNo
    data.patch.automatic_policyobject | nullNo
    data.patch.automatic_policy.artifact_typesarray of "llms_txt" | "json_ld" | "canonical_summary"Conditional
    data.patch.automatic_policy.domainsarray of stringConditional
    data.patch.automatic_policy.fact_sourcesarray of stringConditional
    data.patch.automatic_policy.max_changed_bytesintegerConditional
    data.patch.automatic_policy.max_targetsintegerConditional
    data.patch.automatic_policy.pathsarray of stringConditional
    data.patch.automatic_policy.versionstringConditional
    data.patch.content_sha256stringConditional
    data.patch.pause_reason"destination_drift" | "destination_unresolved" | nullNo
    data.patch.policy_approved_bystring (uuid) | nullNo
    data.patch.policy_versionstringConditional
    data.patch.source_content_revisionstring (uuid)Conditional
    data.patch.source_factobjectConditional
    data.patch.source_fact.amountstringConditional
    data.patch.source_fact.currencystringConditional
    data.patch.source_fact.depends_onarray of string (uuid)No
    data.patch.source_fact.effective_fromstring (date)Conditional
    data.patch.source_fact.event_idstring (uuid)Conditional
    data.patch.source_fact.marketstringConditional
    data.patch.source_fact.period"month" | "year" | "one_time"Conditional
    data.patch.source_fact.productstringConditional
    data.patch.source_fact.resolves_conflictbooleanNo
    data.patch.source_fact.sequenceintegerConditional
    data.patch.source_fact.sourcestringConditional
    data.patch.source_factsarray of objectConditional
    data.patch.source_facts[].amountstringConditional
    data.patch.source_facts[].currencystringConditional
    data.patch.source_facts[].depends_onarray of string (uuid)No
    data.patch.source_facts[].effective_fromstring (date)Conditional
    data.patch.source_facts[].event_idstring (uuid)Conditional
    data.patch.source_facts[].marketstringConditional
    data.patch.source_facts[].period"month" | "year" | "one_time"Conditional
    data.patch.source_facts[].productstringConditional
    data.patch.source_facts[].resolves_conflictbooleanNo
    data.patch.source_facts[].sequenceintegerConditional
    data.patch.source_facts[].sourcestringConditional
    data.patch.source_urlstringConditional
    data.patch.targetsarray of objectConditional
    data.patch.targets[].baseline_revisionstringConditional
    data.patch.targets[].connector"cms" | "edge"Conditional
    data.patch.targets[].contentstringConditional
    data.patch.targets[].content_sha256stringConditional
    data.patch.targets[].diffstringConditional
    data.patch.targets[].domainstringConditional
    data.patch.targets[].kind"llms_txt" | "json_ld" | "canonical_summary"Conditional
    data.patch.targets[].pathstringConditional
    data.patch.targets[].previous_sha256stringConditional
    data.patch.targets[].publish_claimobject | nullNo
    data.patch.targets[].publish_claim.expected_revisionstringConditional
    data.patch.targets[].publish_claim.expected_sha256stringConditional
    data.patch.targets[].publish_claim.idstring (uuid)Conditional
    data.patch.targets[].publish_receiptobject | nullNo
    data.patch.targets[].publish_receipt.claim_idstring (uuid)Conditional
    data.patch.targets[].publish_receipt.content_sha256stringConditional
    data.patch.targets[].publish_receipt.revisionstringConditional
    data.patch.targets[].rollback_claimobject | nullNo
    data.patch.targets[].rollback_claim.expected_revisionstringConditional
    data.patch.targets[].rollback_claim.expected_sha256stringConditional
    data.patch.targets[].rollback_claim.idstring (uuid)Conditional
    data.patch.targets[].rollback_contentstringConditional
    data.patch.targets[].rollback_receiptobject | nullNo
    data.patch.targets[].rollback_receipt.claim_idstring (uuid)Conditional
    data.patch.targets[].rollback_receipt.content_sha256stringConditional
    data.patch.targets[].rollback_receipt.revisionstringConditional
    data.patch.targets[].target_idstring (uuid)Conditional
    data.revisionintegerYes
    data.source_availability"current" | "missing"Yes
    data.status"draft" | "in_review" | "changes_requested" | "approved" | "handed_off" | "publication_failed" | "published" | "archived" | "rolled_back"Yes
    data.updated_atstring (date-time)Yes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.
    HTTP 200 response fields 3
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.accuracy_claim_idstring (uuid)Yes
    data.accuracy_source_pagesarray of objectYes
    data.accuracy_source_pages[].ownership"brand" | "competitor" | "third_party"Yes
    data.accuracy_source_pages[].scope"answer" | "claim"Yes
    data.accuracy_source_pages[].urlstringYes
    data.approved_content_sha256string | nullYesSHA-256 hash of the content approved for delivery.
    data.citation_lift_benchmarknullNo
    data.claim_supportarray of objectYes
    data.claim_support[].claim_textstringYes
    data.claim_support[].passage_idstring (uuid)Yes
    data.claim_support[].source_excerptstringYes
    data.contentobject | nullYes
    data.content.bodystringConditional
    data.content.titlestringConditional
    data.content_method"approved_accuracy_fact" | "agency_edited"Yes
    data.content_sha256string | nullYesSHA-256 hash identifying this version of the content.
    data.created_atstring (date-time)Yes
    data.draft_idstring (uuid)YesIdentifies the draft associated with this result.
    data.format"accuracy_fix"Yes
    data.generation_guidancestring | nullYes
    data.handoffobject | nullYes
    data.handoff.content_sha256stringConditional
    data.handoff.created_atstring (date-time)Conditional
    data.handoff.delivery_claim_idstring (uuid) | nullNo
    data.handoff.destinationobjectConditional
    data.handoff.destination.destination_referencestringConditional
    data.handoff.destination.platform"cms" | "linkedin" | "reddit" | "youtube" | "other"Conditional
    data.handoff.handoff_idstring (uuid)Conditional
    data.item_idstring (uuid)Yes
    data.keywordsarray of objectYes
    data.keywords[].countrystringYes
    data.keywords[].difficulty_methodstring | nullNo
    data.keywords[].difficulty_scorenumber | nullNo
    data.keywords[].estimated_monthly_searchesinteger | nullNo
    data.keywords[].keywordstringYes
    data.keywords[].languagestringYes
    data.keywords[].measured_onstring (date)Yes
    data.keywords[].sourcestringYes
    data.keywords[].source_referencestringYes
    data.keywords[].volume_period_endstring (date) | nullNo
    data.keywords[].volume_period_startstring (date) | nullNo
    data.primary_keywordstringYes
    data.publication_failurestring | nullYes
    data.receiptobject | nullYes
    data.receipt.evidence_basis"publisher_reported"No
    data.receipt.published_atstring (date-time)Conditional
    data.receipt.published_urlstringConditional
    data.receipt.publisher_referencestringConditional
    data.receipt.reported_atstring (date-time)Conditional
    data.review_notestring | nullYes
    data.revisionintegerYes
    data.source_availability"current" | "needs_review"Yes
    data.source_passagesarray of objectYes
    data.source_passages[].content_revisionstring (uuid)Yes
    data.source_passages[].headingstringYes
    data.source_passages[].passage_idstring (uuid)Yes
    data.source_passages[].source_urlstringYes
    data.status"draft" | "in_review" | "changes_requested" | "approved" | "handed_off" | "publication_failed" | "published" | "archived"Yes
    data.updated_atstring (date-time)Yes
    data.voiceobjectYes
    data.voice.audiencestringYes
    data.voice.avoided_termsarray of stringNo
    data.voice.call_to_actionstring | nullNo
    data.voice.editorial_guidelinesstring | nullNo
    data.voice.languagestringYes
    data.voice.openingstring | nullNo
    data.voice.preferred_termsarray of stringNo
    data.voice.tonestringYes
    data.voice.writing_samplesarray of stringNo
    data.voice_checksobject | nullYes
    data.voice_checks.avoided_terms_presentarray of stringConditional
    data.voice_checks.copy_uses_primary_keywordbooleanConditional
    data.voice_checks.languagestringConditional
    data.voice_checks.preferred_terms_absentarray of stringConditional
    data.voice_checks.title_uses_primary_keywordbooleanConditional
    data.voice_revisionintegerYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Transition Draftpause_artifacts

    Open this request with Python and TypeScript examples

    • Body transition is pause_artifacts.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    optimizations:write
    Roles
    approver, editor, owner, publisher, service
    Plans
    Optimizer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idpathstring (uuid)Yes
    draft_idpathstring (uuid)Yes

    Request body

    {
      "expected_revision": 1,
      "reason": "destination_drift",
      "transition": "pause_artifacts"
    }
    Request body fields 1
    NameTypeRequiredDescription
    expected_revisionintegerYes
    reason"destination_drift" | "destination_unresolved"Yes
    transition"pause_artifacts"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X PATCH "$AEO_API_BASE_URL/v2/brands/$BRAND_ID/drafts/$DRAFT_ID" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.approved_content_sha256string | nullYesSHA-256 hash of the content approved for delivery.
    data.citation_lift_benchmarkobject | nullNo
    data.citation_lift_benchmark.benchmarkobject | nullConditional
    data.citation_lift_benchmark.benchmark.action_channelstringConditional
    data.citation_lift_benchmark.benchmark.after_answer_target_pairsintegerConditional
    data.citation_lift_benchmark.benchmark.after_citing_target_pairsintegerConditional
    data.citation_lift_benchmark.benchmark.before_answer_target_pairsintegerConditional
    data.citation_lift_benchmark.benchmark.before_citing_target_pairsintegerConditional
    data.citation_lift_benchmark.benchmark.eligible_targetsintegerConditional
    data.citation_lift_benchmark.benchmark.matched_target_cohortsintegerConditional
    data.citation_lift_benchmark.benchmark.mean_after_citation_ratenumberConditional
    data.citation_lift_benchmark.benchmark.mean_before_citation_ratenumberConditional
    data.citation_lift_benchmark.benchmark.mean_citation_rate_change_percentage_pointsnumberConditional
    data.citation_lift_benchmark.benchmark.median_citation_rate_change_percentage_pointsnumberConditional
    data.citation_lift_benchmark.benchmark.method"equal_weighted_targets_and_matched_cohorts"Conditional
    data.citation_lift_benchmark.benchmark.observationaltrueConditional
    data.citation_lift_benchmark.benchmark.report_generated_atstringConditional
    data.citation_lift_benchmark.benchmark.report_idstringConditional
    data.citation_lift_benchmark.benchmark.window_daysintegerConditional
    data.citation_lift_benchmark.reason"insufficient_access" | "no_saved_report" | "insufficient_eligible_targets" | "scan_limit_exceeded" | nullConditional
    data.claim_supportarray of objectYes
    data.claim_support[].claim_textstringYes
    data.claim_support[].passage_idstring (uuid)Yes
    data.claim_support[].source_excerptstringYes
    data.contentobject | nullYes
    data.content.bodystringConditional
    data.content.titlestringConditional
    data.content_method"customer_owned_passage_assembly" | "agency_edited"Yes
    data.content_sha256string | nullYesSHA-256 hash identifying this version of the content.
    data.created_atstring (date-time)Yes
    data.draft_idstring (uuid)YesIdentifies the draft associated with this result.
    data.format"blog" | "social" | "linkedin_article"Yes
    data.generation_guidancestring | nullYes
    data.handoffobject | nullYes
    data.handoff.content_sha256stringConditional
    data.handoff.created_atstring (date-time)Conditional
    data.handoff.delivery_claim_idstring (uuid) | nullNo
    data.handoff.destinationobjectConditional
    data.handoff.destination.destination_referencestringConditional
    data.handoff.destination.platform"cms" | "linkedin" | "reddit" | "youtube" | "other"Conditional
    data.handoff.handoff_idstring (uuid)Conditional
    data.item_idstring (uuid)Yes
    data.keywordsarray of objectYes
    data.keywords[].countrystringYes
    data.keywords[].difficulty_methodstring | nullNo
    data.keywords[].difficulty_scorenumber | nullNo
    data.keywords[].estimated_monthly_searchesinteger | nullNo
    data.keywords[].keywordstringYes
    data.keywords[].languagestringYes
    data.keywords[].measured_onstring (date)Yes
    data.keywords[].sourcestringYes
    data.keywords[].source_referencestringYes
    data.keywords[].volume_period_endstring (date) | nullNo
    data.keywords[].volume_period_startstring (date) | nullNo
    data.primary_keywordstringYes
    data.publication_failurestring | nullYes
    data.receiptobject | nullYes
    data.receipt.evidence_basis"publisher_reported"No
    data.receipt.published_atstring (date-time)Conditional
    data.receipt.published_urlstringConditional
    data.receipt.publisher_referencestringConditional
    data.receipt.reported_atstring (date-time)Conditional
    data.review_notestring | nullYes
    data.revisionintegerYes
    data.source_availability"current" | "missing"Yes
    data.source_passagesarray of objectYes
    data.source_passages[].content_revisionstring (uuid)Yes
    data.source_passages[].headingstringYes
    data.source_passages[].passage_idstring (uuid)Yes
    data.source_passages[].source_urlstringYes
    data.status"draft" | "in_review" | "changes_requested" | "approved" | "handed_off" | "publication_failed" | "published" | "archived"Yes
    data.updated_atstring (date-time)Yes
    data.voiceobjectYes
    data.voice.audiencestringYes
    data.voice.avoided_termsarray of stringNo
    data.voice.call_to_actionstring | nullNo
    data.voice.editorial_guidelinesstring | nullNo
    data.voice.languagestringYes
    data.voice.openingstring | nullNo
    data.voice.preferred_termsarray of stringNo
    data.voice.tonestringYes
    data.voice.writing_samplesarray of stringNo
    data.voice_checksobject | nullYes
    data.voice_checks.avoided_terms_presentarray of stringConditional
    data.voice_checks.copy_uses_primary_keywordbooleanConditional
    data.voice_checks.languagestringConditional
    data.voice_checks.preferred_terms_absentarray of stringConditional
    data.voice_checks.title_uses_primary_keywordbooleanConditional
    data.voice_revisionintegerYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    HTTP 200 response fields 2
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.created_atstring (date-time)Yes
    data.draft_idstring (uuid)YesIdentifies the draft associated with this result.
    data.format"product_fact_patch"Yes
    data.item_idstring (uuid)Yes
    data.patchobject | nullYes
    data.patch.approved_content_sha256string | nullNo
    data.patch.automatic_policyobject | nullNo
    data.patch.automatic_policy.artifact_typesarray of "llms_txt" | "json_ld" | "canonical_summary"Conditional
    data.patch.automatic_policy.domainsarray of stringConditional
    data.patch.automatic_policy.fact_sourcesarray of stringConditional
    data.patch.automatic_policy.max_changed_bytesintegerConditional
    data.patch.automatic_policy.max_targetsintegerConditional
    data.patch.automatic_policy.pathsarray of stringConditional
    data.patch.automatic_policy.versionstringConditional
    data.patch.content_sha256stringConditional
    data.patch.pause_reason"destination_drift" | "destination_unresolved" | nullNo
    data.patch.policy_approved_bystring (uuid) | nullNo
    data.patch.policy_versionstringConditional
    data.patch.source_content_revisionstring (uuid)Conditional
    data.patch.source_factobjectConditional
    data.patch.source_fact.amountstringConditional
    data.patch.source_fact.currencystringConditional
    data.patch.source_fact.depends_onarray of string (uuid)No
    data.patch.source_fact.effective_fromstring (date)Conditional
    data.patch.source_fact.event_idstring (uuid)Conditional
    data.patch.source_fact.marketstringConditional
    data.patch.source_fact.period"month" | "year" | "one_time"Conditional
    data.patch.source_fact.productstringConditional
    data.patch.source_fact.resolves_conflictbooleanNo
    data.patch.source_fact.sequenceintegerConditional
    data.patch.source_fact.sourcestringConditional
    data.patch.source_factsarray of objectConditional
    data.patch.source_facts[].amountstringConditional
    data.patch.source_facts[].currencystringConditional
    data.patch.source_facts[].depends_onarray of string (uuid)No
    data.patch.source_facts[].effective_fromstring (date)Conditional
    data.patch.source_facts[].event_idstring (uuid)Conditional
    data.patch.source_facts[].marketstringConditional
    data.patch.source_facts[].period"month" | "year" | "one_time"Conditional
    data.patch.source_facts[].productstringConditional
    data.patch.source_facts[].resolves_conflictbooleanNo
    data.patch.source_facts[].sequenceintegerConditional
    data.patch.source_facts[].sourcestringConditional
    data.patch.source_urlstringConditional
    data.patch.targetsarray of objectConditional
    data.patch.targets[].baseline_revisionstringConditional
    data.patch.targets[].connector"cms" | "edge"Conditional
    data.patch.targets[].contentstringConditional
    data.patch.targets[].content_sha256stringConditional
    data.patch.targets[].diffstringConditional
    data.patch.targets[].domainstringConditional
    data.patch.targets[].kind"llms_txt" | "json_ld" | "canonical_summary"Conditional
    data.patch.targets[].pathstringConditional
    data.patch.targets[].previous_sha256stringConditional
    data.patch.targets[].publish_claimobject | nullNo
    data.patch.targets[].publish_claim.expected_revisionstringConditional
    data.patch.targets[].publish_claim.expected_sha256stringConditional
    data.patch.targets[].publish_claim.idstring (uuid)Conditional
    data.patch.targets[].publish_receiptobject | nullNo
    data.patch.targets[].publish_receipt.claim_idstring (uuid)Conditional
    data.patch.targets[].publish_receipt.content_sha256stringConditional
    data.patch.targets[].publish_receipt.revisionstringConditional
    data.patch.targets[].rollback_claimobject | nullNo
    data.patch.targets[].rollback_claim.expected_revisionstringConditional
    data.patch.targets[].rollback_claim.expected_sha256stringConditional
    data.patch.targets[].rollback_claim.idstring (uuid)Conditional
    data.patch.targets[].rollback_contentstringConditional
    data.patch.targets[].rollback_receiptobject | nullNo
    data.patch.targets[].rollback_receipt.claim_idstring (uuid)Conditional
    data.patch.targets[].rollback_receipt.content_sha256stringConditional
    data.patch.targets[].rollback_receipt.revisionstringConditional
    data.patch.targets[].target_idstring (uuid)Conditional
    data.revisionintegerYes
    data.source_availability"current" | "missing"Yes
    data.status"draft" | "in_review" | "changes_requested" | "approved" | "handed_off" | "publication_failed" | "published" | "archived" | "rolled_back"Yes
    data.updated_atstring (date-time)Yes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.
    HTTP 200 response fields 3
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.accuracy_claim_idstring (uuid)Yes
    data.accuracy_source_pagesarray of objectYes
    data.accuracy_source_pages[].ownership"brand" | "competitor" | "third_party"Yes
    data.accuracy_source_pages[].scope"answer" | "claim"Yes
    data.accuracy_source_pages[].urlstringYes
    data.approved_content_sha256string | nullYesSHA-256 hash of the content approved for delivery.
    data.citation_lift_benchmarknullNo
    data.claim_supportarray of objectYes
    data.claim_support[].claim_textstringYes
    data.claim_support[].passage_idstring (uuid)Yes
    data.claim_support[].source_excerptstringYes
    data.contentobject | nullYes
    data.content.bodystringConditional
    data.content.titlestringConditional
    data.content_method"approved_accuracy_fact" | "agency_edited"Yes
    data.content_sha256string | nullYesSHA-256 hash identifying this version of the content.
    data.created_atstring (date-time)Yes
    data.draft_idstring (uuid)YesIdentifies the draft associated with this result.
    data.format"accuracy_fix"Yes
    data.generation_guidancestring | nullYes
    data.handoffobject | nullYes
    data.handoff.content_sha256stringConditional
    data.handoff.created_atstring (date-time)Conditional
    data.handoff.delivery_claim_idstring (uuid) | nullNo
    data.handoff.destinationobjectConditional
    data.handoff.destination.destination_referencestringConditional
    data.handoff.destination.platform"cms" | "linkedin" | "reddit" | "youtube" | "other"Conditional
    data.handoff.handoff_idstring (uuid)Conditional
    data.item_idstring (uuid)Yes
    data.keywordsarray of objectYes
    data.keywords[].countrystringYes
    data.keywords[].difficulty_methodstring | nullNo
    data.keywords[].difficulty_scorenumber | nullNo
    data.keywords[].estimated_monthly_searchesinteger | nullNo
    data.keywords[].keywordstringYes
    data.keywords[].languagestringYes
    data.keywords[].measured_onstring (date)Yes
    data.keywords[].sourcestringYes
    data.keywords[].source_referencestringYes
    data.keywords[].volume_period_endstring (date) | nullNo
    data.keywords[].volume_period_startstring (date) | nullNo
    data.primary_keywordstringYes
    data.publication_failurestring | nullYes
    data.receiptobject | nullYes
    data.receipt.evidence_basis"publisher_reported"No
    data.receipt.published_atstring (date-time)Conditional
    data.receipt.published_urlstringConditional
    data.receipt.publisher_referencestringConditional
    data.receipt.reported_atstring (date-time)Conditional
    data.review_notestring | nullYes
    data.revisionintegerYes
    data.source_availability"current" | "needs_review"Yes
    data.source_passagesarray of objectYes
    data.source_passages[].content_revisionstring (uuid)Yes
    data.source_passages[].headingstringYes
    data.source_passages[].passage_idstring (uuid)Yes
    data.source_passages[].source_urlstringYes
    data.status"draft" | "in_review" | "changes_requested" | "approved" | "handed_off" | "publication_failed" | "published" | "archived"Yes
    data.updated_atstring (date-time)Yes
    data.voiceobjectYes
    data.voice.audiencestringYes
    data.voice.avoided_termsarray of stringNo
    data.voice.call_to_actionstring | nullNo
    data.voice.editorial_guidelinesstring | nullNo
    data.voice.languagestringYes
    data.voice.openingstring | nullNo
    data.voice.preferred_termsarray of stringNo
    data.voice.tonestringYes
    data.voice.writing_samplesarray of stringNo
    data.voice_checksobject | nullYes
    data.voice_checks.avoided_terms_presentarray of stringConditional
    data.voice_checks.copy_uses_primary_keywordbooleanConditional
    data.voice_checks.languagestringConditional
    data.voice_checks.preferred_terms_absentarray of stringConditional
    data.voice_checks.title_uses_primary_keywordbooleanConditional
    data.voice_revisionintegerYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    GET /v2/brands/{brand_id}/evidence/{kind}/{key}

    Lookup Keywords

    Lookup Keywordskeyword_dataset

    Open this request with Python and TypeScript examples

    • Path kind is keyword_dataset.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    optimizations:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idpathstring (uuid)Yes
    keypathstring (uuid)YesThe dataset UUID.
    kindpath"keyword_dataset"Yes
    countryquerystringYes
    languagequerystringYes
    keywordsqueryarray of stringYes
    source_revisionqueryinteger | nullNo

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/brands/$BRAND_ID/evidence/keyword_dataset/$KEY" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode "country=$COUNTRY" \
      --data-urlencode "language=$LANGUAGE" \
      --data-urlencode "keywords=$KEYWORDS"

    Responses

    HTTP 200

    Successful Response

    application/json

    Example generated from the response schema.

    {
      "data": {
        "dataset_id": "00000000-0000-4000-8000-000000000001",
        "source_revision": 0,
        "rights_expires_at": "2026-01-01T00:00:00Z",
        "keywords": [],
        "missing_keywords": []
      },
      "meta": {}
    }
    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.dataset_idstring (uuid)Yes
    data.keywordsarray of objectYes
    data.keywords[].countrystringYes
    data.keywords[].difficulty_methodstring | nullNo
    data.keywords[].difficulty_scorenumber | nullNo
    data.keywords[].estimated_monthly_searchesinteger | nullNo
    data.keywords[].keywordstringYes
    data.keywords[].languagestringYes
    data.keywords[].measured_onstring (date)Yes
    data.keywords[].sourcestringYes
    data.keywords[].source_referencestringYes
    data.keywords[].volume_period_endstring (date) | nullNo
    data.keywords[].volume_period_startstring (date) | nullNo
    data.missing_keywordsarray of stringYes
    data.rights_expires_atstring (date-time)Yes
    data.source_revisionintegerYes
    metaobjectYesInformation about this response, including any warnings or pagination details.

    Errors

    PUT /v2/brands/{brand_id}/evidence/{kind}/{key}

    Save brand evidence

    Put Reviewcitation_review

    Open this request with Python and TypeScript examples

    • Path kind is citation_review.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    brands:write
    Roles
    editor, owner, service
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idpathstring (uuid)Yes
    keypathstringYesUnpadded base64url of the UTF-8 canonical page URL with prefix u~.
    kindpath"citation_review"Yes

    Request body

    {
      "brand_mentioned": true,
      "checked_at": "2026-11-24T10:00:00Z",
      "complete_page_text": "Example retained source text.",
      "evidence_reference": "fixture-review",
      "expires_at": "2026-12-24T10:00:00Z",
      "url": "https://example.com/product"
    }
    Request body fields 1
    NameTypeRequiredDescription
    brand_mentionedboolean | nullNo
    channel"owned" | "competitor" | "peer" | "earned" | "paid" | "affiliate" | "ugc" | "review_site" | "local_directory" | "social" | nullNo
    checked_atstring (date-time)Yes
    competitor_mentionsobjectNo
    competitor_mentions.[key]booleanNoValue for each key.
    complete_page_htmlstring | nullNo
    complete_page_textstring | nullNo
    content_type"blog" | "listicle" | "comparison" | "product" | "documentation" | "review" | "research" | "news" | "social" | "video" | "wiki" | "guide" | "how_to" | "press_release" | "educational" | "directory" | nullNo
    evidence_referencestringYes
    expires_atstring (date-time)Yes
    opportunity_prompt_idsarray of string (uuid) | nullNoBuyer questions that this permitted source can help answer.
    social_publisherobject | nullNo
    social_publisher.entity_idstring (uuid)Conditional
    social_publisher.profile_urlstringConditional
    urlstringNo

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X PUT "$AEO_API_BASE_URL/v2/brands/$BRAND_ID/evidence/citation_review/$KEY" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Successful Response

    application/json

    Example generated from the response schema.

    {
      "data": {
        "url": "example",
        "checked_at": "example",
        "source": "customer_page_review",
        "brand_mentioned": null,
        "competitor_mentions": {}
      },
      "meta": {}
    }
    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_mentionedboolean | nullYes
    data.checked_atstringYes
    data.competitor_mentionsobjectYes
    data.competitor_mentions.[key]booleanNoValue for each key.
    data.opportunity_prompt_idsarray of stringNo
    data.social_publisherobjectNo
    data.social_publisher.entity_idstringConditional
    data.social_publisher.profile_urlstringConditional
    data.source"customer_page_review" | "submitted_full_text_alias_match" | "permissioned_website_alias_match"Yes
    data.urlstringYes
    metaobjectYesInformation about this response, including any warnings or pagination details.

    Errors

    Put Datasetkeyword_dataset

    Open this request with Python and TypeScript examples

    • Path kind is keyword_dataset.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    optimizations:write
    Roles
    editor, owner, service
    Plans
    Optimizer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idpathstring (uuid)Yes
    keypathstring (uuid)YesThe dataset UUID.
    kindpath"keyword_dataset"Yes

    Request body

    {
      "rights_basis": "customer_licensed",
      "rights_expires_at": "2026-12-24T10:00:00Z",
      "rights_reference": "fixture-license",
      "rows": [
        {
          "country": "US",
          "estimated_monthly_searches": 120,
          "keyword": "setup",
          "language": "en",
          "measured_on": "2026-11-24",
          "source": "example",
          "source_reference": "fixture-measurement",
          "volume_period_end": "2026-10-31",
          "volume_period_start": "2026-10-01"
        }
      ],
      "source_revision": 1
    }
    Request body fields 1
    NameTypeRequiredDescription
    csvobject | nullNo
    csv.column_mapobjectNo
    csv.column_map.[key]stringNoValue for each key.
    csv.contentstringConditional
    csv.defaultsobjectNo
    csv.defaults.countrystring | nullNo
    csv.defaults.difficulty_methodstring | nullNo
    csv.defaults.languagestring | nullNo
    csv.defaults.measured_onstring (date) | nullNo
    csv.defaults.sourcestring | nullNo
    csv.defaults.source_referencestring | nullNo
    csv.defaults.volume_period_endstring (date) | nullNo
    csv.defaults.volume_period_startstring (date) | nullNo
    rights_basis"customer_licensed" | "customer_owned"Yes
    rights_expires_atstring (date-time)Yes
    rights_referencestringYes
    rowsarray of object | nullNo
    rows.countrystringConditional
    rows.difficulty_methodstring | nullNo
    rows.difficulty_scorenumber | nullNo
    rows.estimated_monthly_searchesinteger | nullNo
    rows.keywordstringConditional
    rows.languagestringConditional
    rows.measured_onstring (date)Conditional
    rows.sourcestringConditional
    rows.source_referencestringConditional
    rows.volume_period_endstring (date) | nullNo
    rows.volume_period_startstring (date) | nullNo
    source_revisionintegerYes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X PUT "$AEO_API_BASE_URL/v2/brands/$BRAND_ID/evidence/keyword_dataset/$KEY" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.dataset_idstring (uuid)Yes
    data.rights_expires_atstring (date-time)Yes
    data.source_revisionintegerYes
    data.state"active" | "revoked"Yes
    data.stored_keywordsintegerYes
    metaobjectYesInformation about this response, including any warnings or pagination details.

    Errors

    Ingest Traffic Logsaccess_logs

    Open this request with Python and TypeScript examples

    • Path kind is access_logs.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    attribution:write
    Roles
    editor, owner, service
    Plans
    Optimizer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idpathstring (uuid)Yes
    keypathstringYesHash [canonical URL, UTC day, metric kind] with prefix access_logs~. Use lowercase SHA-256 of compact UTF-8 JSON with no separator whitespace and literal Unicode. Express dates as YYYY-MM-DD.
    kindpath"access_logs"Yes

    Request body

    {
      "coverage": "complete_utc_day",
      "day": "2026-11-24",
      "kind": "bot_requests",
      "permission": "first_party_permitted",
      "permission_expires_at": "2026-12-24T10:00:00Z",
      "rows": [],
      "source_revision": 1,
      "url": "https://example.com/product"
    }
    Request body fields 1
    NameTypeRequiredDescription
    coverage"complete_utc_day"Yes
    daystring (date)Yes
    kind"bot_requests" | "referral_sessions"Yes
    permission"first_party_permitted"Yes
    permission_expires_atstring (date-time)Yes
    rowsarray of objectYes
    rows[].event_idstring (uuid)Yes
    rows[].occurred_atstring (date-time)Yes
    rows[].referrer_hoststring | nullNo
    rows[].session_idstring (uuid) | nullNo
    rows[].user_agentstringNo
    rows[].utm_campaignstring | nullNo
    rows[].utm_mediumstring | nullNo
    rows[].utm_sourcestring | nullNo
    source_revisionintegerYes
    urlstringYes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X PUT "$AEO_API_BASE_URL/v2/brands/$BRAND_ID/evidence/access_logs/$KEY" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.daily_totals_savedintegerYes
    data.daystring (date)Yes
    data.kind"bot_requests" | "referral_sessions"Yes
    data.replayedbooleanYes
    data.source_revisionintegerYes
    data.urlstringYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Put Targetimpact_target

    Open this request with Python and TypeScript examples

    • Path kind is impact_target.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    attribution:write
    Roles
    editor, owner, service
    Plans
    Optimizer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idpathstring (uuid)Yes
    keypathstringYesUnpadded base64url of the UTF-8 canonical page URL with prefix u~.
    kindpath"impact_target"Yes

    Request body

    {
      "label": "Product launch",
      "started_on": "2026-11-24",
      "url": "https://example.com/product"
    }
    Request body fields 1
    NameTypeRequiredDescription
    action_channel"site_audit" | "owned_content" | "social" | "outreach" | nullNo
    labelstringYes
    started_onstring (date)Yes
    urlstringNo

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X PUT "$AEO_API_BASE_URL/v2/brands/$BRAND_ID/evidence/impact_target/$KEY" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.action_channel"site_audit" | "owned_content" | "social" | "outreach" | nullYes
    data.labelstringYes
    data.started_onstring (date)Yes
    data.urlstringYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Import Traffictraffic

    Open this request with Python and TypeScript examples

    • Path kind is traffic.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    attribution:write
    Roles
    editor, owner, service
    Plans
    Optimizer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idpathstring (uuid)Yes
    keypathstringYesHash the sorted list of [canonical URL, UTC day, metric kind, trimmed source] tuples with prefix traffic~. The key does not depend on counts or the row order. Use lowercase SHA-256 of compact UTF-8 JSON with no separator whitespace and literal Unicode. Express dates as YYYY-MM-DD.
    kindpath"traffic"Yes

    Request body

    {
      "rows": [
        {
          "count": 12,
          "day": "2026-11-24",
          "kind": "referral_sessions",
          "source": "first_party",
          "url": "https://example.com/product"
        }
      ]
    }
    Request body fields 1
    NameTypeRequiredDescription
    rowsarray of objectYes
    rows[].countintegerYes
    rows[].daystring (date)Yes
    rows[].kind"bot_requests" | "referral_sessions"Yes
    rows[].sourcestringYes
    rows[].urlstringYes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X PUT "$AEO_API_BASE_URL/v2/brands/$BRAND_ID/evidence/traffic/$KEY" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.daily_totals_savedintegerYes
    data.source"customer_aggregates"Yes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Put Vitalspage_experience

    Open this request with Python and TypeScript examples

    • Path kind is page_experience.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    audits:write
    Roles
    editor, owner, service
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idpathstring (uuid)Yes
    keypathstringYesHash [canonical URL, device (default "ALL"), period_end] with prefix page_experience~. Use lowercase SHA-256 of compact UTF-8 JSON with no separator whitespace and literal Unicode. Express dates as YYYY-MM-DD.
    kindpath"page_experience"Yes

    Request body

    {
      "p75": {
        "largest_contentful_paint": 2200
      },
      "period_end": "2026-11-24",
      "period_start": "2026-10-28",
      "url": "https://example.com/product"
    }
    Request body fields 1
    NameTypeRequiredDescription
    device"ALL" | "PHONE" | "DESKTOP" | "TABLET"No
    p75objectYes
    p75.cumulative_layout_shiftnumber | nullNo
    p75.interaction_to_next_paintnumber | nullNo
    p75.largest_contentful_paintnumber | nullNo
    period_endstring (date)Yes
    period_startstring (date)Yes
    urlstringYes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X PUT "$AEO_API_BASE_URL/v2/brands/$BRAND_ID/evidence/page_experience/$KEY" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.all_vitals_goodboolean | nullYes
    data.devicestringYes
    data.metricsobjectYes
    data.metrics.[key]objectNoValue for each key.
    data.period_endstringYes
    data.period_startstringYes
    data.source"public_field_measurement" | "partner_field_measurement"Yes
    data.urlstringYes
    metaobjectYesInformation about this response, including any warnings or pagination details.

    Errors

    Import Googlegoogle_import

    Open this request with Python and TypeScript examples

    • Path kind is google_import.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    brands:write, analytics:read
    Roles
    editor, owner, service
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idpathstring (uuid)Yes
    keypathstringYesHash [exact signed property, signed day] with prefix google_import~. The path brand must equal the signed brand. Supply the original payload_base64 and signature. The server verifies Ed25519 against the decoded bytes. Prefix those bytes with aeoapi/gsc/export and a newline. The request limit is 3 MiB and the decoded export limit is 2 MiB. Use lowercase SHA-256 of compact UTF-8 JSON with no separator whitespace and literal Unicode. Express dates as YYYY-MM-DD.
    kindpath"google_import"Yes

    Request body

    {
      "payload_base64": "REPLACE_WITH_SIGNED_PAYLOAD",
      "signature": "REPLACE_WITH_SIGNATURE"
    }
    Request body fields 1
    NameTypeRequiredDescription
    payload_base64stringYes
    signaturestringYes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X PUT "$AEO_API_BASE_URL/v2/brands/$BRAND_ID/evidence/google_import/$KEY" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.status"imported" | "unchanged"Yes
    data.propertystringYes
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.daystring (date)Yes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.

    Errors

    Putpassage_document

    Open this request with Python and TypeScript examples

    • Path kind is passage_document.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    brands:write, analytics:read
    Roles
    editor, owner, service
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idpathstring (uuid)Yes
    keypathstring (uuid)Yes
    kindpath"passage_document"Yes

    Request body

    {
      "rights_basis": "customer_owned",
      "rights_expire_at": "2026-12-24T10:00:00Z",
      "rights_reference": "fixture-authorization",
      "text": "Example first-party source text.",
      "url": "https://example.com/product"
    }
    Request body fields 1
    NameTypeRequiredDescription
    expected_revisionstring (uuid) | nullNo
    product_fact_eventobjectNo
    product_fact_event.amountstringConditional
    product_fact_event.currencystringConditional
    product_fact_event.depends_onarray of string (uuid)No
    product_fact_event.effective_fromstring (date)Conditional
    product_fact_event.event_idstring (uuid)Conditional
    product_fact_event.marketstringConditional
    product_fact_event.period"month" | "year" | "one_time"Conditional
    product_fact_event.productstringConditional
    product_fact_event.resolves_conflictbooleanNo
    product_fact_event.sequenceintegerConditional
    product_fact_event.sourcestringConditional
    rights_basis"customer_owned" | "licensed_internal"Yes
    rights_expire_atstring (date-time)Yes
    rights_referencestringYes
    textstringYes
    urlstringYes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X PUT "$AEO_API_BASE_URL/v2/brands/$BRAND_ID/evidence/passage_document/$KEY" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstringYesIdentifies the brand this result belongs to.
    data.chunking_versionstringYes
    data.chunksarray of objectYes
    data.chunks[].end_offsetintegerYes
    data.chunks[].ordinalintegerYes
    data.chunks[].passage_idstringYes
    data.chunks[].sha256stringYes
    data.chunks[].start_offsetintegerYes
    data.content_idstringYes
    data.revisionstringYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    HTTP 200 response fields 2
    NameTypeRequiredDescription
    dataobject | objectYesThe requested result. See the fields below for its contents.
    data.brand_idstring | string (uuid)YesIdentifies the brand this result belongs to.
    data.chunking_versionstringConditional
    data.chunksarray of objectConditional
    data.chunks[].end_offsetintegerConditional
    data.chunks[].ordinalintegerConditional
    data.chunks[].passage_idstringConditional
    data.chunks[].sha256stringConditional
    data.chunks[].start_offsetintegerConditional
    data.content_idstring | string (uuid)Yes
    data.product_factobjectYes
    data.product_fact.event_idstring (uuid)Yes
    data.product_fact.outcome"applied" | "duplicate" | "stale" | "conflict"Yes
    data.product_fact.supersedesstring (uuid) | nullNo
    data.revisionstringConditional
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Pre-publish review evidenceprepublish_draft

    Open this request with Python and TypeScript examples

    • Path kind is prepublish_draft.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read, audits:read, optimizations:read, brands:write
    Roles
    editor, owner, service
    Plans
    Optimizer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idpathstring (uuid)Yes
    keypathstring (uuid)Yes
    kindpath"prepublish_draft"Yes

    Request body

    {
      "page": {
        "captured_at": "2026-11-24T10:00:00Z",
        "text": "Set up shared billing.",
        "url": "https://example.com/product"
      },
      "rights_basis": "customer_owned",
      "rights_expire_at": "2026-12-24T10:00:00Z",
      "rights_reference": "fixture-authorization"
    }
    Request body fields 1
    NameTypeRequiredDescription
    origin"customer_supplied" | "synthetic_fixture"No
    pageobjectYes
    page.captured_atstring (date-time)Yes
    page.textstringYes
    page.urlstringYes
    rights_basis"customer_owned" | "licensed_internal"Yes
    rights_expire_atstring (date-time)Yes
    rights_referencestringYes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X PUT "$AEO_API_BASE_URL/v2/brands/$BRAND_ID/evidence/prepublish_draft/$KEY" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Saved result.

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.expires_atstring (date-time)Yes
    data.kind"prepublish_draft"Yes
    data.sha256stringYes
    data.snapshot_idstring (uuid)Yes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Import approved facts and their source passagesverified_facts

    Open this request with Python and TypeScript examples

    • Path kind is verified_facts.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read, brands:write
    Roles
    approver, owner
    Plans
    Optimizer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idpathstring (uuid)Yes
    keypathstring (uuid)Yes
    kindpath"verified_facts"Yes

    Request body

    {
      "facts": [
        {
          "product": "Calendar",
          "plan": "Standard",
          "amount": "20",
          "currency": "USD",
          "period": "month",
          "market": "US",
          "effective_from": "2026-11-01",
          "evidence_quote": "USD 20 per month"
        }
      ],
      "rights_basis": "customer_owned",
      "rights_expire_at": "2027-11-01T00:00:00Z",
      "rights_reference": "pricing-guide-2026",
      "text": "The Standard plan costs USD 20 per month.",
      "url": "https://example.com/pricing"
    }
    Request body fields 1
    NameTypeRequiredDescription
    expected_revisionstring (uuid) | nullNo
    factsarray of objectYes
    facts[].amountstringYes
    facts[].currencystringYes
    facts[].effective_fromstring (date)Yes
    facts[].effective_untilstring (date) | nullNo
    facts[].evidence_quotestringYes
    facts[].marketstringYes
    facts[].period"month" | "year" | "one_time"Yes
    facts[].planstringYes
    facts[].productstringYes
    rights_basis"customer_owned" | "licensed_internal"Yes
    rights_expire_atstring (date-time)Yes
    rights_referencestringYes
    textstringYes
    urlstringYes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X PUT "$AEO_API_BASE_URL/v2/brands/$BRAND_ID/evidence/verified_facts/$KEY" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Saved result.

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.chunking_versionstringYes
    data.chunksarray of objectYes
    data.chunks[].end_offsetintegerYes
    data.chunks[].ordinalintegerYes
    data.chunks[].passage_idstring (uuid)Yes
    data.chunks[].sha256stringYes
    data.chunks[].start_offsetintegerYes
    data.content_idstring (uuid)Yes
    data.fact_idsarray of string (uuid)Yes
    data.revisionstring (uuid)Yes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Set approved facts for an accuracy checkaccuracy_facts

    Open this request with Python and TypeScript examples

    • Path kind is accuracy_facts.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    brands:write, analytics:read
    Roles
    approver, owner
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idpathstring (uuid)Yes
    keypathstring (uuid)Yes
    kindpath"accuracy_facts"Yes

    Request body

    {
      "facts": [
        {
          "fact_id": "00000000-0000-4000-8000-000000007141",
          "type": "price",
          "statement": "The Standard plan costs USD 20 per month.",
          "effective_from": "2026-11-01",
          "source_quote": "USD 20 per month"
        }
      ],
      "rights_basis": "customer_owned",
      "rights_expire_at": "2027-11-01T00:00:00Z",
      "rights_reference": "pricing-guide-2026",
      "text": "The Standard plan costs USD 20 per month.",
      "url": "https://example.com/pricing"
    }
    Request body fields 1
    NameTypeRequiredDescription
    expected_revisionstring (uuid) | nullNo
    factsarray of objectYesSupply approved facts, or an empty list to withdraw this content.
    facts[].countrystring | nullNo
    facts[].effective_fromstring (date)Yes
    facts[].effective_untilstring (date) | nullNo
    facts[].fact_idstring (uuid)Yes
    facts[].source_quotestringYes
    facts[].statementstringYes
    facts[].suggestion_idstring (uuid) | nullNo
    facts[].type"price" | "feature" | "availability" | "policy" | "company" | "integration" | "custom"Yes
    rights_basis"customer_owned"Yes
    rights_expire_atstring (date-time)Yes
    rights_referencestringYes
    textstringYes
    urlstringYes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X PUT "$AEO_API_BASE_URL/v2/brands/$BRAND_ID/evidence/accuracy_facts/$KEY" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Set approved facts for an accuracy check

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.content_idstring (uuid)Yes
    data.content_revisionstring (uuid)Yes
    data.factsarray of objectYes
    data.facts[].fact_idstring (uuid)Yes
    data.facts[].revisionstring (uuid)Yes
    data.facts[].status"approved"Yes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Pre-publish review evidenceprepublish_prompts

    Open this request with Python and TypeScript examples

    • Path kind is prepublish_prompts.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read, audits:read, optimizations:read, brands:write
    Roles
    editor, owner, service
    Plans
    Optimizer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idpathstring (uuid)Yes
    keypathstring (uuid)Yes
    kindpath"prepublish_prompts"Yes

    Request body

    {
      "questions": [
        {
          "id": "billing",
          "revision": "2",
          "subqueries": [
            {
              "focus_terms": [
                "billing",
                "settings"
              ],
              "id": "setup",
              "origin": "inferred",
              "source_reference": "fixture-prompt",
              "text": "Where are billing settings?"
            }
          ],
          "text": "How do I set up shared billing?"
        }
      ],
      "rights_basis": "customer_owned",
      "rights_expire_at": "2026-12-24T10:00:00Z",
      "rights_reference": "fixture-authorization"
    }
    Request body fields 1
    NameTypeRequiredDescription
    origin"customer_supplied" | "synthetic_fixture"No
    questionsarray of objectYes
    questions[].idstringYes
    questions[].revisionstringYes
    questions[].subqueriesarray of objectYes
    questions[].subqueries[].focus_termsarray of stringYes
    questions[].subqueries[].idstringYes
    questions[].subqueries[].origin"inferred" | "observed"Yes
    questions[].subqueries[].source_referencestringYes
    questions[].subqueries[].textstringYes
    questions[].textstringYes
    rights_basis"customer_owned" | "licensed_internal"Yes
    rights_expire_atstring (date-time)Yes
    rights_referencestringYes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X PUT "$AEO_API_BASE_URL/v2/brands/$BRAND_ID/evidence/prepublish_prompts/$KEY" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Saved result.

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.expires_atstring (date-time)Yes
    data.kind"prepublish_prompts"Yes
    data.sha256stringYes
    data.snapshot_idstring (uuid)Yes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Pre-publish review evidenceprepublish_competitors

    Open this request with Python and TypeScript examples

    • Path kind is prepublish_competitors.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read, audits:read, optimizations:read, brands:write
    Roles
    editor, owner, service
    Plans
    Optimizer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idpathstring (uuid)Yes
    keypathstring (uuid)Yes
    kindpath"prepublish_competitors"Yes

    Request body

    {
      "pages": [
        {
          "captured_at": "2026-11-24T10:00:00Z",
          "text": "Set up shared billing.",
          "url": "https://example.com/product"
        }
      ],
      "permitted_uses": [
        "benchmark",
        "display_excerpt"
      ],
      "rights_basis": "licensed_internal",
      "rights_expire_at": "2026-12-24T10:00:00Z",
      "rights_reference": "fixture-authorization"
    }
    Request body fields 1
    NameTypeRequiredDescription
    origin"customer_supplied" | "synthetic_fixture"No
    pagesarray of objectYes
    pages[].captured_atstring (date-time)Yes
    pages[].textstringYes
    pages[].urlstringYes
    permitted_usesarray of "benchmark" | "display_excerpt"Yes
    rights_basis"licensed_internal"Yes
    rights_expire_atstring (date-time)Yes
    rights_referencestringYes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X PUT "$AEO_API_BASE_URL/v2/brands/$BRAND_ID/evidence/prepublish_competitors/$KEY" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Saved result.

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.expires_atstring (date-time)Yes
    data.kind"prepublish_competitors"Yes
    data.sha256stringYes
    data.snapshot_idstring (uuid)Yes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Pre-publish review evidenceprepublish_capture

    Open this request with Python and TypeScript examples

    • Path kind is prepublish_capture.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read, audits:read, optimizations:read, brands:write
    Roles
    editor, owner, service
    Plans
    Optimizer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idpathstring (uuid)Yes
    keypathstring (uuid)Yes
    kindpath"prepublish_capture"Yes

    Request body

    {
      "capture": "raw",
      "captured_at": "2026-11-24T10:00:00Z",
      "consent": "accepted",
      "draft_revision": "00000000-0000-4000-8000-000000000001",
      "html": "<h1>Set up shared billing</h1>",
      "language": "en",
      "rights_basis": "customer_owned",
      "rights_expire_at": "2026-12-24T10:00:00Z",
      "rights_reference": "fixture-authorization",
      "url": "https://example.com/product",
      "variant": "default",
      "viewport": "1280x720"
    }
    Request body fields 1
    NameTypeRequiredDescription
    capture"raw" | "rendered"Yes
    captured_atstring (date-time)Yes
    consentstringYes
    content_checksumstring | nullNo
    draft_revisionstring (uuid)Yes
    failure_reasonstring | nullNo
    htmlstring | nullNo
    languagestringYes
    origin"customer_supplied" | "synthetic_fixture"No
    rights_basis"customer_owned" | "licensed_internal"Yes
    rights_expire_atstring (date-time)Yes
    rights_referencestringYes
    status"captured" | "failed" | "blocked"No
    urlstringYes
    variantstringYes
    viewportstringYes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X PUT "$AEO_API_BASE_URL/v2/brands/$BRAND_ID/evidence/prepublish_capture/$KEY" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Saved result.

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.expires_atstring (date-time)Yes
    data.kind"prepublish_capture"Yes
    data.sha256stringYes
    data.snapshot_idstring (uuid)Yes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Import supplied asset textasset_document

    Open this request with Python and TypeScript examples

    • Path kind is asset_document.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    brands:write, analytics:read
    Roles
    editor, owner, service
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idpathstring (uuid)Yes
    keypathstring (uuid)Yes
    kindpath"asset_document"Yes

    Request body

    {
      "allow_display": true,
      "allow_index": true,
      "asset_type": "pdf",
      "equivalents": [
        {
          "page": 7,
          "text": "Delivery takes three days.",
          "type": "pdf"
        }
      ],
      "mime_type": "application/pdf",
      "origin": "customer_supplied",
      "rights_basis": "customer_owned",
      "rights_expire_at": "2026-12-24T10:00:00Z",
      "rights_reference": "Handbook publication policy",
      "sha256": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "url": "https://example.com/handbook.pdf"
    }
    Request body fields 1
    NameTypeRequiredDescription
    allow_displaytrueYes
    allow_indextrueYes
    alt_textstring | nullNoThe service stores only whether you supplied alt text.
    asset_type"pdf" | "chart" | "table" | "transcript" | "diagram"Yes
    equivalentsarray of object | object | object | object | objectNo
    equivalents[].pageintegerConditional
    equivalents[].textstringConditional
    equivalents[].type"pdf"Conditional
    equivalents[].end_msintegerConditional
    equivalents[].start_msintegerConditional
    equivalents[].type"transcript"Conditional
    equivalents[].seriesstringConditional
    equivalents[].type"chart"Conditional
    equivalents[].xobjectConditional
    equivalents[].x.labelstringConditional
    equivalents[].x.unitstring | nullNo
    equivalents[].x.valuestringConditional
    equivalents[].yobjectConditional
    equivalents[].y.labelstringConditional
    equivalents[].y.unitstringConditional
    equivalents[].y.valuestringConditional
    equivalents[].cellsarray of objectConditional
    equivalents[].cells[].labelstringConditional
    equivalents[].cells[].unitstring | nullNo
    equivalents[].cells[].valuestringConditional
    equivalents[].rowintegerConditional
    equivalents[].type"table"Conditional
    equivalents[].labelstringConditional
    equivalents[].type"diagram"Conditional
    gatedbooleanNo
    mime_typestringYesAccepted types by asset_type. pdf accepts application/pdf. chart accepts image/gif, image/jpeg, image/png, image/svg+xml, image/webp, application/json. table accepts text/csv, text/tab-separated-values, application/json. transcript accepts audio/mpeg, audio/mp4, audio/ogg, audio/wav, text/plain, text/vtt, video/mp4, video/webm. diagram accepts image/gif, image/jpeg, image/png, image/svg+xml, image/webp.
    origin"customer_supplied" | "synthetic_fixture"Yes
    parse_status"parsed" | "failed"NoParse outcome declared by the caller. The service evaluates the supplied text.
    rights_basis"customer_owned" | "licensed_internal"Yes
    rights_expire_atstring (date-time)Yes
    rights_referencestringYes
    sha256stringYesOriginal asset checksum declared by the caller. Validation checks its format.
    urlstringYes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X PUT "$AEO_API_BASE_URL/v2/brands/$BRAND_ID/evidence/asset_document/$KEY" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Import supplied asset text

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.chunking_version"supplied-equivalent-r1"Yes
    data.chunksarray of objectYes
    data.chunks[].end_offsetintegerYes
    data.chunks[].locatorobject | object | object | object | objectYes
    data.chunks[].locator.pageintegerConditional
    data.chunks[].locator.type"pdf" | "transcript" | "chart" | "table" | "diagram"Yes
    data.chunks[].locator.end_msintegerConditional
    data.chunks[].locator.start_msintegerConditional
    data.chunks[].locator.seriesstringConditional
    data.chunks[].locator.xobjectConditional
    data.chunks[].locator.x.labelstringConditional
    data.chunks[].locator.x.unitstring | nullConditional
    data.chunks[].locator.x.valuestringConditional
    data.chunks[].locator.yobjectConditional
    data.chunks[].locator.y.labelstringConditional
    data.chunks[].locator.y.unitstringConditional
    data.chunks[].locator.y.valuestringConditional
    data.chunks[].locator.rowintegerConditional
    data.chunks[].locator.labelstringConditional
    data.chunks[].ordinalintegerYes
    data.chunks[].passage_idstring (uuid)Yes
    data.chunks[].sha256stringYes
    data.chunks[].start_offsetintegerYes
    data.content_idstring (uuid)Yes
    data.revisionstring (uuid)Yes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    DELETE /v2/brands/{brand_id}/evidence/{kind}/{key}

    Remove saved brand evidence

    Revoke Reviewscitation_review

    Open this request with Python and TypeScript examples

    • Path kind is citation_review.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    brands:write
    Roles
    editor, owner, service
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idpathstring (uuid)Yes
    keypathstringYesUnpadded base64url of the UTF-8 canonical page URL with prefix u~.
    kindpath"citation_review"Yes

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body -X DELETE "$AEO_API_BASE_URL/v2/brands/$BRAND_ID/evidence/citation_review/$KEY" \
      -H "Authorization: Bearer $AEO_API_KEY"

    Responses

    HTTP 200

    Successful Response

    application/json

    Example generated from the response schema.

    {
      "data": {
        "url": "https://example.com/review",
        "review_status": "revoked"
      },
      "meta": {
        "request_id": "00000000-0000-4000-8000-000000000001",
        "as_of": "2026-01-01T00:00:00Z",
        "schema_version": "1.0",
        "warnings": [],
        "rights_filtered": false,
        "next_cursor": null,
        "collected_at": null,
        "next_refresh_at": null,
        "stale": false
      }
    }
    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.urlstring (uri)Yes
    data.review_status"revoked"Yes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Revoke Datasetkeyword_dataset

    Open this request with Python and TypeScript examples

    • Path kind is keyword_dataset.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    optimizations:write
    Roles
    editor, owner, service
    Plans
    Optimizer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idpathstring (uuid)Yes
    keypathstring (uuid)YesThe dataset UUID.
    kindpath"keyword_dataset"Yes
    source_revisionqueryintegerYes

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body -X DELETE "$AEO_API_BASE_URL/v2/brands/$BRAND_ID/evidence/keyword_dataset/$KEY?source_revision=$SOURCE_REVISION" \
      -H "Authorization: Bearer $AEO_API_KEY"

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.dataset_idstring (uuid)Yes
    data.rights_expires_atstring (date-time)Yes
    data.source_revisionintegerYes
    data.state"active" | "revoked"Yes
    data.stored_keywordsintegerYes
    metaobjectYesInformation about this response, including any warnings or pagination details.

    Errors

    Delete Targetimpact_target

    Open this request with Python and TypeScript examples

    • Path kind is impact_target.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    attribution:write
    Roles
    editor, owner, service
    Plans
    Optimizer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idpathstring (uuid)Yes
    keypathstringYesUnpadded base64url of the UTF-8 canonical page URL with prefix u~.
    kindpath"impact_target"Yes

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body -X DELETE "$AEO_API_BASE_URL/v2/brands/$BRAND_ID/evidence/impact_target/$KEY" \
      -H "Authorization: Bearer $AEO_API_KEY"

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.trackingfalseYesTracking has stopped for this URL.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Deletepassage_document

    Open this request with Python and TypeScript examples

    • Path kind is passage_document.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    brands:write, analytics:read
    Roles
    editor, owner, service
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idpathstring (uuid)Yes
    keypathstring (uuid)Yes
    kindpath"passage_document"Yes
    expected_revisionquerystring (uuid)Yes

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body -X DELETE "$AEO_API_BASE_URL/v2/brands/$BRAND_ID/evidence/passage_document/$KEY?expected_revision=$EXPECTED_REVISION" \
      -H "Authorization: Bearer $AEO_API_KEY"

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.content_idstringYes
    data.status"revoked"Yes
    metaobjectYesInformation about this response, including any warnings or pagination details.

    Errors

    Pre-publish review evidenceprepublish_snapshot

    Open this request with Python and TypeScript examples

    • Path kind is prepublish_snapshot.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read, audits:read, optimizations:read, brands:write
    Roles
    editor, owner, service
    Plans
    Optimizer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idpathstring (uuid)Yes
    keypathstring (uuid)Yes
    kindpath"prepublish_snapshot"Yes

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body -X DELETE "$AEO_API_BASE_URL/v2/brands/$BRAND_ID/evidence/prepublish_snapshot/$KEY" \
      -H "Authorization: Bearer $AEO_API_KEY"

    Responses

    HTTP 204

    Snapshot access revoked.

    This response has no body.

    Errors

    Revoke asset accessasset_document

    Open this request with Python and TypeScript examples

    • Path kind is asset_document.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    brands:write, analytics:read
    Roles
    editor, owner, service
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idpathstring (uuid)Yes
    keypathstring (uuid)Yes
    kindpath"asset_document"Yes
    expected_revisionquerystring (uuid)Yes

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body -X DELETE "$AEO_API_BASE_URL/v2/brands/$BRAND_ID/evidence/asset_document/$KEY?expected_revision=$EXPECTED_REVISION" \
      -H "Authorization: Bearer $AEO_API_KEY"

    Responses

    HTTP 204

    Asset access revoked.

    This response has no body.

    Errors

    POST /v2/passages/search

    Search

    Searchdefault

    Open this request with Python and TypeScript examples

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    The contract lists no fields for this section.

    Request body

    {
      "brand_id": "00000000-0000-4000-8000-000000000001",
      "query": "product documentation"
    }
    Request body fields 1
    NameTypeRequiredDescription
    brand_idstring (uuid)Yes
    limitintegerNo
    querystringNo
    Request body fields 2
    NameTypeRequiredDescription
    asset_filterobjectYesSearch supplied asset text only.
    asset_filter.asset_type"pdf" | "chart" | "table" | "transcript" | "diagram" | nullNo
    asset_filter.content_idsarray of string (uuid) | nullNo
    asset_filter.revision_idsarray of string (uuid) | nullNo
    brand_idstring (uuid)Yes
    limitintegerNo
    querystringYes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X POST "$AEO_API_BASE_URL/v2/passages/search" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Successful Response

    application/json

    Example generated from the response schema.

    {
      "data": [],
      "meta": {}
    }
    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataarray of objectYesThe requested result. See the fields below for its contents.
    data[].content_idstringYes
    data[].end_offsetintegerYes
    data[].meaning_rankinteger | nullYes
    data[].ordinalintegerYes
    data[].passage_idstringYes
    data[].revisionstringYes
    data[].rights_expire_atstringYes
    data[].scorenumberYes
    data[].start_offsetintegerYes
    data[].term_rankinteger | nullYes
    data[].textstringYes
    data[].urlstringYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    HTTP 200 response fields 2
    NameTypeRequiredDescription
    dataarray of objectYesThe requested result. See the fields below for its contents.
    data[].content_idstring (uuid)Yes
    data[].end_offsetintegerYes
    data[].locatorobject | object | object | object | objectYes
    data[].locator.pageintegerConditional
    data[].locator.type"pdf" | "transcript" | "chart" | "table" | "diagram"Yes
    data[].locator.end_msintegerConditional
    data[].locator.start_msintegerConditional
    data[].locator.seriesstringConditional
    data[].locator.xobjectConditional
    data[].locator.x.labelstringConditional
    data[].locator.x.unitstring | nullConditional
    data[].locator.x.valuestringConditional
    data[].locator.yobjectConditional
    data[].locator.y.labelstringConditional
    data[].locator.y.unitstringConditional
    data[].locator.y.valuestringConditional
    data[].locator.rowintegerConditional
    data[].locator.labelstringConditional
    data[].meaning_rankinteger | nullYes
    data[].ordinalintegerYes
    data[].passage_idstring (uuid)Yes
    data[].revisionstring (uuid)Yes
    data[].rights_expire_atstring (date-time)Yes
    data[].scorenumberYes
    data[].sha256stringYes
    data[].start_offsetintegerYes
    data[].term_rankinteger | nullYes
    data[].textstringYes
    data[].urlstringYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    GET /v2/prompts

    Read prompts, prompt sets, or topics

    List prompt library or private promptslibrary

    Open this request with Python and TypeScript examples

    • Query view is library. Default is library.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    prompts:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    scopequery"shared" | "private"Noscope
    category_idquerystring | nullNocategory_id
    brand_idquerystring (uuid)Nobrand_id
    idquerystring (uuid)Noid
    languagequerystringNolanguage
    include_archivedquerybooleanNoinclude_archived
    cursorquerystringNocursor
    limitqueryintegerNolimit
    viewquery"library"No

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/prompts" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode 'view=library'

    Responses

    HTTP 200

    List prompt library or private prompts result.

    HTTP 200 headers
    NameTypeRequiredDescription
    X-RateLimit-LimitintegerNoRequests in rate window.
    X-RateLimit-RemainingintegerNoRemaining request tokens.
    X-RateLimit-ResetintegerNoUTC Unix seconds when window resets.
    X-Request-Idstring (uuid)NoTrace identifier.
    X-Usage-UnitsintegerNoCU charged by this response; GET and account/usage always zero.

    application/json

    {
      "data": [],
      "meta": {
        "as_of": "2026-11-06T00:00:00Z",
        "collected_at": null,
        "next_cursor": null,
        "next_refresh_at": null,
        "request_id": "00000000-0000-4000-8000-000000000001",
        "rights_filtered": false,
        "schema_version": "1.0",
        "stale": false,
        "warnings": []
      }
    }
    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataarray of objectYesThe requested result. See the fields below for its contents.
    data[].brand_idstring (uuid) | nullYes
    data[].category_idsarray of string | nullYes
    data[].cohort_versionstring | nullYes
    data[].created_atstring (date-time)Yes
    data[].duplicate_ofstring (uuid)NoID of your existing prompt.
    data[].idstring (uuid)Yes
    data[].intentstring | nullYes
    data[].marketobjectYes
    data[].market.citystring | null | nullNo
    data[].market.countrystringYes
    data[].market.languagestringYes
    data[].market.regionstring | null | nullNo
    data[].revisionintegerYes
    data[].scope"shared" | "private"Yes
    data[].similar_promptsarray of objectNoOther matching prompts in your library.
    data[].similar_prompts[].prompt_idstring (uuid)Conditional
    data[].status"active" | "archived" | "deletion_pending"Yes
    data[].tagsarray of string | nullYes
    data[].textstringYes
    data[].versionintegerYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Get Coveragecoverage

    Open this request with Python and TypeScript examples

    • Query view is coverage. Default is library.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    prompts:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idquerystring (uuid)Yes
    viewquery"coverage"Yes

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/prompts" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode "brand_id=$BRAND_ID" \
      --data-urlencode 'view=coverage'

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.profile_revisionintegerYes
    data.active_promptsintegerYes
    data.by_intentobjectYes
    data.by_intent.[key]integerNoValue for each key.
    data.by_stageobjectYes
    data.by_stage.[key]integerNoValue for each key.
    data.by_marketarray of objectYes
    data.by_market[].marketobjectYes
    data.by_market[].market.citystring | null | nullNo
    data.by_market[].market.countrystringYes
    data.by_market[].market.languagestringYes
    data.by_market[].market.regionstring | null | nullNo
    data.by_market[].active_promptsintegerYes
    data.by_groupsarray of objectYes
    data.by_groups[].idstring (uuid)Yes
    data.by_groups[].namestringYes
    data.by_groups[].active_promptsintegerYes
    data.by_productsarray of objectYes
    data.by_products[].idstring (uuid)Yes
    data.by_products[].namestringYes
    data.by_products[].active_promptsintegerYes
    data.by_servicesarray of objectYes
    data.by_services[].idstring (uuid)Yes
    data.by_services[].namestringYes
    data.by_services[].active_promptsintegerYes
    data.by_audiencesarray of objectYes
    data.by_audiences[].idstring (uuid)Yes
    data.by_audiences[].namestringYes
    data.by_audiences[].active_promptsintegerYes
    data.unassignedobjectYesNumber of active prompts without each type of assignment.
    data.unassigned.[key]integerNoValue for each key.
    data.plan_capacityobjectNoAccount limits and remaining capacity. Returned for an account-wide key.
    data.plan_capacity.scope"tenant"Conditional
    data.plan_capacity.limitintegerConditional
    data.plan_capacity.active_private_promptsintegerConditional
    data.plan_capacity.remainingintegerConditional
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Export Promptsexport

    Open this request with Python and TypeScript examples

    • Query view is export. Default is library.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    prompts:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idquerystring (uuid)Yes
    statusquery"active" | "archived" | nullNo
    intentquery"discovery" | "recommendation" | "evaluation" | "pricing" | "comparison" | "alternatives" | "use_case" | "transaction" | "local" | "troubleshooting" | "trust" | "informational" | nullNo
    category_idquerystring | nullNo
    countryquerystring | nullNo
    languagequerystring | nullNo
    group_idquerystring (uuid) | nullNo
    product_idquerystring (uuid) | nullNo
    service_idquerystring (uuid) | nullNo
    audience_idquerystring (uuid) | nullNo
    stagequery"awareness" | "consideration" | "evaluation" | "decision" | "retention" | nullNo
    tagquerystring | nullNo
    qquerystring | nullNo
    formatquery"json" | "csv"No
    include_archivedquerybooleanNo
    limitqueryintegerNo
    cursorquerystring | nullNo
    viewquery"export"Yes

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/prompts" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode "brand_id=$BRAND_ID" \
      --data-urlencode 'view=export'

    Responses

    HTTP 200

    Successful Response

    HTTP 200 headers
    NameTypeRequiredDescription
    Content-DispositionstringNo
    X-Next-CursorstringNo

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataarray of objectYesThe requested result. See the fields below for its contents.
    data[].brand_idstring (uuid) | nullYes
    data[].category_idsarray of string | nullYes
    data[].cohort_versionstring | nullYes
    data[].created_atstring (date-time)Yes
    data[].duplicate_ofstring (uuid)NoID of your existing prompt.
    data[].idstring (uuid)Yes
    data[].intentstring | nullYes
    data[].marketobjectYes
    data[].market.citystring | null | nullNo
    data[].market.countrystringYes
    data[].market.languagestringYes
    data[].market.regionstring | null | nullNo
    data[].revisionintegerYes
    data[].scope"shared" | "private"Yes
    data[].similar_promptsarray of objectNoOther matching prompts in your library.
    data[].similar_prompts[].prompt_idstring (uuid)Conditional
    data[].status"active" | "archived" | "deletion_pending"Yes
    data[].tagsarray of string | nullYes
    data[].textstringYes
    data[].versionintegerYes
    data[].metadataobjectYes
    data[].metadata.audience_idsarray of string (uuid)Yes
    data[].metadata.group_idsarray of string (uuid)Yes
    data[].metadata.product_idsarray of string (uuid)Yes
    data[].metadata.service_idsarray of string (uuid)Yes
    data[].metadata.stage"awareness" | "consideration" | "evaluation" | "decision" | "retention" | nullYes
    data[].custom_fieldsobjectYesCustom field values by field ID. Each entry includes label, type, value and archived.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    text/csv

    With format=csv, the first row contains column names. Each remaining row contains one prompt. Read X-Next-Cursor for the next page.

    Errors

    Get Buyer Questionssuggestions

    Open this request with Python and TypeScript examples

    • Query view is suggestions. Default is library.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    prompts:read, brands:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idquerystring (uuid)Yes
    audience_idquerystring (uuid) | nullNo
    product_idquerystring (uuid) | nullNo
    service_idquerystring (uuid) | nullNo
    group_idquerystring (uuid) | nullNo
    countryquerystring | nullNo
    languagequerystring | nullNo
    intentquery"discovery" | "recommendation" | "evaluation" | "pricing" | "comparison" | "alternatives" | "use_case" | "transaction" | "local" | "troubleshooting" | "trust" | "informational" | nullNo
    stagequery"awareness" | "consideration" | "evaluation" | "decision" | "retention" | nullNo
    sourcequery"all" | "crm" | "profile"No
    modequery"unbranded" | "branded" | "all"No
    limitqueryintegerNo
    viewquery"suggestions"Yes

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/prompts" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode "brand_id=$BRAND_ID" \
      --data-urlencode 'view=suggestions'

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.profile_revisionintegerYes
    data.review_requiredtrueYes
    data.template_languagesarray of stringYes
    data.suggestionsarray of objectYesReview each suggested prompt before adding it to your library.
    data.suggestions[].mode"branded" | "unbranded"Yes
    data.suggestions[].sourceobjectYes
    data.suggestions[].source.kindstringYes
    data.suggestions[].source.idstring (uuid)NoID of the CRM question or localized template.
    data.suggestions[].source.referencestringNoSource reference saved with the CRM question.
    data.suggestions[].source.versionintegerNo
    data.suggestions[].promptobjectYes
    data.suggestions[].prompt.textstringYes
    data.suggestions[].prompt.marketobjectYes
    data.suggestions[].prompt.market.citystring | null | nullNo
    data.suggestions[].prompt.market.countrystringYes
    data.suggestions[].prompt.market.languagestringYes
    data.suggestions[].prompt.market.regionstring | null | nullNo
    data.suggestions[].prompt.intent"discovery" | "recommendation" | "evaluation" | "pricing" | "comparison" | "alternatives" | "use_case" | "transaction" | "local" | "troubleshooting" | "trust" | "informational"YesThe purpose of the prompt.
    data.suggestions[].prompt.category_idsarray of stringYes
    data.suggestions[].prompt.metadataobjectYes
    data.suggestions[].prompt.metadata.audience_idsarray of string (uuid)Yes
    data.suggestions[].prompt.metadata.group_idsarray of string (uuid)Yes
    data.suggestions[].prompt.metadata.product_idsarray of string (uuid)No
    data.suggestions[].prompt.metadata.service_idsarray of string (uuid)No
    data.suggestions[].prompt.metadata.stage"awareness" | "consideration" | "evaluation" | "decision" | "retention"Yes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Get Prompt Metadatametadata

    Open this request with Python and TypeScript examples

    • Query view is metadata. Default is library.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    prompts:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idquerystring (uuid)Yes
    prompt_idquerystring (uuid)Yes
    viewquery"metadata"Yes

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/prompts" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode "brand_id=$BRAND_ID" \
      --data-urlencode "prompt_id=$PROMPT_ID" \
      --data-urlencode 'view=metadata'

    Responses

    HTTP 200

    Successful Response

    HTTP 200 headers
    NameTypeRequiredDescription
    ETagstringNoCurrent quoted resource revision

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstring (uuid) | nullYesIdentifies the brand this result belongs to.
    data.category_idsarray of string | nullYes
    data.cohort_versionstring | nullYes
    data.created_atstring (date-time)Yes
    data.duplicate_ofstring (uuid)NoID of your existing prompt.
    data.idstring (uuid)Yes
    data.intentstring | nullYes
    data.marketobjectYes
    data.market.citystring | null | nullNo
    data.market.countrystringYes
    data.market.languagestringYes
    data.market.regionstring | null | nullNo
    data.revisionintegerYes
    data.scope"shared" | "private"Yes
    data.similar_promptsarray of objectNoOther matching prompts in your library.
    data.similar_prompts[].prompt_idstring (uuid)Conditional
    data.status"active" | "archived" | "deletion_pending"Yes
    data.tagsarray of string | nullYes
    data.textstringYes
    data.versionintegerYes
    data.metadataobjectYes
    data.metadata.audience_idsarray of string (uuid)Yes
    data.metadata.group_idsarray of string (uuid)Yes
    data.metadata.product_idsarray of string (uuid)Yes
    data.metadata.service_idsarray of string (uuid)Yes
    data.metadata.stage"awareness" | "consideration" | "evaluation" | "decision" | "retention" | nullYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Historyhistory

    Open this request with Python and TypeScript examples

    • Query view is history. Default is library.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    prompt_idquerystring (uuid)Yes
    brand_idquerystring (uuid)Yes
    limitqueryintegerNo
    offsetqueryintegerNo
    viewquery"history"Yes

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/prompts" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode "prompt_id=$PROMPT_ID" \
      --data-urlencode "brand_id=$BRAND_ID" \
      --data-urlencode 'view=history'

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.checksarray of objectYes
    data.checks[].answersarray of objectYes
    data.checks[].answers[].answerobject | nullYes
    data.checks[].answers[].answer.answer_textstringConditional
    data.checks[].answers[].answer.answer_text_truncatedbooleanConditional
    data.checks[].answers[].answer.brand_citedbooleanConditional
    data.checks[].answers[].answer.brand_mentionedboolean | nullConditional
    data.checks[].answers[].answer.citationsarray of objectConditional
    data.checks[].answers[].answer.citations[].orderintegerConditional
    data.checks[].answers[].answer.citations[].urlstringConditional
    data.checks[].answers[].answer.excerptstringConditional
    data.checks[].answers[].answer.truncatedbooleanConditional
    data.checks[].answers[].check_created_atstring (date-time)Yes
    data.checks[].answers[].check_idstring (uuid)Yes
    data.checks[].answers[].collected_atstring | nullYes
    data.checks[].answers[].last_errorstring | nullYes
    data.checks[].answers[].modestring | nullYes
    data.checks[].answers[].observation_idstring | nullYes
    data.checks[].answers[].platformstring | nullYes
    data.checks[].answers[].prompt_idstring (uuid)Yes
    data.checks[].answers[].statestringYes
    data.checks[].answers[].step_idstringYes
    data.checks[].answers[].version_idstring | nullYes
    data.checks[].checkobjectYes
    data.checks[].check.billed_unitsintegerYes
    data.checks[].check.completed_atstring | nullYes
    data.checks[].check.created_atstring (date-time)Yes
    data.checks[].check.error_codestring | nullYes
    data.checks[].check.idstring (uuid)Yes
    data.checks[].check.statestringYes
    data.checks[].check.steps_cancelledintegerYes
    data.checks[].check.steps_failedintegerYes
    data.checks[].check.steps_succeededintegerYes
    data.checks[].check.steps_totalintegerYes
    data.checks[].prompt_idstring (uuid)Yes
    data.checks[].prompt_textstring | nullNo
    data.checks[].prompt_versioninteger | nullNo
    data.checks[].version_idstring | nullYes
    data.next_offsetinteger | nullYes
    data.prompt_idstring (uuid)Yes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Suggest Topicstopic_suggestions

    Open this request with Python and TypeScript examples

    • Query view is topic_suggestions. Default is library.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    prompts:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idquerystring (uuid)Yes
    queryquerystringYes
    viewquery"topic_suggestions"Yes

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/prompts" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode "brand_id=$BRAND_ID" \
      --data-urlencode "query=$QUERY" \
      --data-urlencode 'view=topic_suggestions'

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataarray of objectYesThe requested result. See the fields below for its contents.
    data[].idstring (uuid)YesID of a matching active prompt. Pass this ID in prompt_ids when you save the topic.
    data[].textstringYesCurrent prompt text.
    data[].versionintegerYesCurrent prompt version.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Get Setsets

    Open this request with Python and TypeScript examples

    • Query view is sets.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    prompts:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idquerystring (uuid)Yes
    websitequerystring | nullNo
    viewquery"sets"Yes

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/prompts" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode "brand_id=$BRAND_ID" \
      --data-urlencode 'view=sets'

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.websitestring | nullYes
    data.promptsarray of objectYesApproved prompt IDs and versions.
    data.prompts[].prompt_idstring (uuid)Yes
    data.prompts[].versionintegerYes
    data.prompt_set_revisionstring | nullYesSend this value as previous_revision when you replace the set.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    List Topicstopics

    Open this request with Python and TypeScript examples

    • Query view is topics.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    prompts:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idquerystring (uuid)Yes
    viewquery"topics"Yes

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/prompts" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode "brand_id=$BRAND_ID" \
      --data-urlencode 'view=topics'

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataarray of objectYesThe requested result. See the fields below for its contents.
    data[].idstring (uuid)Yes
    data[].brand_idstring (uuid)Yes
    data[].namestringYes
    data[].revisionintegerYesCurrent revision. Use it when you edit this record.
    data[].prompt_idsarray of string (uuid)Yes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    POST /v2/prompts

    Create, import, or preview prompts

    Create a prompt or generate suggestionscreate

    Open this request with Python and TypeScript examples

    • Body action is create.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    prompts:write
    Roles
    editor, owner, service
    Plans
    Optimizer, Analyzer
    Credits
    This operation can use credits.
    Billing access
    Required

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    Idempotency-KeyheaderstringYesFor 7 days, sending the same key and body for the same account and operation returns the original response. Changing the body for that key returns HTTP 409.

    Request body

    {
      "action": "create",
      "category_ids": [
        "gcid:plumber"
      ],
      "intent": "evaluation",
      "market": {
        "city": "Chicago",
        "country": "US",
        "language": "en"
      },
      "text": "What should homeowners compare when choosing a plumber in Chicago?"
    }
    Request body fields 1
    NameTypeRequiredDescription
    action"create"Yes
    allow_similarbooleanNoSave the prompt even if you already track the same question or a differently worded question with the same meaning.
    brand_idstring (uuid) | nullNo
    category_idsarray of string | nullYes
    intent"discovery" | "recommendation" | "evaluation" | "pricing" | "comparison" | "alternatives" | "use_case" | "transaction" | "local" | "troubleshooting" | "trust" | "informational"Yes
    marketobjectYes
    market.citystring | null | nullNo
    market.countrystringYes
    market.languagestringYes
    market.regionstring | null | nullNo
    tagsarray of string | nullNo
    textstringYes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X POST "$AEO_API_BASE_URL/v2/prompts" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 201

    Create a prompt or generate suggestions result.

    HTTP 201 headers
    NameTypeRequiredDescription
    X-RateLimit-LimitintegerNoRequests in rate window.
    X-RateLimit-RemainingintegerNoRemaining request tokens.
    X-RateLimit-ResetintegerNoUTC Unix seconds when window resets.
    X-Request-Idstring (uuid)NoTrace identifier.
    X-Usage-UnitsintegerNoCU charged by this response; GET and account/usage always zero.

    application/json

    {
      "data": {
        "brand_id": null,
        "category_ids": [],
        "cohort_version": "example",
        "created_at": "2026-11-06T00:00:00Z",
        "id": "00000000-0000-4000-8000-000000000001",
        "intent": "example",
        "market": {
          "country": "US",
          "language": "example"
        },
        "revision": 1,
        "scope": "shared",
        "status": "active",
        "tags": [],
        "text": "example",
        "version": 1
      },
      "meta": {
        "as_of": "2026-11-06T00:00:00Z",
        "collected_at": null,
        "next_cursor": null,
        "next_refresh_at": null,
        "request_id": "00000000-0000-4000-8000-000000000001",
        "rights_filtered": false,
        "schema_version": "1.0",
        "stale": false,
        "warnings": []
      }
    }
    HTTP 201 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstring (uuid) | nullYesIdentifies the brand this result belongs to.
    data.category_idsarray of string | nullYes
    data.cohort_versionstring | nullYes
    data.created_atstring (date-time)Yes
    data.duplicate_ofstring (uuid)NoID of your existing prompt.
    data.idstring (uuid)Yes
    data.intentstring | nullYes
    data.marketobjectYes
    data.market.citystring | null | nullNo
    data.market.countrystringYes
    data.market.languagestringYes
    data.market.regionstring | null | nullNo
    data.revisionintegerYes
    data.scope"shared" | "private"Yes
    data.similar_promptsarray of objectNoOther matching prompts in your library.
    data.similar_prompts[].prompt_idstring (uuid)Conditional
    data.status"active" | "archived" | "deletion_pending"Yes
    data.tagsarray of string | nullYes
    data.textstringYes
    data.versionintegerYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Create a prompt or generate suggestionsbuild

    Open this request with Python and TypeScript examples

    • Body action is build.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    prompts:write
    Roles
    editor, owner, service
    Plans
    Optimizer, Analyzer
    Credits
    This operation can use credits.
    Billing access
    Required

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    Idempotency-KeyheaderstringYesFor 7 days, sending the same key and body for the same account and operation returns the original response. Changing the body for that key returns HTTP 409.

    Request body

    {
      "action": "build",
      "category_ids": [
        "gcid:dentist"
      ],
      "count": 5,
      "intent": "local",
      "market": {
        "city": "Chicago",
        "country": "US",
        "language": "en"
      },
      "max_units": 100,
      "neutral_discovery": true,
      "template_id": "neutral-service-choice"
    }
    Request body fields 1
    NameTypeRequiredDescription
    action"build"Yes
    brand_idstring (uuid) | nullNo
    category_idsarray of stringYes
    countintegerYes
    intent"discovery" | "recommendation" | "evaluation" | "pricing" | "comparison" | "alternatives" | "use_case" | "transaction" | "local" | "troubleshooting" | "trust" | "informational"Yes
    local_intentbooleanNo
    location_idstring (uuid)No
    marketobjectYes
    market.citystring | null | nullNo
    market.countrystringYes
    market.languagestringYes
    market.regionstring | null | nullNo
    max_unitsintegerYes
    need_textstringNo
    neutral_discoverytrueNo
    template_idstringYes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X POST "$AEO_API_BASE_URL/v2/prompts" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 202

    Suggestion job queued. Poll collections/{id}.

    HTTP 202 headers
    NameTypeRequiredDescription
    Locationstring (uri)NoAuthenticated polling URI returned in data.poll_url.
    X-RateLimit-LimitintegerNoRequests in rate window.
    X-RateLimit-RemainingintegerNoRemaining request tokens.
    X-RateLimit-ResetintegerNoUTC Unix seconds when window resets.
    X-Request-Idstring (uuid)NoTrace identifier.
    X-Usage-UnitsintegerNoCU charged by this response; GET and account/usage always zero.

    application/json

    {
      "data": {
        "billed_units": 0,
        "created_at": "2026-11-06T00:00:00Z",
        "error": null,
        "estimated_units": 0,
        "id": "00000000-0000-4000-8000-000000000001",
        "kind": "prompt_generation",
        "poll_url": "https://api.aeoapi.dev/v2/runs/job:00000000-0000-4000-8000-000000000001",
        "progress": 0,
        "reserved_units": 0,
        "result": null,
        "revision": 1,
        "state": "queued",
        "updated_at": "2026-11-06T00:00:00Z"
      },
      "meta": {
        "as_of": "2026-11-06T00:00:00Z",
        "collected_at": null,
        "next_cursor": null,
        "next_refresh_at": null,
        "request_id": "00000000-0000-4000-8000-000000000001",
        "rights_filtered": false,
        "schema_version": "1.0",
        "stale": false,
        "warnings": []
      }
    }
    HTTP 202 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.billed_unitsintegerYesThe credits charged for this work.
    data.created_atstring (date-time)Yes
    data.errorobject | nullYes
    data.error.code"invalid_request" | "unauthenticated" | "quota_exceeded" | "forbidden" | "not_found" | "conflict" | "precondition_failed" | "validation_error" | "rate_limited" | "source_pending" | "feature_not_offered" | "internal_error"Conditional
    data.error.duplicate_ofstring (uuid)NoID of your existing prompt.
    data.error.field_errorsarray of objectNo
    data.error.field_errors[].fieldstring | nullConditional
    data.error.field_errors[].messagestringConditional
    data.error.messagestringConditional
    data.error.request_idstring (uuid)Conditional
    data.error.retryablebooleanConditional
    data.error.similar_promptsarray of objectNoOther matching prompts in your library.
    data.error.similar_prompts[].prompt_idstring (uuid)Conditional
    data.estimated_unitsintegerYes
    data.idstring (uuid)Yes
    data.kind"collection" | "prompt_generation" | "deletion" | "audit" | "optimization"Yes
    data.phase"researching" | "drafting" | "validating" | "collecting" | "analyzing" | "exporting" | "purging" | nullNo
    data.poll_urlstring (uri)YesSend an authenticated GET request to this URL to read the current result.
    data.progressnumberYes
    data.reserved_unitsintegerYesCredits held for the run.
    data.resultobject | object | object | object | object | nullYes
    data.result.acceptedintegerConditional
    data.result.answersarray of objectNo
    data.result.answers[].answer_textstringConditional
    data.result.answers[].answer_text_truncatedbooleanConditional
    data.result.answers[].brand_citedbooleanConditional
    data.result.answers[].brand_mentionedboolean | nullConditional
    data.result.answers[].citationsarray of objectConditional
    data.result.answers[].citations[].orderintegerConditional
    data.result.answers[].citations[].urlstringConditional
    data.result.answers[].observation_idstringConditional
    data.result.evidence_cursorstring | nullConditional
    data.result.failedintegerConditional
    data.result.kind"collection"Conditional
    data.result.observation_idsarray of string (uuid)Conditional
    data.result.observationsarray of objectNo
    data.result.observations[].applied_locationobject | nullConditional
    data.result.observations[].applied_location.citystring | nullNo
    data.result.observations[].applied_location.countrystring | nullNo
    data.result.observations[].applied_location.granularity"country" | "region" | "city" | "postal" | "coordinates"Conditional
    data.result.observations[].applied_location.latitudenumber | nullNo
    data.result.observations[].applied_location.longitudenumber | nullNo
    data.result.observations[].applied_location.postal_codestring | nullNo
    data.result.observations[].applied_location.regionstring | nullNo
    data.result.observations[].observation_idstring (uuid)Conditional
    data.result.detailsarray of objectNo
    data.result.details[].rationalestringConditional
    data.result.details[].suggestion_indexintegerConditional
    data.result.details[].template_versionstringConditional
    data.result.details[].warningsarray of stringConditional
    data.result.kind"prompt_generation"Conditional
    data.result.outcomeobjectNoExplains why the result contains no suggestions.
    data.result.outcome.reason"no_eligible_candidates" | "web_evidence_missing"ConditionalWhether no candidate qualified or usable web evidence was missing.
    data.result.outcome.web_evidence_usedbooleanConditionalWhether the generation received a reply with confirmed web activity.
    data.result.suggestionsarray of objectConditional
    data.result.suggestions[].action"create"Conditional
    data.result.suggestions[].allow_similarbooleanNoSave the prompt even if you already track the same question or a differently worded question with the same meaning.
    data.result.suggestions[].brand_idstring (uuid) | nullNo
    data.result.suggestions[].category_idsarray of string | nullConditional
    data.result.suggestions[].intent"discovery" | "recommendation" | "evaluation" | "pricing" | "comparison" | "alternatives" | "use_case" | "transaction" | "local" | "troubleshooting" | "trust" | "informational"Conditional
    data.result.suggestions[].marketobjectConditional
    data.result.suggestions[].market.citystring | null | nullNo
    data.result.suggestions[].market.countrystringConditional
    data.result.suggestions[].market.languagestringConditional
    data.result.suggestions[].market.regionstring | null | nullNo
    data.result.suggestions[].tagsarray of string | nullNo
    data.result.suggestions[].textstringConditional
    data.result.backup_expiry_atstring (date-time) | nullConditional
    data.result.kind"deletion"Conditional
    data.result.purgedbooleanConditional
    data.result.resource_idstring (uuid)Conditional
    data.result.retained_record_reasonsarray of stringConditional
    data.result.agent_readinessobjectNoOur defined website access criteria for AI agents at checked_at (not a universal AI-readiness standard; no indexing, ranking, citation or answer outcome is measured).
    data.result.agent_readiness.checked_atstring (date-time)Conditional
    data.result.agent_readiness.checksarray of objectConditional
    data.result.agent_readiness.checks[].assessment"verified" | "detected" | "not_detected" | "not_assessed"No
    data.result.agent_readiness.checks[].category"core" | "robots" | "content" | "discovery" | "protocol"Conditional
    data.result.agent_readiness.checks[].evidencearray of objectConditional
    data.result.agent_readiness.checks[].evidence[].methodstringConditional
    data.result.agent_readiness.checks[].evidence[].observedstringConditional
    data.result.agent_readiness.checks[].evidence[].urlstringConditional
    data.result.agent_readiness.checks[].idstringConditional
    data.result.agent_readiness.checks[].labelstringConditional
    data.result.agent_readiness.checks[].limitationsarray of stringConditional
    data.result.agent_readiness.checks[].recommendationstring | nullConditional
    data.result.agent_readiness.checks[].referencestringNo
    data.result.agent_readiness.checks[].scoredbooleanConditional
    data.result.agent_readiness.checks[].spec_versionstringNo
    data.result.agent_readiness.checks[].status"pass" | "fail" | "unknown" | "not_applicable"Conditional
    data.result.agent_readiness.limitationsarray of stringConditional
    data.result.agent_readiness.scope"essential" | "full"Conditional
    data.result.agent_readiness.scoreobjectConditionaleligible = passed + failed + unknown over applicable scored checks; value = 100 * passed / (passed + failed), or null when no scored check was conclusive.
    data.result.agent_readiness.score.eligibleintegerConditional
    data.result.agent_readiness.score.failedintegerConditional
    data.result.agent_readiness.score.passedintegerConditional
    data.result.agent_readiness.score.unknownintegerConditional
    data.result.agent_readiness.score.valuenumber | nullConditional
    data.result.agent_readiness.status"completed" | "partial" | "not_assessed"Conditional
    data.result.agent_readiness.versionstringConditional
    data.result.budget_exhaustedbooleanNo
    data.result.business_factsobjectNo
    data.result.business_facts.locationsarray of objectConditional
    data.result.business_facts.locations[].location_idstring (uuid) | nullConditional
    data.result.business_facts.locations[].scoreobjectConditional
    data.result.business_facts.locations[].score.fieldsobjectConditional
    data.result.business_facts.locations[].score.fields.[key]number | nullNoValue for each key.
    data.result.business_facts.locations[].score.matched_fieldsintegerConditional
    data.result.business_facts.locations[].score.mismatched_fieldsintegerConditional
    data.result.business_facts.locations[].score.overallnumber | nullConditional
    data.result.business_facts.omitted_sourcesintegerConditional
    data.result.business_facts.scoreobjectConditional
    data.result.business_facts.score.fieldsobjectConditional
    data.result.business_facts.score.fields.[key]number | nullNoValue for each key.
    data.result.business_facts.score.matched_fieldsintegerConditional
    data.result.business_facts.score.mismatched_fieldsintegerConditional
    data.result.business_facts.score.overallnumber | nullConditional
    data.result.business_facts.sourcesarray of objectConditional
    data.result.business_facts.sources[].fieldsarray of objectConditional
    data.result.business_facts.sources[].fields[].expectedstring | array of string | object | nullConditional
    data.result.business_facts.sources[].fields[].expected.[key]string | number | array of stringNoValue for each key.
    data.result.business_facts.sources[].fields[].fieldstringConditional
    data.result.business_facts.sources[].fields[].observedstring | array of string | object | nullConditional
    data.result.business_facts.sources[].fields[].observed.[key]string | number | array of stringNoValue for each key.
    data.result.business_facts.sources[].fields[].status"matched" | "mismatched" | "not_found"Conditional
    data.result.business_facts.sources[].final_urlstring | nullConditional
    data.result.business_facts.sources[].http_statusinteger | nullConditional
    data.result.business_facts.sources[].location_idstring (uuid) | nullConditional
    data.result.business_facts.sources[].source"supplied" | "profile" | "citation"Conditional
    data.result.business_facts.sources[].status"matched" | "mismatched" | "not_found" | "could_not_fetch"Conditional
    data.result.business_facts.sources[].urlstringConditional
    data.result.completeness"preliminary" | "partial" | "complete" | "blocked"No
    data.result.content_coverage_notestringNo
    data.result.crawler_accessobjectNo
    data.result.crawler_access.assessedintegerConditional
    data.result.crawler_access.eligibleintegerConditional
    data.result.crawler_access.notestringConditional
    data.result.crawler_access.pagesarray of objectConditional
    data.result.crawler_access.pages[].agentsarray of objectConditional
    data.result.crawler_access.pages[].agents[].access"allowed" | "blocked_by_robots" | "blocked_by_firewall" | "challenged" | "rate_limited" | "unknown"Conditional
    data.result.crawler_access.pages[].agents[].agentstringConditional
    data.result.crawler_access.pages[].agents[].evidenceobjectConditional
    data.result.crawler_access.pages[].agents[].evidence.body_size_rationumber | nullConditional
    data.result.crawler_access.pages[].agents[].evidence.browser_statusinteger | nullConditional
    data.result.crawler_access.pages[].agents[].evidence.crawler_statusinteger | nullConditional
    data.result.crawler_access.pages[].agents[].evidence.marker"challenge_page" | "block_page" | "block_redirect" | "empty_or_short_body" | nullConditional
    data.result.crawler_access.pages[].agents[].purpose"search" | "user_fetch" | "training"Conditional
    data.result.crawler_access.pages[].agents[].robots_access"allowed" | "blocked" | nullNoWhether robots.txt allows this crawler on this page. HTTP 4xx responses other than 429 mean allowed. The value is null if the rules could not be checked.
    data.result.crawler_access.pages[].agents[].visibility_riskbooleanConditional
    data.result.crawler_access.pages[].urlstringConditional
    data.result.crawler_access.scorenumber | nullConditional
    data.result.findingsarray of objectConditional
    data.result.findings[].codestring | nullConditional
    data.result.findings[].confidencenumberConditional
    data.result.findings[].evidencestringConditional
    data.result.findings[].idstring (uuid)Conditional
    data.result.findings[].recommendationstringConditional
    data.result.findings[].severity"critical" | "high" | "medium" | "low" | "info"Conditional
    data.result.findings[].urlstring (uri)Conditional
    data.result.findings[].verificationstringConditional
    data.result.first_result_atstring (date-time) | nullNo
    data.result.kind"audit"Conditional
    data.result.next_cursorstring | nullConditional
    data.result.pages_billedintegerNoPages counted toward the final charge.
    data.result.pages_checkedintegerConditional
    data.result.pages_discoveredintegerNo
    data.result.pages_skippedintegerConditional
    data.result.profile"instant" | "detailed"No
    data.result.schema_consistencyobjectNo
    data.result.schema_consistency.pagesarray of objectConditional
    data.result.schema_consistency.pages[].fieldsarray of objectConditional
    data.result.schema_consistency.pages[].fields[].basis"visible" | "profile"Conditional
    data.result.schema_consistency.pages[].fields[].expectedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].fields[].expected.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].fields[].fieldstringConditional
    data.result.schema_consistency.pages[].fields[].observedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].fields[].observed.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].fields[].status"matched" | "mismatched" | "not_found"Conditional
    data.result.schema_consistency.pages[].issuesarray of objectConditional
    data.result.schema_consistency.pages[].issues[].code"missing_local_business" | "missing_required_properties" | "differs_from_visible" | "differs_from_profile" | "conflicting_blocks"Conditional
    data.result.schema_consistency.pages[].issues[].comparedarray of object | object | objectConditional
    data.result.schema_consistency.pages[].issues[].compared[].expectedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].issues[].compared[].expected.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].issues[].compared[].fieldstringConditional
    data.result.schema_consistency.pages[].issues[].compared[].observedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].issues[].compared[].observed.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].issues[].compared[].basis"visible" | "profile"Conditional
    data.result.schema_consistency.pages[].issues[].compared[].status"matched" | "mismatched" | "not_found"Conditional
    data.result.schema_consistency.pages[].issues[].fieldsarray of stringConditional
    data.result.schema_consistency.pages[].location_idstring (uuid) | nullConditional
    data.result.schema_consistency.pages[].markup"json_ld" | "microdata" | nullConditional
    data.result.schema_consistency.pages[].schema_typestring | nullConditional
    data.result.schema_consistency.pages[].urlstringConditional
    data.result.schema_consistency.pages_with_issuesintegerConditional
    data.result.schema_consistency.scorenumber | nullConditional
    data.result.skipped_reasonsarray of stringNo
    data.result.approval_expires_atstring (date-time) | nullConditional
    data.result.approval_idstring (uuid) | nullConditional
    data.result.artifact_download_urlstring (uri) | nullConditional
    data.result.artifact_sha256string | nullConditional
    data.result.diffstring | nullConditional
    data.result.external_revisionstring | null | nullConditional
    data.result.kind"optimization"Conditional
    data.result.syntheticbooleanNo
    data.result.target_urlstring (uri)Conditional
    data.result.verification_findingsarray of objectConditional
    data.result.verification_findings[].codestring | nullConditional
    data.result.verification_findings[].confidencenumberConditional
    data.result.verification_findings[].evidencestringConditional
    data.result.verification_findings[].idstring (uuid)Conditional
    data.result.verification_findings[].recommendationstringConditional
    data.result.verification_findings[].severity"critical" | "high" | "medium" | "low" | "info"Conditional
    data.result.verification_findings[].urlstring (uri)Conditional
    data.result.verification_findings[].verificationstringConditional
    data.revisionintegerYes
    data.state"queued" | "running" | "awaiting_approval" | "approved" | "executing" | "verifying" | "completed" | "partial" | "failed" | "cancelled" | "rejected" | "stale_approval"Yes
    data.updated_atstring (date-time)Yes
    data.v2_run_idstringNoThe prefixed run ID accepted by GET /v2/runs/{run_id}.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Create a prompt or generate suggestionsgenerate

    Open this request with Python and TypeScript examples

    • Body action is generate.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    prompts:write
    Roles
    editor, owner, service
    Plans
    Optimizer, Analyzer
    Credits
    This operation can use credits.
    Billing access
    Required

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    Idempotency-KeyheaderstringYesFor 7 days, sending the same key and body for the same account and operation returns the original response. Changing the body for that key returns HTTP 409.

    Request body

    {
      "action": "generate",
      "category_ids": [
        "example"
      ],
      "count": 20,
      "intents": [
        "discovery"
      ],
      "market": {
        "country": "US",
        "language": "example"
      },
      "max_units": 1
    }
    Request body fields 1
    NameTypeRequiredDescription
    action"generate"Yes
    audit_idstring (uuid) | nullNo
    brand_idstring (uuid) | nullNo
    category_idsarray of string | nullYes
    countintegerYes
    intentsarray of "discovery" | "recommendation" | "evaluation" | "pricing" | "comparison" | "alternatives" | "use_case" | "transaction" | "local" | "troubleshooting" | "trust" | "informational"Yes
    marketobjectYes
    market.citystring | null | nullNo
    market.countrystringYes
    market.languagestringYes
    market.regionstring | null | nullNo
    max_unitsintegerYes
    method"web" | "model"NoChoose how to generate prompt suggestions.
    neutral_discoverybooleanNo

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X POST "$AEO_API_BASE_URL/v2/prompts" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 202

    Suggestion job queued. Poll collections/{id}.

    HTTP 202 headers
    NameTypeRequiredDescription
    Locationstring (uri)NoAuthenticated polling URI returned in data.poll_url.
    X-RateLimit-LimitintegerNoRequests in rate window.
    X-RateLimit-RemainingintegerNoRemaining request tokens.
    X-RateLimit-ResetintegerNoUTC Unix seconds when window resets.
    X-Request-Idstring (uuid)NoTrace identifier.
    X-Usage-UnitsintegerNoCU charged by this response; GET and account/usage always zero.

    application/json

    {
      "data": {
        "billed_units": 0,
        "created_at": "2026-11-06T00:00:00Z",
        "error": null,
        "estimated_units": 0,
        "id": "00000000-0000-4000-8000-000000000001",
        "kind": "prompt_generation",
        "poll_url": "https://api.aeoapi.dev/v2/runs/job:00000000-0000-4000-8000-000000000001",
        "progress": 0,
        "reserved_units": 0,
        "result": null,
        "revision": 1,
        "state": "queued",
        "updated_at": "2026-11-06T00:00:00Z"
      },
      "meta": {
        "as_of": "2026-11-06T00:00:00Z",
        "collected_at": null,
        "next_cursor": null,
        "next_refresh_at": null,
        "request_id": "00000000-0000-4000-8000-000000000001",
        "rights_filtered": false,
        "schema_version": "1.0",
        "stale": false,
        "warnings": []
      }
    }
    HTTP 202 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.billed_unitsintegerYesThe credits charged for this work.
    data.created_atstring (date-time)Yes
    data.errorobject | nullYes
    data.error.code"invalid_request" | "unauthenticated" | "quota_exceeded" | "forbidden" | "not_found" | "conflict" | "precondition_failed" | "validation_error" | "rate_limited" | "source_pending" | "feature_not_offered" | "internal_error"Conditional
    data.error.duplicate_ofstring (uuid)NoID of your existing prompt.
    data.error.field_errorsarray of objectNo
    data.error.field_errors[].fieldstring | nullConditional
    data.error.field_errors[].messagestringConditional
    data.error.messagestringConditional
    data.error.request_idstring (uuid)Conditional
    data.error.retryablebooleanConditional
    data.error.similar_promptsarray of objectNoOther matching prompts in your library.
    data.error.similar_prompts[].prompt_idstring (uuid)Conditional
    data.estimated_unitsintegerYes
    data.idstring (uuid)Yes
    data.kind"collection" | "prompt_generation" | "deletion" | "audit" | "optimization"Yes
    data.phase"researching" | "drafting" | "validating" | "collecting" | "analyzing" | "exporting" | "purging" | nullNo
    data.poll_urlstring (uri)YesSend an authenticated GET request to this URL to read the current result.
    data.progressnumberYes
    data.reserved_unitsintegerYesCredits held for the run.
    data.resultobject | object | object | object | object | nullYes
    data.result.acceptedintegerConditional
    data.result.answersarray of objectNo
    data.result.answers[].answer_textstringConditional
    data.result.answers[].answer_text_truncatedbooleanConditional
    data.result.answers[].brand_citedbooleanConditional
    data.result.answers[].brand_mentionedboolean | nullConditional
    data.result.answers[].citationsarray of objectConditional
    data.result.answers[].citations[].orderintegerConditional
    data.result.answers[].citations[].urlstringConditional
    data.result.answers[].observation_idstringConditional
    data.result.evidence_cursorstring | nullConditional
    data.result.failedintegerConditional
    data.result.kind"collection"Conditional
    data.result.observation_idsarray of string (uuid)Conditional
    data.result.observationsarray of objectNo
    data.result.observations[].applied_locationobject | nullConditional
    data.result.observations[].applied_location.citystring | nullNo
    data.result.observations[].applied_location.countrystring | nullNo
    data.result.observations[].applied_location.granularity"country" | "region" | "city" | "postal" | "coordinates"Conditional
    data.result.observations[].applied_location.latitudenumber | nullNo
    data.result.observations[].applied_location.longitudenumber | nullNo
    data.result.observations[].applied_location.postal_codestring | nullNo
    data.result.observations[].applied_location.regionstring | nullNo
    data.result.observations[].observation_idstring (uuid)Conditional
    data.result.detailsarray of objectNo
    data.result.details[].rationalestringConditional
    data.result.details[].suggestion_indexintegerConditional
    data.result.details[].template_versionstringConditional
    data.result.details[].warningsarray of stringConditional
    data.result.kind"prompt_generation"Conditional
    data.result.outcomeobjectNoExplains why the result contains no suggestions.
    data.result.outcome.reason"no_eligible_candidates" | "web_evidence_missing"ConditionalWhether no candidate qualified or usable web evidence was missing.
    data.result.outcome.web_evidence_usedbooleanConditionalWhether the generation received a reply with confirmed web activity.
    data.result.suggestionsarray of objectConditional
    data.result.suggestions[].action"create"Conditional
    data.result.suggestions[].allow_similarbooleanNoSave the prompt even if you already track the same question or a differently worded question with the same meaning.
    data.result.suggestions[].brand_idstring (uuid) | nullNo
    data.result.suggestions[].category_idsarray of string | nullConditional
    data.result.suggestions[].intent"discovery" | "recommendation" | "evaluation" | "pricing" | "comparison" | "alternatives" | "use_case" | "transaction" | "local" | "troubleshooting" | "trust" | "informational"Conditional
    data.result.suggestions[].marketobjectConditional
    data.result.suggestions[].market.citystring | null | nullNo
    data.result.suggestions[].market.countrystringConditional
    data.result.suggestions[].market.languagestringConditional
    data.result.suggestions[].market.regionstring | null | nullNo
    data.result.suggestions[].tagsarray of string | nullNo
    data.result.suggestions[].textstringConditional
    data.result.backup_expiry_atstring (date-time) | nullConditional
    data.result.kind"deletion"Conditional
    data.result.purgedbooleanConditional
    data.result.resource_idstring (uuid)Conditional
    data.result.retained_record_reasonsarray of stringConditional
    data.result.agent_readinessobjectNoOur defined website access criteria for AI agents at checked_at (not a universal AI-readiness standard; no indexing, ranking, citation or answer outcome is measured).
    data.result.agent_readiness.checked_atstring (date-time)Conditional
    data.result.agent_readiness.checksarray of objectConditional
    data.result.agent_readiness.checks[].assessment"verified" | "detected" | "not_detected" | "not_assessed"No
    data.result.agent_readiness.checks[].category"core" | "robots" | "content" | "discovery" | "protocol"Conditional
    data.result.agent_readiness.checks[].evidencearray of objectConditional
    data.result.agent_readiness.checks[].evidence[].methodstringConditional
    data.result.agent_readiness.checks[].evidence[].observedstringConditional
    data.result.agent_readiness.checks[].evidence[].urlstringConditional
    data.result.agent_readiness.checks[].idstringConditional
    data.result.agent_readiness.checks[].labelstringConditional
    data.result.agent_readiness.checks[].limitationsarray of stringConditional
    data.result.agent_readiness.checks[].recommendationstring | nullConditional
    data.result.agent_readiness.checks[].referencestringNo
    data.result.agent_readiness.checks[].scoredbooleanConditional
    data.result.agent_readiness.checks[].spec_versionstringNo
    data.result.agent_readiness.checks[].status"pass" | "fail" | "unknown" | "not_applicable"Conditional
    data.result.agent_readiness.limitationsarray of stringConditional
    data.result.agent_readiness.scope"essential" | "full"Conditional
    data.result.agent_readiness.scoreobjectConditionaleligible = passed + failed + unknown over applicable scored checks; value = 100 * passed / (passed + failed), or null when no scored check was conclusive.
    data.result.agent_readiness.score.eligibleintegerConditional
    data.result.agent_readiness.score.failedintegerConditional
    data.result.agent_readiness.score.passedintegerConditional
    data.result.agent_readiness.score.unknownintegerConditional
    data.result.agent_readiness.score.valuenumber | nullConditional
    data.result.agent_readiness.status"completed" | "partial" | "not_assessed"Conditional
    data.result.agent_readiness.versionstringConditional
    data.result.budget_exhaustedbooleanNo
    data.result.business_factsobjectNo
    data.result.business_facts.locationsarray of objectConditional
    data.result.business_facts.locations[].location_idstring (uuid) | nullConditional
    data.result.business_facts.locations[].scoreobjectConditional
    data.result.business_facts.locations[].score.fieldsobjectConditional
    data.result.business_facts.locations[].score.fields.[key]number | nullNoValue for each key.
    data.result.business_facts.locations[].score.matched_fieldsintegerConditional
    data.result.business_facts.locations[].score.mismatched_fieldsintegerConditional
    data.result.business_facts.locations[].score.overallnumber | nullConditional
    data.result.business_facts.omitted_sourcesintegerConditional
    data.result.business_facts.scoreobjectConditional
    data.result.business_facts.score.fieldsobjectConditional
    data.result.business_facts.score.fields.[key]number | nullNoValue for each key.
    data.result.business_facts.score.matched_fieldsintegerConditional
    data.result.business_facts.score.mismatched_fieldsintegerConditional
    data.result.business_facts.score.overallnumber | nullConditional
    data.result.business_facts.sourcesarray of objectConditional
    data.result.business_facts.sources[].fieldsarray of objectConditional
    data.result.business_facts.sources[].fields[].expectedstring | array of string | object | nullConditional
    data.result.business_facts.sources[].fields[].expected.[key]string | number | array of stringNoValue for each key.
    data.result.business_facts.sources[].fields[].fieldstringConditional
    data.result.business_facts.sources[].fields[].observedstring | array of string | object | nullConditional
    data.result.business_facts.sources[].fields[].observed.[key]string | number | array of stringNoValue for each key.
    data.result.business_facts.sources[].fields[].status"matched" | "mismatched" | "not_found"Conditional
    data.result.business_facts.sources[].final_urlstring | nullConditional
    data.result.business_facts.sources[].http_statusinteger | nullConditional
    data.result.business_facts.sources[].location_idstring (uuid) | nullConditional
    data.result.business_facts.sources[].source"supplied" | "profile" | "citation"Conditional
    data.result.business_facts.sources[].status"matched" | "mismatched" | "not_found" | "could_not_fetch"Conditional
    data.result.business_facts.sources[].urlstringConditional
    data.result.completeness"preliminary" | "partial" | "complete" | "blocked"No
    data.result.content_coverage_notestringNo
    data.result.crawler_accessobjectNo
    data.result.crawler_access.assessedintegerConditional
    data.result.crawler_access.eligibleintegerConditional
    data.result.crawler_access.notestringConditional
    data.result.crawler_access.pagesarray of objectConditional
    data.result.crawler_access.pages[].agentsarray of objectConditional
    data.result.crawler_access.pages[].agents[].access"allowed" | "blocked_by_robots" | "blocked_by_firewall" | "challenged" | "rate_limited" | "unknown"Conditional
    data.result.crawler_access.pages[].agents[].agentstringConditional
    data.result.crawler_access.pages[].agents[].evidenceobjectConditional
    data.result.crawler_access.pages[].agents[].evidence.body_size_rationumber | nullConditional
    data.result.crawler_access.pages[].agents[].evidence.browser_statusinteger | nullConditional
    data.result.crawler_access.pages[].agents[].evidence.crawler_statusinteger | nullConditional
    data.result.crawler_access.pages[].agents[].evidence.marker"challenge_page" | "block_page" | "block_redirect" | "empty_or_short_body" | nullConditional
    data.result.crawler_access.pages[].agents[].purpose"search" | "user_fetch" | "training"Conditional
    data.result.crawler_access.pages[].agents[].robots_access"allowed" | "blocked" | nullNoWhether robots.txt allows this crawler on this page. HTTP 4xx responses other than 429 mean allowed. The value is null if the rules could not be checked.
    data.result.crawler_access.pages[].agents[].visibility_riskbooleanConditional
    data.result.crawler_access.pages[].urlstringConditional
    data.result.crawler_access.scorenumber | nullConditional
    data.result.findingsarray of objectConditional
    data.result.findings[].codestring | nullConditional
    data.result.findings[].confidencenumberConditional
    data.result.findings[].evidencestringConditional
    data.result.findings[].idstring (uuid)Conditional
    data.result.findings[].recommendationstringConditional
    data.result.findings[].severity"critical" | "high" | "medium" | "low" | "info"Conditional
    data.result.findings[].urlstring (uri)Conditional
    data.result.findings[].verificationstringConditional
    data.result.first_result_atstring (date-time) | nullNo
    data.result.kind"audit"Conditional
    data.result.next_cursorstring | nullConditional
    data.result.pages_billedintegerNoPages counted toward the final charge.
    data.result.pages_checkedintegerConditional
    data.result.pages_discoveredintegerNo
    data.result.pages_skippedintegerConditional
    data.result.profile"instant" | "detailed"No
    data.result.schema_consistencyobjectNo
    data.result.schema_consistency.pagesarray of objectConditional
    data.result.schema_consistency.pages[].fieldsarray of objectConditional
    data.result.schema_consistency.pages[].fields[].basis"visible" | "profile"Conditional
    data.result.schema_consistency.pages[].fields[].expectedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].fields[].expected.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].fields[].fieldstringConditional
    data.result.schema_consistency.pages[].fields[].observedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].fields[].observed.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].fields[].status"matched" | "mismatched" | "not_found"Conditional
    data.result.schema_consistency.pages[].issuesarray of objectConditional
    data.result.schema_consistency.pages[].issues[].code"missing_local_business" | "missing_required_properties" | "differs_from_visible" | "differs_from_profile" | "conflicting_blocks"Conditional
    data.result.schema_consistency.pages[].issues[].comparedarray of object | object | objectConditional
    data.result.schema_consistency.pages[].issues[].compared[].expectedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].issues[].compared[].expected.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].issues[].compared[].fieldstringConditional
    data.result.schema_consistency.pages[].issues[].compared[].observedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].issues[].compared[].observed.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].issues[].compared[].basis"visible" | "profile"Conditional
    data.result.schema_consistency.pages[].issues[].compared[].status"matched" | "mismatched" | "not_found"Conditional
    data.result.schema_consistency.pages[].issues[].fieldsarray of stringConditional
    data.result.schema_consistency.pages[].location_idstring (uuid) | nullConditional
    data.result.schema_consistency.pages[].markup"json_ld" | "microdata" | nullConditional
    data.result.schema_consistency.pages[].schema_typestring | nullConditional
    data.result.schema_consistency.pages[].urlstringConditional
    data.result.schema_consistency.pages_with_issuesintegerConditional
    data.result.schema_consistency.scorenumber | nullConditional
    data.result.skipped_reasonsarray of stringNo
    data.result.approval_expires_atstring (date-time) | nullConditional
    data.result.approval_idstring (uuid) | nullConditional
    data.result.artifact_download_urlstring (uri) | nullConditional
    data.result.artifact_sha256string | nullConditional
    data.result.diffstring | nullConditional
    data.result.external_revisionstring | null | nullConditional
    data.result.kind"optimization"Conditional
    data.result.syntheticbooleanNo
    data.result.target_urlstring (uri)Conditional
    data.result.verification_findingsarray of objectConditional
    data.result.verification_findings[].codestring | nullConditional
    data.result.verification_findings[].confidencenumberConditional
    data.result.verification_findings[].evidencestringConditional
    data.result.verification_findings[].idstring (uuid)Conditional
    data.result.verification_findings[].recommendationstringConditional
    data.result.verification_findings[].severity"critical" | "high" | "medium" | "low" | "info"Conditional
    data.result.verification_findings[].urlstring (uri)Conditional
    data.result.verification_findings[].verificationstringConditional
    data.revisionintegerYes
    data.state"queued" | "running" | "awaiting_approval" | "approved" | "executing" | "verifying" | "completed" | "partial" | "failed" | "cancelled" | "rejected" | "stale_approval"Yes
    data.updated_atstring (date-time)Yes
    data.v2_run_idstringNoThe prefixed run ID accepted by GET /v2/runs/{run_id}.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Post Importimport

    Open this request with Python and TypeScript examples

    • Body action is import.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    prompts:write
    Roles
    editor, owner, service
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    Idempotency-KeyheaderstringYes

    Request body

    {
      "action": "import",
      "brand_id": "00000000-0000-4000-8000-000000000001",
      "content": "How do I set up shared billing?",
      "format": "newline"
    }
    Request body fields 1
    NameTypeRequiredDescription
    action"import"Yes
    allow_similarbooleanNoSave the prompt even if you already track the same question or a differently worded question with the same meaning.
    brand_idstring (uuid)Yes
    contentstring | nullNo
    defaultsobjectNo
    defaults.category_idsarray of string | nullNo
    defaults.intent"discovery" | "recommendation" | "evaluation" | "pricing" | "comparison" | "alternatives" | "use_case" | "transaction" | "local" | "troubleshooting" | "trust" | "informational"NoThe purpose of the prompt.
    defaults.marketobject | nullNo
    defaults.market.citystring | nullNo
    defaults.market.countrystringConditional
    defaults.market.languagestringConditional
    defaults.market.regionstring | nullNo
    defaults.tagsarray of stringNo
    format"manual" | "newline" | "csv"Yes
    rowsarray of object | nullNo
    rows.category_idsarray of string | nullNo
    rows.intent"discovery" | "recommendation" | "evaluation" | "pricing" | "comparison" | "alternatives" | "use_case" | "transaction" | "local" | "troubleshooting" | "trust" | "informational" | nullNo
    rows.marketobject | nullNo
    rows.market.citystring | nullNo
    rows.market.countrystringConditional
    rows.market.languagestringConditional
    rows.market.regionstring | nullNo
    rows.metadataobjectNo
    rows.metadata.audience_idsarray of string (uuid)No
    rows.metadata.group_idsarray of string (uuid)No
    rows.metadata.product_idsarray of string (uuid)No
    rows.metadata.service_idsarray of string (uuid)No
    rows.metadata.stage"awareness" | "consideration" | "evaluation" | "decision" | "retention" | nullNo
    rows.tagsarray of stringNo
    rows.textstringConditional

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X POST "$AEO_API_BASE_URL/v2/prompts" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 201

    Prompt batch created

    application/json

    Response fields are listed below.

    HTTP 201 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.importedintegerYes
    data.promptsarray of objectYes
    data.prompts[].brand_idstring (uuid) | nullYes
    data.prompts[].category_idsarray of string | nullYes
    data.prompts[].cohort_versionstring | nullYes
    data.prompts[].created_atstring (date-time)Yes
    data.prompts[].duplicate_ofstring (uuid)NoID of your existing prompt.
    data.prompts[].idstring (uuid)Yes
    data.prompts[].intentstring | nullYes
    data.prompts[].marketobjectYes
    data.prompts[].market.citystring | null | nullNo
    data.prompts[].market.countrystringYes
    data.prompts[].market.languagestringYes
    data.prompts[].market.regionstring | null | nullNo
    data.prompts[].revisionintegerYes
    data.prompts[].scope"shared" | "private"Yes
    data.prompts[].similar_promptsarray of objectNoOther matching prompts in your library.
    data.prompts[].similar_prompts[].prompt_idstring (uuid)Conditional
    data.prompts[].status"active" | "archived" | "deletion_pending"Yes
    data.prompts[].tagsarray of string | nullYes
    data.prompts[].textstringYes
    data.prompts[].versionintegerYes
    data.prompts[].metadataobjectYes
    data.prompts[].metadata.audience_idsarray of string (uuid)Yes
    data.prompts[].metadata.group_idsarray of string (uuid)Yes
    data.prompts[].metadata.product_idsarray of string (uuid)Yes
    data.prompts[].metadata.service_idsarray of string (uuid)Yes
    data.prompts[].metadata.stage"awareness" | "consideration" | "evaluation" | "decision" | "retention" | nullYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Create a prompt or generate suggestionspreview_local

    Open this request with Python and TypeScript examples

    • Body action is preview.
    • Body source is local.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    prompts:write
    Roles
    editor, owner, service
    Plans
    Optimizer, Analyzer
    Credits
    This operation can use credits.
    Billing access
    Required

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    Idempotency-KeyheaderstringYesFor 7 days, sending the same key and body for the same account and operation returns the original response. Changing the body for that key returns HTTP 409.

    Request body

    {
      "action": "preview",
      "category_ids": [
        "gcid:dentist"
      ],
      "count": 5,
      "intent": "local",
      "market": {
        "city": "Chicago",
        "country": "US",
        "language": "en"
      },
      "max_units": 100,
      "neutral_discovery": true,
      "source": "local",
      "template_id": "neutral-service-choice",
      "location_id": "00000000-0000-4000-8000-000000011571"
    }
    Request body fields 1
    NameTypeRequiredDescription
    action"preview"Yes
    brand_idstring (uuid) | nullNo
    category_idsarray of stringYes
    countintegerYes
    intent"discovery" | "recommendation" | "evaluation" | "pricing" | "comparison" | "alternatives" | "use_case" | "transaction" | "local" | "troubleshooting" | "trust" | "informational"Yes
    local_intentbooleanNo
    location_idstring (uuid)Yes
    marketobjectYes
    market.citystring | null | nullNo
    market.countrystringYes
    market.languagestringYes
    market.regionstring | null | nullNo
    max_unitsintegerYes
    need_textstringNo
    neutral_discoverytrueNo
    source"local"Yes
    template_idstringYes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X POST "$AEO_API_BASE_URL/v2/prompts" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Local prompt suggestions.

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesSuggestions are unpersisted; explicitly create selected prompts.
    data.detailsarray of objectNo
    data.details[].rationalestringConditional
    data.details[].suggestion_indexintegerConditional
    data.details[].template_versionstringConditional
    data.details[].warningsarray of stringConditional
    data.kind"prompt_generation"Yes
    data.outcomeobjectNoExplains why the result contains no suggestions.
    data.outcome.reason"no_eligible_candidates" | "web_evidence_missing"ConditionalWhether no candidate qualified or usable web evidence was missing.
    data.outcome.web_evidence_usedbooleanConditionalWhether the generation received a reply with confirmed web activity.
    data.suggestionsarray of objectYes
    data.suggestions[].action"create"Yes
    data.suggestions[].allow_similarbooleanNoSave the prompt even if you already track the same question or a differently worded question with the same meaning.
    data.suggestions[].brand_idstring (uuid) | nullNo
    data.suggestions[].category_idsarray of string | nullYes
    data.suggestions[].intent"discovery" | "recommendation" | "evaluation" | "pricing" | "comparison" | "alternatives" | "use_case" | "transaction" | "local" | "troubleshooting" | "trust" | "informational"Yes
    data.suggestions[].marketobjectYes
    data.suggestions[].market.citystring | null | nullNo
    data.suggestions[].market.countrystringYes
    data.suggestions[].market.languagestringYes
    data.suggestions[].market.regionstring | null | nullNo
    data.suggestions[].tagsarray of string | nullNo
    data.suggestions[].textstringYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Preview Hubspotpreview_hubspot

    Open this request with Python and TypeScript examples

    • Body action is preview.
    • Body source is hubspot.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    prompts:write, brands:read
    Roles
    editor, owner, service
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    X-HubSpot-Access-Tokenheaderstring (password)YesCustomer-held HubSpot conversations.read credential. Required when enabling or pulling from a connector.

    Request body

    {
      "action": "preview",
      "brand_id": "00000000-0000-4000-8000-000000000001",
      "inbox_id": "17",
      "source": "hubspot",
      "threads": [
        {
          "permission": "customer_permitted",
          "permission_expires_at": "2026-12-24T10:00:00Z",
          "thread_id": "25"
        }
      ]
    }
    Request body fields 1
    NameTypeRequiredDescription
    action"preview"Yes
    brand_idstring (uuid)Yes
    inbox_idstringYes
    limitintegerNo
    marketobject | nullNo
    market.citystring | nullNo
    market.countrystringConditional
    market.languagestringConditional
    market.regionstring | nullNo
    source"hubspot"Yes
    threadsarray of objectYes
    threads[].cursorstring | nullNo
    threads[].known_latest_message_atstring (date-time) | nullNo
    threads[].permission"customer_permitted"Yes
    threads[].permission_expires_atstring (date-time)Yes
    threads[].thread_idstringYes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X POST "$AEO_API_BASE_URL/v2/prompts" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "X-HubSpot-Access-Token: $X_HUBSPOT_ACCESS_TOKEN" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.questionsarray of objectYes
    data.questions[].draftobjectYes
    data.questions[].draft.duplicate_ofstring (uuid)NoID of your existing prompt.
    data.questions[].draft.idstring (uuid)Yes
    data.questions[].draft.intent"discovery" | "recommendation" | "evaluation" | "pricing" | "comparison" | "alternatives" | "use_case" | "transaction" | "local" | "troubleshooting" | "trust" | "informational"NoThe purpose of the prompt.
    data.questions[].draft.marketobject | nullNo
    data.questions[].draft.market.citystring | nullNo
    data.questions[].draft.market.countrystringConditional
    data.questions[].draft.market.languagestringConditional
    data.questions[].draft.market.regionstring | nullNo
    data.questions[].draft.metadataobjectNo
    data.questions[].draft.metadata.audience_idsarray of string (uuid)No
    data.questions[].draft.metadata.group_idsarray of string (uuid)No
    data.questions[].draft.metadata.product_idsarray of string (uuid)No
    data.questions[].draft.metadata.service_idsarray of string (uuid)No
    data.questions[].draft.metadata.stage"awareness" | "consideration" | "evaluation" | "decision" | "retention" | nullNo
    data.questions[].draft.similar_promptsarray of objectNoOther matching prompts in your library.
    data.questions[].draft.similar_prompts[].prompt_idstring (uuid)Conditional
    data.questions[].draft.source_refstringYes
    data.questions[].draft.textstringYes
    data.questions[].redactedbooleanYes
    data.questions[].sourceobjectYes
    data.questions[].source.referencestringYes
    data.questions[].source.turnintegerYes
    data.review_requiredtrueYes
    data.skippedobjectYes
    data.skipped.[key]integerNoValue for each key.
    data.supported_languagesarray of stringYes
    data.threadsarray of objectYes
    data.threads[].latest_message_atstring (date-time)Yes
    data.threads[].next_cursorstring | nullYes
    data.threads[].status"unchanged" | "processed" | "partial"Yes
    data.threads[].thread_idstringYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Post Conversation Previewpreview_conversations

    Open this request with Python and TypeScript examples

    • Body action is preview.
    • Body source is conversations.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    prompts:write, brands:read
    Roles
    editor, owner, service
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    The contract lists no fields for this section.

    Request body

    {
      "action": "preview",
      "brand_id": "00000000-0000-4000-8000-000000000001",
      "conversations": [
        {
          "permission": "customer_permitted",
          "source_ref": "example-thread",
          "turns": [
            {
              "speaker": "customer",
              "text": "How do I set up shared billing?"
            }
          ]
        }
      ],
      "source": "conversations"
    }
    Request body fields 1
    NameTypeRequiredDescription
    action"preview"Yes
    brand_idstring (uuid)Yes
    conversationsarray of objectYes
    conversations[].marketobject | nullNo
    conversations[].market.citystring | nullNo
    conversations[].market.countrystringConditional
    conversations[].market.languagestringConditional
    conversations[].market.regionstring | nullNo
    conversations[].permission"customer_permitted"Yes
    conversations[].source_refstringYes
    conversations[].turnsarray of objectYes
    conversations[].turns[].speaker"customer" | "staff"Yes
    conversations[].turns[].textstringYes
    limitintegerNo
    source"conversations"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X POST "$AEO_API_BASE_URL/v2/prompts" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.questionsarray of objectYes
    data.questions[].draftobjectYes
    data.questions[].draft.duplicate_ofstring (uuid)NoID of your existing prompt.
    data.questions[].draft.idstring (uuid)Yes
    data.questions[].draft.intent"discovery" | "recommendation" | "evaluation" | "pricing" | "comparison" | "alternatives" | "use_case" | "transaction" | "local" | "troubleshooting" | "trust" | "informational"YesThe purpose of the prompt.
    data.questions[].draft.marketobject | nullYes
    data.questions[].draft.market.citystring | nullNo
    data.questions[].draft.market.countrystringConditional
    data.questions[].draft.market.languagestringConditional
    data.questions[].draft.market.regionstring | nullNo
    data.questions[].draft.metadataobjectYes
    data.questions[].draft.metadata.audience_idsarray of string (uuid)Yes
    data.questions[].draft.metadata.group_idsarray of string (uuid)Yes
    data.questions[].draft.metadata.product_idsarray of string (uuid)Yes
    data.questions[].draft.metadata.service_idsarray of string (uuid)Yes
    data.questions[].draft.metadata.stage"awareness" | "consideration" | "evaluation" | "decision" | "retention" | nullYes
    data.questions[].draft.similar_promptsarray of objectNoOther matching prompts in your library.
    data.questions[].draft.similar_prompts[].prompt_idstring (uuid)Conditional
    data.questions[].draft.source_refstringYes
    data.questions[].draft.textstringYes
    data.questions[].sourceobjectYes
    data.questions[].source.referencestringYes
    data.questions[].source.turnintegerYes
    data.questions[].redactedbooleanYes
    data.review_requiredtrueYes
    data.supported_languagesarray of stringYes
    data.skippedobjectYesSkipped items grouped by reason.
    data.skipped.[key]integerNoValue for each key.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    PATCH /v2/prompts

    Update prompts, prompt sets, or topics

    Version, archive or request prompt deletionupdate

    Open this request with Python and TypeScript examples

    • Body action is update.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    prompts:write
    Roles
    editor, owner, service
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    Idempotency-KeyheaderstringYesFor 7 days, sending the same key and body for the same account and operation returns the original response. Changing the body for that key returns HTTP 409.
    If-MatchheaderstringYesResource/config revision ETag; mismatch returns 412.

    Request body

    {
      "action": "update",
      "prompt_id": "00000000-0000-4000-8000-000000000001",
      "text": "How should a homeowner compare plumbing services in Chicago?"
    }
    Request body fields 1
    NameTypeRequiredDescription
    action"update"Yes
    prompt_idstring (uuid)Yes
    status"active" | "archived"No
    tagsarray of string | nullNo
    textstringNo

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X PATCH "$AEO_API_BASE_URL/v2/prompts" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
      -H "If-Match: $IF_MATCH" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Version, archive or request prompt deletion result.

    HTTP 200 headers
    NameTypeRequiredDescription
    ETagstringNoCurrent revision as a quoted integer.
    X-RateLimit-LimitintegerNoRequests in rate window.
    X-RateLimit-RemainingintegerNoRemaining request tokens.
    X-RateLimit-ResetintegerNoUTC Unix seconds when window resets.
    X-Request-Idstring (uuid)NoTrace identifier.
    X-Usage-UnitsintegerNoCU charged by this response; GET and account/usage always zero.

    application/json

    {
      "data": {
        "brand_id": null,
        "category_ids": [],
        "cohort_version": "example",
        "created_at": "2026-11-06T00:00:00Z",
        "id": "00000000-0000-4000-8000-000000000001",
        "intent": "example",
        "market": {
          "country": "US",
          "language": "example"
        },
        "revision": 1,
        "scope": "shared",
        "status": "active",
        "tags": [],
        "text": "example",
        "version": 1
      },
      "meta": {
        "as_of": "2026-11-06T00:00:00Z",
        "collected_at": null,
        "next_cursor": null,
        "next_refresh_at": null,
        "request_id": "00000000-0000-4000-8000-000000000001",
        "rights_filtered": false,
        "schema_version": "1.0",
        "stale": false,
        "warnings": []
      }
    }
    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstring (uuid) | nullYesIdentifies the brand this result belongs to.
    data.category_idsarray of string | nullYes
    data.cohort_versionstring | nullYes
    data.created_atstring (date-time)Yes
    data.duplicate_ofstring (uuid)NoID of your existing prompt.
    data.idstring (uuid)Yes
    data.intentstring | nullYes
    data.marketobjectYes
    data.market.citystring | null | nullNo
    data.market.countrystringYes
    data.market.languagestringYes
    data.market.regionstring | null | nullNo
    data.revisionintegerYes
    data.scope"shared" | "private"Yes
    data.similar_promptsarray of objectNoOther matching prompts in your library.
    data.similar_prompts[].prompt_idstring (uuid)Conditional
    data.status"active" | "archived" | "deletion_pending"Yes
    data.tagsarray of string | nullYes
    data.textstringYes
    data.versionintegerYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Version, archive or request prompt deletionarchive

    Open this request with Python and TypeScript examples

    • Body action is archive.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    prompts:write
    Roles
    editor, owner, service
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    Idempotency-KeyheaderstringYesFor 7 days, sending the same key and body for the same account and operation returns the original response. Changing the body for that key returns HTTP 409.
    If-MatchheaderstringYesResource/config revision ETag; mismatch returns 412.

    Request body

    {
      "action": "archive",
      "prompt_id": "00000000-0000-4000-8000-000000000001"
    }
    Request body fields 1
    NameTypeRequiredDescription
    action"archive"Yes
    prompt_idstring (uuid)Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X PATCH "$AEO_API_BASE_URL/v2/prompts" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
      -H "If-Match: $IF_MATCH" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Version, archive or request prompt deletion result.

    HTTP 200 headers
    NameTypeRequiredDescription
    ETagstringNoCurrent revision as a quoted integer.
    X-RateLimit-LimitintegerNoRequests in rate window.
    X-RateLimit-RemainingintegerNoRemaining request tokens.
    X-RateLimit-ResetintegerNoUTC Unix seconds when window resets.
    X-Request-Idstring (uuid)NoTrace identifier.
    X-Usage-UnitsintegerNoCU charged by this response; GET and account/usage always zero.

    application/json

    {
      "data": {
        "brand_id": null,
        "category_ids": [],
        "cohort_version": "example",
        "created_at": "2026-11-06T00:00:00Z",
        "id": "00000000-0000-4000-8000-000000000001",
        "intent": "example",
        "market": {
          "country": "US",
          "language": "example"
        },
        "revision": 1,
        "scope": "shared",
        "status": "active",
        "tags": [],
        "text": "example",
        "version": 1
      },
      "meta": {
        "as_of": "2026-11-06T00:00:00Z",
        "collected_at": null,
        "next_cursor": null,
        "next_refresh_at": null,
        "request_id": "00000000-0000-4000-8000-000000000001",
        "rights_filtered": false,
        "schema_version": "1.0",
        "stale": false,
        "warnings": []
      }
    }
    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstring (uuid) | nullYesIdentifies the brand this result belongs to.
    data.category_idsarray of string | nullYes
    data.cohort_versionstring | nullYes
    data.created_atstring (date-time)Yes
    data.duplicate_ofstring (uuid)NoID of your existing prompt.
    data.idstring (uuid)Yes
    data.intentstring | nullYes
    data.marketobjectYes
    data.market.citystring | null | nullNo
    data.market.countrystringYes
    data.market.languagestringYes
    data.market.regionstring | null | nullNo
    data.revisionintegerYes
    data.scope"shared" | "private"Yes
    data.similar_promptsarray of objectNoOther matching prompts in your library.
    data.similar_prompts[].prompt_idstring (uuid)Conditional
    data.status"active" | "archived" | "deletion_pending"Yes
    data.tagsarray of string | nullYes
    data.textstringYes
    data.versionintegerYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Version, archive or request prompt deletionrequest_delete

    Open this request with Python and TypeScript examples

    • Body action is request_delete.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    prompts:write
    Roles
    editor, owner, service
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    Idempotency-KeyheaderstringYesFor 7 days, sending the same key and body for the same account and operation returns the original response. Changing the body for that key returns HTTP 409.
    If-MatchheaderstringYesResource/config revision ETag; mismatch returns 412.

    Request body

    {
      "action": "request_delete",
      "prompt_id": "00000000-0000-4000-8000-000000000001",
      "reason": "example"
    }
    Request body fields 1
    NameTypeRequiredDescription
    action"request_delete"Yes
    prompt_idstring (uuid)Yes
    reasonstringYes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X PATCH "$AEO_API_BASE_URL/v2/prompts" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
      -H "If-Match: $IF_MATCH" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 202

    Deletion queued.

    HTTP 202 headers
    NameTypeRequiredDescription
    Locationstring (uri)NoAuthenticated polling URI returned in data.poll_url.
    X-RateLimit-LimitintegerNoRequests in rate window.
    X-RateLimit-RemainingintegerNoRemaining request tokens.
    X-RateLimit-ResetintegerNoUTC Unix seconds when window resets.
    X-Request-Idstring (uuid)NoTrace identifier.
    X-Usage-UnitsintegerNoCU charged by this response; GET and account/usage always zero.

    application/json

    {
      "data": {
        "billed_units": 0,
        "created_at": "2026-11-06T00:00:00Z",
        "error": null,
        "estimated_units": 0,
        "id": "00000000-0000-4000-8000-000000000001",
        "kind": "deletion",
        "poll_url": "https://api.aeoapi.dev/v2/runs/job:00000000-0000-4000-8000-000000000001",
        "progress": 0,
        "reserved_units": 0,
        "result": null,
        "revision": 1,
        "state": "queued",
        "updated_at": "2026-11-06T00:00:00Z"
      },
      "meta": {
        "as_of": "2026-11-06T00:00:00Z",
        "collected_at": null,
        "next_cursor": null,
        "next_refresh_at": null,
        "request_id": "00000000-0000-4000-8000-000000000001",
        "rights_filtered": false,
        "schema_version": "1.0",
        "stale": false,
        "warnings": []
      }
    }
    HTTP 202 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.billed_unitsintegerYesThe credits charged for this work.
    data.created_atstring (date-time)Yes
    data.errorobject | nullYes
    data.error.code"invalid_request" | "unauthenticated" | "quota_exceeded" | "forbidden" | "not_found" | "conflict" | "precondition_failed" | "validation_error" | "rate_limited" | "source_pending" | "feature_not_offered" | "internal_error"Conditional
    data.error.duplicate_ofstring (uuid)NoID of your existing prompt.
    data.error.field_errorsarray of objectNo
    data.error.field_errors[].fieldstring | nullConditional
    data.error.field_errors[].messagestringConditional
    data.error.messagestringConditional
    data.error.request_idstring (uuid)Conditional
    data.error.retryablebooleanConditional
    data.error.similar_promptsarray of objectNoOther matching prompts in your library.
    data.error.similar_prompts[].prompt_idstring (uuid)Conditional
    data.estimated_unitsintegerYes
    data.idstring (uuid)Yes
    data.kind"collection" | "prompt_generation" | "deletion" | "audit" | "optimization"Yes
    data.phase"researching" | "drafting" | "validating" | "collecting" | "analyzing" | "exporting" | "purging" | nullNo
    data.poll_urlstring (uri)YesSend an authenticated GET request to this URL to read the current result.
    data.progressnumberYes
    data.reserved_unitsintegerYesCredits held for the run.
    data.resultobject | object | object | object | object | nullYes
    data.result.acceptedintegerConditional
    data.result.answersarray of objectNo
    data.result.answers[].answer_textstringConditional
    data.result.answers[].answer_text_truncatedbooleanConditional
    data.result.answers[].brand_citedbooleanConditional
    data.result.answers[].brand_mentionedboolean | nullConditional
    data.result.answers[].citationsarray of objectConditional
    data.result.answers[].citations[].orderintegerConditional
    data.result.answers[].citations[].urlstringConditional
    data.result.answers[].observation_idstringConditional
    data.result.evidence_cursorstring | nullConditional
    data.result.failedintegerConditional
    data.result.kind"collection"Conditional
    data.result.observation_idsarray of string (uuid)Conditional
    data.result.observationsarray of objectNo
    data.result.observations[].applied_locationobject | nullConditional
    data.result.observations[].applied_location.citystring | nullNo
    data.result.observations[].applied_location.countrystring | nullNo
    data.result.observations[].applied_location.granularity"country" | "region" | "city" | "postal" | "coordinates"Conditional
    data.result.observations[].applied_location.latitudenumber | nullNo
    data.result.observations[].applied_location.longitudenumber | nullNo
    data.result.observations[].applied_location.postal_codestring | nullNo
    data.result.observations[].applied_location.regionstring | nullNo
    data.result.observations[].observation_idstring (uuid)Conditional
    data.result.detailsarray of objectNo
    data.result.details[].rationalestringConditional
    data.result.details[].suggestion_indexintegerConditional
    data.result.details[].template_versionstringConditional
    data.result.details[].warningsarray of stringConditional
    data.result.kind"prompt_generation"Conditional
    data.result.outcomeobjectNoExplains why the result contains no suggestions.
    data.result.outcome.reason"no_eligible_candidates" | "web_evidence_missing"ConditionalWhether no candidate qualified or usable web evidence was missing.
    data.result.outcome.web_evidence_usedbooleanConditionalWhether the generation received a reply with confirmed web activity.
    data.result.suggestionsarray of objectConditional
    data.result.suggestions[].action"create"Conditional
    data.result.suggestions[].allow_similarbooleanNoSave the prompt even if you already track the same question or a differently worded question with the same meaning.
    data.result.suggestions[].brand_idstring (uuid) | nullNo
    data.result.suggestions[].category_idsarray of string | nullConditional
    data.result.suggestions[].intent"discovery" | "recommendation" | "evaluation" | "pricing" | "comparison" | "alternatives" | "use_case" | "transaction" | "local" | "troubleshooting" | "trust" | "informational"Conditional
    data.result.suggestions[].marketobjectConditional
    data.result.suggestions[].market.citystring | null | nullNo
    data.result.suggestions[].market.countrystringConditional
    data.result.suggestions[].market.languagestringConditional
    data.result.suggestions[].market.regionstring | null | nullNo
    data.result.suggestions[].tagsarray of string | nullNo
    data.result.suggestions[].textstringConditional
    data.result.backup_expiry_atstring (date-time) | nullConditional
    data.result.kind"deletion"Conditional
    data.result.purgedbooleanConditional
    data.result.resource_idstring (uuid)Conditional
    data.result.retained_record_reasonsarray of stringConditional
    data.result.agent_readinessobjectNoOur defined website access criteria for AI agents at checked_at (not a universal AI-readiness standard; no indexing, ranking, citation or answer outcome is measured).
    data.result.agent_readiness.checked_atstring (date-time)Conditional
    data.result.agent_readiness.checksarray of objectConditional
    data.result.agent_readiness.checks[].assessment"verified" | "detected" | "not_detected" | "not_assessed"No
    data.result.agent_readiness.checks[].category"core" | "robots" | "content" | "discovery" | "protocol"Conditional
    data.result.agent_readiness.checks[].evidencearray of objectConditional
    data.result.agent_readiness.checks[].evidence[].methodstringConditional
    data.result.agent_readiness.checks[].evidence[].observedstringConditional
    data.result.agent_readiness.checks[].evidence[].urlstringConditional
    data.result.agent_readiness.checks[].idstringConditional
    data.result.agent_readiness.checks[].labelstringConditional
    data.result.agent_readiness.checks[].limitationsarray of stringConditional
    data.result.agent_readiness.checks[].recommendationstring | nullConditional
    data.result.agent_readiness.checks[].referencestringNo
    data.result.agent_readiness.checks[].scoredbooleanConditional
    data.result.agent_readiness.checks[].spec_versionstringNo
    data.result.agent_readiness.checks[].status"pass" | "fail" | "unknown" | "not_applicable"Conditional
    data.result.agent_readiness.limitationsarray of stringConditional
    data.result.agent_readiness.scope"essential" | "full"Conditional
    data.result.agent_readiness.scoreobjectConditionaleligible = passed + failed + unknown over applicable scored checks; value = 100 * passed / (passed + failed), or null when no scored check was conclusive.
    data.result.agent_readiness.score.eligibleintegerConditional
    data.result.agent_readiness.score.failedintegerConditional
    data.result.agent_readiness.score.passedintegerConditional
    data.result.agent_readiness.score.unknownintegerConditional
    data.result.agent_readiness.score.valuenumber | nullConditional
    data.result.agent_readiness.status"completed" | "partial" | "not_assessed"Conditional
    data.result.agent_readiness.versionstringConditional
    data.result.budget_exhaustedbooleanNo
    data.result.business_factsobjectNo
    data.result.business_facts.locationsarray of objectConditional
    data.result.business_facts.locations[].location_idstring (uuid) | nullConditional
    data.result.business_facts.locations[].scoreobjectConditional
    data.result.business_facts.locations[].score.fieldsobjectConditional
    data.result.business_facts.locations[].score.fields.[key]number | nullNoValue for each key.
    data.result.business_facts.locations[].score.matched_fieldsintegerConditional
    data.result.business_facts.locations[].score.mismatched_fieldsintegerConditional
    data.result.business_facts.locations[].score.overallnumber | nullConditional
    data.result.business_facts.omitted_sourcesintegerConditional
    data.result.business_facts.scoreobjectConditional
    data.result.business_facts.score.fieldsobjectConditional
    data.result.business_facts.score.fields.[key]number | nullNoValue for each key.
    data.result.business_facts.score.matched_fieldsintegerConditional
    data.result.business_facts.score.mismatched_fieldsintegerConditional
    data.result.business_facts.score.overallnumber | nullConditional
    data.result.business_facts.sourcesarray of objectConditional
    data.result.business_facts.sources[].fieldsarray of objectConditional
    data.result.business_facts.sources[].fields[].expectedstring | array of string | object | nullConditional
    data.result.business_facts.sources[].fields[].expected.[key]string | number | array of stringNoValue for each key.
    data.result.business_facts.sources[].fields[].fieldstringConditional
    data.result.business_facts.sources[].fields[].observedstring | array of string | object | nullConditional
    data.result.business_facts.sources[].fields[].observed.[key]string | number | array of stringNoValue for each key.
    data.result.business_facts.sources[].fields[].status"matched" | "mismatched" | "not_found"Conditional
    data.result.business_facts.sources[].final_urlstring | nullConditional
    data.result.business_facts.sources[].http_statusinteger | nullConditional
    data.result.business_facts.sources[].location_idstring (uuid) | nullConditional
    data.result.business_facts.sources[].source"supplied" | "profile" | "citation"Conditional
    data.result.business_facts.sources[].status"matched" | "mismatched" | "not_found" | "could_not_fetch"Conditional
    data.result.business_facts.sources[].urlstringConditional
    data.result.completeness"preliminary" | "partial" | "complete" | "blocked"No
    data.result.content_coverage_notestringNo
    data.result.crawler_accessobjectNo
    data.result.crawler_access.assessedintegerConditional
    data.result.crawler_access.eligibleintegerConditional
    data.result.crawler_access.notestringConditional
    data.result.crawler_access.pagesarray of objectConditional
    data.result.crawler_access.pages[].agentsarray of objectConditional
    data.result.crawler_access.pages[].agents[].access"allowed" | "blocked_by_robots" | "blocked_by_firewall" | "challenged" | "rate_limited" | "unknown"Conditional
    data.result.crawler_access.pages[].agents[].agentstringConditional
    data.result.crawler_access.pages[].agents[].evidenceobjectConditional
    data.result.crawler_access.pages[].agents[].evidence.body_size_rationumber | nullConditional
    data.result.crawler_access.pages[].agents[].evidence.browser_statusinteger | nullConditional
    data.result.crawler_access.pages[].agents[].evidence.crawler_statusinteger | nullConditional
    data.result.crawler_access.pages[].agents[].evidence.marker"challenge_page" | "block_page" | "block_redirect" | "empty_or_short_body" | nullConditional
    data.result.crawler_access.pages[].agents[].purpose"search" | "user_fetch" | "training"Conditional
    data.result.crawler_access.pages[].agents[].robots_access"allowed" | "blocked" | nullNoWhether robots.txt allows this crawler on this page. HTTP 4xx responses other than 429 mean allowed. The value is null if the rules could not be checked.
    data.result.crawler_access.pages[].agents[].visibility_riskbooleanConditional
    data.result.crawler_access.pages[].urlstringConditional
    data.result.crawler_access.scorenumber | nullConditional
    data.result.findingsarray of objectConditional
    data.result.findings[].codestring | nullConditional
    data.result.findings[].confidencenumberConditional
    data.result.findings[].evidencestringConditional
    data.result.findings[].idstring (uuid)Conditional
    data.result.findings[].recommendationstringConditional
    data.result.findings[].severity"critical" | "high" | "medium" | "low" | "info"Conditional
    data.result.findings[].urlstring (uri)Conditional
    data.result.findings[].verificationstringConditional
    data.result.first_result_atstring (date-time) | nullNo
    data.result.kind"audit"Conditional
    data.result.next_cursorstring | nullConditional
    data.result.pages_billedintegerNoPages counted toward the final charge.
    data.result.pages_checkedintegerConditional
    data.result.pages_discoveredintegerNo
    data.result.pages_skippedintegerConditional
    data.result.profile"instant" | "detailed"No
    data.result.schema_consistencyobjectNo
    data.result.schema_consistency.pagesarray of objectConditional
    data.result.schema_consistency.pages[].fieldsarray of objectConditional
    data.result.schema_consistency.pages[].fields[].basis"visible" | "profile"Conditional
    data.result.schema_consistency.pages[].fields[].expectedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].fields[].expected.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].fields[].fieldstringConditional
    data.result.schema_consistency.pages[].fields[].observedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].fields[].observed.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].fields[].status"matched" | "mismatched" | "not_found"Conditional
    data.result.schema_consistency.pages[].issuesarray of objectConditional
    data.result.schema_consistency.pages[].issues[].code"missing_local_business" | "missing_required_properties" | "differs_from_visible" | "differs_from_profile" | "conflicting_blocks"Conditional
    data.result.schema_consistency.pages[].issues[].comparedarray of object | object | objectConditional
    data.result.schema_consistency.pages[].issues[].compared[].expectedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].issues[].compared[].expected.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].issues[].compared[].fieldstringConditional
    data.result.schema_consistency.pages[].issues[].compared[].observedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].issues[].compared[].observed.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].issues[].compared[].basis"visible" | "profile"Conditional
    data.result.schema_consistency.pages[].issues[].compared[].status"matched" | "mismatched" | "not_found"Conditional
    data.result.schema_consistency.pages[].issues[].fieldsarray of stringConditional
    data.result.schema_consistency.pages[].location_idstring (uuid) | nullConditional
    data.result.schema_consistency.pages[].markup"json_ld" | "microdata" | nullConditional
    data.result.schema_consistency.pages[].schema_typestring | nullConditional
    data.result.schema_consistency.pages[].urlstringConditional
    data.result.schema_consistency.pages_with_issuesintegerConditional
    data.result.schema_consistency.scorenumber | nullConditional
    data.result.skipped_reasonsarray of stringNo
    data.result.approval_expires_atstring (date-time) | nullConditional
    data.result.approval_idstring (uuid) | nullConditional
    data.result.artifact_download_urlstring (uri) | nullConditional
    data.result.artifact_sha256string | nullConditional
    data.result.diffstring | nullConditional
    data.result.external_revisionstring | null | nullConditional
    data.result.kind"optimization"Conditional
    data.result.syntheticbooleanNo
    data.result.target_urlstring (uri)Conditional
    data.result.verification_findingsarray of objectConditional
    data.result.verification_findings[].codestring | nullConditional
    data.result.verification_findings[].confidencenumberConditional
    data.result.verification_findings[].evidencestringConditional
    data.result.verification_findings[].idstring (uuid)Conditional
    data.result.verification_findings[].recommendationstringConditional
    data.result.verification_findings[].severity"critical" | "high" | "medium" | "low" | "info"Conditional
    data.result.verification_findings[].urlstring (uri)Conditional
    data.result.verification_findings[].verificationstringConditional
    data.revisionintegerYes
    data.state"queued" | "running" | "awaiting_approval" | "approved" | "executing" | "verifying" | "completed" | "partial" | "failed" | "cancelled" | "rejected" | "stale_approval"Yes
    data.updated_atstring (date-time)Yes
    data.v2_run_idstringNoThe prefixed run ID accepted by GET /v2/runs/{run_id}.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Patch Prompt Batchbatch

    Open this request with Python and TypeScript examples

    • Body action is batch.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    prompts:write
    Roles
    editor, owner, service
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    Idempotency-KeyheaderstringYes

    Request body

    {
      "action": "batch",
      "brand_id": "00000000-0000-4000-8000-000000000001",
      "edits": [
        {
          "action": "archive",
          "expected_revision": 1,
          "prompt_id": "00000000-0000-4000-8000-000000000001"
        }
      ]
    }
    Request body fields 1
    NameTypeRequiredDescription
    action"batch"Yes
    brand_idstring (uuid)Yes
    editsarray of object | objectYes
    edits[].action"metadata" | "archive"Yes
    edits[].expected_revisionintegerYes
    edits[].metadataobjectConditional
    edits[].metadata.audience_idsarray of string (uuid)No
    edits[].metadata.group_idsarray of string (uuid)No
    edits[].metadata.product_idsarray of string (uuid)No
    edits[].metadata.service_idsarray of string (uuid)No
    edits[].metadata.stage"awareness" | "consideration" | "evaluation" | "decision" | "retention" | nullNo
    edits[].prompt_idstring (uuid)Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X PATCH "$AEO_API_BASE_URL/v2/prompts" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.updatedintegerYes
    data.promptsarray of objectYes
    data.prompts[].brand_idstring (uuid) | nullYes
    data.prompts[].category_idsarray of string | nullYes
    data.prompts[].cohort_versionstring | nullYes
    data.prompts[].created_atstring (date-time)Yes
    data.prompts[].duplicate_ofstring (uuid)NoID of your existing prompt.
    data.prompts[].idstring (uuid)Yes
    data.prompts[].intentstring | nullYes
    data.prompts[].marketobjectYes
    data.prompts[].market.citystring | null | nullNo
    data.prompts[].market.countrystringYes
    data.prompts[].market.languagestringYes
    data.prompts[].market.regionstring | null | nullNo
    data.prompts[].revisionintegerYes
    data.prompts[].scope"shared" | "private"Yes
    data.prompts[].similar_promptsarray of objectNoOther matching prompts in your library.
    data.prompts[].similar_prompts[].prompt_idstring (uuid)Conditional
    data.prompts[].status"active" | "archived" | "deletion_pending"Yes
    data.prompts[].tagsarray of string | nullYes
    data.prompts[].textstringYes
    data.prompts[].versionintegerYes
    data.prompts[].metadataobjectYes
    data.prompts[].metadata.audience_idsarray of string (uuid)Yes
    data.prompts[].metadata.group_idsarray of string (uuid)Yes
    data.prompts[].metadata.product_idsarray of string (uuid)Yes
    data.prompts[].metadata.service_idsarray of string (uuid)Yes
    data.prompts[].metadata.stage"awareness" | "consideration" | "evaluation" | "decision" | "retention" | nullYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Patch Prompt Metadatametadata

    Open this request with Python and TypeScript examples

    • Body action is metadata.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    prompts:write
    Roles
    editor, owner, service
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    Idempotency-KeyheaderstringYes
    If-MatchheaderstringYes

    Request body

    {
      "action": "metadata",
      "brand_id": "00000000-0000-4000-8000-000000000001",
      "prompt_id": "00000000-0000-4000-8000-000000000001",
      "stage": "evaluation"
    }
    Request body fields 1
    NameTypeRequiredDescription
    action"metadata"Yes
    audience_idsarray of string (uuid)No
    brand_idstring (uuid)Yes
    group_idsarray of string (uuid)No
    product_idsarray of string (uuid)No
    prompt_idstring (uuid)Yes
    service_idsarray of string (uuid)No
    stage"awareness" | "consideration" | "evaluation" | "decision" | "retention" | nullNo

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X PATCH "$AEO_API_BASE_URL/v2/prompts" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
      -H "If-Match: $IF_MATCH" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Successful Response

    HTTP 200 headers
    NameTypeRequiredDescription
    ETagstringNoCurrent quoted resource revision

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstring (uuid) | nullYesIdentifies the brand this result belongs to.
    data.category_idsarray of string | nullYes
    data.cohort_versionstring | nullYes
    data.created_atstring (date-time)Yes
    data.duplicate_ofstring (uuid)NoID of your existing prompt.
    data.idstring (uuid)Yes
    data.intentstring | nullYes
    data.marketobjectYes
    data.market.citystring | null | nullNo
    data.market.countrystringYes
    data.market.languagestringYes
    data.market.regionstring | null | nullNo
    data.revisionintegerYes
    data.scope"shared" | "private"Yes
    data.similar_promptsarray of objectNoOther matching prompts in your library.
    data.similar_prompts[].prompt_idstring (uuid)Conditional
    data.status"active" | "archived" | "deletion_pending"Yes
    data.tagsarray of string | nullYes
    data.textstringYes
    data.versionintegerYes
    data.metadataobjectYes
    data.metadata.audience_idsarray of string (uuid)Yes
    data.metadata.group_idsarray of string (uuid)Yes
    data.metadata.product_idsarray of string (uuid)Yes
    data.metadata.service_idsarray of string (uuid)Yes
    data.metadata.stage"awareness" | "consideration" | "evaluation" | "decision" | "retention" | nullYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Put Setset

    Open this request with Python and TypeScript examples

    • Body action is set.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    prompts:write
    Roles
    editor, owner, service
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idquerystring (uuid)Yes
    websitequerystring | nullNo
    Idempotency-KeyheaderstringYes

    Request body

    {
      "action": "set",
      "prompts": [
        {
          "prompt_id": "00000000-0000-4000-8000-000000000001",
          "version": 1
        }
      ]
    }
    Request body fields 1
    NameTypeRequiredDescription
    action"set"Yes
    previous_revisionstring | nullNo
    promptsarray of objectYes
    prompts[].prompt_idstring (uuid)Yes
    prompts[].versionintegerYes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X PATCH "$AEO_API_BASE_URL/v2/prompts?brand_id=$BRAND_ID" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.websitestring | nullYes
    data.promptsarray of objectYesApproved prompt IDs and versions.
    data.prompts[].prompt_idstring (uuid)Yes
    data.prompts[].versionintegerYes
    data.prompt_set_revisionstringYesSend this value as previous_revision when you replace the set.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Put Topictopic

    Open this request with Python and TypeScript examples

    • Body action is topic.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    prompts:write
    Roles
    editor, owner, service
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    The contract lists no fields for this section.

    Request body

    {
      "action": "topic",
      "brand_id": "00000000-0000-4000-8000-000000000001",
      "name": "Billing",
      "prompt_ids": [
        "00000000-0000-4000-8000-000000000001"
      ],
      "topic_id": "00000000-0000-4000-8000-000000000001"
    }
    Request body fields 1
    NameTypeRequiredDescription
    action"topic"Yes
    brand_idstring (uuid)Yes
    expected_revisioninteger | nullNo
    namestringYes
    prompt_idsarray of string (uuid)Yes
    topic_idstring (uuid)Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X PATCH "$AEO_API_BASE_URL/v2/prompts" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.idstring (uuid)Yes
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.namestringYes
    data.revisionintegerYesCurrent revision. Use it when you edit this record.
    data.prompt_idsarray of string (uuid)Yes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Delete Topictopic_delete

    Open this request with Python and TypeScript examples

    • Body action is topic_delete.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    prompts:write
    Roles
    editor, owner, service
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    The contract lists no fields for this section.

    Request body

    {
      "action": "topic_delete",
      "brand_id": "00000000-0000-4000-8000-000000000001",
      "expected_revision": 1,
      "topic_id": "00000000-0000-4000-8000-000000000001"
    }
    Request body fields 1
    NameTypeRequiredDescription
    action"topic_delete"Yes
    brand_idstring (uuid)Yes
    expected_revisionintegerYes
    topic_idstring (uuid)Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X PATCH "$AEO_API_BASE_URL/v2/prompts" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.idstring (uuid)Yes
    data.deletedtrueYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    GET /v2/recommendations

    Read recommendations and actions

    Read diagnosis and recommended actionsdiagnosis

    Open this request with Python and TypeScript examples

    • Query view is diagnosis. Default is diagnosis.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    recommendations:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idquerystring (uuid)Yesbrand_id
    statusquery"open" | "resolved" | "dismissed"Nostatus
    typequery"debugger" | "content" | "citation" | "technical" | "local"Notype
    cursorquerystringNocursor
    limitqueryintegerNolimit
    viewquery"diagnosis"No

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/recommendations" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode "brand_id=$BRAND_ID" \
      --data-urlencode 'view=diagnosis'

    Responses

    HTTP 200

    Read diagnosis and recommended actions result.

    HTTP 200 headers
    NameTypeRequiredDescription
    X-RateLimit-LimitintegerNoRequests in rate window.
    X-RateLimit-RemainingintegerNoRemaining request tokens.
    X-RateLimit-ResetintegerNoUTC Unix seconds when window resets.
    X-Request-Idstring (uuid)NoTrace identifier.
    X-Usage-UnitsintegerNoCU charged by this response; GET and account/usage always zero.

    application/json

    {
      "data": [],
      "meta": {
        "as_of": "2026-11-06T00:00:00Z",
        "collected_at": null,
        "next_cursor": null,
        "next_refresh_at": null,
        "request_id": "00000000-0000-4000-8000-000000000001",
        "rights_filtered": false,
        "schema_version": "1.0",
        "stale": false,
        "warnings": []
      }
    }
    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataarray of objectYesThe requested result. See the fields below for its contents.
    data[].action_type"unblock_crawler" | "update_robots" | "add_schema" | "fix_schema" | "fix_business_facts" | "fix_listing"No
    data[].brand_idstring (uuid)Yes
    data[].confidencenumberYes
    data[].effort"small" | "medium" | "large"Yes
    data[].evidenceobjectNo
    data[].evidence_idsarray of string (uuid)Yes
    data[].expected_impactstringYes
    data[].hypothesisstringYes
    data[].idstring (uuid)Yes
    data[].location_idstring (uuid) | nullNo
    data[].owner_idstring (uuid) | nullYes
    data[].priorityintegerYes
    data[].priority_scoreintegerNo
    data[].severity"critical" | "high" | "medium" | "low" | "info"Yes
    data[].status"open" | "resolved" | "dismissed"Yes
    data[].target_domainstring | nullNo
    data[].target_urlstringNo
    data[].titlestring | nullYes
    data[].type"debugger" | "content" | "citation" | "technical" | "local"Yes
    data[].verificationstringYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Get Boardboard

    Open this request with Python and TypeScript examples

    • Query view is board. Default is diagnosis.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    recommendations:read, analytics:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.
    • citation benchmark requirements. Scope attribution:read. Plan Optimizer.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idquerystring (uuid)Yes
    report_idquerystring (uuid) | nullNo
    monthquerystring | nullNo
    prompt_idquerystring (uuid) | nullNo
    statusquery"new" | "in_progress" | "completed" | "dismissed" | "archived" | "open" | "done"No
    channelquery"site_audit" | "owned_content" | "social" | "outreach" | nullNo
    item_idquerystring (uuid) | nullNo
    include_citation_benchmarkquerybooleanNo
    include_citation_projectionquerybooleanNo
    priorityquery"high" | "medium" | "low" | nullNo
    assigneequerystring | nullNo
    content_typequerystring | nullNo
    limitqueryintegerNo
    offsetqueryintegerNo
    location_idquerystring (uuid)NoLimit to one location.
    action_typequery"create_content" | "update_content" | "outreach" | "fix_listing" | "update_robots" | "unblock_crawler" | "add_schema" | "fix_schema" | "fix_business_facts"No
    viewquery"board"Yes

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/recommendations" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode "brand_id=$BRAND_ID" \
      --data-urlencode 'view=board'

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.itemsarray of objectYes
    data.items[].action_type"create_content" | "update_content" | "outreach" | "fix_listing" | "update_robots" | "unblock_crawler" | "add_schema" | "fix_schema" | "fix_business_facts"No
    data.items[].assigneestring | nullYes
    data.items[].briefstringYes
    data.items[].channelstringYes
    data.items[].citation_lift_benchmarkobjectNo
    data.items[].citation_lift_benchmark.benchmarkobject | nullConditional
    data.items[].citation_lift_benchmark.benchmark.action_channelstringConditional
    data.items[].citation_lift_benchmark.benchmark.after_answer_target_pairsintegerConditional
    data.items[].citation_lift_benchmark.benchmark.after_citing_target_pairsintegerConditional
    data.items[].citation_lift_benchmark.benchmark.before_answer_target_pairsintegerConditional
    data.items[].citation_lift_benchmark.benchmark.before_citing_target_pairsintegerConditional
    data.items[].citation_lift_benchmark.benchmark.eligible_targetsintegerConditional
    data.items[].citation_lift_benchmark.benchmark.matched_target_cohortsintegerConditional
    data.items[].citation_lift_benchmark.benchmark.mean_after_citation_ratenumberConditional
    data.items[].citation_lift_benchmark.benchmark.mean_before_citation_ratenumberConditional
    data.items[].citation_lift_benchmark.benchmark.mean_citation_rate_change_percentage_pointsnumberConditional
    data.items[].citation_lift_benchmark.benchmark.median_citation_rate_change_percentage_pointsnumberConditional
    data.items[].citation_lift_benchmark.benchmark.method"equal_weighted_targets_and_matched_cohorts"Conditional
    data.items[].citation_lift_benchmark.benchmark.observationaltrueConditional
    data.items[].citation_lift_benchmark.benchmark.report_generated_atstringConditional
    data.items[].citation_lift_benchmark.benchmark.report_idstringConditional
    data.items[].citation_lift_benchmark.benchmark.window_daysintegerConditional
    data.items[].citation_lift_benchmark.reason"insufficient_access" | "no_saved_report" | "insufficient_eligible_targets" | "scan_limit_exceeded" | nullConditional
    data.items[].citation_projectionobjectNo
    data.items[].citation_projection.projectionobject | nullConditional
    data.items[].citation_projection.projection.action_channelstringConditional
    data.items[].citation_projection.projection.baseline_answer_target_pairsintegerConditional
    data.items[].citation_projection.projection.baseline_citation_ratenumberConditional
    data.items[].citation_projection.projection.evaluated_through_report_atstringConditional
    data.items[].citation_projection.projection.evaluated_through_report_idstringConditional
    data.items[].citation_projection.projection.fitted_on_report_atstringConditional
    data.items[].citation_projection.projection.fitted_on_report_idstringConditional
    data.items[].citation_projection.projection.forecast_percentage_pointsnumberConditional
    data.items[].citation_projection.projection.horizon_daysintegerConditional
    data.items[].citation_projection.projection.lower_percentage_pointsnumberConditional
    data.items[].citation_projection.projection.method"median_period_change_with_chronological_holdout"Conditional
    data.items[].citation_projection.projection.observationaltrueConditional
    data.items[].citation_projection.projection.target_urlstringConditional
    data.items[].citation_projection.projection.upper_percentage_pointsnumberConditional
    data.items[].citation_projection.reason"owned_target_required" | "no_saved_report" | "insufficient_hindcast_history" | "insufficient_current_evidence" | "insufficient_matched_history" | "hindcast_quality_threshold" | "scan_limit_exceeded" | nullConditional
    data.items[].citation_projection.validationobject | nullConditional
    data.items[].citation_projection.validation.matching_cohortsintegerConditional
    data.items[].citation_projection.validation.mean_absolute_error_percentage_pointsnumber | nullConditional
    data.items[].citation_projection.validation.observed_interval_coveragenumber | nullConditional
    data.items[].citation_projection.validation.training_periodsintegerConditional
    data.items[].citation_projection.validation.training_targetsintegerConditional
    data.items[].citation_projection.validation.validation_periodsintegerConditional
    data.items[].citation_projection.validation.validation_targetsintegerConditional
    data.items[].citation_projection.validation.zero_change_error_percentage_pointsnumber | nullConditional
    data.items[].comparison_run_idstringNo
    data.items[].content_typestringYes
    data.items[].effortstringNo
    data.items[].evidenceobjectNo
    data.items[].evidence.answer_idsarray of stringConditional
    data.items[].evidence.competitorsarray of stringConditional
    data.items[].evidence.enginesarray of stringConditional
    data.items[].evidence.prompt_idsarray of stringConditional
    data.items[].evidence_idsarray of stringNo
    data.items[].expected_impactstringNo
    data.items[].item_idstringYes
    data.items[].location_idstring | nullNo
    data.items[].monthstring | nullNo
    data.items[].origin"current_recommendation" | "saved_citations" | "comparison_evidence" | "customer_review" | "citation_fix"Yes
    data.items[].outreach_outcome"no_response" | "declined" | "accepted" | "published" | "other" | nullNo
    data.items[].page_idstringNo
    data.items[].prioritystringYes
    data.items[].priority_basis"customer_reviewed_buyer_question_match" | stringYes
    data.items[].priority_scoreintegerNo
    data.items[].prompt_idsarray of stringNo
    data.items[].reasonstringNo
    data.items[].report_idstring | nullNo
    data.items[].resolved_byobject | nullNo
    data.items[].resolved_by.answer_idstring | nullConditional
    data.items[].resolved_by.basis"page_check" | "answer"Conditional
    data.items[].resolved_by.observed_atstringConditional
    data.items[].revisionintegerYes
    data.items[].source_category"directory" | "review_site" | "local_directory" | "industry_directory" | "forum" | "social" | "video" | "news" | "local_news" | "comparison" | "marketplace" | "brand_site" | "competitor_site" | "docs" | "press" | "other"No
    data.items[].source_domainstringNo
    data.items[].source_urlstringNo
    data.items[].statusstringYes
    data.items[].supporting_answersintegerNo
    data.items[].target_domainstring | nullNo
    data.items[].target_urlstring | nullNo
    data.items[].titlestringYes
    data.items[].verificationstringYes
    data.next_offsetinteger | nullYes
    data.owned_recommendation_projectionobjectNo
    data.owned_recommendation_projection.distinct_targets_estimatedintegerConditional
    data.owned_recommendation_projection.distinct_targets_evaluatedintegerConditional
    data.owned_recommendation_projection.distinct_tracked_targetsintegerConditional
    data.owned_recommendation_projection.mean_estimated_target_change_percentage_pointsnumber | nullConditional
    data.owned_recommendation_projection.method"unweighted_mean_of_distinct_targets_with_estimates"Conditional
    data.owned_recommendation_projection.recommendations_consideredintegerConditional
    data.owned_recommendation_projection.recommendations_with_estimatesintegerConditional
    data.owned_recommendation_projection.status"complete" | "partial" | "unknown"Conditional
    data.totalintegerYes
    metaobjectYesInformation about this response, including any warnings or pagination details.

    Errors

    Read optimization review and execution stateaction_optimization

    Open this request with Python and TypeScript examples

    • Query view is action.
    • Query action_id starts with optimization:.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    optimizations:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    cursorquerystringNocursor
    limitqueryintegerNolimit
    viewquery"action"Yes
    action_idquerystringYes

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/recommendations" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode 'view=action' \
      --data-urlencode "action_id=$ACTION_ID"

    Responses

    HTTP 200

    Read optimization review and execution state result.

    HTTP 200 headers
    NameTypeRequiredDescription
    Locationstring (uri)NoAuthenticated polling URI returned in data.poll_url.
    X-RateLimit-LimitintegerNoRequests in rate window.
    X-RateLimit-RemainingintegerNoRemaining request tokens.
    X-RateLimit-ResetintegerNoUTC Unix seconds when window resets.
    X-Request-Idstring (uuid)NoTrace identifier.
    X-Usage-UnitsintegerNoCU charged by this response; GET and account/usage always zero.

    application/json

    {
      "data": {
        "billed_units": 0,
        "created_at": "2026-11-06T00:00:00Z",
        "error": null,
        "estimated_units": 0,
        "id": "00000000-0000-4000-8000-000000000001",
        "kind": "optimization",
        "poll_url": "https://api.aeoapi.dev/v2/recommendations?view=action&action_id=optimization%3A00000000-0000-4000-8000-000000000001",
        "progress": 0,
        "reserved_units": 0,
        "result": null,
        "revision": 1,
        "state": "queued",
        "updated_at": "2026-11-06T00:00:00Z"
      },
      "meta": {
        "as_of": "2026-11-06T00:00:00Z",
        "collected_at": null,
        "next_cursor": null,
        "next_refresh_at": null,
        "request_id": "00000000-0000-4000-8000-000000000001",
        "rights_filtered": false,
        "schema_version": "1.0",
        "stale": false,
        "warnings": []
      }
    }
    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataValueYesThe requested result. See the fields below for its contents.
    data.billed_unitsintegerYesThe credits charged for this work.
    data.created_atstring (date-time)Yes
    data.errorobject | nullYes
    data.error.code"invalid_request" | "unauthenticated" | "quota_exceeded" | "forbidden" | "not_found" | "conflict" | "precondition_failed" | "validation_error" | "rate_limited" | "source_pending" | "feature_not_offered" | "internal_error"Conditional
    data.error.duplicate_ofstring (uuid)NoID of your existing prompt.
    data.error.field_errorsarray of objectNo
    data.error.field_errors[].fieldstring | nullConditional
    data.error.field_errors[].messagestringConditional
    data.error.messagestringConditional
    data.error.request_idstring (uuid)Conditional
    data.error.retryablebooleanConditional
    data.error.similar_promptsarray of objectNoOther matching prompts in your library.
    data.error.similar_prompts[].prompt_idstring (uuid)Conditional
    data.estimated_unitsintegerYes
    data.idstring (uuid)Yes
    data.kind"collection" | "prompt_generation" | "deletion" | "audit" | "optimization"Yes
    data.phase"researching" | "drafting" | "validating" | "collecting" | "analyzing" | "exporting" | "purging" | nullNo
    data.poll_urlstring (uri)YesSend an authenticated GET request to this URL to read the current result.
    data.progressnumberYes
    data.reserved_unitsintegerYesCredits held for the run.
    data.resultobject | object | object | object | object | nullYes
    data.result.acceptedintegerConditional
    data.result.answersarray of objectNo
    data.result.answers[].answer_textstringConditional
    data.result.answers[].answer_text_truncatedbooleanConditional
    data.result.answers[].brand_citedbooleanConditional
    data.result.answers[].brand_mentionedboolean | nullConditional
    data.result.answers[].citationsarray of objectConditional
    data.result.answers[].citations[].orderintegerConditional
    data.result.answers[].citations[].urlstringConditional
    data.result.answers[].observation_idstringConditional
    data.result.evidence_cursorstring | nullConditional
    data.result.failedintegerConditional
    data.result.kind"collection"Conditional
    data.result.observation_idsarray of string (uuid)Conditional
    data.result.observationsarray of objectNo
    data.result.observations[].applied_locationobject | nullConditional
    data.result.observations[].applied_location.citystring | nullNo
    data.result.observations[].applied_location.countrystring | nullNo
    data.result.observations[].applied_location.granularity"country" | "region" | "city" | "postal" | "coordinates"Conditional
    data.result.observations[].applied_location.latitudenumber | nullNo
    data.result.observations[].applied_location.longitudenumber | nullNo
    data.result.observations[].applied_location.postal_codestring | nullNo
    data.result.observations[].applied_location.regionstring | nullNo
    data.result.observations[].observation_idstring (uuid)Conditional
    data.result.detailsarray of objectNo
    data.result.details[].rationalestringConditional
    data.result.details[].suggestion_indexintegerConditional
    data.result.details[].template_versionstringConditional
    data.result.details[].warningsarray of stringConditional
    data.result.kind"prompt_generation"Conditional
    data.result.outcomeobjectNoExplains why the result contains no suggestions.
    data.result.outcome.reason"no_eligible_candidates" | "web_evidence_missing"ConditionalWhether no candidate qualified or usable web evidence was missing.
    data.result.outcome.web_evidence_usedbooleanConditionalWhether the generation received a reply with confirmed web activity.
    data.result.suggestionsarray of objectConditional
    data.result.suggestions[].action"create"Conditional
    data.result.suggestions[].allow_similarbooleanNoSave the prompt even if you already track the same question or a differently worded question with the same meaning.
    data.result.suggestions[].brand_idstring (uuid) | nullNo
    data.result.suggestions[].category_idsarray of string | nullConditional
    data.result.suggestions[].intent"discovery" | "recommendation" | "evaluation" | "pricing" | "comparison" | "alternatives" | "use_case" | "transaction" | "local" | "troubleshooting" | "trust" | "informational"Conditional
    data.result.suggestions[].marketobjectConditional
    data.result.suggestions[].market.citystring | null | nullNo
    data.result.suggestions[].market.countrystringConditional
    data.result.suggestions[].market.languagestringConditional
    data.result.suggestions[].market.regionstring | null | nullNo
    data.result.suggestions[].tagsarray of string | nullNo
    data.result.suggestions[].textstringConditional
    data.result.backup_expiry_atstring (date-time) | nullConditional
    data.result.kind"deletion"Conditional
    data.result.purgedbooleanConditional
    data.result.resource_idstring (uuid)Conditional
    data.result.retained_record_reasonsarray of stringConditional
    data.result.agent_readinessobjectNoOur defined website access criteria for AI agents at checked_at (not a universal AI-readiness standard; no indexing, ranking, citation or answer outcome is measured).
    data.result.agent_readiness.checked_atstring (date-time)Conditional
    data.result.agent_readiness.checksarray of objectConditional
    data.result.agent_readiness.checks[].assessment"verified" | "detected" | "not_detected" | "not_assessed"No
    data.result.agent_readiness.checks[].category"core" | "robots" | "content" | "discovery" | "protocol"Conditional
    data.result.agent_readiness.checks[].evidencearray of objectConditional
    data.result.agent_readiness.checks[].evidence[].methodstringConditional
    data.result.agent_readiness.checks[].evidence[].observedstringConditional
    data.result.agent_readiness.checks[].evidence[].urlstringConditional
    data.result.agent_readiness.checks[].idstringConditional
    data.result.agent_readiness.checks[].labelstringConditional
    data.result.agent_readiness.checks[].limitationsarray of stringConditional
    data.result.agent_readiness.checks[].recommendationstring | nullConditional
    data.result.agent_readiness.checks[].referencestringNo
    data.result.agent_readiness.checks[].scoredbooleanConditional
    data.result.agent_readiness.checks[].spec_versionstringNo
    data.result.agent_readiness.checks[].status"pass" | "fail" | "unknown" | "not_applicable"Conditional
    data.result.agent_readiness.limitationsarray of stringConditional
    data.result.agent_readiness.scope"essential" | "full"Conditional
    data.result.agent_readiness.scoreobjectConditionaleligible = passed + failed + unknown over applicable scored checks; value = 100 * passed / (passed + failed), or null when no scored check was conclusive.
    data.result.agent_readiness.score.eligibleintegerConditional
    data.result.agent_readiness.score.failedintegerConditional
    data.result.agent_readiness.score.passedintegerConditional
    data.result.agent_readiness.score.unknownintegerConditional
    data.result.agent_readiness.score.valuenumber | nullConditional
    data.result.agent_readiness.status"completed" | "partial" | "not_assessed"Conditional
    data.result.agent_readiness.versionstringConditional
    data.result.budget_exhaustedbooleanNo
    data.result.business_factsobjectNo
    data.result.business_facts.locationsarray of objectConditional
    data.result.business_facts.locations[].location_idstring (uuid) | nullConditional
    data.result.business_facts.locations[].scoreobjectConditional
    data.result.business_facts.locations[].score.fieldsobjectConditional
    data.result.business_facts.locations[].score.fields.[key]number | nullNoValue for each key.
    data.result.business_facts.locations[].score.matched_fieldsintegerConditional
    data.result.business_facts.locations[].score.mismatched_fieldsintegerConditional
    data.result.business_facts.locations[].score.overallnumber | nullConditional
    data.result.business_facts.omitted_sourcesintegerConditional
    data.result.business_facts.scoreobjectConditional
    data.result.business_facts.score.fieldsobjectConditional
    data.result.business_facts.score.fields.[key]number | nullNoValue for each key.
    data.result.business_facts.score.matched_fieldsintegerConditional
    data.result.business_facts.score.mismatched_fieldsintegerConditional
    data.result.business_facts.score.overallnumber | nullConditional
    data.result.business_facts.sourcesarray of objectConditional
    data.result.business_facts.sources[].fieldsarray of objectConditional
    data.result.business_facts.sources[].fields[].expectedstring | array of string | object | nullConditional
    data.result.business_facts.sources[].fields[].expected.[key]string | number | array of stringNoValue for each key.
    data.result.business_facts.sources[].fields[].fieldstringConditional
    data.result.business_facts.sources[].fields[].observedstring | array of string | object | nullConditional
    data.result.business_facts.sources[].fields[].observed.[key]string | number | array of stringNoValue for each key.
    data.result.business_facts.sources[].fields[].status"matched" | "mismatched" | "not_found"Conditional
    data.result.business_facts.sources[].final_urlstring | nullConditional
    data.result.business_facts.sources[].http_statusinteger | nullConditional
    data.result.business_facts.sources[].location_idstring (uuid) | nullConditional
    data.result.business_facts.sources[].source"supplied" | "profile" | "citation"Conditional
    data.result.business_facts.sources[].status"matched" | "mismatched" | "not_found" | "could_not_fetch"Conditional
    data.result.business_facts.sources[].urlstringConditional
    data.result.completeness"preliminary" | "partial" | "complete" | "blocked"No
    data.result.content_coverage_notestringNo
    data.result.crawler_accessobjectNo
    data.result.crawler_access.assessedintegerConditional
    data.result.crawler_access.eligibleintegerConditional
    data.result.crawler_access.notestringConditional
    data.result.crawler_access.pagesarray of objectConditional
    data.result.crawler_access.pages[].agentsarray of objectConditional
    data.result.crawler_access.pages[].agents[].access"allowed" | "blocked_by_robots" | "blocked_by_firewall" | "challenged" | "rate_limited" | "unknown"Conditional
    data.result.crawler_access.pages[].agents[].agentstringConditional
    data.result.crawler_access.pages[].agents[].evidenceobjectConditional
    data.result.crawler_access.pages[].agents[].evidence.body_size_rationumber | nullConditional
    data.result.crawler_access.pages[].agents[].evidence.browser_statusinteger | nullConditional
    data.result.crawler_access.pages[].agents[].evidence.crawler_statusinteger | nullConditional
    data.result.crawler_access.pages[].agents[].evidence.marker"challenge_page" | "block_page" | "block_redirect" | "empty_or_short_body" | nullConditional
    data.result.crawler_access.pages[].agents[].purpose"search" | "user_fetch" | "training"Conditional
    data.result.crawler_access.pages[].agents[].robots_access"allowed" | "blocked" | nullNoWhether robots.txt allows this crawler on this page. HTTP 4xx responses other than 429 mean allowed. The value is null if the rules could not be checked.
    data.result.crawler_access.pages[].agents[].visibility_riskbooleanConditional
    data.result.crawler_access.pages[].urlstringConditional
    data.result.crawler_access.scorenumber | nullConditional
    data.result.findingsarray of objectConditional
    data.result.findings[].codestring | nullConditional
    data.result.findings[].confidencenumberConditional
    data.result.findings[].evidencestringConditional
    data.result.findings[].idstring (uuid)Conditional
    data.result.findings[].recommendationstringConditional
    data.result.findings[].severity"critical" | "high" | "medium" | "low" | "info"Conditional
    data.result.findings[].urlstring (uri)Conditional
    data.result.findings[].verificationstringConditional
    data.result.first_result_atstring (date-time) | nullNo
    data.result.kind"audit"Conditional
    data.result.next_cursorstring | nullConditional
    data.result.pages_billedintegerNoPages counted toward the final charge.
    data.result.pages_checkedintegerConditional
    data.result.pages_discoveredintegerNo
    data.result.pages_skippedintegerConditional
    data.result.profile"instant" | "detailed"No
    data.result.schema_consistencyobjectNo
    data.result.schema_consistency.pagesarray of objectConditional
    data.result.schema_consistency.pages[].fieldsarray of objectConditional
    data.result.schema_consistency.pages[].fields[].basis"visible" | "profile"Conditional
    data.result.schema_consistency.pages[].fields[].expectedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].fields[].expected.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].fields[].fieldstringConditional
    data.result.schema_consistency.pages[].fields[].observedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].fields[].observed.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].fields[].status"matched" | "mismatched" | "not_found"Conditional
    data.result.schema_consistency.pages[].issuesarray of objectConditional
    data.result.schema_consistency.pages[].issues[].code"missing_local_business" | "missing_required_properties" | "differs_from_visible" | "differs_from_profile" | "conflicting_blocks"Conditional
    data.result.schema_consistency.pages[].issues[].comparedarray of object | object | objectConditional
    data.result.schema_consistency.pages[].issues[].compared[].expectedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].issues[].compared[].expected.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].issues[].compared[].fieldstringConditional
    data.result.schema_consistency.pages[].issues[].compared[].observedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].issues[].compared[].observed.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].issues[].compared[].basis"visible" | "profile"Conditional
    data.result.schema_consistency.pages[].issues[].compared[].status"matched" | "mismatched" | "not_found"Conditional
    data.result.schema_consistency.pages[].issues[].fieldsarray of stringConditional
    data.result.schema_consistency.pages[].location_idstring (uuid) | nullConditional
    data.result.schema_consistency.pages[].markup"json_ld" | "microdata" | nullConditional
    data.result.schema_consistency.pages[].schema_typestring | nullConditional
    data.result.schema_consistency.pages[].urlstringConditional
    data.result.schema_consistency.pages_with_issuesintegerConditional
    data.result.schema_consistency.scorenumber | nullConditional
    data.result.skipped_reasonsarray of stringNo
    data.result.approval_expires_atstring (date-time) | nullConditional
    data.result.approval_idstring (uuid) | nullConditional
    data.result.artifact_download_urlstring (uri) | nullConditional
    data.result.artifact_sha256string | nullConditional
    data.result.diffstring | nullConditional
    data.result.external_revisionstring | null | nullConditional
    data.result.kind"optimization"Conditional
    data.result.syntheticbooleanNo
    data.result.target_urlstring (uri)Conditional
    data.result.verification_findingsarray of objectConditional
    data.result.verification_findings[].codestring | nullConditional
    data.result.verification_findings[].confidencenumberConditional
    data.result.verification_findings[].evidencestringConditional
    data.result.verification_findings[].idstring (uuid)Conditional
    data.result.verification_findings[].recommendationstringConditional
    data.result.verification_findings[].severity"critical" | "high" | "medium" | "low" | "info"Conditional
    data.result.verification_findings[].urlstring (uri)Conditional
    data.result.verification_findings[].verificationstringConditional
    data.revisionintegerYes
    data.state"queued" | "running" | "awaiting_approval" | "approved" | "executing" | "verifying" | "completed" | "partial" | "failed" | "cancelled" | "rejected" | "stale_approval" | "in_progress"Yes
    data.updated_atstring (date-time)Yes
    data.v2_action_idstringNo
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Get Actionaction_analyst_action

    Open this request with Python and TypeScript examples

    • Query view is action.
    • Query action_id starts with analyst_action:.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.
    • Action kind content_draft. Scopes analytics:read, optimizations:read. Plans Optimizer.
    • FAQ drafts also require this permission. Scope prompts:read.
    • Action kind fresh_check. Scopes analytics:read, collections:read. Plans Optimizer, Analyzer.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idquerystring (uuid)Yes
    viewquery"action"Yes
    action_idquerystringYes

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/recommendations" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode "brand_id=$BRAND_ID" \
      --data-urlencode 'view=action' \
      --data-urlencode "action_id=$ACTION_ID"

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.action_idstringYes
    data.analyst_run_idstringYes
    data.approved_atstring | nullYes
    data.approved_bystring | nullYes
    data.approved_max_creditsinteger | nullYes
    data.brand_idstringYesIdentifies the brand this result belongs to.
    data.draftobject | nullYes
    data.draft_fingerprintstring | nullYes
    data.estimated_creditsintegerYesThe expected credit cost for this selection.
    data.finding_idstringYes
    data.kind"content_draft" | "fresh_check"Yes
    data.maximum_creditsintegerYesThe upper credit estimate for this selection.
    data.organization_facts_status"partner_confirmed" | "pending_partner_confirmation" | nullYes
    data.passage_idstring | nullYes
    data.proposed_atstringYes
    data.proposed_bystringYes
    data.quoteobject | nullYes
    data.runobject | nullYes
    data.run.brand_idstringConditional
    data.run.charged_creditsintegerConditional
    data.run.check_idstring | nullConditional
    data.run.check_urlstring | nullConditional
    data.run.citation_status"in_progress" | "completed"NoCitation preparation status for this run, when applicable.
    data.run.created_atstringConditional
    data.run.estimated_creditsintegerConditional
    data.run.failure_reasonsarray of "access_restricted" | "limit_reached" | "input_missing" | "approval_expired" | "cancelled" | "check_failed" | "check_incomplete"Conditional
    data.run.hold_reasonsarray of "retry_pending" | "under_review"Conditional
    data.run.phasestring | nullConditional
    data.run.progressobjectConditional
    data.run.progress.by_locationarray of objectNo
    data.run.progress.by_location[].by_sourcearray of objectConditional
    data.run.progress.by_location[].completed_stepsintegerConditional
    data.run.progress.by_location[].expected_stepsintegerConditional
    data.run.progress.by_location[].location_idstring (uuid)Conditional
    data.run.progress.by_sourcearray of objectConditional
    data.run.progress.completed_stepsintegerConditional
    data.run.progress.expected_stepsintegerConditional
    data.run.prompt_set_revisionstringConditional
    data.run.released_creditsintegerConditional
    data.run.report_idstring | nullConditional
    data.run.report_status"pending" | "ready" | "not_available"Conditional
    data.run.report_urlstring | nullConditional
    data.run.reserved_creditsintegerConditional
    data.run.run_idstringConditional
    data.run.statusstringConditional
    data.run.updated_atstringConditional
    data.run.websitestring | nullConditional
    data.run_idstring | nullYesIdentifies the run. Keep any prefix when using it in a request.
    data.status"proposed" | "approved"Yes
    data.v2_action_idstringNo
    metaobjectYesInformation about this response, including any warnings or pagination details.

    Errors

    PATCH /v2/recommendations

    Update recommendations or act on a recommendation

    Update Boardboard

    Open this request with Python and TypeScript examples

    • Body section is board.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    brands:write, analytics:read, recommendations:read
    Roles
    editor, owner, service
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    The contract lists no fields for this section.

    Request body

    {
      "brand_id": "00000000-0000-4000-8000-000000000001",
      "edits": [
        {
          "expected_revision": 0,
          "item_id": "00000000-0000-4000-8000-000000000001",
          "status": "in_progress"
        }
      ],
      "section": "board"
    }
    Request body fields 1
    NameTypeRequiredDescription
    brand_idstring (uuid)Yes
    editsarray of objectYes
    edits[].assigneestring | nullNo
    edits[].expected_revisionintegerYes
    edits[].item_idstring (uuid)Yes
    edits[].outreach_outcome"no_response" | "declined" | "accepted" | "published" | "other" | nullNoCustomer-reported outcome. Omit to keep it or send null to clear it.
    edits[].status"new" | "in_progress" | "completed" | "dismissed" | "archived" | "open" | "done"Yes
    monthstring | nullNo
    report_idstring (uuid) | nullNo
    section"board"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X PATCH "$AEO_API_BASE_URL/v2/recommendations" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.updatedarray of objectYesBoard items from your request with their current revisions.
    data.updated[].item_idstring (uuid)Yes
    data.updated[].revisionintegerYesCurrent revision. Use it when you edit this record.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Simulate, draft, review or publish an optimizationact_optimization

    Open this request with Python and TypeScript examples

    • Body section is act.
    • Body workflow is optimization.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    optimizations:write
    Roles
    editor, owner, service
    Plans
    Optimizer
    Credits
    This operation can use credits.
    Billing access
    Required
    • draft. Roles editor, owner, service.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    Idempotency-KeyheaderstringYesFor 7 days, sending the same key and body for the same account and operation returns the original response. Changing the body for that key returns HTTP 409.

    Request body

    {
      "brand_id": "00000000-0000-4000-8000-000000000001",
      "max_units": 1,
      "recommendation_ids": [
        "00000000-0000-4000-8000-000000000001"
      ],
      "section": "act",
      "target_url": "https://example.com/evidence",
      "workflow": "optimization"
    }
    Request body fields 1
    NameTypeRequiredDescription
    brand_idstring (uuid)Yes
    connector_idstring (uuid) | nullNo
    max_unitsintegerYes
    recommendation_idsarray of string (uuid)Yes
    section"act"Yes
    target_urlstring (uri)Yes
    workflow"optimization"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X PATCH "$AEO_API_BASE_URL/v2/recommendations" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 202

    Simulate, draft, review or publish an optimization result.

    HTTP 202 headers
    NameTypeRequiredDescription
    Locationstring (uri)NoAuthenticated polling URI returned in data.poll_url.
    X-RateLimit-LimitintegerNoRequests in rate window.
    X-RateLimit-RemainingintegerNoRemaining request tokens.
    X-RateLimit-ResetintegerNoUTC Unix seconds when window resets.
    X-Request-Idstring (uuid)NoTrace identifier.
    X-Usage-UnitsintegerNoCU charged by this response; GET and account/usage always zero.

    application/json

    {
      "data": {
        "billed_units": 0,
        "created_at": "2026-11-06T00:00:00Z",
        "error": null,
        "estimated_units": 0,
        "id": "00000000-0000-4000-8000-000000000001",
        "kind": "optimization",
        "poll_url": "https://api.aeoapi.dev/v2/recommendations?view=action&action_id=optimization%3A00000000-0000-4000-8000-000000000001",
        "progress": 0,
        "reserved_units": 0,
        "result": null,
        "revision": 1,
        "state": "queued",
        "updated_at": "2026-11-06T00:00:00Z"
      },
      "meta": {
        "as_of": "2026-11-06T00:00:00Z",
        "collected_at": null,
        "next_cursor": null,
        "next_refresh_at": null,
        "request_id": "00000000-0000-4000-8000-000000000001",
        "rights_filtered": false,
        "schema_version": "1.0",
        "stale": false,
        "warnings": []
      }
    }
    HTTP 202 response fields 1
    NameTypeRequiredDescription
    dataValueYesThe requested result. See the fields below for its contents.
    data.billed_unitsintegerYesThe credits charged for this work.
    data.created_atstring (date-time)Yes
    data.errorobject | nullYes
    data.error.code"invalid_request" | "unauthenticated" | "quota_exceeded" | "forbidden" | "not_found" | "conflict" | "precondition_failed" | "validation_error" | "rate_limited" | "source_pending" | "feature_not_offered" | "internal_error"Conditional
    data.error.duplicate_ofstring (uuid)NoID of your existing prompt.
    data.error.field_errorsarray of objectNo
    data.error.field_errors[].fieldstring | nullConditional
    data.error.field_errors[].messagestringConditional
    data.error.messagestringConditional
    data.error.request_idstring (uuid)Conditional
    data.error.retryablebooleanConditional
    data.error.similar_promptsarray of objectNoOther matching prompts in your library.
    data.error.similar_prompts[].prompt_idstring (uuid)Conditional
    data.estimated_unitsintegerYes
    data.idstring (uuid)Yes
    data.kind"collection" | "prompt_generation" | "deletion" | "audit" | "optimization"Yes
    data.phase"researching" | "drafting" | "validating" | "collecting" | "analyzing" | "exporting" | "purging" | nullNo
    data.poll_urlstring (uri)YesSend an authenticated GET request to this URL to read the current result.
    data.progressnumberYes
    data.reserved_unitsintegerYesCredits held for the run.
    data.resultobject | object | object | object | object | nullYes
    data.result.acceptedintegerConditional
    data.result.answersarray of objectNo
    data.result.answers[].answer_textstringConditional
    data.result.answers[].answer_text_truncatedbooleanConditional
    data.result.answers[].brand_citedbooleanConditional
    data.result.answers[].brand_mentionedboolean | nullConditional
    data.result.answers[].citationsarray of objectConditional
    data.result.answers[].citations[].orderintegerConditional
    data.result.answers[].citations[].urlstringConditional
    data.result.answers[].observation_idstringConditional
    data.result.evidence_cursorstring | nullConditional
    data.result.failedintegerConditional
    data.result.kind"collection"Conditional
    data.result.observation_idsarray of string (uuid)Conditional
    data.result.observationsarray of objectNo
    data.result.observations[].applied_locationobject | nullConditional
    data.result.observations[].applied_location.citystring | nullNo
    data.result.observations[].applied_location.countrystring | nullNo
    data.result.observations[].applied_location.granularity"country" | "region" | "city" | "postal" | "coordinates"Conditional
    data.result.observations[].applied_location.latitudenumber | nullNo
    data.result.observations[].applied_location.longitudenumber | nullNo
    data.result.observations[].applied_location.postal_codestring | nullNo
    data.result.observations[].applied_location.regionstring | nullNo
    data.result.observations[].observation_idstring (uuid)Conditional
    data.result.detailsarray of objectNo
    data.result.details[].rationalestringConditional
    data.result.details[].suggestion_indexintegerConditional
    data.result.details[].template_versionstringConditional
    data.result.details[].warningsarray of stringConditional
    data.result.kind"prompt_generation"Conditional
    data.result.outcomeobjectNoExplains why the result contains no suggestions.
    data.result.outcome.reason"no_eligible_candidates" | "web_evidence_missing"ConditionalWhether no candidate qualified or usable web evidence was missing.
    data.result.outcome.web_evidence_usedbooleanConditionalWhether the generation received a reply with confirmed web activity.
    data.result.suggestionsarray of objectConditional
    data.result.suggestions[].action"create"Conditional
    data.result.suggestions[].allow_similarbooleanNoSave the prompt even if you already track the same question or a differently worded question with the same meaning.
    data.result.suggestions[].brand_idstring (uuid) | nullNo
    data.result.suggestions[].category_idsarray of string | nullConditional
    data.result.suggestions[].intent"discovery" | "recommendation" | "evaluation" | "pricing" | "comparison" | "alternatives" | "use_case" | "transaction" | "local" | "troubleshooting" | "trust" | "informational"Conditional
    data.result.suggestions[].marketobjectConditional
    data.result.suggestions[].market.citystring | null | nullNo
    data.result.suggestions[].market.countrystringConditional
    data.result.suggestions[].market.languagestringConditional
    data.result.suggestions[].market.regionstring | null | nullNo
    data.result.suggestions[].tagsarray of string | nullNo
    data.result.suggestions[].textstringConditional
    data.result.backup_expiry_atstring (date-time) | nullConditional
    data.result.kind"deletion"Conditional
    data.result.purgedbooleanConditional
    data.result.resource_idstring (uuid)Conditional
    data.result.retained_record_reasonsarray of stringConditional
    data.result.agent_readinessobjectNoOur defined website access criteria for AI agents at checked_at (not a universal AI-readiness standard; no indexing, ranking, citation or answer outcome is measured).
    data.result.agent_readiness.checked_atstring (date-time)Conditional
    data.result.agent_readiness.checksarray of objectConditional
    data.result.agent_readiness.checks[].assessment"verified" | "detected" | "not_detected" | "not_assessed"No
    data.result.agent_readiness.checks[].category"core" | "robots" | "content" | "discovery" | "protocol"Conditional
    data.result.agent_readiness.checks[].evidencearray of objectConditional
    data.result.agent_readiness.checks[].evidence[].methodstringConditional
    data.result.agent_readiness.checks[].evidence[].observedstringConditional
    data.result.agent_readiness.checks[].evidence[].urlstringConditional
    data.result.agent_readiness.checks[].idstringConditional
    data.result.agent_readiness.checks[].labelstringConditional
    data.result.agent_readiness.checks[].limitationsarray of stringConditional
    data.result.agent_readiness.checks[].recommendationstring | nullConditional
    data.result.agent_readiness.checks[].referencestringNo
    data.result.agent_readiness.checks[].scoredbooleanConditional
    data.result.agent_readiness.checks[].spec_versionstringNo
    data.result.agent_readiness.checks[].status"pass" | "fail" | "unknown" | "not_applicable"Conditional
    data.result.agent_readiness.limitationsarray of stringConditional
    data.result.agent_readiness.scope"essential" | "full"Conditional
    data.result.agent_readiness.scoreobjectConditionaleligible = passed + failed + unknown over applicable scored checks; value = 100 * passed / (passed + failed), or null when no scored check was conclusive.
    data.result.agent_readiness.score.eligibleintegerConditional
    data.result.agent_readiness.score.failedintegerConditional
    data.result.agent_readiness.score.passedintegerConditional
    data.result.agent_readiness.score.unknownintegerConditional
    data.result.agent_readiness.score.valuenumber | nullConditional
    data.result.agent_readiness.status"completed" | "partial" | "not_assessed"Conditional
    data.result.agent_readiness.versionstringConditional
    data.result.budget_exhaustedbooleanNo
    data.result.business_factsobjectNo
    data.result.business_facts.locationsarray of objectConditional
    data.result.business_facts.locations[].location_idstring (uuid) | nullConditional
    data.result.business_facts.locations[].scoreobjectConditional
    data.result.business_facts.locations[].score.fieldsobjectConditional
    data.result.business_facts.locations[].score.fields.[key]number | nullNoValue for each key.
    data.result.business_facts.locations[].score.matched_fieldsintegerConditional
    data.result.business_facts.locations[].score.mismatched_fieldsintegerConditional
    data.result.business_facts.locations[].score.overallnumber | nullConditional
    data.result.business_facts.omitted_sourcesintegerConditional
    data.result.business_facts.scoreobjectConditional
    data.result.business_facts.score.fieldsobjectConditional
    data.result.business_facts.score.fields.[key]number | nullNoValue for each key.
    data.result.business_facts.score.matched_fieldsintegerConditional
    data.result.business_facts.score.mismatched_fieldsintegerConditional
    data.result.business_facts.score.overallnumber | nullConditional
    data.result.business_facts.sourcesarray of objectConditional
    data.result.business_facts.sources[].fieldsarray of objectConditional
    data.result.business_facts.sources[].fields[].expectedstring | array of string | object | nullConditional
    data.result.business_facts.sources[].fields[].expected.[key]string | number | array of stringNoValue for each key.
    data.result.business_facts.sources[].fields[].fieldstringConditional
    data.result.business_facts.sources[].fields[].observedstring | array of string | object | nullConditional
    data.result.business_facts.sources[].fields[].observed.[key]string | number | array of stringNoValue for each key.
    data.result.business_facts.sources[].fields[].status"matched" | "mismatched" | "not_found"Conditional
    data.result.business_facts.sources[].final_urlstring | nullConditional
    data.result.business_facts.sources[].http_statusinteger | nullConditional
    data.result.business_facts.sources[].location_idstring (uuid) | nullConditional
    data.result.business_facts.sources[].source"supplied" | "profile" | "citation"Conditional
    data.result.business_facts.sources[].status"matched" | "mismatched" | "not_found" | "could_not_fetch"Conditional
    data.result.business_facts.sources[].urlstringConditional
    data.result.completeness"preliminary" | "partial" | "complete" | "blocked"No
    data.result.content_coverage_notestringNo
    data.result.crawler_accessobjectNo
    data.result.crawler_access.assessedintegerConditional
    data.result.crawler_access.eligibleintegerConditional
    data.result.crawler_access.notestringConditional
    data.result.crawler_access.pagesarray of objectConditional
    data.result.crawler_access.pages[].agentsarray of objectConditional
    data.result.crawler_access.pages[].agents[].access"allowed" | "blocked_by_robots" | "blocked_by_firewall" | "challenged" | "rate_limited" | "unknown"Conditional
    data.result.crawler_access.pages[].agents[].agentstringConditional
    data.result.crawler_access.pages[].agents[].evidenceobjectConditional
    data.result.crawler_access.pages[].agents[].evidence.body_size_rationumber | nullConditional
    data.result.crawler_access.pages[].agents[].evidence.browser_statusinteger | nullConditional
    data.result.crawler_access.pages[].agents[].evidence.crawler_statusinteger | nullConditional
    data.result.crawler_access.pages[].agents[].evidence.marker"challenge_page" | "block_page" | "block_redirect" | "empty_or_short_body" | nullConditional
    data.result.crawler_access.pages[].agents[].purpose"search" | "user_fetch" | "training"Conditional
    data.result.crawler_access.pages[].agents[].robots_access"allowed" | "blocked" | nullNoWhether robots.txt allows this crawler on this page. HTTP 4xx responses other than 429 mean allowed. The value is null if the rules could not be checked.
    data.result.crawler_access.pages[].agents[].visibility_riskbooleanConditional
    data.result.crawler_access.pages[].urlstringConditional
    data.result.crawler_access.scorenumber | nullConditional
    data.result.findingsarray of objectConditional
    data.result.findings[].codestring | nullConditional
    data.result.findings[].confidencenumberConditional
    data.result.findings[].evidencestringConditional
    data.result.findings[].idstring (uuid)Conditional
    data.result.findings[].recommendationstringConditional
    data.result.findings[].severity"critical" | "high" | "medium" | "low" | "info"Conditional
    data.result.findings[].urlstring (uri)Conditional
    data.result.findings[].verificationstringConditional
    data.result.first_result_atstring (date-time) | nullNo
    data.result.kind"audit"Conditional
    data.result.next_cursorstring | nullConditional
    data.result.pages_billedintegerNoPages counted toward the final charge.
    data.result.pages_checkedintegerConditional
    data.result.pages_discoveredintegerNo
    data.result.pages_skippedintegerConditional
    data.result.profile"instant" | "detailed"No
    data.result.schema_consistencyobjectNo
    data.result.schema_consistency.pagesarray of objectConditional
    data.result.schema_consistency.pages[].fieldsarray of objectConditional
    data.result.schema_consistency.pages[].fields[].basis"visible" | "profile"Conditional
    data.result.schema_consistency.pages[].fields[].expectedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].fields[].expected.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].fields[].fieldstringConditional
    data.result.schema_consistency.pages[].fields[].observedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].fields[].observed.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].fields[].status"matched" | "mismatched" | "not_found"Conditional
    data.result.schema_consistency.pages[].issuesarray of objectConditional
    data.result.schema_consistency.pages[].issues[].code"missing_local_business" | "missing_required_properties" | "differs_from_visible" | "differs_from_profile" | "conflicting_blocks"Conditional
    data.result.schema_consistency.pages[].issues[].comparedarray of object | object | objectConditional
    data.result.schema_consistency.pages[].issues[].compared[].expectedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].issues[].compared[].expected.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].issues[].compared[].fieldstringConditional
    data.result.schema_consistency.pages[].issues[].compared[].observedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].issues[].compared[].observed.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].issues[].compared[].basis"visible" | "profile"Conditional
    data.result.schema_consistency.pages[].issues[].compared[].status"matched" | "mismatched" | "not_found"Conditional
    data.result.schema_consistency.pages[].issues[].fieldsarray of stringConditional
    data.result.schema_consistency.pages[].location_idstring (uuid) | nullConditional
    data.result.schema_consistency.pages[].markup"json_ld" | "microdata" | nullConditional
    data.result.schema_consistency.pages[].schema_typestring | nullConditional
    data.result.schema_consistency.pages[].urlstringConditional
    data.result.schema_consistency.pages_with_issuesintegerConditional
    data.result.schema_consistency.scorenumber | nullConditional
    data.result.skipped_reasonsarray of stringNo
    data.result.approval_expires_atstring (date-time) | nullConditional
    data.result.approval_idstring (uuid) | nullConditional
    data.result.artifact_download_urlstring (uri) | nullConditional
    data.result.artifact_sha256string | nullConditional
    data.result.diffstring | nullConditional
    data.result.external_revisionstring | null | nullConditional
    data.result.kind"optimization"Conditional
    data.result.syntheticbooleanNo
    data.result.target_urlstring (uri)Conditional
    data.result.verification_findingsarray of objectConditional
    data.result.verification_findings[].codestring | nullConditional
    data.result.verification_findings[].confidencenumberConditional
    data.result.verification_findings[].evidencestringConditional
    data.result.verification_findings[].idstring (uuid)Conditional
    data.result.verification_findings[].recommendationstringConditional
    data.result.verification_findings[].severity"critical" | "high" | "medium" | "low" | "info"Conditional
    data.result.verification_findings[].urlstring (uri)Conditional
    data.result.verification_findings[].verificationstringConditional
    data.revisionintegerYes
    data.state"queued" | "running" | "awaiting_approval" | "approved" | "executing" | "verifying" | "completed" | "partial" | "failed" | "cancelled" | "rejected" | "stale_approval" | "in_progress"Yes
    data.updated_atstring (date-time)Yes
    data.v2_action_idstringNo
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Proposeact_analyst_action

    Open this request with Python and TypeScript examples

    • Body section is act.
    • Body workflow is analyst_action.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read
    Roles
    editor, owner, service
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.
    • Action kind content_draft. Scopes analytics:read, optimizations:write. Plans Optimizer.
    • FAQ drafts also require this permission. Scope prompts:read.
    • Action kind fresh_check. Scopes analytics:read, collections:write. Plans Optimizer, Analyzer.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    Idempotency-KeyheaderstringYes

    Request body

    {
      "analyst_run_id": "analyst:report.00000000-0000-4000-8000-000000000001.2026-10.2026-11",
      "brand_id": "00000000-0000-4000-8000-000000000001",
      "finding_id": "00000000-0000-4000-8000-000000000001",
      "kind": "fresh_check",
      "section": "act",
      "workflow": "analyst_action"
    }
    Request body fields 1
    NameTypeRequiredDescription
    analyst_run_idstringYes
    brand_idstring (uuid)Yes
    draft_format"faq" | "organization_jsonld" | nullNo
    finding_idstring (uuid)Yes
    kind"fresh_check" | "content_draft"Yes
    passage_idstring (uuid) | nullNo
    section"act"Yes
    websitestring | nullNo
    workflow"analyst_action"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X PATCH "$AEO_API_BASE_URL/v2/recommendations" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 201

    Created

    application/json

    Response fields are listed below.

    HTTP 201 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.action_idstringYes
    data.analyst_run_idstringYes
    data.approved_atstring | nullYes
    data.approved_bystring | nullYes
    data.approved_max_creditsinteger | nullYes
    data.brand_idstringYesIdentifies the brand this result belongs to.
    data.draftobject | nullYes
    data.draft_fingerprintstring | nullYes
    data.estimated_creditsintegerYesThe expected credit cost for this selection.
    data.finding_idstringYes
    data.kind"content_draft" | "fresh_check"Yes
    data.maximum_creditsintegerYesThe upper credit estimate for this selection.
    data.organization_facts_status"partner_confirmed" | "pending_partner_confirmation" | nullYes
    data.passage_idstring | nullYes
    data.proposed_atstringYes
    data.proposed_bystringYes
    data.quoteobject | nullYes
    data.runobject | nullYes
    data.run.brand_idstringConditional
    data.run.charged_creditsintegerConditional
    data.run.check_idstring | nullConditional
    data.run.check_urlstring | nullConditional
    data.run.citation_status"in_progress" | "completed"NoCitation preparation status for this run, when applicable.
    data.run.created_atstringConditional
    data.run.estimated_creditsintegerConditional
    data.run.failure_reasonsarray of "access_restricted" | "limit_reached" | "input_missing" | "approval_expired" | "cancelled" | "check_failed" | "check_incomplete"Conditional
    data.run.hold_reasonsarray of "retry_pending" | "under_review"Conditional
    data.run.phasestring | nullConditional
    data.run.progressobjectConditional
    data.run.progress.by_locationarray of objectNo
    data.run.progress.by_location[].by_sourcearray of objectConditional
    data.run.progress.by_location[].completed_stepsintegerConditional
    data.run.progress.by_location[].expected_stepsintegerConditional
    data.run.progress.by_location[].location_idstring (uuid)Conditional
    data.run.progress.by_sourcearray of objectConditional
    data.run.progress.completed_stepsintegerConditional
    data.run.progress.expected_stepsintegerConditional
    data.run.prompt_set_revisionstringConditional
    data.run.released_creditsintegerConditional
    data.run.report_idstring | nullConditional
    data.run.report_status"pending" | "ready" | "not_available"Conditional
    data.run.report_urlstring | nullConditional
    data.run.reserved_creditsintegerConditional
    data.run.run_idstringConditional
    data.run.statusstringConditional
    data.run.updated_atstringConditional
    data.run.websitestring | nullConditional
    data.run_idstring | nullYesIdentifies the run. Keep any prefix when using it in a request.
    data.status"proposed" | "approved"Yes
    data.v2_action_idstringNo
    metaobjectYesInformation about this response, including any warnings or pagination details.

    Errors

    Preview Articleact_editorial_preview

    Open this request with Python and TypeScript examples

    • Body section is act.
    • Body workflow is editorial_preview.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    optimizations:write, analytics:read, recommendations:read
    Roles
    editor, owner, service
    Plans
    Optimizer
    Credits
    No credit charge.

    Parameters

    The contract lists no fields for this section.

    Request body

    {
      "brand_id": "00000000-0000-4000-8000-000000000001",
      "item_id": "00000000-0000-4000-8000-000000000001",
      "section": "act",
      "sections": [
        {
          "heading": "Setup",
          "passage_id": "00000000-0000-4000-8000-000000000001"
        }
      ],
      "title": "Shared billing",
      "workflow": "editorial_preview"
    }
    Request body fields 1
    NameTypeRequiredDescription
    brand_idstring (uuid)Yes
    item_idstring (uuid)Yes
    monthstring | nullNo
    report_idstring (uuid) | nullNo
    section"act"Yes
    sectionsarray of objectYes
    sections[].headingstringYes
    sections[].passage_idstring (uuid)Yes
    titlestringYes
    workflow"editorial_preview"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X PATCH "$AEO_API_BASE_URL/v2/recommendations" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.article_textstringYes
    data.brand_idstringYesIdentifies the brand this result belongs to.
    data.item_idstringYes
    data.method"customer_owned_passage_assembly"Yes
    data.sectionsarray of objectYes
    data.sections[].content_revisionstringYes
    data.sections[].headingstringYes
    data.sections[].passage_idstringYes
    data.sections[].source_urlstringYes
    data.sections[].textstringYes
    data.sha256stringYes
    data.status"editorial_draft"Yes
    data.titlestringYes
    metaobjectYesInformation about this response, including any warnings or pagination details.

    Errors

    Simulate, draft, review or publish an optimizationdecide_optimization

    Open this request with Python and TypeScript examples

    • Body section is decide.
    • Body action_id starts with optimization:.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    optimizations:write
    Roles
    approver, owner
    Plans
    Optimizer
    Credits
    This operation can use credits.
    Billing access
    Required
    • approve. Roles approver, owner.
    • reject. Roles approver, owner.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    Idempotency-KeyheaderstringYesFor 7 days, sending the same key and body for the same account and operation returns the original response. Changing the body for that key returns HTTP 409.

    Request body

    {
      "action_id": "optimization:00000000-0000-4000-8000-000000000001",
      "artifact_sha256": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "decision": "approve",
      "expected_revision": 1,
      "reason": "example",
      "section": "decide"
    }
    Request body fields 1
    NameTypeRequiredDescription
    action_idstringYes
    artifact_sha256stringYes
    decision"approve"Yes
    expected_revisionintegerYes
    reasonstringYes
    section"decide"Yes
    Request body fields 2
    NameTypeRequiredDescription
    action_idstringYes
    decision"reject"Yes
    expected_revisionintegerYes
    reasonstringYes
    section"decide"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X PATCH "$AEO_API_BASE_URL/v2/recommendations" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 202

    Simulate, draft, review or publish an optimization result.

    HTTP 202 headers
    NameTypeRequiredDescription
    Locationstring (uri)NoAuthenticated polling URI returned in data.poll_url.
    X-RateLimit-LimitintegerNoRequests in rate window.
    X-RateLimit-RemainingintegerNoRemaining request tokens.
    X-RateLimit-ResetintegerNoUTC Unix seconds when window resets.
    X-Request-Idstring (uuid)NoTrace identifier.
    X-Usage-UnitsintegerNoCU charged by this response; GET and account/usage always zero.

    application/json

    {
      "data": {
        "billed_units": 0,
        "created_at": "2026-11-06T00:00:00Z",
        "error": null,
        "estimated_units": 0,
        "id": "00000000-0000-4000-8000-000000000001",
        "kind": "optimization",
        "poll_url": "https://api.aeoapi.dev/v2/recommendations?view=action&action_id=optimization%3A00000000-0000-4000-8000-000000000001",
        "progress": 0,
        "reserved_units": 0,
        "result": null,
        "revision": 1,
        "state": "queued",
        "updated_at": "2026-11-06T00:00:00Z"
      },
      "meta": {
        "as_of": "2026-11-06T00:00:00Z",
        "collected_at": null,
        "next_cursor": null,
        "next_refresh_at": null,
        "request_id": "00000000-0000-4000-8000-000000000001",
        "rights_filtered": false,
        "schema_version": "1.0",
        "stale": false,
        "warnings": []
      }
    }
    HTTP 202 response fields 1
    NameTypeRequiredDescription
    dataValueYesThe requested result. See the fields below for its contents.
    data.billed_unitsintegerYesThe credits charged for this work.
    data.created_atstring (date-time)Yes
    data.errorobject | nullYes
    data.error.code"invalid_request" | "unauthenticated" | "quota_exceeded" | "forbidden" | "not_found" | "conflict" | "precondition_failed" | "validation_error" | "rate_limited" | "source_pending" | "feature_not_offered" | "internal_error"Conditional
    data.error.duplicate_ofstring (uuid)NoID of your existing prompt.
    data.error.field_errorsarray of objectNo
    data.error.field_errors[].fieldstring | nullConditional
    data.error.field_errors[].messagestringConditional
    data.error.messagestringConditional
    data.error.request_idstring (uuid)Conditional
    data.error.retryablebooleanConditional
    data.error.similar_promptsarray of objectNoOther matching prompts in your library.
    data.error.similar_prompts[].prompt_idstring (uuid)Conditional
    data.estimated_unitsintegerYes
    data.idstring (uuid)Yes
    data.kind"collection" | "prompt_generation" | "deletion" | "audit" | "optimization"Yes
    data.phase"researching" | "drafting" | "validating" | "collecting" | "analyzing" | "exporting" | "purging" | nullNo
    data.poll_urlstring (uri)YesSend an authenticated GET request to this URL to read the current result.
    data.progressnumberYes
    data.reserved_unitsintegerYesCredits held for the run.
    data.resultobject | object | object | object | object | nullYes
    data.result.acceptedintegerConditional
    data.result.answersarray of objectNo
    data.result.answers[].answer_textstringConditional
    data.result.answers[].answer_text_truncatedbooleanConditional
    data.result.answers[].brand_citedbooleanConditional
    data.result.answers[].brand_mentionedboolean | nullConditional
    data.result.answers[].citationsarray of objectConditional
    data.result.answers[].citations[].orderintegerConditional
    data.result.answers[].citations[].urlstringConditional
    data.result.answers[].observation_idstringConditional
    data.result.evidence_cursorstring | nullConditional
    data.result.failedintegerConditional
    data.result.kind"collection"Conditional
    data.result.observation_idsarray of string (uuid)Conditional
    data.result.observationsarray of objectNo
    data.result.observations[].applied_locationobject | nullConditional
    data.result.observations[].applied_location.citystring | nullNo
    data.result.observations[].applied_location.countrystring | nullNo
    data.result.observations[].applied_location.granularity"country" | "region" | "city" | "postal" | "coordinates"Conditional
    data.result.observations[].applied_location.latitudenumber | nullNo
    data.result.observations[].applied_location.longitudenumber | nullNo
    data.result.observations[].applied_location.postal_codestring | nullNo
    data.result.observations[].applied_location.regionstring | nullNo
    data.result.observations[].observation_idstring (uuid)Conditional
    data.result.detailsarray of objectNo
    data.result.details[].rationalestringConditional
    data.result.details[].suggestion_indexintegerConditional
    data.result.details[].template_versionstringConditional
    data.result.details[].warningsarray of stringConditional
    data.result.kind"prompt_generation"Conditional
    data.result.outcomeobjectNoExplains why the result contains no suggestions.
    data.result.outcome.reason"no_eligible_candidates" | "web_evidence_missing"ConditionalWhether no candidate qualified or usable web evidence was missing.
    data.result.outcome.web_evidence_usedbooleanConditionalWhether the generation received a reply with confirmed web activity.
    data.result.suggestionsarray of objectConditional
    data.result.suggestions[].action"create"Conditional
    data.result.suggestions[].allow_similarbooleanNoSave the prompt even if you already track the same question or a differently worded question with the same meaning.
    data.result.suggestions[].brand_idstring (uuid) | nullNo
    data.result.suggestions[].category_idsarray of string | nullConditional
    data.result.suggestions[].intent"discovery" | "recommendation" | "evaluation" | "pricing" | "comparison" | "alternatives" | "use_case" | "transaction" | "local" | "troubleshooting" | "trust" | "informational"Conditional
    data.result.suggestions[].marketobjectConditional
    data.result.suggestions[].market.citystring | null | nullNo
    data.result.suggestions[].market.countrystringConditional
    data.result.suggestions[].market.languagestringConditional
    data.result.suggestions[].market.regionstring | null | nullNo
    data.result.suggestions[].tagsarray of string | nullNo
    data.result.suggestions[].textstringConditional
    data.result.backup_expiry_atstring (date-time) | nullConditional
    data.result.kind"deletion"Conditional
    data.result.purgedbooleanConditional
    data.result.resource_idstring (uuid)Conditional
    data.result.retained_record_reasonsarray of stringConditional
    data.result.agent_readinessobjectNoOur defined website access criteria for AI agents at checked_at (not a universal AI-readiness standard; no indexing, ranking, citation or answer outcome is measured).
    data.result.agent_readiness.checked_atstring (date-time)Conditional
    data.result.agent_readiness.checksarray of objectConditional
    data.result.agent_readiness.checks[].assessment"verified" | "detected" | "not_detected" | "not_assessed"No
    data.result.agent_readiness.checks[].category"core" | "robots" | "content" | "discovery" | "protocol"Conditional
    data.result.agent_readiness.checks[].evidencearray of objectConditional
    data.result.agent_readiness.checks[].evidence[].methodstringConditional
    data.result.agent_readiness.checks[].evidence[].observedstringConditional
    data.result.agent_readiness.checks[].evidence[].urlstringConditional
    data.result.agent_readiness.checks[].idstringConditional
    data.result.agent_readiness.checks[].labelstringConditional
    data.result.agent_readiness.checks[].limitationsarray of stringConditional
    data.result.agent_readiness.checks[].recommendationstring | nullConditional
    data.result.agent_readiness.checks[].referencestringNo
    data.result.agent_readiness.checks[].scoredbooleanConditional
    data.result.agent_readiness.checks[].spec_versionstringNo
    data.result.agent_readiness.checks[].status"pass" | "fail" | "unknown" | "not_applicable"Conditional
    data.result.agent_readiness.limitationsarray of stringConditional
    data.result.agent_readiness.scope"essential" | "full"Conditional
    data.result.agent_readiness.scoreobjectConditionaleligible = passed + failed + unknown over applicable scored checks; value = 100 * passed / (passed + failed), or null when no scored check was conclusive.
    data.result.agent_readiness.score.eligibleintegerConditional
    data.result.agent_readiness.score.failedintegerConditional
    data.result.agent_readiness.score.passedintegerConditional
    data.result.agent_readiness.score.unknownintegerConditional
    data.result.agent_readiness.score.valuenumber | nullConditional
    data.result.agent_readiness.status"completed" | "partial" | "not_assessed"Conditional
    data.result.agent_readiness.versionstringConditional
    data.result.budget_exhaustedbooleanNo
    data.result.business_factsobjectNo
    data.result.business_facts.locationsarray of objectConditional
    data.result.business_facts.locations[].location_idstring (uuid) | nullConditional
    data.result.business_facts.locations[].scoreobjectConditional
    data.result.business_facts.locations[].score.fieldsobjectConditional
    data.result.business_facts.locations[].score.fields.[key]number | nullNoValue for each key.
    data.result.business_facts.locations[].score.matched_fieldsintegerConditional
    data.result.business_facts.locations[].score.mismatched_fieldsintegerConditional
    data.result.business_facts.locations[].score.overallnumber | nullConditional
    data.result.business_facts.omitted_sourcesintegerConditional
    data.result.business_facts.scoreobjectConditional
    data.result.business_facts.score.fieldsobjectConditional
    data.result.business_facts.score.fields.[key]number | nullNoValue for each key.
    data.result.business_facts.score.matched_fieldsintegerConditional
    data.result.business_facts.score.mismatched_fieldsintegerConditional
    data.result.business_facts.score.overallnumber | nullConditional
    data.result.business_facts.sourcesarray of objectConditional
    data.result.business_facts.sources[].fieldsarray of objectConditional
    data.result.business_facts.sources[].fields[].expectedstring | array of string | object | nullConditional
    data.result.business_facts.sources[].fields[].expected.[key]string | number | array of stringNoValue for each key.
    data.result.business_facts.sources[].fields[].fieldstringConditional
    data.result.business_facts.sources[].fields[].observedstring | array of string | object | nullConditional
    data.result.business_facts.sources[].fields[].observed.[key]string | number | array of stringNoValue for each key.
    data.result.business_facts.sources[].fields[].status"matched" | "mismatched" | "not_found"Conditional
    data.result.business_facts.sources[].final_urlstring | nullConditional
    data.result.business_facts.sources[].http_statusinteger | nullConditional
    data.result.business_facts.sources[].location_idstring (uuid) | nullConditional
    data.result.business_facts.sources[].source"supplied" | "profile" | "citation"Conditional
    data.result.business_facts.sources[].status"matched" | "mismatched" | "not_found" | "could_not_fetch"Conditional
    data.result.business_facts.sources[].urlstringConditional
    data.result.completeness"preliminary" | "partial" | "complete" | "blocked"No
    data.result.content_coverage_notestringNo
    data.result.crawler_accessobjectNo
    data.result.crawler_access.assessedintegerConditional
    data.result.crawler_access.eligibleintegerConditional
    data.result.crawler_access.notestringConditional
    data.result.crawler_access.pagesarray of objectConditional
    data.result.crawler_access.pages[].agentsarray of objectConditional
    data.result.crawler_access.pages[].agents[].access"allowed" | "blocked_by_robots" | "blocked_by_firewall" | "challenged" | "rate_limited" | "unknown"Conditional
    data.result.crawler_access.pages[].agents[].agentstringConditional
    data.result.crawler_access.pages[].agents[].evidenceobjectConditional
    data.result.crawler_access.pages[].agents[].evidence.body_size_rationumber | nullConditional
    data.result.crawler_access.pages[].agents[].evidence.browser_statusinteger | nullConditional
    data.result.crawler_access.pages[].agents[].evidence.crawler_statusinteger | nullConditional
    data.result.crawler_access.pages[].agents[].evidence.marker"challenge_page" | "block_page" | "block_redirect" | "empty_or_short_body" | nullConditional
    data.result.crawler_access.pages[].agents[].purpose"search" | "user_fetch" | "training"Conditional
    data.result.crawler_access.pages[].agents[].robots_access"allowed" | "blocked" | nullNoWhether robots.txt allows this crawler on this page. HTTP 4xx responses other than 429 mean allowed. The value is null if the rules could not be checked.
    data.result.crawler_access.pages[].agents[].visibility_riskbooleanConditional
    data.result.crawler_access.pages[].urlstringConditional
    data.result.crawler_access.scorenumber | nullConditional
    data.result.findingsarray of objectConditional
    data.result.findings[].codestring | nullConditional
    data.result.findings[].confidencenumberConditional
    data.result.findings[].evidencestringConditional
    data.result.findings[].idstring (uuid)Conditional
    data.result.findings[].recommendationstringConditional
    data.result.findings[].severity"critical" | "high" | "medium" | "low" | "info"Conditional
    data.result.findings[].urlstring (uri)Conditional
    data.result.findings[].verificationstringConditional
    data.result.first_result_atstring (date-time) | nullNo
    data.result.kind"audit"Conditional
    data.result.next_cursorstring | nullConditional
    data.result.pages_billedintegerNoPages counted toward the final charge.
    data.result.pages_checkedintegerConditional
    data.result.pages_discoveredintegerNo
    data.result.pages_skippedintegerConditional
    data.result.profile"instant" | "detailed"No
    data.result.schema_consistencyobjectNo
    data.result.schema_consistency.pagesarray of objectConditional
    data.result.schema_consistency.pages[].fieldsarray of objectConditional
    data.result.schema_consistency.pages[].fields[].basis"visible" | "profile"Conditional
    data.result.schema_consistency.pages[].fields[].expectedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].fields[].expected.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].fields[].fieldstringConditional
    data.result.schema_consistency.pages[].fields[].observedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].fields[].observed.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].fields[].status"matched" | "mismatched" | "not_found"Conditional
    data.result.schema_consistency.pages[].issuesarray of objectConditional
    data.result.schema_consistency.pages[].issues[].code"missing_local_business" | "missing_required_properties" | "differs_from_visible" | "differs_from_profile" | "conflicting_blocks"Conditional
    data.result.schema_consistency.pages[].issues[].comparedarray of object | object | objectConditional
    data.result.schema_consistency.pages[].issues[].compared[].expectedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].issues[].compared[].expected.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].issues[].compared[].fieldstringConditional
    data.result.schema_consistency.pages[].issues[].compared[].observedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].issues[].compared[].observed.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].issues[].compared[].basis"visible" | "profile"Conditional
    data.result.schema_consistency.pages[].issues[].compared[].status"matched" | "mismatched" | "not_found"Conditional
    data.result.schema_consistency.pages[].issues[].fieldsarray of stringConditional
    data.result.schema_consistency.pages[].location_idstring (uuid) | nullConditional
    data.result.schema_consistency.pages[].markup"json_ld" | "microdata" | nullConditional
    data.result.schema_consistency.pages[].schema_typestring | nullConditional
    data.result.schema_consistency.pages[].urlstringConditional
    data.result.schema_consistency.pages_with_issuesintegerConditional
    data.result.schema_consistency.scorenumber | nullConditional
    data.result.skipped_reasonsarray of stringNo
    data.result.approval_expires_atstring (date-time) | nullConditional
    data.result.approval_idstring (uuid) | nullConditional
    data.result.artifact_download_urlstring (uri) | nullConditional
    data.result.artifact_sha256string | nullConditional
    data.result.diffstring | nullConditional
    data.result.external_revisionstring | null | nullConditional
    data.result.kind"optimization"Conditional
    data.result.syntheticbooleanNo
    data.result.target_urlstring (uri)Conditional
    data.result.verification_findingsarray of objectConditional
    data.result.verification_findings[].codestring | nullConditional
    data.result.verification_findings[].confidencenumberConditional
    data.result.verification_findings[].evidencestringConditional
    data.result.verification_findings[].idstring (uuid)Conditional
    data.result.verification_findings[].recommendationstringConditional
    data.result.verification_findings[].severity"critical" | "high" | "medium" | "low" | "info"Conditional
    data.result.verification_findings[].urlstring (uri)Conditional
    data.result.verification_findings[].verificationstringConditional
    data.revisionintegerYes
    data.state"queued" | "running" | "awaiting_approval" | "approved" | "executing" | "verifying" | "completed" | "partial" | "failed" | "cancelled" | "rejected" | "stale_approval" | "in_progress"Yes
    data.updated_atstring (date-time)Yes
    data.v2_action_idstringNo
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Approvedecide_analyst_action

    Open this request with Python and TypeScript examples

    • Body section is decide.
    • Body action_id starts with analyst_action:.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read
    Roles
    approver, owner
    Plans
    Optimizer, Analyzer
    Credits
    This operation can use credits.
    Billing access
    Required
    • Action kind content_draft. Scopes analytics:read, optimizations:write. Plans Optimizer.
    • FAQ drafts also require this permission. Scope prompts:read.
    • Action kind fresh_check. Scopes analytics:read, collections:write. Plans Optimizer, Analyzer.
    • To approve a fresh check, use an owner key or an approver key that also has the editor or service role.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    Idempotency-KeyheaderstringYes

    Request body

    For a content draft, copy data.draft_fingerprint from the proposal you reviewed and set max_credits to 0. For an organization_jsonld draft, check the organization facts and add "confirm_organization_facts": true.

    {
      "section": "decide",
      "decision": "approve",
      "brand_id": "00000000-0000-4000-8000-000000000001",
      "action_id": "analyst_action:00000000-0000-4000-8000-000000000001",
      "draft_fingerprint": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "max_credits": 0
    }

    For a fresh check, read data.maximum_credits on the proposal. This example accepts a quote of 10 credits. Set max_credits to the cap you accept. The API returns HTTP 409 if the cap is below the quote.

    {
      "section": "decide",
      "decision": "approve",
      "brand_id": "00000000-0000-4000-8000-000000000001",
      "action_id": "analyst_action:00000000-0000-4000-8000-000000000001",
      "max_credits": 10
    }
    Request body fields 1
    NameTypeRequiredDescription
    action_idstringYes
    brand_idstring (uuid)Yes
    confirm_organization_factsbooleanConditionalSet to true after checking the facts in an organization_jsonld draft. Omit it for other approvals.
    decision"approve"Yes
    draft_fingerprintstring | nullConditionalFor a content draft, send the fingerprint from the reviewed proposal. Omit it for a fresh check.
    max_creditsintegerYes
    section"decide"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X PATCH "$AEO_API_BASE_URL/v2/recommendations" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Draft approved

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.action_idstringYes
    data.analyst_run_idstringYes
    data.approved_atstringYes
    data.approved_bystringYes
    data.approved_max_credits0Yes
    data.brand_idstringYesIdentifies the brand this result belongs to.
    data.draftobjectYes
    data.draft_fingerprintstringYes
    data.estimated_credits0YesThe expected credit cost for this selection.
    data.finding_idstringYes
    data.kind"content_draft"Yes
    data.maximum_credits0YesThe upper credit estimate for this selection.
    data.organization_facts_status"partner_confirmed" | nullYes
    data.passage_idstring | nullYes
    data.proposed_atstringYes
    data.proposed_bystringYes
    data.quotenullYes
    data.runnullYes
    data.run_idnullYesApproving a draft does not start a run.
    data.status"approved"Yes
    data.v2_action_idstringNo
    metaobjectYesInformation about this response, including any warnings or pagination details.

    HTTP 202

    Fresh check accepted

    application/json

    Response fields are listed below.

    HTTP 202 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.action_idstringYes
    data.analyst_run_idstringYes
    data.approved_atstringYes
    data.approved_bystringYes
    data.approved_max_creditsintegerYes
    data.brand_idstringYesIdentifies the brand this result belongs to.
    data.draftnullYes
    data.draft_fingerprintnullYes
    data.estimated_creditsintegerYesThe expected credit cost for this selection.
    data.finding_idstringYes
    data.kind"fresh_check"Yes
    data.maximum_creditsintegerYesThe upper credit estimate for this selection.
    data.organization_facts_statusnullYes
    data.passage_idnullYes
    data.proposed_atstringYes
    data.proposed_bystringYes
    data.quoteobjectYes
    data.runobjectYes
    data.run.brand_idstringYes
    data.run.charged_creditsintegerYes
    data.run.check_idstring | nullYes
    data.run.check_urlstring | nullYes
    data.run.citation_status"in_progress" | "completed"NoCitation preparation status for this run, when applicable.
    data.run.created_atstringYes
    data.run.estimated_creditsintegerYes
    data.run.failure_reasonsarray of "access_restricted" | "limit_reached" | "input_missing" | "approval_expired" | "cancelled" | "check_failed" | "check_incomplete"Yes
    data.run.hold_reasonsarray of "retry_pending" | "under_review"Yes
    data.run.phasestring | nullYes
    data.run.progressobjectYes
    data.run.progress.by_locationarray of objectNo
    data.run.progress.by_location[].by_sourcearray of objectConditional
    data.run.progress.by_location[].completed_stepsintegerConditional
    data.run.progress.by_location[].expected_stepsintegerConditional
    data.run.progress.by_location[].location_idstring (uuid)Conditional
    data.run.progress.by_sourcearray of objectYes
    data.run.progress.completed_stepsintegerYes
    data.run.progress.expected_stepsintegerYes
    data.run.prompt_set_revisionstringYes
    data.run.released_creditsintegerYes
    data.run.report_idstring | nullYes
    data.run.report_status"pending" | "ready" | "not_available"Yes
    data.run.report_urlstring | nullYes
    data.run.reserved_creditsintegerYes
    data.run.run_idstringYes
    data.run.statusstringYes
    data.run.updated_atstringYes
    data.run.websitestring | nullYes
    data.run_idstringYesIdentifies the run. Keep any prefix when using it in a request.
    data.status"approved"Yes
    data.v2_action_idstringNo
    metaobjectYesInformation about this response, including any warnings or pagination details.

    Errors

    GET /v2/reports

    Read reports or compare report results

    Read the baseline and measured follow-up for a client actionaction_outcome

    Open this request with Python and TypeScript examples

    • Query view is action_outcome. Default is report.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.
    • Action kind content_draft. Scopes analytics:read, optimizations:read. Plans Optimizer.
    • To include question text in a draft outcome. Scope prompts:read.
    • Action kind fresh_check. Scopes analytics:read, collections:read. Plans Optimizer, Analyzer.
    • To include a linked check. Scope collections:read.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    action_idquerystringYes
    brand_idquerystring (uuid)Yes
    follow_up_action_idquerystringNo
    viewquery"action_outcome"Yes

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/reports" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode "action_id=$ACTION_ID" \
      --data-urlencode "brand_id=$BRAND_ID" \
      --data-urlencode 'view=action_outcome'

    Responses

    HTTP 200

    Successful Response

    application/json

    Example generated from the response schema.

    {
      "data": {
        "brand_id": "example",
        "action": {
          "action_id": "example",
          "kind": "fresh_check",
          "status": "proposed",
          "proposed_at": "example",
          "approved_at": null,
          "draft_format": null,
          "approved_max_credits": null,
          "quoted_maximum_credits": 0
        },
        "baseline": {
          "analyst_run_id": "example",
          "analyst_run_url": "example",
          "finding_id": "example",
          "report_id": "example",
          "report_url": "example",
          "report_generated_at": "example",
          "previous_month": "example",
          "baseline_month": "example",
          "finding": "example",
          "previous_period": {
            "valid_answers": 0,
            "mentions": 0,
            "mention_rate": null
          },
          "baseline_period": {
            "valid_answers": 0,
            "mentions": 0,
            "mention_rate": null
          },
          "question": {
            "prompt_id": "example",
            "prompt_version": 0,
            "text": null,
            "brand_scope": "branded",
            "classification_basis": "brand_term_match_r1"
          },
          "cohort": {
            "engine": "example",
            "ai_search": "example",
            "provider": null,
            "mode": "example",
            "country": "example",
            "region": null,
            "city": null,
            "language": "example",
            "device": null,
            "comparison_set_version": "example",
            "analysis_version": "example"
          }
        },
        "follow_up": null,
        "measurement": {
          "status": "not_measured",
          "reason": "action_not_approved",
          "before": {
            "valid_answers": 0,
            "mentions": 0,
            "mention_rate": null
          },
          "after": null,
          "mention_change_percentage_points": null,
          "unmatched_valid_answers": null,
          "invalid_or_missing_samples": null,
          "warnings": []
        },
        "publication_status": "unpublished",
        "interpretation": "example",
        "usage_units": 0
      },
      "meta": {}
    }
    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.actionobjectYes
    data.action.action_idstringYes
    data.action.approved_atstring | nullYes
    data.action.approved_max_creditsinteger | nullYes
    data.action.draft_format"faq" | "organization_jsonld" | nullYes
    data.action.kind"fresh_check" | "content_draft"Yes
    data.action.proposed_atstringYes
    data.action.quoted_maximum_creditsintegerYes
    data.action.status"proposed" | "approved"Yes
    data.baselineobjectYes
    data.baseline.analyst_run_idstringYes
    data.baseline.analyst_run_urlstringYes
    data.baseline.baseline_monthstringYes
    data.baseline.baseline_periodobjectYes
    data.baseline.baseline_period.mention_ratenumber | nullYes
    data.baseline.baseline_period.mentionsintegerYes
    data.baseline.baseline_period.valid_answersintegerYes
    data.baseline.cohortobjectYes
    data.baseline.cohort.ai_searchstringYesThe AI search product the answer came from, such as google_ai_overviews.
    data.baseline.cohort.analysis_versionstringYes
    data.baseline.cohort.citystring | nullYes
    data.baseline.cohort.comparison_set_versionstringYes
    data.baseline.cohort.countrystringYes
    data.baseline.cohort.devicestring | nullYes
    data.baseline.cohort.enginestringYes
    data.baseline.cohort.languagestringYes
    data.baseline.cohort.modestringYes
    data.baseline.cohort.providerstring | nullYes
    data.baseline.cohort.regionstring | nullYes
    data.baseline.findingstringYes
    data.baseline.finding_idstringYes
    data.baseline.previous_monthstringYes
    data.baseline.previous_periodobjectYes
    data.baseline.previous_period.mention_ratenumber | nullYes
    data.baseline.previous_period.mentionsintegerYes
    data.baseline.previous_period.valid_answersintegerYes
    data.baseline.questionobjectYes
    data.baseline.question.brand_scope"branded" | "unbranded" | "unknown"Yes
    data.baseline.question.classification_basis"brand_term_match_r1" | "no_brand_term_match_r1" | "not_classified"Yes
    data.baseline.question.prompt_idstringYes
    data.baseline.question.prompt_versionintegerYes
    data.baseline.question.textstring | nullYes
    data.baseline.report_generated_atstringYes
    data.baseline.report_idstringYes
    data.baseline.report_urlstringYes
    data.brand_idstringYesIdentifies the brand this result belongs to.
    data.follow_upobject | nullYes
    data.follow_up.action_idstringConditional
    data.follow_up.approved_atstringConditional
    data.follow_up.approved_max_creditsintegerConditional
    data.follow_up.charged_creditsintegerConditional
    data.follow_up.check_urlstring | nullConditional
    data.follow_up.observationobject | nullConditional
    data.follow_up.observation.afterobject | nullConditional
    data.follow_up.observation.after.mention_ratenumber | nullConditional
    data.follow_up.observation.after.mentionsintegerConditional
    data.follow_up.observation.after.valid_answersintegerConditional
    data.follow_up.observation.beforeobjectConditional
    data.follow_up.observation.before.mention_ratenumber | nullConditional
    data.follow_up.observation.before.mentionsintegerConditional
    data.follow_up.observation.before.valid_answersintegerConditional
    data.follow_up.observation.invalid_or_missing_samplesinteger | nullConditional
    data.follow_up.observation.mention_change_percentage_pointsnumber | nullConditional
    data.follow_up.observation.reason"action_not_approved" | "draft_unpublished" | "report_pending" | "report_not_ready" | "analysis_version_changed" | "no_matched_valid_answers" | "matched_valid_answers"Conditional
    data.follow_up.observation.status"not_measured" | "inconclusive" | "unchanged" | "measured"Conditional
    data.follow_up.observation.unmatched_valid_answersinteger | nullConditional
    data.follow_up.observation.warningsarray of stringConditional
    data.follow_up.prompt_segmentsarray of objectConditional
    data.follow_up.prompt_segments[].brand_scope"branded" | "unbranded" | "unknown"Conditional
    data.follow_up.prompt_segments[].checked_prompt_versionsintegerConditional
    data.follow_up.prompt_segments[].invalid_or_missing_follow_up_samplesintegerConditional
    data.follow_up.prompt_segments[].matched_afterobjectConditional
    data.follow_up.prompt_segments[].matched_after.mentionsintegerConditional
    data.follow_up.prompt_segments[].matched_after.valid_answersintegerConditional
    data.follow_up.prompt_segments[].matched_beforeobjectConditional
    data.follow_up.prompt_segments[].matched_before.mentionsintegerConditional
    data.follow_up.prompt_segments[].matched_before.valid_answersintegerConditional
    data.follow_up.prompt_segments[].matched_cohortsintegerConditional
    data.follow_up.prompt_segments[].mean_cohort_change_percentage_pointsnumber | nullConditional
    data.follow_up.prompt_segments[].unmatched_baseline_valid_answersintegerConditional
    data.follow_up.prompt_segments[].unmatched_follow_up_valid_answersintegerConditional
    data.follow_up.quoted_maximum_creditsintegerConditional
    data.follow_up.released_creditsintegerConditional
    data.follow_up.report_generated_atstring | nullConditional
    data.follow_up.report_idstring | nullConditional
    data.follow_up.report_status"pending" | "ready" | "not_available"Conditional
    data.follow_up.report_urlstring | nullConditional
    data.follow_up.reserved_creditsintegerConditional
    data.follow_up.run_idstringConditional
    data.follow_up.run_statusstringConditional
    data.interpretationstringYes
    data.measurementobjectYes
    data.measurement.afterobject | nullYes
    data.measurement.after.mention_ratenumber | nullConditional
    data.measurement.after.mentionsintegerConditional
    data.measurement.after.valid_answersintegerConditional
    data.measurement.beforeobjectYes
    data.measurement.before.mention_ratenumber | nullYes
    data.measurement.before.mentionsintegerYes
    data.measurement.before.valid_answersintegerYes
    data.measurement.invalid_or_missing_samplesinteger | nullYes
    data.measurement.mention_change_percentage_pointsnumber | nullYes
    data.measurement.reason"action_not_approved" | "draft_unpublished" | "report_pending" | "report_not_ready" | "analysis_version_changed" | "no_matched_valid_answers" | "matched_valid_answers"Yes
    data.measurement.status"not_measured" | "inconclusive" | "unchanged" | "measured"Yes
    data.measurement.unmatched_valid_answersinteger | nullYes
    data.measurement.warningsarray of stringYes
    data.publication_status"unpublished" | "not_applicable"Yes
    data.usage_units0Yes
    metaobjectYesInformation about this response, including any warnings or pagination details.

    Errors

    Get Reportreport

    Open this request with Python and TypeScript examples

    • Query view is report. Default is report.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idquerystring (uuid)Yes
    monthquerystring | nullNo
    report_idquerystring (uuid) | nullNo
    enginequerystring | nullNo
    ai_searchquerystring | nullNoThe AI search product the answer came from, such as google_ai_overviews.
    topic_idquerystring | nullNo
    prompt_idquerystring (uuid) | nullNo
    viewquery"report"No

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/reports" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode "brand_id=$BRAND_ID" \
      --data-urlencode 'view=report'

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.ai_searchesobjectYes
    data.ai_searches.[key]objectNoValue for each key.
    data.analysis_versionstring | nullYes
    data.available_monthsarray of stringYes
    data.brand_idstringYesIdentifies the brand this result belongs to.
    data.competitorsarray of objectYes
    data.enginesobjectYes
    data.engines.[key]objectNoValue for each key.
    data.generated_atstring | nullYes
    data.google_ai_overviewsobjectYes
    data.google_ai_overviews.answers_with_citationsintegerYes
    data.google_ai_overviews.classified_answersintegerYes
    data.google_ai_overviews.gapsobjectYes
    data.google_ai_overviews.gaps.[key]integerNoValue for each key.
    data.google_ai_overviews.mean_recorded_ranknumber | nullYes
    data.google_ai_overviews.mentionsintegerYes
    data.google_ai_overviews.owned_citation_answersintegerYes
    data.google_ai_overviews.ranked_answersintegerYes
    data.google_ai_overviews.scheduled_samplesintegerYes
    data.google_ai_overviews.sentiment_countsobjectYes
    data.google_ai_overviews.sentiment_counts.[key]integerNoValue for each key.
    data.google_ai_overviews.valid_answersintegerYes
    data.google_ai_overviews.valid_prompt_versionsintegerYes
    data.google_ai_overviews.visibility_scorenumber | nullYes
    data.history_starts_atstringYes
    data.monthstring | nullYes
    data.overallobjectYes
    data.overall.answers_with_citationsintegerYes
    data.overall.classified_answersintegerYes
    data.overall.gapsobjectYes
    data.overall.gaps.[key]integerNoValue for each key.
    data.overall.mean_recorded_ranknumber | nullYes
    data.overall.mentionsintegerYes
    data.overall.owned_citation_answersintegerYes
    data.overall.ranked_answersintegerYes
    data.overall.scheduled_samplesintegerYes
    data.overall.sentiment_countsobjectYes
    data.overall.sentiment_counts.[key]integerNoValue for each key.
    data.overall.valid_answersintegerYes
    data.overall.valid_prompt_versionsintegerYes
    data.overall.visibility_scorenumber | nullYes
    data.promptsarray of objectYes
    data.report_idstring | nullYes
    data.topicsarray of objectYes
    data.trendsarray of objectYes
    metaobjectYesInformation about this response, including any warnings or pagination details.

    Errors

    Compare Reportscompare

    Open this request with Python and TypeScript examples

    • Query view is compare. Default is report.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idquerystring (uuid)Yes
    from_monthquerystringYes
    to_monthquerystringYes
    enginequerystring | nullNo
    ai_searchquerystring | nullNoThe AI search product the answer came from, such as google_ai_overviews.
    topic_idquerystring | nullNo
    prompt_idquerystring (uuid) | nullNo
    viewquery"compare"Yes

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/reports" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode "brand_id=$BRAND_ID" \
      --data-urlencode "from_month=$FROM_MONTH" \
      --data-urlencode "to_month=$TO_MONTH" \
      --data-urlencode 'view=compare'

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.ai_search_comparisonsobjectYes
    data.ai_search_comparisons.[key]objectNoValue for each key.
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.comparisonobjectYes
    data.comparison.current_onlyintegerYes
    data.comparison.matched_cohortsintegerYes
    data.comparison.mention_change_percentage_pointsnumber | nullYes
    data.comparison.previous_onlyintegerYes
    data.fromobjectYes
    data.from.ai_searchesobjectYes
    data.from.ai_searches.[key]objectNoValue for each key.
    data.from.competitorsarray of objectYes
    data.from.competitors[].answer_mention_ratenumberYes
    data.from.competitors[].answers_without_brandintegerYes
    data.from.competitors[].competitor_idstring (uuid)Yes
    data.from.competitors[].eligible_answersintegerYes
    data.from.competitors[].mean_recorded_ranknumber | nullYes
    data.from.competitors[].mentioned_answersintegerYes
    data.from.competitors[].observed_namestring | nullYes
    data.from.competitors[].ranked_answersintegerYes
    data.from.enginesobjectYes
    data.from.engines.[key]objectNoValue for each key.
    data.from.google_ai_overviewsobjectYes
    data.from.google_ai_overviews.answers_with_citationsintegerYes
    data.from.google_ai_overviews.classified_answersintegerYes
    data.from.google_ai_overviews.gapsobjectYes
    data.from.google_ai_overviews.gaps.[key]integerNoValue for each key.
    data.from.google_ai_overviews.mean_recorded_ranknumber | nullYes
    data.from.google_ai_overviews.mentionsintegerYes
    data.from.google_ai_overviews.owned_citation_answersintegerYes
    data.from.google_ai_overviews.ranked_answersintegerYes
    data.from.google_ai_overviews.scheduled_samplesintegerYes
    data.from.google_ai_overviews.sentiment_countsobjectYes
    data.from.google_ai_overviews.sentiment_counts.[key]integerNoValue for each key.
    data.from.google_ai_overviews.valid_answersintegerYes
    data.from.google_ai_overviews.valid_prompt_versionsintegerYes
    data.from.google_ai_overviews.visibility_scorenumber | nullYes
    data.from.monthstringYes
    data.from.overallobjectYes
    data.from.overall.answers_with_citationsintegerYes
    data.from.overall.classified_answersintegerYes
    data.from.overall.gapsobjectYes
    data.from.overall.gaps.[key]integerNoValue for each key.
    data.from.overall.mean_recorded_ranknumber | nullYes
    data.from.overall.mentionsintegerYes
    data.from.overall.owned_citation_answersintegerYes
    data.from.overall.ranked_answersintegerYes
    data.from.overall.scheduled_samplesintegerYes
    data.from.overall.sentiment_countsobjectYes
    data.from.overall.sentiment_counts.[key]integerNoValue for each key.
    data.from.overall.valid_answersintegerYes
    data.from.overall.valid_prompt_versionsintegerYes
    data.from.overall.visibility_scorenumber | nullYes
    data.toobjectYes
    data.to.ai_searchesobjectYes
    data.to.ai_searches.[key]objectNoValue for each key.
    data.to.competitorsarray of objectYes
    data.to.competitors[].answer_mention_ratenumberYes
    data.to.competitors[].answers_without_brandintegerYes
    data.to.competitors[].competitor_idstring (uuid)Yes
    data.to.competitors[].eligible_answersintegerYes
    data.to.competitors[].mean_recorded_ranknumber | nullYes
    data.to.competitors[].mentioned_answersintegerYes
    data.to.competitors[].observed_namestring | nullYes
    data.to.competitors[].ranked_answersintegerYes
    data.to.enginesobjectYes
    data.to.engines.[key]objectNoValue for each key.
    data.to.google_ai_overviewsobjectYes
    data.to.google_ai_overviews.answers_with_citationsintegerYes
    data.to.google_ai_overviews.classified_answersintegerYes
    data.to.google_ai_overviews.gapsobjectYes
    data.to.google_ai_overviews.gaps.[key]integerNoValue for each key.
    data.to.google_ai_overviews.mean_recorded_ranknumber | nullYes
    data.to.google_ai_overviews.mentionsintegerYes
    data.to.google_ai_overviews.owned_citation_answersintegerYes
    data.to.google_ai_overviews.ranked_answersintegerYes
    data.to.google_ai_overviews.scheduled_samplesintegerYes
    data.to.google_ai_overviews.sentiment_countsobjectYes
    data.to.google_ai_overviews.sentiment_counts.[key]integerNoValue for each key.
    data.to.google_ai_overviews.valid_answersintegerYes
    data.to.google_ai_overviews.valid_prompt_versionsintegerYes
    data.to.google_ai_overviews.visibility_scorenumber | nullYes
    data.to.monthstringYes
    data.to.overallobjectYes
    data.to.overall.answers_with_citationsintegerYes
    data.to.overall.classified_answersintegerYes
    data.to.overall.gapsobjectYes
    data.to.overall.gaps.[key]integerNoValue for each key.
    data.to.overall.mean_recorded_ranknumber | nullYes
    data.to.overall.mentionsintegerYes
    data.to.overall.owned_citation_answersintegerYes
    data.to.overall.ranked_answersintegerYes
    data.to.overall.scheduled_samplesintegerYes
    data.to.overall.sentiment_countsobjectYes
    data.to.overall.sentiment_counts.[key]integerNoValue for each key.
    data.to.overall.valid_answersintegerYes
    data.to.overall.valid_prompt_versionsintegerYes
    data.to.overall.visibility_scorenumber | nullYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Get Rolluprollup

    Open this request with Python and TypeScript examples

    • Query view is rollup. Default is report.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    monthquerystring | nullNo
    enginequerystring | nullNo
    ai_searchquerystring | nullNoThe AI search product the answer came from, such as google_ai_overviews.
    viewquery"rollup"Yes

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/reports" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode 'view=rollup'

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_countintegerYes
    data.brandsarray of objectYes
    data.brands[].answers_with_citationsintegerYes
    data.brands[].brand_idstring (uuid)Yes
    data.brands[].classified_answersintegerYes
    data.brands[].gapsobjectYes
    data.brands[].gaps.[key]integerNoValue for each key.
    data.brands[].mean_recorded_ranknumber | nullYes
    data.brands[].mentionsintegerYes
    data.brands[].monthstring | nullYes
    data.brands[].namestringYes
    data.brands[].owned_citation_answersintegerYes
    data.brands[].ranked_answersintegerYes
    data.brands[].scheduled_samplesintegerYes
    data.brands[].sentiment_countsobjectYes
    data.brands[].sentiment_counts.[key]integerNoValue for each key.
    data.brands[].valid_answersintegerYes
    data.brands[].valid_prompt_versionsintegerYes
    data.brands[].visibility_scorenumber | nullYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    PATCH /v2/reports

    Create or revoke a report share link

    Createshare_link_create

    Open this request with Python and TypeScript examples

    • Body section is share_link_create.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    brands:write, analytics:read
    Roles
    editor, owner, service
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    Idempotency-KeyheaderstringYes

    Request body

    {
      "brand_id": "00000000-0000-4000-8000-000000000001",
      "month": "2026-11",
      "section": "share_link_create"
    }
    Request body fields 1
    NameTypeRequiredDescription
    brand_idstring (uuid)Yes
    expires_in_daysintegerNo
    monthstringYes
    section"share_link_create"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X PATCH "$AEO_API_BASE_URL/v2/reports" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 201

    Created

    application/json

    Example generated from the response schema.

    {
      "data": {
        "share_id": "00000000-0000-4000-8000-000000000001",
        "share_path": "example",
        "expires_at": "2026-01-01T00:00:00Z"
      },
      "meta": {
        "request_id": "00000000-0000-4000-8000-000000000001",
        "as_of": "2026-01-01T00:00:00Z"
      }
    }
    HTTP 201 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.expires_atstring (date-time)Yes
    data.share_idstring (uuid)Yes
    data.share_pathstring (uri-reference)Yes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.

    Errors

    Revokeshare_link_revoke

    Open this request with Python and TypeScript examples

    • Body section is share_link_revoke.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    brands:write
    Roles
    editor, owner, service
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    The contract lists no fields for this section.

    Request body

    {
      "brand_id": "00000000-0000-4000-8000-000000000001",
      "section": "share_link_revoke",
      "share_id": "00000000-0000-4000-8000-000000000001"
    }
    Request body fields 1
    NameTypeRequiredDescription
    brand_idstring (uuid)Yes
    section"share_link_revoke"Yes
    share_idstring (uuid)Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X PATCH "$AEO_API_BASE_URL/v2/reports" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 204

    No content

    This response has no body.

    Errors

    GET /v2/runs

    List managed runs or saved checks

    List Runsmanaged

    Open this request with Python and TypeScript examples

    • Query view is managed. Default is managed.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    collections:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idquerystring (uuid)Yes
    cursorquerystring | nullNo
    limitqueryintegerNo
    viewquery"managed"No

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/runs" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode "brand_id=$BRAND_ID" \
      --data-urlencode 'view=managed'

    Responses

    HTTP 200

    Successful Response

    application/json

    Example generated from the response schema.

    {
      "data": [],
      "meta": {}
    }
    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataarray of objectYesThe requested result. See the fields below for its contents.
    data[].brand_idstringYes
    data[].charged_creditsintegerYes
    data[].check_idstring | nullYes
    data[].check_urlstring | nullYes
    data[].citation_status"in_progress" | "completed"NoCitation preparation status for this run, when applicable.
    data[].created_atstringYes
    data[].estimated_creditsintegerYes
    data[].failure_reasonsarray of "access_restricted" | "limit_reached" | "input_missing" | "approval_expired" | "cancelled" | "check_failed" | "check_incomplete"Yes
    data[].hold_reasonsarray of "retry_pending" | "under_review"Yes
    data[].idstringNo
    data[].phasestring | nullYes
    data[].progressobjectYes
    data[].progress.by_locationarray of objectNo
    data[].progress.by_location[].by_sourcearray of objectConditional
    data[].progress.by_location[].completed_stepsintegerConditional
    data[].progress.by_location[].expected_stepsintegerConditional
    data[].progress.by_location[].location_idstring (uuid)Conditional
    data[].progress.by_sourcearray of objectYes
    data[].progress.completed_stepsintegerYes
    data[].progress.expected_stepsintegerYes
    data[].prompt_set_revisionstringYes
    data[].released_creditsintegerYes
    data[].report_idstring | nullYes
    data[].report_status"pending" | "ready" | "not_available"Yes
    data[].report_urlstring | nullYes
    data[].reserved_creditsintegerYes
    data[].run_idstringYes
    data[].statusstringYes
    data[].updated_atstringYes
    data[].v2_run_idstringNo
    data[].websitestring | nullYes
    metaobjectYesInformation about this response, including any warnings or pagination details.

    Errors

    List Checkssaved_checks

    Open this request with Python and TypeScript examples

    • Query view is saved_checks. Default is managed.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idquerystring (uuid)Yes
    limitqueryintegerNo
    offsetqueryintegerNo
    viewquery"saved_checks"Yes

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/runs" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode "brand_id=$BRAND_ID" \
      --data-urlencode 'view=saved_checks'

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.checksarray of objectYes
    data.checks[].idstring (uuid)No
    data.checks[].v2_run_idstringNo
    data.next_offsetinteger | nullYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    POST /v2/runs

    Start a workflow or get an estimate

    Choose the operation with `workflow`. Set `estimate` to `true` to quote a workflow that supports estimates. An estimate starts no run and reserves no credits. Omit `estimate` or set it to `false` to start the workflow. Set `max_units` to cap the credits for workflows that accept it. Collect answers in three calls. Use `POST /v2/brands` to create a brand with inline prompts. Start `collect` with the returned `prompt_ids` and a `max_units` cap. Read the result with `GET /v2/runs/{run_id}`. The `collect` workflow has no estimate. Run a managed report in four calls when brand creation includes an enabled schedule. Create the brand, then request a `managed` estimate using the schedule's `website`. Start the run with the returned `estimate_fingerprint` and `prompt_set_revision`, then read the run. If brand creation omitted the enabled schedule, save a prompt set with `PATCH /v2/prompts` and `action: set` before requesting the estimate.

    Collect or cancel workestimate_collect

    Open this request with Python and TypeScript examples

    • Body workflow is collect.
    • Body estimate is true. Default is false.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    collections:write
    Roles
    editor, owner, service
    Plans
    Optimizer, Analyzer
    Credits
    The estimate uses zero credits.
    Billing access
    Required

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    Idempotency-KeyheaderstringYesFor 7 days, sending the same key and body for the same account and operation returns the original response. Changing the body for that key returns HTTP 409.

    Request body

    {
      "answer_mode": "standard",
      "brand_id": "00000000-0000-4000-8000-000000000001",
      "estimate": true,
      "market": {
        "country": "US",
        "language": "example"
      },
      "max_units": 0,
      "prompt_ids": [
        "00000000-0000-4000-8000-000000000001"
      ],
      "sources": [
        {
          "mode": "ui_normal",
          "platform": "chatgpt"
        }
      ],
      "workflow": "collect"
    }
    Request body fields 1
    NameTypeRequiredDescription
    all_locationsbooleanNo
    allow_country_levelbooleanNoAllow a country-level answer when the source cannot apply the requested location.
    answer_mode"standard" | "new"NoUse standard for the normal answer or new to request a new answer.
    brand_idstring (uuid)Yes
    estimatetrueYes
    location_idsarray of string (uuid)No
    marketobjectYes
    market.citystring | null | nullNo
    market.countrystringYes
    market.languagestringYes
    market.latitudenumber | nullNo
    market.location_idstring (uuid) | nullNo
    market.longitudenumber | nullNo
    market.postal_codestring | nullNo
    market.regionstring | null | nullNo
    max_unitsintegerNo
    prompt_idsarray of string (uuid)Yes
    repeat_countintegerNo
    sourcesarray of objectYes
    sources[].device"desktop" | "mobile" | "unknown"No
    sources[].mode"ui_normal" | "ui_search" | "api_normal" | "api_web" | "ai_mode" | "ai_overview" | "organic_search"Yes
    sources[].platform"chatgpt" | "gemini" | "claude" | "perplexity" | "google" | "bing" | "brave" | "meta_ai" | "grok" | "universal"Yes
    sources[].providerstringNoOptional source label for the selected platform and mode. An unsupported combination is rejected before the job starts.
    workflow"collect"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X POST "$AEO_API_BASE_URL/v2/runs" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Collection credit estimate.

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.answer_countintegerYes
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.eligible_enginesarray of objectYes
    data.eligible_engines[].sourceobjectYes
    data.eligible_engines[].unenforced_controlsarray of stringYes
    data.estimated_creditsintegerYesThe expected credit cost for this selection.
    data.location_totalsarray of objectNo
    data.location_totals[].eligible_enginesarray of objectNo
    data.location_totals[].eligible_engines[].sourceobjectConditional
    data.location_totals[].eligible_engines[].unenforced_controlsarray of stringConditional
    data.location_totals[].estimated_creditsintegerConditional
    data.location_totals[].location_idstring (uuid)Conditional
    data.location_totals[].marketobjectConditional
    data.location_totals[].market.citystring | null | nullNo
    data.location_totals[].market.countrystringConditional
    data.location_totals[].market.languagestringConditional
    data.location_totals[].market.latitudenumber | nullNo
    data.location_totals[].market.location_idstring (uuid)No
    data.location_totals[].market.longitudenumber | nullNo
    data.location_totals[].market.postal_codestring | nullNo
    data.location_totals[].market.regionstring | null | nullNo
    data.location_totals[].maximum_creditsintegerConditional
    data.location_totals[].prompt_countintegerConditional
    data.maximum_creditsintegerYesThe upper credit estimate for this selection.
    data.prompt_countintegerYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Start a bounded authorized website auditaudit

    Open this request with Python and TypeScript examples

    • Body workflow is audit.
    • Body estimate is false. Default is false.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    audits:write
    Roles
    editor, owner, service
    Plans
    Optimizer, Analyzer
    Credits
    This operation can use credits.
    Billing access
    Required

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    Idempotency-KeyheaderstringYesFor 7 days, sending the same key and body for the same account and operation returns the original response. Changing the body for that key returns HTTP 409.

    Request body

    {
      "brand_id": "00000000-0000-4000-8000-000000000001",
      "estimate": false,
      "max_pages": 100,
      "max_units": 1,
      "types": [
        "technical"
      ],
      "urls": [
        "https://example.com/evidence"
      ],
      "workflow": "audit"
    }
    Request body fields 1
    NameTypeRequiredDescription
    brand_idstring (uuid)Yes
    checksarray of "crawler_access" | "schema_consistency" | "business_facts" | nullNoAdditional audit checks to run.
    estimatefalseNo
    listing_urlsarray of stringNoPublic listing URLs to compare with the profile.
    location_idsarray of string (uuid)NoBrand locations to include in the comparisons.
    max_pagesintegerYes
    max_unitsintegerYes
    profile"instant" | "detailed"No
    typesarray of "technical" | "content" | "agent"Yes
    urlsarray of string (uri)Yes
    workflow"audit"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X POST "$AEO_API_BASE_URL/v2/runs" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 202

    Start a bounded authorized website audit result.

    HTTP 202 headers
    NameTypeRequiredDescription
    Locationstring (uri)NoAuthenticated polling URI returned in data.poll_url.
    X-RateLimit-LimitintegerNoRequests in rate window.
    X-RateLimit-RemainingintegerNoRemaining request tokens.
    X-RateLimit-ResetintegerNoUTC Unix seconds when window resets.
    X-Request-Idstring (uuid)NoTrace identifier.
    X-Usage-UnitsintegerNoCU charged by this response; GET and account/usage always zero.

    application/json

    {
      "data": {
        "billed_units": 0,
        "created_at": "2026-11-06T00:00:00Z",
        "error": null,
        "estimated_units": 0,
        "id": "audit:00000000-0000-4000-8000-000000000001",
        "kind": "audit",
        "poll_url": "https://api.aeoapi.dev/v2/runs/audit:00000000-0000-4000-8000-000000000001",
        "progress": 0,
        "reserved_units": 0,
        "result": null,
        "revision": 1,
        "state": "queued",
        "updated_at": "2026-11-06T00:00:00Z",
        "v2_run_id": "audit:00000000-0000-4000-8000-000000000001"
      },
      "meta": {
        "as_of": "2026-11-06T00:00:00Z",
        "collected_at": null,
        "next_cursor": null,
        "next_refresh_at": null,
        "request_id": "00000000-0000-4000-8000-000000000001",
        "rights_filtered": false,
        "schema_version": "1.0",
        "stale": false,
        "warnings": []
      }
    }
    HTTP 202 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.billed_unitsintegerYesThe credits charged for this work.
    data.created_atstring (date-time)Yes
    data.errorobject | nullYes
    data.error.code"invalid_request" | "unauthenticated" | "quota_exceeded" | "forbidden" | "not_found" | "conflict" | "precondition_failed" | "validation_error" | "rate_limited" | "source_pending" | "feature_not_offered" | "internal_error"Conditional
    data.error.duplicate_ofstring (uuid)NoID of your existing prompt.
    data.error.field_errorsarray of objectNo
    data.error.field_errors[].fieldstring | nullConditional
    data.error.field_errors[].messagestringConditional
    data.error.messagestringConditional
    data.error.request_idstring (uuid)Conditional
    data.error.retryablebooleanConditional
    data.error.similar_promptsarray of objectNoOther matching prompts in your library.
    data.error.similar_prompts[].prompt_idstring (uuid)Conditional
    data.estimated_unitsintegerYes
    data.idstringYes
    data.kind"collection" | "prompt_generation" | "deletion" | "audit" | "optimization"Yes
    data.phase"researching" | "drafting" | "validating" | "collecting" | "analyzing" | "exporting" | "purging" | nullNo
    data.poll_urlstring (uri)YesSend an authenticated GET request to this URL to read the current result.
    data.progressnumberYes
    data.reserved_unitsintegerYesCredits held for the run.
    data.resultobject | object | object | object | object | nullYes
    data.result.acceptedintegerConditional
    data.result.answersarray of objectNo
    data.result.answers[].answer_textstringConditional
    data.result.answers[].answer_text_truncatedbooleanConditional
    data.result.answers[].brand_citedbooleanConditional
    data.result.answers[].brand_mentionedboolean | nullConditional
    data.result.answers[].citationsarray of objectConditional
    data.result.answers[].citations[].orderintegerConditional
    data.result.answers[].citations[].urlstringConditional
    data.result.answers[].observation_idstringConditional
    data.result.evidence_cursorstring | nullConditional
    data.result.failedintegerConditional
    data.result.kind"collection"Conditional
    data.result.observation_idsarray of string (uuid)Conditional
    data.result.observationsarray of objectNo
    data.result.observations[].applied_locationobject | nullConditional
    data.result.observations[].applied_location.citystring | nullNo
    data.result.observations[].applied_location.countrystring | nullNo
    data.result.observations[].applied_location.granularity"country" | "region" | "city" | "postal" | "coordinates"Conditional
    data.result.observations[].applied_location.latitudenumber | nullNo
    data.result.observations[].applied_location.longitudenumber | nullNo
    data.result.observations[].applied_location.postal_codestring | nullNo
    data.result.observations[].applied_location.regionstring | nullNo
    data.result.observations[].observation_idstring (uuid)Conditional
    data.result.detailsarray of objectNo
    data.result.details[].rationalestringConditional
    data.result.details[].suggestion_indexintegerConditional
    data.result.details[].template_versionstringConditional
    data.result.details[].warningsarray of stringConditional
    data.result.kind"prompt_generation"Conditional
    data.result.outcomeobjectNoExplains why the result contains no suggestions.
    data.result.outcome.reason"no_eligible_candidates" | "web_evidence_missing"ConditionalWhether no candidate qualified or usable web evidence was missing.
    data.result.outcome.web_evidence_usedbooleanConditionalWhether the generation received a reply with confirmed web activity.
    data.result.suggestionsarray of objectConditional
    data.result.suggestions[].action"create"Conditional
    data.result.suggestions[].allow_similarbooleanNoSave the prompt even if you already track the same question or a differently worded question with the same meaning.
    data.result.suggestions[].brand_idstring (uuid) | nullNo
    data.result.suggestions[].category_idsarray of string | nullConditional
    data.result.suggestions[].intent"discovery" | "recommendation" | "evaluation" | "pricing" | "comparison" | "alternatives" | "use_case" | "transaction" | "local" | "troubleshooting" | "trust" | "informational"Conditional
    data.result.suggestions[].marketobjectConditional
    data.result.suggestions[].market.citystring | null | nullNo
    data.result.suggestions[].market.countrystringConditional
    data.result.suggestions[].market.languagestringConditional
    data.result.suggestions[].market.regionstring | null | nullNo
    data.result.suggestions[].tagsarray of string | nullNo
    data.result.suggestions[].textstringConditional
    data.result.backup_expiry_atstring (date-time) | nullConditional
    data.result.kind"deletion"Conditional
    data.result.purgedbooleanConditional
    data.result.resource_idstring (uuid)Conditional
    data.result.retained_record_reasonsarray of stringConditional
    data.result.agent_readinessobjectNoOur defined website access criteria for AI agents at checked_at (not a universal AI-readiness standard; no indexing, ranking, citation or answer outcome is measured).
    data.result.agent_readiness.checked_atstring (date-time)Conditional
    data.result.agent_readiness.checksarray of objectConditional
    data.result.agent_readiness.checks[].assessment"verified" | "detected" | "not_detected" | "not_assessed"No
    data.result.agent_readiness.checks[].category"core" | "robots" | "content" | "discovery" | "protocol"Conditional
    data.result.agent_readiness.checks[].evidencearray of objectConditional
    data.result.agent_readiness.checks[].evidence[].methodstringConditional
    data.result.agent_readiness.checks[].evidence[].observedstringConditional
    data.result.agent_readiness.checks[].evidence[].urlstringConditional
    data.result.agent_readiness.checks[].idstringConditional
    data.result.agent_readiness.checks[].labelstringConditional
    data.result.agent_readiness.checks[].limitationsarray of stringConditional
    data.result.agent_readiness.checks[].recommendationstring | nullConditional
    data.result.agent_readiness.checks[].referencestringNo
    data.result.agent_readiness.checks[].scoredbooleanConditional
    data.result.agent_readiness.checks[].spec_versionstringNo
    data.result.agent_readiness.checks[].status"pass" | "fail" | "unknown" | "not_applicable"Conditional
    data.result.agent_readiness.limitationsarray of stringConditional
    data.result.agent_readiness.scope"essential" | "full"Conditional
    data.result.agent_readiness.scoreobjectConditionaleligible = passed + failed + unknown over applicable scored checks; value = 100 * passed / (passed + failed), or null when no scored check was conclusive.
    data.result.agent_readiness.score.eligibleintegerConditional
    data.result.agent_readiness.score.failedintegerConditional
    data.result.agent_readiness.score.passedintegerConditional
    data.result.agent_readiness.score.unknownintegerConditional
    data.result.agent_readiness.score.valuenumber | nullConditional
    data.result.agent_readiness.status"completed" | "partial" | "not_assessed"Conditional
    data.result.agent_readiness.versionstringConditional
    data.result.budget_exhaustedbooleanNo
    data.result.business_factsobjectNo
    data.result.business_facts.locationsarray of objectConditional
    data.result.business_facts.locations[].location_idstring (uuid) | nullConditional
    data.result.business_facts.locations[].scoreobjectConditional
    data.result.business_facts.locations[].score.fieldsobjectConditional
    data.result.business_facts.locations[].score.fields.[key]number | nullNoValue for each key.
    data.result.business_facts.locations[].score.matched_fieldsintegerConditional
    data.result.business_facts.locations[].score.mismatched_fieldsintegerConditional
    data.result.business_facts.locations[].score.overallnumber | nullConditional
    data.result.business_facts.omitted_sourcesintegerConditional
    data.result.business_facts.scoreobjectConditional
    data.result.business_facts.score.fieldsobjectConditional
    data.result.business_facts.score.fields.[key]number | nullNoValue for each key.
    data.result.business_facts.score.matched_fieldsintegerConditional
    data.result.business_facts.score.mismatched_fieldsintegerConditional
    data.result.business_facts.score.overallnumber | nullConditional
    data.result.business_facts.sourcesarray of objectConditional
    data.result.business_facts.sources[].fieldsarray of objectConditional
    data.result.business_facts.sources[].fields[].expectedstring | array of string | object | nullConditional
    data.result.business_facts.sources[].fields[].expected.[key]string | number | array of stringNoValue for each key.
    data.result.business_facts.sources[].fields[].fieldstringConditional
    data.result.business_facts.sources[].fields[].observedstring | array of string | object | nullConditional
    data.result.business_facts.sources[].fields[].observed.[key]string | number | array of stringNoValue for each key.
    data.result.business_facts.sources[].fields[].status"matched" | "mismatched" | "not_found"Conditional
    data.result.business_facts.sources[].final_urlstring | nullConditional
    data.result.business_facts.sources[].http_statusinteger | nullConditional
    data.result.business_facts.sources[].location_idstring (uuid) | nullConditional
    data.result.business_facts.sources[].source"supplied" | "profile" | "citation"Conditional
    data.result.business_facts.sources[].status"matched" | "mismatched" | "not_found" | "could_not_fetch"Conditional
    data.result.business_facts.sources[].urlstringConditional
    data.result.completeness"preliminary" | "partial" | "complete" | "blocked"No
    data.result.content_coverage_notestringNo
    data.result.crawler_accessobjectNo
    data.result.crawler_access.assessedintegerConditional
    data.result.crawler_access.eligibleintegerConditional
    data.result.crawler_access.notestringConditional
    data.result.crawler_access.pagesarray of objectConditional
    data.result.crawler_access.pages[].agentsarray of objectConditional
    data.result.crawler_access.pages[].agents[].access"allowed" | "blocked_by_robots" | "blocked_by_firewall" | "challenged" | "rate_limited" | "unknown"Conditional
    data.result.crawler_access.pages[].agents[].agentstringConditional
    data.result.crawler_access.pages[].agents[].evidenceobjectConditional
    data.result.crawler_access.pages[].agents[].evidence.body_size_rationumber | nullConditional
    data.result.crawler_access.pages[].agents[].evidence.browser_statusinteger | nullConditional
    data.result.crawler_access.pages[].agents[].evidence.crawler_statusinteger | nullConditional
    data.result.crawler_access.pages[].agents[].evidence.marker"challenge_page" | "block_page" | "block_redirect" | "empty_or_short_body" | nullConditional
    data.result.crawler_access.pages[].agents[].purpose"search" | "user_fetch" | "training"Conditional
    data.result.crawler_access.pages[].agents[].robots_access"allowed" | "blocked" | nullNoWhether robots.txt allows this crawler on this page. HTTP 4xx responses other than 429 mean allowed. The value is null if the rules could not be checked.
    data.result.crawler_access.pages[].agents[].visibility_riskbooleanConditional
    data.result.crawler_access.pages[].urlstringConditional
    data.result.crawler_access.scorenumber | nullConditional
    data.result.findingsarray of objectConditional
    data.result.findings[].codestring | nullConditional
    data.result.findings[].confidencenumberConditional
    data.result.findings[].evidencestringConditional
    data.result.findings[].idstring (uuid)Conditional
    data.result.findings[].recommendationstringConditional
    data.result.findings[].severity"critical" | "high" | "medium" | "low" | "info"Conditional
    data.result.findings[].urlstring (uri)Conditional
    data.result.findings[].verificationstringConditional
    data.result.first_result_atstring (date-time) | nullNo
    data.result.kind"audit"Conditional
    data.result.next_cursorstring | nullConditional
    data.result.pages_billedintegerNoPages counted toward the final charge.
    data.result.pages_checkedintegerConditional
    data.result.pages_discoveredintegerNo
    data.result.pages_skippedintegerConditional
    data.result.profile"instant" | "detailed"No
    data.result.schema_consistencyobjectNo
    data.result.schema_consistency.pagesarray of objectConditional
    data.result.schema_consistency.pages[].fieldsarray of objectConditional
    data.result.schema_consistency.pages[].fields[].basis"visible" | "profile"Conditional
    data.result.schema_consistency.pages[].fields[].expectedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].fields[].expected.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].fields[].fieldstringConditional
    data.result.schema_consistency.pages[].fields[].observedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].fields[].observed.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].fields[].status"matched" | "mismatched" | "not_found"Conditional
    data.result.schema_consistency.pages[].issuesarray of objectConditional
    data.result.schema_consistency.pages[].issues[].code"missing_local_business" | "missing_required_properties" | "differs_from_visible" | "differs_from_profile" | "conflicting_blocks"Conditional
    data.result.schema_consistency.pages[].issues[].comparedarray of object | object | objectConditional
    data.result.schema_consistency.pages[].issues[].compared[].expectedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].issues[].compared[].expected.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].issues[].compared[].fieldstringConditional
    data.result.schema_consistency.pages[].issues[].compared[].observedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].issues[].compared[].observed.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].issues[].compared[].basis"visible" | "profile"Conditional
    data.result.schema_consistency.pages[].issues[].compared[].status"matched" | "mismatched" | "not_found"Conditional
    data.result.schema_consistency.pages[].issues[].fieldsarray of stringConditional
    data.result.schema_consistency.pages[].location_idstring (uuid) | nullConditional
    data.result.schema_consistency.pages[].markup"json_ld" | "microdata" | nullConditional
    data.result.schema_consistency.pages[].schema_typestring | nullConditional
    data.result.schema_consistency.pages[].urlstringConditional
    data.result.schema_consistency.pages_with_issuesintegerConditional
    data.result.schema_consistency.scorenumber | nullConditional
    data.result.skipped_reasonsarray of stringNo
    data.result.approval_expires_atstring (date-time) | nullConditional
    data.result.approval_idstring (uuid) | nullConditional
    data.result.artifact_download_urlstring (uri) | nullConditional
    data.result.artifact_sha256string | nullConditional
    data.result.diffstring | nullConditional
    data.result.external_revisionstring | null | nullConditional
    data.result.kind"optimization"Conditional
    data.result.syntheticbooleanNo
    data.result.target_urlstring (uri)Conditional
    data.result.verification_findingsarray of objectConditional
    data.result.verification_findings[].codestring | nullConditional
    data.result.verification_findings[].confidencenumberConditional
    data.result.verification_findings[].evidencestringConditional
    data.result.verification_findings[].idstring (uuid)Conditional
    data.result.verification_findings[].recommendationstringConditional
    data.result.verification_findings[].severity"critical" | "high" | "medium" | "low" | "info"Conditional
    data.result.verification_findings[].urlstring (uri)Conditional
    data.result.verification_findings[].verificationstringConditional
    data.revisionintegerYes
    data.state"queued" | "running" | "awaiting_approval" | "approved" | "executing" | "verifying" | "completed" | "partial" | "in_progress" | "cancelled" | "rejected" | "stale_approval"Yes
    data.updated_atstring (date-time)Yes
    data.v2_run_idstringNoThe prefixed run ID accepted by GET /v2/runs/{run_id}.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Collect or cancel workcollect

    Open this request with Python and TypeScript examples

    • Body workflow is collect.
    • Body estimate is false. Default is false.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    collections:write
    Roles
    editor, owner, service
    Plans
    Optimizer, Analyzer
    Credits
    This operation can use credits.
    Billing access
    Required

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    Idempotency-KeyheaderstringYesFor 7 days, sending the same key and body for the same account and operation returns the original response. Changing the body for that key returns HTTP 409.

    Request body

    {
      "answer_mode": "standard",
      "brand_id": "00000000-0000-4000-8000-000000000001",
      "estimate": false,
      "market": {
        "country": "US",
        "language": "en"
      },
      "max_units": 1,
      "prompt_ids": [
        "00000000-0000-4000-8000-000000000001"
      ],
      "sources": [
        {
          "mode": "ui_normal",
          "platform": "chatgpt"
        }
      ],
      "workflow": "collect"
    }
    Request body fields 1
    NameTypeRequiredDescription
    all_locationsbooleanNo
    allow_country_levelbooleanNoAllow a country-level answer when the source cannot apply the requested location.
    answer_mode"standard" | "new"NoUse standard for the normal answer or new to request a new answer.
    brand_idstring (uuid)Yes
    estimatefalseNo
    location_idsarray of string (uuid)No
    marketobjectYes
    market.citystring | null | nullNo
    market.countrystringYes
    market.languagestringYes
    market.latitudenumber | nullNo
    market.location_idstring (uuid) | nullNo
    market.longitudenumber | nullNo
    market.postal_codestring | nullNo
    market.regionstring | null | nullNo
    max_unitsintegerYes
    prompt_idsarray of string (uuid)Yes
    repeat_countintegerNo
    sourcesarray of objectYes
    sources[].device"desktop" | "mobile" | "unknown"No
    sources[].mode"ui_normal" | "ui_search" | "api_normal" | "api_web" | "ai_mode" | "ai_overview" | "organic_search"Yes
    sources[].platform"chatgpt" | "gemini" | "claude" | "perplexity" | "google" | "bing" | "brave" | "meta_ai" | "grok" | "universal"Yes
    sources[].providerstringNoOptional source label for the selected platform and mode. An unsupported combination is rejected before the job starts.
    workflow"collect"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X POST "$AEO_API_BASE_URL/v2/runs" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 202

    Collect or cancel work result.

    HTTP 202 headers
    NameTypeRequiredDescription
    Locationstring (uri)NoAuthenticated polling URI returned in data.poll_url.
    X-RateLimit-LimitintegerNoRequests in rate window.
    X-RateLimit-RemainingintegerNoRemaining request tokens.
    X-RateLimit-ResetintegerNoUTC Unix seconds when window resets.
    X-Request-Idstring (uuid)NoTrace identifier.
    X-Usage-UnitsintegerNoCU charged by this response; GET and account/usage always zero.

    application/json

    {
      "data": {
        "billed_units": 0,
        "created_at": "2026-11-06T00:00:00Z",
        "error": null,
        "estimated_units": 0,
        "id": "job:00000000-0000-4000-8000-000000000001",
        "kind": "collection",
        "poll_url": "https://api.aeoapi.dev/v2/runs/job:00000000-0000-4000-8000-000000000001",
        "progress": 0,
        "reserved_units": 0,
        "result": null,
        "revision": 1,
        "state": "queued",
        "updated_at": "2026-11-06T00:00:00Z",
        "v2_run_id": "job:00000000-0000-4000-8000-000000000001"
      },
      "meta": {
        "as_of": "2026-11-06T00:00:00Z",
        "collected_at": null,
        "next_cursor": null,
        "next_refresh_at": null,
        "request_id": "00000000-0000-4000-8000-000000000001",
        "rights_filtered": false,
        "schema_version": "1.0",
        "stale": false,
        "warnings": []
      }
    }
    HTTP 202 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.billed_unitsintegerYesThe credits charged for this work.
    data.created_atstring (date-time)Yes
    data.errorobject | nullYes
    data.error.code"invalid_request" | "unauthenticated" | "quota_exceeded" | "forbidden" | "not_found" | "conflict" | "precondition_failed" | "validation_error" | "rate_limited" | "source_pending" | "feature_not_offered" | "internal_error"Conditional
    data.error.duplicate_ofstring (uuid)NoID of your existing prompt.
    data.error.field_errorsarray of objectNo
    data.error.field_errors[].fieldstring | nullConditional
    data.error.field_errors[].messagestringConditional
    data.error.messagestringConditional
    data.error.request_idstring (uuid)Conditional
    data.error.retryablebooleanConditional
    data.error.similar_promptsarray of objectNoOther matching prompts in your library.
    data.error.similar_prompts[].prompt_idstring (uuid)Conditional
    data.estimated_unitsintegerYes
    data.idstringYes
    data.kind"collection" | "prompt_generation" | "deletion" | "audit" | "optimization"Yes
    data.phase"researching" | "drafting" | "validating" | "collecting" | "analyzing" | "exporting" | "purging" | nullNo
    data.poll_urlstring (uri)YesSend an authenticated GET request to this URL to read the current result.
    data.progressnumberYes
    data.reserved_unitsintegerYesCredits held for the run.
    data.resultobject | object | object | object | object | nullYes
    data.result.acceptedintegerConditional
    data.result.answersarray of objectNo
    data.result.answers[].answer_textstringConditional
    data.result.answers[].answer_text_truncatedbooleanConditional
    data.result.answers[].brand_citedbooleanConditional
    data.result.answers[].brand_mentionedboolean | nullConditional
    data.result.answers[].citationsarray of objectConditional
    data.result.answers[].citations[].orderintegerConditional
    data.result.answers[].citations[].urlstringConditional
    data.result.answers[].observation_idstringConditional
    data.result.evidence_cursorstring | nullConditional
    data.result.failedintegerConditional
    data.result.kind"collection"Conditional
    data.result.observation_idsarray of string (uuid)Conditional
    data.result.observationsarray of objectNo
    data.result.observations[].applied_locationobject | nullConditional
    data.result.observations[].applied_location.citystring | nullNo
    data.result.observations[].applied_location.countrystring | nullNo
    data.result.observations[].applied_location.granularity"country" | "region" | "city" | "postal" | "coordinates"Conditional
    data.result.observations[].applied_location.latitudenumber | nullNo
    data.result.observations[].applied_location.longitudenumber | nullNo
    data.result.observations[].applied_location.postal_codestring | nullNo
    data.result.observations[].applied_location.regionstring | nullNo
    data.result.observations[].observation_idstring (uuid)Conditional
    data.result.detailsarray of objectNo
    data.result.details[].rationalestringConditional
    data.result.details[].suggestion_indexintegerConditional
    data.result.details[].template_versionstringConditional
    data.result.details[].warningsarray of stringConditional
    data.result.kind"prompt_generation"Conditional
    data.result.outcomeobjectNoExplains why the result contains no suggestions.
    data.result.outcome.reason"no_eligible_candidates" | "web_evidence_missing"ConditionalWhether no candidate qualified or usable web evidence was missing.
    data.result.outcome.web_evidence_usedbooleanConditionalWhether the generation received a reply with confirmed web activity.
    data.result.suggestionsarray of objectConditional
    data.result.suggestions[].action"create"Conditional
    data.result.suggestions[].allow_similarbooleanNoSave the prompt even if you already track the same question or a differently worded question with the same meaning.
    data.result.suggestions[].brand_idstring (uuid) | nullNo
    data.result.suggestions[].category_idsarray of string | nullConditional
    data.result.suggestions[].intent"discovery" | "recommendation" | "evaluation" | "pricing" | "comparison" | "alternatives" | "use_case" | "transaction" | "local" | "troubleshooting" | "trust" | "informational"Conditional
    data.result.suggestions[].marketobjectConditional
    data.result.suggestions[].market.citystring | null | nullNo
    data.result.suggestions[].market.countrystringConditional
    data.result.suggestions[].market.languagestringConditional
    data.result.suggestions[].market.regionstring | null | nullNo
    data.result.suggestions[].tagsarray of string | nullNo
    data.result.suggestions[].textstringConditional
    data.result.backup_expiry_atstring (date-time) | nullConditional
    data.result.kind"deletion"Conditional
    data.result.purgedbooleanConditional
    data.result.resource_idstring (uuid)Conditional
    data.result.retained_record_reasonsarray of stringConditional
    data.result.agent_readinessobjectNoOur defined website access criteria for AI agents at checked_at (not a universal AI-readiness standard; no indexing, ranking, citation or answer outcome is measured).
    data.result.agent_readiness.checked_atstring (date-time)Conditional
    data.result.agent_readiness.checksarray of objectConditional
    data.result.agent_readiness.checks[].assessment"verified" | "detected" | "not_detected" | "not_assessed"No
    data.result.agent_readiness.checks[].category"core" | "robots" | "content" | "discovery" | "protocol"Conditional
    data.result.agent_readiness.checks[].evidencearray of objectConditional
    data.result.agent_readiness.checks[].evidence[].methodstringConditional
    data.result.agent_readiness.checks[].evidence[].observedstringConditional
    data.result.agent_readiness.checks[].evidence[].urlstringConditional
    data.result.agent_readiness.checks[].idstringConditional
    data.result.agent_readiness.checks[].labelstringConditional
    data.result.agent_readiness.checks[].limitationsarray of stringConditional
    data.result.agent_readiness.checks[].recommendationstring | nullConditional
    data.result.agent_readiness.checks[].referencestringNo
    data.result.agent_readiness.checks[].scoredbooleanConditional
    data.result.agent_readiness.checks[].spec_versionstringNo
    data.result.agent_readiness.checks[].status"pass" | "fail" | "unknown" | "not_applicable"Conditional
    data.result.agent_readiness.limitationsarray of stringConditional
    data.result.agent_readiness.scope"essential" | "full"Conditional
    data.result.agent_readiness.scoreobjectConditionaleligible = passed + failed + unknown over applicable scored checks; value = 100 * passed / (passed + failed), or null when no scored check was conclusive.
    data.result.agent_readiness.score.eligibleintegerConditional
    data.result.agent_readiness.score.failedintegerConditional
    data.result.agent_readiness.score.passedintegerConditional
    data.result.agent_readiness.score.unknownintegerConditional
    data.result.agent_readiness.score.valuenumber | nullConditional
    data.result.agent_readiness.status"completed" | "partial" | "not_assessed"Conditional
    data.result.agent_readiness.versionstringConditional
    data.result.budget_exhaustedbooleanNo
    data.result.business_factsobjectNo
    data.result.business_facts.locationsarray of objectConditional
    data.result.business_facts.locations[].location_idstring (uuid) | nullConditional
    data.result.business_facts.locations[].scoreobjectConditional
    data.result.business_facts.locations[].score.fieldsobjectConditional
    data.result.business_facts.locations[].score.fields.[key]number | nullNoValue for each key.
    data.result.business_facts.locations[].score.matched_fieldsintegerConditional
    data.result.business_facts.locations[].score.mismatched_fieldsintegerConditional
    data.result.business_facts.locations[].score.overallnumber | nullConditional
    data.result.business_facts.omitted_sourcesintegerConditional
    data.result.business_facts.scoreobjectConditional
    data.result.business_facts.score.fieldsobjectConditional
    data.result.business_facts.score.fields.[key]number | nullNoValue for each key.
    data.result.business_facts.score.matched_fieldsintegerConditional
    data.result.business_facts.score.mismatched_fieldsintegerConditional
    data.result.business_facts.score.overallnumber | nullConditional
    data.result.business_facts.sourcesarray of objectConditional
    data.result.business_facts.sources[].fieldsarray of objectConditional
    data.result.business_facts.sources[].fields[].expectedstring | array of string | object | nullConditional
    data.result.business_facts.sources[].fields[].expected.[key]string | number | array of stringNoValue for each key.
    data.result.business_facts.sources[].fields[].fieldstringConditional
    data.result.business_facts.sources[].fields[].observedstring | array of string | object | nullConditional
    data.result.business_facts.sources[].fields[].observed.[key]string | number | array of stringNoValue for each key.
    data.result.business_facts.sources[].fields[].status"matched" | "mismatched" | "not_found"Conditional
    data.result.business_facts.sources[].final_urlstring | nullConditional
    data.result.business_facts.sources[].http_statusinteger | nullConditional
    data.result.business_facts.sources[].location_idstring (uuid) | nullConditional
    data.result.business_facts.sources[].source"supplied" | "profile" | "citation"Conditional
    data.result.business_facts.sources[].status"matched" | "mismatched" | "not_found" | "could_not_fetch"Conditional
    data.result.business_facts.sources[].urlstringConditional
    data.result.completeness"preliminary" | "partial" | "complete" | "blocked"No
    data.result.content_coverage_notestringNo
    data.result.crawler_accessobjectNo
    data.result.crawler_access.assessedintegerConditional
    data.result.crawler_access.eligibleintegerConditional
    data.result.crawler_access.notestringConditional
    data.result.crawler_access.pagesarray of objectConditional
    data.result.crawler_access.pages[].agentsarray of objectConditional
    data.result.crawler_access.pages[].agents[].access"allowed" | "blocked_by_robots" | "blocked_by_firewall" | "challenged" | "rate_limited" | "unknown"Conditional
    data.result.crawler_access.pages[].agents[].agentstringConditional
    data.result.crawler_access.pages[].agents[].evidenceobjectConditional
    data.result.crawler_access.pages[].agents[].evidence.body_size_rationumber | nullConditional
    data.result.crawler_access.pages[].agents[].evidence.browser_statusinteger | nullConditional
    data.result.crawler_access.pages[].agents[].evidence.crawler_statusinteger | nullConditional
    data.result.crawler_access.pages[].agents[].evidence.marker"challenge_page" | "block_page" | "block_redirect" | "empty_or_short_body" | nullConditional
    data.result.crawler_access.pages[].agents[].purpose"search" | "user_fetch" | "training"Conditional
    data.result.crawler_access.pages[].agents[].robots_access"allowed" | "blocked" | nullNoWhether robots.txt allows this crawler on this page. HTTP 4xx responses other than 429 mean allowed. The value is null if the rules could not be checked.
    data.result.crawler_access.pages[].agents[].visibility_riskbooleanConditional
    data.result.crawler_access.pages[].urlstringConditional
    data.result.crawler_access.scorenumber | nullConditional
    data.result.findingsarray of objectConditional
    data.result.findings[].codestring | nullConditional
    data.result.findings[].confidencenumberConditional
    data.result.findings[].evidencestringConditional
    data.result.findings[].idstring (uuid)Conditional
    data.result.findings[].recommendationstringConditional
    data.result.findings[].severity"critical" | "high" | "medium" | "low" | "info"Conditional
    data.result.findings[].urlstring (uri)Conditional
    data.result.findings[].verificationstringConditional
    data.result.first_result_atstring (date-time) | nullNo
    data.result.kind"audit"Conditional
    data.result.next_cursorstring | nullConditional
    data.result.pages_billedintegerNoPages counted toward the final charge.
    data.result.pages_checkedintegerConditional
    data.result.pages_discoveredintegerNo
    data.result.pages_skippedintegerConditional
    data.result.profile"instant" | "detailed"No
    data.result.schema_consistencyobjectNo
    data.result.schema_consistency.pagesarray of objectConditional
    data.result.schema_consistency.pages[].fieldsarray of objectConditional
    data.result.schema_consistency.pages[].fields[].basis"visible" | "profile"Conditional
    data.result.schema_consistency.pages[].fields[].expectedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].fields[].expected.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].fields[].fieldstringConditional
    data.result.schema_consistency.pages[].fields[].observedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].fields[].observed.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].fields[].status"matched" | "mismatched" | "not_found"Conditional
    data.result.schema_consistency.pages[].issuesarray of objectConditional
    data.result.schema_consistency.pages[].issues[].code"missing_local_business" | "missing_required_properties" | "differs_from_visible" | "differs_from_profile" | "conflicting_blocks"Conditional
    data.result.schema_consistency.pages[].issues[].comparedarray of object | object | objectConditional
    data.result.schema_consistency.pages[].issues[].compared[].expectedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].issues[].compared[].expected.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].issues[].compared[].fieldstringConditional
    data.result.schema_consistency.pages[].issues[].compared[].observedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].issues[].compared[].observed.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].issues[].compared[].basis"visible" | "profile"Conditional
    data.result.schema_consistency.pages[].issues[].compared[].status"matched" | "mismatched" | "not_found"Conditional
    data.result.schema_consistency.pages[].issues[].fieldsarray of stringConditional
    data.result.schema_consistency.pages[].location_idstring (uuid) | nullConditional
    data.result.schema_consistency.pages[].markup"json_ld" | "microdata" | nullConditional
    data.result.schema_consistency.pages[].schema_typestring | nullConditional
    data.result.schema_consistency.pages[].urlstringConditional
    data.result.schema_consistency.pages_with_issuesintegerConditional
    data.result.schema_consistency.scorenumber | nullConditional
    data.result.skipped_reasonsarray of stringNo
    data.result.approval_expires_atstring (date-time) | nullConditional
    data.result.approval_idstring (uuid) | nullConditional
    data.result.artifact_download_urlstring (uri) | nullConditional
    data.result.artifact_sha256string | nullConditional
    data.result.diffstring | nullConditional
    data.result.external_revisionstring | null | nullConditional
    data.result.kind"optimization"Conditional
    data.result.syntheticbooleanNo
    data.result.target_urlstring (uri)Conditional
    data.result.verification_findingsarray of objectConditional
    data.result.verification_findings[].codestring | nullConditional
    data.result.verification_findings[].confidencenumberConditional
    data.result.verification_findings[].evidencestringConditional
    data.result.verification_findings[].idstring (uuid)Conditional
    data.result.verification_findings[].recommendationstringConditional
    data.result.verification_findings[].severity"critical" | "high" | "medium" | "low" | "info"Conditional
    data.result.verification_findings[].urlstring (uri)Conditional
    data.result.verification_findings[].verificationstringConditional
    data.revisionintegerYes
    data.state"queued" | "running" | "awaiting_approval" | "approved" | "executing" | "verifying" | "completed" | "partial" | "failed" | "cancelled" | "rejected" | "stale_approval"Yes
    data.updated_atstring (date-time)Yes
    data.v2_run_idstringNoThe prefixed run ID accepted by GET /v2/runs/{run_id}.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Explainexplain_visibility_change

    Open this request with Python and TypeScript examples

    • Body workflow is explain_visibility_change.
    • Body estimate is false. Default is false.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    The contract lists no fields for this section.

    Request body

    {
      "brand_id": "00000000-0000-4000-8000-000000000001",
      "estimate": false,
      "from_month": "2026-10",
      "to_month": "2026-11",
      "workflow": "explain_visibility_change"
    }
    Request body fields 1
    NameTypeRequiredDescription
    brand_idstring (uuid)Yes
    estimatefalseNo
    from_monthstringYes
    report_idstring (uuid) | nullNo
    to_monthstringYes
    workflow"explain_visibility_change"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X POST "$AEO_API_BASE_URL/v2/runs" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.afterobjectYes
    data.after.gapsobjectYes
    data.after.gaps.[key]integerNoValue for each key.
    data.after.mentionsintegerYes
    data.after.monthstringYes
    data.after.scheduled_samplesintegerYes
    data.after.valid_answersintegerYes
    data.beforeobjectYes
    data.before.gapsobjectYes
    data.before.gaps.[key]integerNoValue for each key.
    data.before.mentionsintegerYes
    data.before.monthstringYes
    data.before.scheduled_samplesintegerYes
    data.before.valid_answersintegerYes
    data.brand_idstringYesIdentifies the brand this result belongs to.
    data.changed_groupsintegerYes
    data.comparisonobjectYes
    data.comparison.current_onlyintegerYes
    data.comparison.matched_cohortsintegerYes
    data.comparison.mention_change_percentage_pointsnumber | nullYes
    data.comparison.previous_onlyintegerYes
    data.findingsarray of objectYes
    data.findings[].afterobjectYes
    data.findings[].after.mentionsintegerYes
    data.findings[].after.valid_answersintegerYes
    data.findings[].ai_searchstringYesThe AI search product the answer came from, such as google_ai_overviews.
    data.findings[].beforeobjectYes
    data.findings[].before.mentionsintegerYes
    data.findings[].before.valid_answersintegerYes
    data.findings[].change_percentage_pointsnumberYes
    data.findings[].comparison_set_versionstringYes
    data.findings[].evidenceobjectYes
    data.findings[].evidence.afterobject | nullYes
    data.findings[].evidence.after.brand_mentionedbooleanConditional
    data.findings[].evidence.after.cited_urlsarray of stringConditional
    data.findings[].evidence.after.excerptstringConditional
    data.findings[].evidence.after.excerpt_truncatedbooleanConditional
    data.findings[].evidence.after.mention_in_excerptbooleanConditional
    data.findings[].evidence.after.observation_idstringConditional
    data.findings[].evidence.after.originstring | nullConditional
    data.findings[].evidence.beforeobject | nullYes
    data.findings[].evidence.before.brand_mentionedbooleanConditional
    data.findings[].evidence.before.cited_urlsarray of stringConditional
    data.findings[].evidence.before.excerptstringConditional
    data.findings[].evidence.before.excerpt_truncatedbooleanConditional
    data.findings[].evidence.before.mention_in_excerptbooleanConditional
    data.findings[].evidence.before.observation_idstringConditional
    data.findings[].evidence.before.originstring | nullConditional
    data.findings[].findingstringYes
    data.findings[].finding_idstringYes
    data.findings[].prompt_idstringYes
    data.findings[].prompt_textstring | nullYes
    data.findings[].prompt_versionintegerYes
    data.findings[].sourceobjectYes
    data.report_idstringYes
    data.run_idstringYesIdentifies the run. Keep any prefix when using it in a request.
    data.summarystringYes
    data.usage_unitsintegerYes
    data.v2_run_idstringNoThe prefixed run ID accepted by GET /v2/runs/{run_id}.
    data.workflow"explain_visibility_change"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.

    Errors

    Start Generationeditorial_generation

    Open this request with Python and TypeScript examples

    • Body workflow is editorial_generation.
    • Body estimate is false. Default is false.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    optimizations:write, analytics:read
    Roles
    editor, owner, service
    Plans
    Optimizer
    Credits
    This operation can use credits.
    Billing access
    Required

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    Idempotency-KeyheaderstringYes

    Request body

    {
      "brand_id": "00000000-0000-4000-8000-000000000001",
      "draft_id": "00000000-0000-4000-8000-000000000001",
      "estimate": false,
      "expected_revision": 1,
      "max_units": 100,
      "quote_id": "qt_1001795737600AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
      "workflow": "editorial_generation"
    }
    Request body fields 1
    NameTypeRequiredDescription
    brand_idstring (uuid)Yes
    draft_idstring (uuid)Yes
    estimatefalseNo
    expected_revisionintegerYes
    max_unitsintegerYes
    quote_idstringYes
    workflow"editorial_generation"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X POST "$AEO_API_BASE_URL/v2/runs" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 202

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 202 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.billed_unitsintegerYesThe credits charged for this work.
    data.candidateobject | nullNo
    data.candidate.bodystringConditional
    data.candidate.claim_supportarray of objectConditional
    data.candidate.claim_support[].claim_textstringConditional
    data.candidate.claim_support[].passage_idstring (uuid)Conditional
    data.candidate.claim_support[].source_excerptstringConditional
    data.candidate.titlestringConditional
    data.draft_idstring (uuid)YesIdentifies the draft associated with this result.
    data.generation_idstring (uuid)Yes
    data.generator"model" | "model:live" | "model:synthetic" | nullNo
    data.quoteobjectYes
    data.quote.call_count1No
    data.quote.charge_unitsintegerYes
    data.quote.purposestringYes
    data.quote.reserve_unitsintegerYes
    data.reasonstring | nullNo
    data.source_revisionintegerYes
    data.state"queued" | "running" | "awaiting_approval" | "approved" | "executing" | "verifying" | "completed" | "partial" | "failed" | "cancelled" | "rejected" | "stale_approval"Yes
    data.v2_run_idstringNoThe prefixed run ID accepted by GET /v2/runs/{run_id}.
    metaobjectYesInformation about this response, including any warnings or pagination details.

    Errors

    Refresh Vitalspage_refresh

    Open this request with Python and TypeScript examples

    • Body workflow is page_refresh.
    • Body estimate is false. Default is false.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    audits:write
    Roles
    editor, owner, service
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    The contract lists no fields for this section.

    Request body

    {
      "brand_id": "00000000-0000-4000-8000-000000000001",
      "estimate": false,
      "url": "https://example.com/product",
      "workflow": "page_refresh"
    }
    Request body fields 1
    NameTypeRequiredDescription
    brand_idstring (uuid)Yes
    device"ALL" | "PHONE" | "DESKTOP" | "TABLET"No
    estimatefalseNo
    urlstringYes
    workflow"page_refresh"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X POST "$AEO_API_BASE_URL/v2/runs" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobject | objectYesThe requested result. See the fields below for its contents.
    data.all_vitals_goodboolean | nullConditional
    data.devicestringYes
    data.metricsobjectConditional
    data.metrics.[key]objectNoValue for each key.
    data.period_endstringConditional
    data.period_startstringConditional
    data.source"public_field_measurement" | "partner_field_measurement"Conditional
    data.urlstringYes
    data.status"insufficient_data"Conditional
    metaobjectYesInformation about this response, including any warnings or pagination details.

    Errors

    Check Citationscitation_check

    Open this request with Python and TypeScript examples

    • Body workflow is citation_check.
    • Body estimate is false. Default is false.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    audits:write, analytics:read
    Roles
    editor, owner, service
    Plans
    Optimizer, Analyzer
    Credits
    This operation can use credits.
    Billing access
    Required

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    Idempotency-KeyheaderstringYesFor 7 days, sending the same key and body for the same account and operation returns the original response. Changing the body for that key returns HTTP 409.

    Request body

    {
      "brand_id": "00000000-0000-4000-8000-000000000001",
      "estimate": false,
      "max_pages": 100,
      "max_units": 1,
      "types": [
        "technical"
      ],
      "urls": [
        "https://example.com/evidence"
      ],
      "workflow": "citation_check"
    }
    Request body fields 1
    NameTypeRequiredDescription
    brand_idstring (uuid)Yes
    estimatefalseNo
    max_pagesintegerYes
    max_unitsintegerYes
    profile"instant" | "detailed"No
    typesarray of "technical" | "content" | "agent"Yes
    urlsarray of string (uri)Yes
    workflow"citation_check"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X POST "$AEO_API_BASE_URL/v2/runs" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 202

    Start a bounded authorized website audit result.

    HTTP 202 headers
    NameTypeRequiredDescription
    Locationstring (uri)NoAuthenticated polling URI returned in data.poll_url.
    X-RateLimit-LimitintegerNoRequests in rate window.
    X-RateLimit-RemainingintegerNoRemaining request tokens.
    X-RateLimit-ResetintegerNoUTC Unix seconds when window resets.
    X-Request-Idstring (uuid)NoTrace identifier.
    X-Usage-UnitsintegerNoCU charged by this response; GET and account/usage always zero.

    application/json

    {
      "data": {
        "billed_units": 0,
        "created_at": "2026-11-06T00:00:00Z",
        "error": null,
        "estimated_units": 0,
        "id": "citation_check:00000000-0000-4000-8000-000000000001",
        "kind": "audit",
        "poll_url": "https://api.aeoapi.dev/v2/runs/citation_check:00000000-0000-4000-8000-000000000001",
        "progress": 0,
        "reserved_units": 0,
        "result": null,
        "revision": 1,
        "state": "queued",
        "updated_at": "2026-11-06T00:00:00Z",
        "v2_run_id": "citation_check:00000000-0000-4000-8000-000000000001"
      },
      "meta": {
        "as_of": "2026-11-06T00:00:00Z",
        "collected_at": null,
        "next_cursor": null,
        "next_refresh_at": null,
        "request_id": "00000000-0000-4000-8000-000000000001",
        "rights_filtered": false,
        "schema_version": "1.0",
        "stale": false,
        "warnings": []
      }
    }
    HTTP 202 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.billed_unitsintegerYesThe credits charged for this work.
    data.created_atstring (date-time)Yes
    data.errorobject | nullYes
    data.error.code"invalid_request" | "unauthenticated" | "quota_exceeded" | "forbidden" | "not_found" | "conflict" | "precondition_failed" | "validation_error" | "rate_limited" | "source_pending" | "feature_not_offered" | "internal_error"Conditional
    data.error.duplicate_ofstring (uuid)NoID of your existing prompt.
    data.error.field_errorsarray of objectNo
    data.error.field_errors[].fieldstring | nullConditional
    data.error.field_errors[].messagestringConditional
    data.error.messagestringConditional
    data.error.request_idstring (uuid)Conditional
    data.error.retryablebooleanConditional
    data.error.similar_promptsarray of objectNoOther matching prompts in your library.
    data.error.similar_prompts[].prompt_idstring (uuid)Conditional
    data.estimated_unitsintegerYes
    data.idstringYes
    data.kind"collection" | "prompt_generation" | "deletion" | "audit" | "optimization"Yes
    data.phase"researching" | "drafting" | "validating" | "collecting" | "analyzing" | "exporting" | "purging" | nullNo
    data.poll_urlstring (uri)YesSend an authenticated GET request to this URL to read the current result.
    data.progressnumberYes
    data.reserved_unitsintegerYesCredits held for the run.
    data.resultobject | object | object | object | object | nullYes
    data.result.acceptedintegerConditional
    data.result.answersarray of objectNo
    data.result.answers[].answer_textstringConditional
    data.result.answers[].answer_text_truncatedbooleanConditional
    data.result.answers[].brand_citedbooleanConditional
    data.result.answers[].brand_mentionedboolean | nullConditional
    data.result.answers[].citationsarray of objectConditional
    data.result.answers[].citations[].orderintegerConditional
    data.result.answers[].citations[].urlstringConditional
    data.result.answers[].observation_idstringConditional
    data.result.evidence_cursorstring | nullConditional
    data.result.failedintegerConditional
    data.result.kind"collection"Conditional
    data.result.observation_idsarray of string (uuid)Conditional
    data.result.observationsarray of objectNo
    data.result.observations[].applied_locationobject | nullConditional
    data.result.observations[].applied_location.citystring | nullNo
    data.result.observations[].applied_location.countrystring | nullNo
    data.result.observations[].applied_location.granularity"country" | "region" | "city" | "postal" | "coordinates"Conditional
    data.result.observations[].applied_location.latitudenumber | nullNo
    data.result.observations[].applied_location.longitudenumber | nullNo
    data.result.observations[].applied_location.postal_codestring | nullNo
    data.result.observations[].applied_location.regionstring | nullNo
    data.result.observations[].observation_idstring (uuid)Conditional
    data.result.detailsarray of objectNo
    data.result.details[].rationalestringConditional
    data.result.details[].suggestion_indexintegerConditional
    data.result.details[].template_versionstringConditional
    data.result.details[].warningsarray of stringConditional
    data.result.kind"prompt_generation"Conditional
    data.result.outcomeobjectNoExplains why the result contains no suggestions.
    data.result.outcome.reason"no_eligible_candidates" | "web_evidence_missing"ConditionalWhether no candidate qualified or usable web evidence was missing.
    data.result.outcome.web_evidence_usedbooleanConditionalWhether the generation received a reply with confirmed web activity.
    data.result.suggestionsarray of objectConditional
    data.result.suggestions[].action"create"Conditional
    data.result.suggestions[].allow_similarbooleanNoSave the prompt even if you already track the same question or a differently worded question with the same meaning.
    data.result.suggestions[].brand_idstring (uuid) | nullNo
    data.result.suggestions[].category_idsarray of string | nullConditional
    data.result.suggestions[].intent"discovery" | "recommendation" | "evaluation" | "pricing" | "comparison" | "alternatives" | "use_case" | "transaction" | "local" | "troubleshooting" | "trust" | "informational"Conditional
    data.result.suggestions[].marketobjectConditional
    data.result.suggestions[].market.citystring | null | nullNo
    data.result.suggestions[].market.countrystringConditional
    data.result.suggestions[].market.languagestringConditional
    data.result.suggestions[].market.regionstring | null | nullNo
    data.result.suggestions[].tagsarray of string | nullNo
    data.result.suggestions[].textstringConditional
    data.result.backup_expiry_atstring (date-time) | nullConditional
    data.result.kind"deletion"Conditional
    data.result.purgedbooleanConditional
    data.result.resource_idstring (uuid)Conditional
    data.result.retained_record_reasonsarray of stringConditional
    data.result.agent_readinessobjectNoOur defined website access criteria for AI agents at checked_at (not a universal AI-readiness standard; no indexing, ranking, citation or answer outcome is measured).
    data.result.agent_readiness.checked_atstring (date-time)Conditional
    data.result.agent_readiness.checksarray of objectConditional
    data.result.agent_readiness.checks[].assessment"verified" | "detected" | "not_detected" | "not_assessed"No
    data.result.agent_readiness.checks[].category"core" | "robots" | "content" | "discovery" | "protocol"Conditional
    data.result.agent_readiness.checks[].evidencearray of objectConditional
    data.result.agent_readiness.checks[].evidence[].methodstringConditional
    data.result.agent_readiness.checks[].evidence[].observedstringConditional
    data.result.agent_readiness.checks[].evidence[].urlstringConditional
    data.result.agent_readiness.checks[].idstringConditional
    data.result.agent_readiness.checks[].labelstringConditional
    data.result.agent_readiness.checks[].limitationsarray of stringConditional
    data.result.agent_readiness.checks[].recommendationstring | nullConditional
    data.result.agent_readiness.checks[].referencestringNo
    data.result.agent_readiness.checks[].scoredbooleanConditional
    data.result.agent_readiness.checks[].spec_versionstringNo
    data.result.agent_readiness.checks[].status"pass" | "fail" | "unknown" | "not_applicable"Conditional
    data.result.agent_readiness.limitationsarray of stringConditional
    data.result.agent_readiness.scope"essential" | "full"Conditional
    data.result.agent_readiness.scoreobjectConditionaleligible = passed + failed + unknown over applicable scored checks; value = 100 * passed / (passed + failed), or null when no scored check was conclusive.
    data.result.agent_readiness.score.eligibleintegerConditional
    data.result.agent_readiness.score.failedintegerConditional
    data.result.agent_readiness.score.passedintegerConditional
    data.result.agent_readiness.score.unknownintegerConditional
    data.result.agent_readiness.score.valuenumber | nullConditional
    data.result.agent_readiness.status"completed" | "partial" | "not_assessed"Conditional
    data.result.agent_readiness.versionstringConditional
    data.result.budget_exhaustedbooleanNo
    data.result.business_factsobjectNo
    data.result.business_facts.locationsarray of objectConditional
    data.result.business_facts.locations[].location_idstring (uuid) | nullConditional
    data.result.business_facts.locations[].scoreobjectConditional
    data.result.business_facts.locations[].score.fieldsobjectConditional
    data.result.business_facts.locations[].score.fields.[key]number | nullNoValue for each key.
    data.result.business_facts.locations[].score.matched_fieldsintegerConditional
    data.result.business_facts.locations[].score.mismatched_fieldsintegerConditional
    data.result.business_facts.locations[].score.overallnumber | nullConditional
    data.result.business_facts.omitted_sourcesintegerConditional
    data.result.business_facts.scoreobjectConditional
    data.result.business_facts.score.fieldsobjectConditional
    data.result.business_facts.score.fields.[key]number | nullNoValue for each key.
    data.result.business_facts.score.matched_fieldsintegerConditional
    data.result.business_facts.score.mismatched_fieldsintegerConditional
    data.result.business_facts.score.overallnumber | nullConditional
    data.result.business_facts.sourcesarray of objectConditional
    data.result.business_facts.sources[].fieldsarray of objectConditional
    data.result.business_facts.sources[].fields[].expectedstring | array of string | object | nullConditional
    data.result.business_facts.sources[].fields[].expected.[key]string | number | array of stringNoValue for each key.
    data.result.business_facts.sources[].fields[].fieldstringConditional
    data.result.business_facts.sources[].fields[].observedstring | array of string | object | nullConditional
    data.result.business_facts.sources[].fields[].observed.[key]string | number | array of stringNoValue for each key.
    data.result.business_facts.sources[].fields[].status"matched" | "mismatched" | "not_found"Conditional
    data.result.business_facts.sources[].final_urlstring | nullConditional
    data.result.business_facts.sources[].http_statusinteger | nullConditional
    data.result.business_facts.sources[].location_idstring (uuid) | nullConditional
    data.result.business_facts.sources[].source"supplied" | "profile" | "citation"Conditional
    data.result.business_facts.sources[].status"matched" | "mismatched" | "not_found" | "could_not_fetch"Conditional
    data.result.business_facts.sources[].urlstringConditional
    data.result.completeness"preliminary" | "partial" | "complete" | "blocked"No
    data.result.content_coverage_notestringNo
    data.result.crawler_accessobjectNo
    data.result.crawler_access.assessedintegerConditional
    data.result.crawler_access.eligibleintegerConditional
    data.result.crawler_access.notestringConditional
    data.result.crawler_access.pagesarray of objectConditional
    data.result.crawler_access.pages[].agentsarray of objectConditional
    data.result.crawler_access.pages[].agents[].access"allowed" | "blocked_by_robots" | "blocked_by_firewall" | "challenged" | "rate_limited" | "unknown"Conditional
    data.result.crawler_access.pages[].agents[].agentstringConditional
    data.result.crawler_access.pages[].agents[].evidenceobjectConditional
    data.result.crawler_access.pages[].agents[].evidence.body_size_rationumber | nullConditional
    data.result.crawler_access.pages[].agents[].evidence.browser_statusinteger | nullConditional
    data.result.crawler_access.pages[].agents[].evidence.crawler_statusinteger | nullConditional
    data.result.crawler_access.pages[].agents[].evidence.marker"challenge_page" | "block_page" | "block_redirect" | "empty_or_short_body" | nullConditional
    data.result.crawler_access.pages[].agents[].purpose"search" | "user_fetch" | "training"Conditional
    data.result.crawler_access.pages[].agents[].robots_access"allowed" | "blocked" | nullNoWhether robots.txt allows this crawler on this page. HTTP 4xx responses other than 429 mean allowed. The value is null if the rules could not be checked.
    data.result.crawler_access.pages[].agents[].visibility_riskbooleanConditional
    data.result.crawler_access.pages[].urlstringConditional
    data.result.crawler_access.scorenumber | nullConditional
    data.result.findingsarray of objectConditional
    data.result.findings[].codestring | nullConditional
    data.result.findings[].confidencenumberConditional
    data.result.findings[].evidencestringConditional
    data.result.findings[].idstring (uuid)Conditional
    data.result.findings[].recommendationstringConditional
    data.result.findings[].severity"critical" | "high" | "medium" | "low" | "info"Conditional
    data.result.findings[].urlstring (uri)Conditional
    data.result.findings[].verificationstringConditional
    data.result.first_result_atstring (date-time) | nullNo
    data.result.kind"audit"Conditional
    data.result.next_cursorstring | nullConditional
    data.result.pages_billedintegerNoPages counted toward the final charge.
    data.result.pages_checkedintegerConditional
    data.result.pages_discoveredintegerNo
    data.result.pages_skippedintegerConditional
    data.result.profile"instant" | "detailed"No
    data.result.schema_consistencyobjectNo
    data.result.schema_consistency.pagesarray of objectConditional
    data.result.schema_consistency.pages[].fieldsarray of objectConditional
    data.result.schema_consistency.pages[].fields[].basis"visible" | "profile"Conditional
    data.result.schema_consistency.pages[].fields[].expectedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].fields[].expected.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].fields[].fieldstringConditional
    data.result.schema_consistency.pages[].fields[].observedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].fields[].observed.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].fields[].status"matched" | "mismatched" | "not_found"Conditional
    data.result.schema_consistency.pages[].issuesarray of objectConditional
    data.result.schema_consistency.pages[].issues[].code"missing_local_business" | "missing_required_properties" | "differs_from_visible" | "differs_from_profile" | "conflicting_blocks"Conditional
    data.result.schema_consistency.pages[].issues[].comparedarray of object | object | objectConditional
    data.result.schema_consistency.pages[].issues[].compared[].expectedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].issues[].compared[].expected.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].issues[].compared[].fieldstringConditional
    data.result.schema_consistency.pages[].issues[].compared[].observedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].issues[].compared[].observed.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].issues[].compared[].basis"visible" | "profile"Conditional
    data.result.schema_consistency.pages[].issues[].compared[].status"matched" | "mismatched" | "not_found"Conditional
    data.result.schema_consistency.pages[].issues[].fieldsarray of stringConditional
    data.result.schema_consistency.pages[].location_idstring (uuid) | nullConditional
    data.result.schema_consistency.pages[].markup"json_ld" | "microdata" | nullConditional
    data.result.schema_consistency.pages[].schema_typestring | nullConditional
    data.result.schema_consistency.pages[].urlstringConditional
    data.result.schema_consistency.pages_with_issuesintegerConditional
    data.result.schema_consistency.scorenumber | nullConditional
    data.result.skipped_reasonsarray of stringNo
    data.result.approval_expires_atstring (date-time) | nullConditional
    data.result.approval_idstring (uuid) | nullConditional
    data.result.artifact_download_urlstring (uri) | nullConditional
    data.result.artifact_sha256string | nullConditional
    data.result.diffstring | nullConditional
    data.result.external_revisionstring | null | nullConditional
    data.result.kind"optimization"Conditional
    data.result.syntheticbooleanNo
    data.result.target_urlstring (uri)Conditional
    data.result.verification_findingsarray of objectConditional
    data.result.verification_findings[].codestring | nullConditional
    data.result.verification_findings[].confidencenumberConditional
    data.result.verification_findings[].evidencestringConditional
    data.result.verification_findings[].idstring (uuid)Conditional
    data.result.verification_findings[].recommendationstringConditional
    data.result.verification_findings[].severity"critical" | "high" | "medium" | "low" | "info"Conditional
    data.result.verification_findings[].urlstring (uri)Conditional
    data.result.verification_findings[].verificationstringConditional
    data.revisionintegerYes
    data.state"queued" | "running" | "awaiting_approval" | "approved" | "executing" | "verifying" | "completed" | "partial" | "in_progress" | "cancelled" | "rejected" | "stale_approval"Yes
    data.updated_atstring (date-time)Yes
    data.v2_run_idstringNoThe prefixed run ID accepted by GET /v2/runs/{run_id}.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Start Runmanaged

    Open this request with Python and TypeScript examples

    • Body workflow is managed.
    • Body estimate is false. Default is false.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    collections:write
    Roles
    editor, owner, service
    Plans
    Optimizer, Analyzer
    Credits
    This operation can use credits.
    Billing access
    Required

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    Idempotency-KeyheaderstringYes

    Request body

    {
      "brand_id": "00000000-0000-4000-8000-000000000001",
      "estimate": false,
      "estimate_fingerprint": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "prompt_set_revision": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "workflow": "managed"
    }
    Request body fields 1
    NameTypeRequiredDescription
    all_locationsbooleanNo
    brand_idstring (uuid)Yes
    estimatefalseNo
    estimate_fingerprintstringYes
    location_idsarray of string (uuid)No
    prompt_set_revisionstringYes
    workflow"managed"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X POST "$AEO_API_BASE_URL/v2/runs" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 202

    Accepted

    application/json

    Response fields are listed below.

    HTTP 202 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstringYesIdentifies the brand this result belongs to.
    data.charged_creditsintegerYes
    data.check_idstring | nullYes
    data.check_urlstring | nullYes
    data.citation_status"in_progress" | "completed"NoCitation preparation status for this run, when applicable.
    data.created_atstringYes
    data.estimated_creditsintegerYesThe expected credit cost for this selection.
    data.failure_reasonsarray of "access_restricted" | "limit_reached" | "input_missing" | "approval_expired" | "cancelled" | "check_failed" | "check_incomplete"Yes
    data.hold_reasonsarray of "retry_pending" | "under_review"Yes
    data.idstringNo
    data.phasestring | nullYes
    data.progressobjectYes
    data.progress.by_locationarray of objectNo
    data.progress.by_location[].by_sourcearray of objectConditional
    data.progress.by_location[].completed_stepsintegerConditional
    data.progress.by_location[].expected_stepsintegerConditional
    data.progress.by_location[].location_idstring (uuid)Conditional
    data.progress.by_sourcearray of objectYes
    data.progress.completed_stepsintegerYes
    data.progress.expected_stepsintegerYes
    data.prompt_set_revisionstringYes
    data.released_creditsintegerYes
    data.report_idstring | nullYes
    data.report_status"pending" | "ready" | "not_available"Yes
    data.report_urlstring | nullYes
    data.reserved_creditsintegerYes
    data.run_idstringYesIdentifies the run. Keep any prefix when using it in a request.
    data.statusstringYes
    data.updated_atstringYes
    data.v2_run_idstringNoThe prefixed run ID accepted by GET /v2/runs/{run_id}.
    data.websitestring | nullYes
    metaobjectYesInformation about this response, including any warnings or pagination details.

    Errors

    Bulk Startmanaged_batch

    Open this request with Python and TypeScript examples

    • Body workflow is managed_batch.
    • Body estimate is false. Default is false.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    collections:write
    Roles
    editor, owner, service
    Plans
    Optimizer, Analyzer
    Credits
    This operation can use credits.
    Billing access
    Required

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    Idempotency-KeyheaderstringYes

    Request body

    {
      "estimate": false,
      "items": [
        {
          "idempotency_key": "example-run-0001",
          "request": {
            "brand_id": "00000000-0000-4000-8000-000000000001",
            "estimate_fingerprint": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
            "prompt_set_revision": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
          }
        }
      ],
      "max_total_credits": 100,
      "workflow": "managed_batch"
    }
    Request body fields 1
    NameTypeRequiredDescription
    estimatefalseNo
    itemsarray of objectYes
    items[].idempotency_keystringYes
    items[].requestobjectYes
    items[].request.brand_idstring (uuid)Yes
    items[].request.estimate_fingerprintstringYes
    items[].request.prompt_set_revisionstringYes
    max_total_creditsintegerYes
    workflow"managed_batch"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X POST "$AEO_API_BASE_URL/v2/runs" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataarray of object | objectYesThe requested result. See the fields below for its contents.
    data[].brand_idstring (uuid)Yes
    data[].dataobjectConditional
    data[].data.brand_idstringConditional
    data[].data.charged_creditsintegerConditional
    data[].data.check_idstring | nullConditional
    data[].data.check_urlstring | nullConditional
    data[].data.citation_status"in_progress" | "completed"NoCitation preparation status for this run, when applicable.
    data[].data.created_atstringConditional
    data[].data.estimated_creditsintegerConditional
    data[].data.failure_reasonsarray of "access_restricted" | "limit_reached" | "input_missing" | "approval_expired" | "cancelled" | "check_failed" | "check_incomplete"Conditional
    data[].data.hold_reasonsarray of "retry_pending" | "under_review"Conditional
    data[].data.idstringNo
    data[].data.phasestring | nullConditional
    data[].data.progressobjectConditional
    data[].data.progress.by_locationarray of objectNo
    data[].data.progress.by_location[].by_sourcearray of objectConditional
    data[].data.progress.by_location[].completed_stepsintegerConditional
    data[].data.progress.by_location[].expected_stepsintegerConditional
    data[].data.progress.by_location[].location_idstring (uuid)Conditional
    data[].data.progress.by_sourcearray of objectConditional
    data[].data.progress.completed_stepsintegerConditional
    data[].data.progress.expected_stepsintegerConditional
    data[].data.prompt_set_revisionstringConditional
    data[].data.released_creditsintegerConditional
    data[].data.report_idstring | nullConditional
    data[].data.report_status"pending" | "ready" | "not_available"Conditional
    data[].data.report_urlstring | nullConditional
    data[].data.reserved_creditsintegerConditional
    data[].data.run_idstringConditional
    data[].data.statusstringConditional
    data[].data.updated_atstringConditional
    data[].data.v2_run_idstringNo
    data[].data.websitestring | nullConditional
    data[].idempotency_keystringYes
    data[].status202 | integerYes
    data[].errorobjectConditional
    data[].error.codestringConditional
    data[].error.field_errorsarray of objectNo
    data[].error.field_errors[].fieldstring | nullConditional
    data[].error.field_errors[].messagestringConditional
    data[].error.messagestringConditional
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Pre-publish review evidenceprepublish_review

    Open this request with Python and TypeScript examples

    • Body workflow is prepublish_review.
    • Body estimate is false. Default is false.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read, audits:read, optimizations:read
    Roles
    editor, owner, service
    Plans
    Optimizer
    Credits
    Check the estimate for the selected delivery mode.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    Idempotency-KeyheaderstringYes

    Request body

    {
      "brand_id": "00000000-0000-4000-8000-000000000001",
      "draft_revision": "00000000-0000-4000-8000-000000000002",
      "estimate": false,
      "prompt_set_revision": "00000000-0000-4000-8000-000000000003",
      "workflow": "prepublish_review"
    }
    Request body fields 1
    NameTypeRequiredDescription
    brand_idstring (uuid)Yes
    capturesobjectNo
    captures.rawstring (uuid) | nullNo
    captures.renderedstring (uuid) | nullNo
    competitor_corpus_revisionstring (uuid) | nullNo
    draft_revisionstring (uuid)Yes
    estimatefalseNo
    fact_mode"detailed" | nullNoSet to detailed to include capture metadata and unannotated price evidence.
    prompt_set_revisionstring (uuid)Yes
    top_kintegerNo
    workflow"prepublish_review"Yes
    Request body fields 2
    NameTypeRequiredDescription
    brand_idstring (uuid)Yes
    capturesobjectNo
    captures.rawstring (uuid) | nullNo
    captures.renderedstring (uuid) | nullNo
    competitor_corpus_revisionstring (uuid) | nullNo
    draft_revisionstring (uuid)Yes
    estimatefalseNo
    estimate_idstring (uuid)Yes
    max_unitsintegerYes
    prompt_set_revisionstring (uuid)Yes
    simulation_optionsobjectYes
    simulation_options.delivery"async"No
    simulation_options.input_kind"saved"No
    simulation_options.max_candidatesintegerNo
    simulation_options.max_input_bytesintegerNo
    simulation_options.max_input_tokensintegerNo
    simulation_options.max_promptsintegerNo
    simulation_options.mode"persistent"Yes
    simulation_options.monitored_competitorsobject | nullNo
    simulation_options.monitored_competitors.capture_revision_idsarray of string (uuid)No
    simulation_options.monitored_competitors.limitintegerNo
    simulation_options.monitored_competitors.observation_idsarray of string (uuid)Conditional
    simulation_options.monitored_competitors.prompt_idstring (uuid)Conditional
    simulation_options.monitored_competitors.prompt_versionintegerConditional
    simulation_options.revision_idsarray of string (uuid)No
    top_kintegerNo
    workflow"prepublish_review"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X POST "$AEO_API_BASE_URL/v2/runs" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 202

    Saved review accepted and ready to poll.

    HTTP 202 headers
    NameTypeRequiredDescription
    Locationstring (uri-reference)No

    application/json

    Response fields are listed below.

    HTTP 202 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.poll_urlstring (uri-reference)YesSend an authenticated GET request to this URL to read the current result.
    data.run_idstringYesIdentifies the run. Keep any prefix when using it in a request.
    data.status"succeeded"Yes
    data.workflow"prepublish_review"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.
    HTTP 202 response fields 2
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.inline_resultobjectNoResult returned on the first successful inline start.
    data.poll_urlstring (uri-reference)YesSend an authenticated GET request to this URL to read the current result.
    data.run_idstringYesIdentifies the run. Keep any prefix when using it in a request.
    data.status"queued" | "running" | "awaiting_approval" | "approved" | "executing" | "verifying" | "succeeded" | "partial" | "failed" | "cancelled" | "rejected" | "stale_approval"Yes
    data.workflow"prepublish_review"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Retrieval benchmarkretrieval_benchmark

    Open this request with Python and TypeScript examples

    • Body workflow is retrieval_benchmark.
    • Body estimate is false. Default is false.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read, audits:read, optimizations:read
    Roles
    editor, owner, service
    Plans
    Optimizer
    Credits
    Check the estimate for the selected delivery mode.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    Idempotency-KeyheaderstringYes

    Request body

    {
      "brand_id": "00000000-0000-4000-8000-000000000001",
      "draft_revision": "00000000-0000-4000-8000-000000000002",
      "estimate": false,
      "prompt_ids": [
        "franchise"
      ],
      "prompt_set_revision": "00000000-0000-4000-8000-000000000003",
      "ranker_version": "simulation-r1",
      "workflow": "retrieval_benchmark"
    }
    Request body fields 1
    NameTypeRequiredDescription
    brand_idstring (uuid)Yes
    competitor_corpus_revisionstring (uuid) | nullNo
    draft_revisionstring (uuid)Yes
    estimatefalseNo
    observed_citationsarray of objectNoCitation observations you recorded for these prompts.
    observed_citations[].observed_atstring (date-time)Conditional
    observed_citations[].prompt_idstringConditional
    observed_citations[].source_referencestringConditional
    observed_citations[].urlstringConditional
    prompt_idsarray of stringYes
    prompt_set_revisionstring (uuid)Yes
    ranker_version"simulation-r1"Yes
    top_kintegerNo
    workflow"retrieval_benchmark"Yes
    Request body fields 2
    NameTypeRequiredDescription
    brand_idstring (uuid)Yes
    competitor_corpus_revisionstring (uuid) | nullNo
    draft_revisionstring (uuid)Yes
    estimatefalseNo
    estimate_idstring (uuid)Yes
    max_unitsintegerYes
    observed_citationsarray of objectNo
    observed_citations[].observed_atstring (date-time)Conditional
    observed_citations[].prompt_idstringConditional
    observed_citations[].source_referencestringConditional
    observed_citations[].urlstringConditional
    prompt_idsarray of stringYes
    prompt_set_revisionstring (uuid)Yes
    simulation_optionsobjectYes
    simulation_options.delivery"async"No
    simulation_options.input_kind"saved"No
    simulation_options.max_candidatesintegerNo
    simulation_options.max_input_bytesintegerNo
    simulation_options.max_input_tokensintegerNo
    simulation_options.max_promptsintegerNo
    simulation_options.mode"persistent"Yes
    simulation_options.monitored_competitorsobject | nullNo
    simulation_options.monitored_competitors.capture_revision_idsarray of string (uuid)No
    simulation_options.monitored_competitors.limitintegerNo
    simulation_options.monitored_competitors.observation_idsarray of string (uuid)Conditional
    simulation_options.monitored_competitors.prompt_idstring (uuid)Conditional
    simulation_options.monitored_competitors.prompt_versionintegerConditional
    simulation_options.revision_idsarray of string (uuid)No
    top_kintegerNo
    workflow"retrieval_benchmark"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X POST "$AEO_API_BASE_URL/v2/runs" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 202

    Saved review accepted and ready to poll.

    HTTP 202 headers
    NameTypeRequiredDescription
    Locationstring (uri-reference)No

    application/json

    Response fields are listed below.

    HTTP 202 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.poll_urlstring (uri-reference)YesSend an authenticated GET request to this URL to read the current result.
    data.run_idstringYesIdentifies the run. Keep any prefix when using it in a request.
    data.status"succeeded"Yes
    data.workflow"retrieval_benchmark"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.
    HTTP 202 response fields 2
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.inline_resultobjectNoResult returned on the first successful inline start.
    data.poll_urlstring (uri-reference)YesSend an authenticated GET request to this URL to read the current result.
    data.run_idstringYesIdentifies the run. Keep any prefix when using it in a request.
    data.status"queued" | "running" | "awaiting_approval" | "approved" | "executing" | "verifying" | "succeeded" | "partial" | "failed" | "cancelled" | "rejected" | "stale_approval"Yes
    data.workflow"retrieval_benchmark"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Retrieval regressionretrieval_regression

    Open this request with Python and TypeScript examples

    • Body workflow is retrieval_regression.
    • Body estimate is false. Default is false.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read, audits:read, optimizations:read
    Roles
    editor, owner, service
    Plans
    Optimizer
    Credits
    Check the estimate for the selected delivery mode.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    Idempotency-KeyheaderstringYes

    Request body

    {
      "brand_id": "00000000-0000-4000-8000-000000000001",
      "estimate": false,
      "production_revision": "00000000-0000-4000-8000-000000000003",
      "prompt_ids": [
        "franchise"
      ],
      "prompt_set_revision": "00000000-0000-4000-8000-000000000004",
      "ranker_version": "simulation-r1",
      "staging_revision": "00000000-0000-4000-8000-000000000002",
      "workflow": "retrieval_regression"
    }
    Request body fields 1
    NameTypeRequiredDescription
    brand_idstring (uuid)Yes
    estimatefalseNo
    factsarray of objectNo
    facts[].fact_idstringConditional
    facts[].phrasestringConditional
    facts[].prompt_idstringConditional
    policyobjectNo
    policy.critical_prompt_idsarray of stringNo
    policy.max_coverage_dropnumberNoMaximum allowed decrease in the fraction of focus phrases found.
    policy.max_lost_factsintegerNo
    policy.max_rank_dropintegerNo
    policy.mode"warning" | "blocking"No
    policy.on_pending"inconclusive" | "fail"No
    production_index"complete" | "partial"NoWhether the production snapshot covers the full sample.
    production_revisionstring (uuid)Yes
    prompt_idsarray of stringYes
    prompt_set_revisionstring (uuid)Yes
    ranker_version"simulation-r1"Yes
    staging_index"complete" | "partial"NoWhether the staging snapshot covers the full sample.
    staging_revisionstring (uuid)Yes
    top_kintegerNo
    workflow"retrieval_regression"Yes
    Request body fields 2
    NameTypeRequiredDescription
    brand_idstring (uuid)Yes
    estimatefalseNo
    estimate_idstring (uuid)Yes
    factsarray of objectNo
    facts[].fact_idstringConditional
    facts[].phrasestringConditional
    facts[].prompt_idstringConditional
    max_unitsintegerYes
    policyobjectNo
    policy.critical_prompt_idsarray of stringNo
    policy.max_coverage_dropnumberNoMaximum allowed decrease in the fraction of focus phrases found.
    policy.max_lost_factsintegerNo
    policy.max_rank_dropintegerNo
    policy.mode"warning" | "blocking"No
    policy.on_pending"inconclusive" | "fail"No
    production_index"complete" | "partial"NoWhether the production snapshot covers the full sample.
    production_revisionstring (uuid)Yes
    prompt_idsarray of stringYes
    prompt_set_revisionstring (uuid)Yes
    simulation_optionsobjectYes
    simulation_options.delivery"async"No
    simulation_options.input_kind"saved"No
    simulation_options.max_candidatesintegerNo
    simulation_options.max_input_bytesintegerNo
    simulation_options.max_input_tokensintegerNo
    simulation_options.max_promptsintegerNo
    simulation_options.mode"persistent"Yes
    simulation_options.monitored_competitorsobject | nullNo
    simulation_options.monitored_competitors.capture_revision_idsarray of string (uuid)No
    simulation_options.monitored_competitors.limitintegerNo
    simulation_options.monitored_competitors.observation_idsarray of string (uuid)Conditional
    simulation_options.monitored_competitors.prompt_idstring (uuid)Conditional
    simulation_options.monitored_competitors.prompt_versionintegerConditional
    simulation_options.revision_idsarray of string (uuid)No
    staging_index"complete" | "partial"NoWhether the staging snapshot covers the full sample.
    staging_revisionstring (uuid)Yes
    top_kintegerNo
    workflow"retrieval_regression"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X POST "$AEO_API_BASE_URL/v2/runs" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 202

    Saved review accepted and ready to poll.

    HTTP 202 headers
    NameTypeRequiredDescription
    Locationstring (uri-reference)No

    application/json

    Response fields are listed below.

    HTTP 202 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.poll_urlstring (uri-reference)YesSend an authenticated GET request to this URL to read the current result.
    data.run_idstringYesIdentifies the run. Keep any prefix when using it in a request.
    data.status"succeeded"Yes
    data.workflow"retrieval_regression"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.
    HTTP 202 response fields 2
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.poll_urlstring (uri-reference)YesSend an authenticated GET request to this URL to read the current result.
    data.run_idstringYesIdentifies the run. Keep any prefix when using it in a request.
    data.status"queued"Yes
    data.workflow"retrieval_regression"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Evaluate supplied asset textasset_readability

    Open this request with Python and TypeScript examples

    • Body workflow is asset_readability.
    • Body estimate is false. Default is false.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read
    Roles
    editor, owner, service
    Plans
    Optimizer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    Idempotency-KeyheaderstringYes

    Request body

    {
      "assets": [
        {
          "content_id": "00000000-0000-4000-8000-000000000002",
          "revision": "00000000-0000-4000-8000-000000000003"
        }
      ],
      "brand_id": "00000000-0000-4000-8000-000000000001",
      "estimate": false,
      "questions": [
        {
          "question": "How long does delivery take?",
          "required_terms": "delivery days"
        }
      ],
      "workflow": "asset_readability"
    }
    Request body fields 1
    NameTypeRequiredDescription
    assetsarray of objectYes
    assets[].content_idstring (uuid)Yes
    assets[].revisionstring (uuid)Yes
    brand_idstring (uuid)Yes
    estimatefalseNo
    questionsarray of objectYes
    questions[].questionstringYes
    questions[].required_termsstringYesTerms that must occur in the same passage to count as matching text.
    workflow"asset_readability"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X POST "$AEO_API_BASE_URL/v2/runs" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 202

    Evaluate supplied asset text

    HTTP 202 headers
    NameTypeRequiredDescription
    Locationstring (uri-reference)No

    application/json

    Response fields are listed below.

    HTTP 202 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.poll_urlstringYesSend an authenticated GET request to this URL to read the current result.
    data.run_idstringYesIdentifies the run. Keep any prefix when using it in a request.
    data.status"succeeded"Yes
    data.workflow"asset_readability"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Buyer question coveragequery_fanout_coverage

    Open this request with Python and TypeScript examples

    • Body workflow is query_fanout_coverage.
    • Body estimate is false. Default is false.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read
    Roles
    editor, owner, service
    Plans
    Optimizer
    Credits
    Check the estimate for the selected delivery mode.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    Idempotency-KeyheaderstringYes

    Request body

    {
      "brand_id": "00000000-0000-4000-8000-000000008191",
      "prompt_id": "00000000-0000-4000-8000-000000009741",
      "prompt_set_revision": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "workflow": "query_fanout_coverage"
    }
    Request body fields 1
    NameTypeRequiredDescription
    brand_idstring (uuid)Yes
    estimatefalseNo
    observation_idstring (uuid) | nullNo
    prompt_idstring (uuid)Yes
    prompt_set_revisionstringYes
    websitestring | nullNo
    workflow"query_fanout_coverage"Yes
    Request body fields 2
    NameTypeRequiredDescription
    brand_idstring (uuid)Yes
    estimatefalseNo
    estimate_idstring (uuid)Yes
    max_unitsintegerYes
    observation_idstring (uuid) | nullNo
    prompt_idstring (uuid)Yes
    prompt_set_revisionstringYes
    simulation_optionsobjectYes
    simulation_options.delivery"async"No
    simulation_options.input_kind"saved"No
    simulation_options.max_candidatesintegerNo
    simulation_options.max_input_bytesintegerNo
    simulation_options.max_input_tokensintegerNo
    simulation_options.max_promptsintegerNo
    simulation_options.mode"persistent"Yes
    simulation_options.monitored_competitorsobject | nullNo
    simulation_options.monitored_competitors.capture_revision_idsarray of string (uuid)No
    simulation_options.monitored_competitors.limitintegerNo
    simulation_options.monitored_competitors.observation_idsarray of string (uuid)Conditional
    simulation_options.monitored_competitors.prompt_idstring (uuid)Conditional
    simulation_options.monitored_competitors.prompt_versionintegerConditional
    simulation_options.revision_idsarray of string (uuid)No
    websitestring | nullNo
    workflow"query_fanout_coverage"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X POST "$AEO_API_BASE_URL/v2/runs" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 202

    Coverage run saved.

    HTTP 202 headers
    NameTypeRequiredDescription
    Locationstring (uri-reference)No

    application/json

    Response fields are listed below.

    HTTP 202 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.poll_urlstring (uri-reference)YesSend an authenticated GET request to this URL to read the current result.
    data.run_idstringYesIdentifies the run. Keep any prefix when using it in a request.
    data.status"succeeded"Yes
    data.workflow"query_fanout_coverage"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.
    HTTP 202 response fields 2
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.poll_urlstring (uri-reference)YesSend an authenticated GET request to this URL to read the current result.
    data.run_idstringYesIdentifies the run. Keep any prefix when using it in a request.
    data.status"queued"Yes
    data.workflow"query_fanout_coverage"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Verify saved answer claims against approved factsverify_answer_claims

    Open this request with Python and TypeScript examples

    • Body workflow is verify_answer_claims.
    • Body estimate is false. Default is false.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read
    Roles
    editor, owner, service
    Plans
    Optimizer
    Credits
    Check the estimate for the selected delivery mode.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    Idempotency-KeyheaderstringYes

    Request body

    {
      "brand_id": "00000000-0000-4000-8000-000000008191",
      "observation_id": "00000000-0000-4000-8000-000000014961",
      "workflow": "verify_answer_claims"
    }
    Request body fields 1
    NameTypeRequiredDescription
    brand_idstring (uuid)Yes
    estimatefalseNo
    observation_idstring (uuid)Yes
    workflow"verify_answer_claims"Yes
    Request body fields 2
    NameTypeRequiredDescription
    brand_idstring (uuid)Yes
    estimatefalseNo
    estimate_idstring (uuid)Yes
    max_unitsintegerYes
    observation_idstring (uuid)Yes
    simulation_optionsobjectYes
    simulation_options.delivery"async"No
    simulation_options.input_kind"saved"No
    simulation_options.max_candidatesintegerNo
    simulation_options.max_input_bytesintegerNo
    simulation_options.max_input_tokensintegerNo
    simulation_options.max_promptsintegerNo
    simulation_options.mode"persistent"Yes
    simulation_options.monitored_competitorsobject | nullNo
    simulation_options.monitored_competitors.capture_revision_idsarray of string (uuid)No
    simulation_options.monitored_competitors.limitintegerNo
    simulation_options.monitored_competitors.observation_idsarray of string (uuid)Conditional
    simulation_options.monitored_competitors.prompt_idstring (uuid)Conditional
    simulation_options.monitored_competitors.prompt_versionintegerConditional
    simulation_options.revision_idsarray of string (uuid)No
    workflow"verify_answer_claims"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X POST "$AEO_API_BASE_URL/v2/runs" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 202

    Verification run saved.

    HTTP 202 headers
    NameTypeRequiredDescription
    Locationstring (uri-reference)No

    application/json

    Response fields are listed below.

    HTTP 202 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.poll_urlstring (uri-reference)YesSend an authenticated GET request to this URL to read the current result.
    data.run_idstringYesIdentifies the run. Keep any prefix when using it in a request.
    data.status"succeeded"Yes
    data.workflow"verify_answer_claims"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.
    HTTP 202 response fields 2
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.poll_urlstring (uri-reference)YesSend an authenticated GET request to this URL to read the current result.
    data.run_idstringYesIdentifies the run. Keep any prefix when using it in a request.
    data.status"queued"Yes
    data.workflow"verify_answer_claims"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Compare synthetic personas and marketspersona_geo_divergence

    Open this request with Python and TypeScript examples

    • Body workflow is persona_geo_divergence.
    • Body estimate is false. Default is false.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read, audits:read, optimizations:read
    Roles
    editor, owner, service
    Plans
    Optimizer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    Idempotency-KeyheaderstringYes

    Request body

    {
      "brand_id": "00000000-0000-4000-8000-000000008191",
      "draft_revision": "00000000-0000-4000-8000-000000015031",
      "markets": [
        {
          "id": "pricing",
          "market": {
            "country": "US",
            "language": "en"
          },
          "context_terms": [
            "monthly price"
          ]
        },
        {
          "id": "support",
          "market": {
            "country": "US",
            "language": "en"
          },
          "context_terms": [
            "monthly price"
          ]
        }
      ],
      "personas": [
        {
          "id": "pricing",
          "name": "Budget owner",
          "source": "synthetic",
          "audience_id": "00000000-0000-4000-8000-000000011301",
          "role_assumptions": [
            "Manages the team budget"
          ]
        },
        {
          "id": "support",
          "name": "Budget owner",
          "source": "synthetic",
          "audience_id": "00000000-0000-4000-8000-000000011302",
          "role_assumptions": [
            "Manages the team budget"
          ]
        }
      ],
      "prompt_set_revision": "00000000-0000-4000-8000-000000020751",
      "subquery_id": "monthly-price",
      "workflow": "persona_geo_divergence"
    }
    Request body fields 1
    NameTypeRequiredDescription
    brand_idstring (uuid)Yes
    competitor_corpus_revisionstring (uuid) | nullNo
    draft_revisionstring (uuid)Yes
    estimatefalseNo
    include_gridbooleanNo
    marketsarray of objectYes
    markets[].context_termsarray of stringYes
    markets[].idstringYes
    markets[].marketobjectYes
    markets[].market.citystring | nullNo
    markets[].market.countrystringYes
    markets[].market.languagestringYes
    markets[].market.regionstring | nullNo
    personasarray of objectYes
    personas[].audience_idstring (uuid)Yes
    personas[].idstringYes
    personas[].namestringYes
    personas[].role_assumptionsarray of stringYes
    personas[].source"synthetic"Yes
    personas[].synthetic_memory_summarystring | nullNo
    prompt_set_revisionstring (uuid)Yes
    subquery_idstringYes
    top_kintegerNo
    workflow"persona_geo_divergence"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X POST "$AEO_API_BASE_URL/v2/runs" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 202

    Saved review accepted and ready to poll.

    HTTP 202 headers
    NameTypeRequiredDescription
    Locationstring (uri-reference)No

    application/json

    Response fields are listed below.

    HTTP 202 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.poll_urlstring (uri-reference)YesSend an authenticated GET request to this URL to read the current result.
    data.run_idstringYesIdentifies the run. Keep any prefix when using it in a request.
    data.status"succeeded"Yes
    data.workflow"persona_geo_divergence"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Synthetic context position testcontext_position_test

    Open this request with Python and TypeScript examples

    • Body workflow is context_position_test.
    • Body estimate is false. Default is false.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read, audits:read, optimizations:read
    Roles
    editor, owner, service
    Plans
    Optimizer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    Idempotency-KeyheaderstringYes

    Request body

    {
      "brand_id": "00000000-0000-4000-8000-000000000001",
      "estimate": false,
      "repetitions": 2,
      "review_run_id": "prepublish_review:00000000-0000-4000-8000-000000000002",
      "subquery_id": "bulk",
      "target_fact": "bulk updates for local listings",
      "target_passage_id": "00000000-0000-4000-8000-000000000003",
      "token_budget": 300,
      "workflow": "context_position_test"
    }
    Request body fields 1
    NameTypeRequiredDescription
    brand_idstring (uuid)Yes
    estimatefalseNo
    fixture_mode"grounded" | "omit_fact" | "wrong_source"No
    pairedobject | object | nullNo
    paired.kind"edited_opening"Conditional
    paired.replace_tokensintegerConditional
    paired.textstringConditional
    paired.kind"relocated_fact"Conditional
    repetitionsintegerNo
    review_run_idstringYes
    subquery_idstringYes
    target_factstringYes
    target_passage_idstring (uuid)Yes
    token_budgetintegerYes
    workflow"context_position_test"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X POST "$AEO_API_BASE_URL/v2/runs" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 202

    Saved review accepted and ready to poll.

    HTTP 202 headers
    NameTypeRequiredDescription
    Locationstring (uri-reference)No

    application/json

    Response fields are listed below.

    HTTP 202 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.poll_urlstring (uri-reference)YesSend an authenticated GET request to this URL to read the current result.
    data.run_idstringYesIdentifies the run. Keep any prefix when using it in a request.
    data.status"succeeded"Yes
    data.workflow"context_position_test"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Read or save passage overlap and retrieval rank comparisonspassage_overlap

    Open this request with Python and TypeScript examples

    • Body workflow is passage_overlap.
    • Body estimate is false. Default is false.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read, audits:read, optimizations:read
    Roles
    editor, owner, service
    Plans
    Optimizer
    Credits
    Check the estimate for the selected delivery mode.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    Idempotency-KeyheaderstringYes

    Request body

    {
      "brand_id": "00000000-0000-4000-8000-000000008191",
      "content_items": [
        {
          "content_id": "00000000-0000-4000-8000-000000010631"
        },
        {
          "content_id": "00000000-0000-4000-8000-000000010632"
        }
      ],
      "questions": [
        {
          "id": "pricing",
          "focus_terms": [
            "monthly price"
          ]
        }
      ],
      "workflow": "passage_overlap"
    }
    Request body fields 1
    NameTypeRequiredDescription
    brand_idstring (uuid)Yes
    content_itemsarray of objectYes
    content_items[].boilerplatebooleanNo
    content_items[].canonical_urlstring | nullNo
    content_items[].content_idstring (uuid)Yes
    content_items[].languagestringNo
    content_items[].product_editionstringNo
    estimatefalseNo
    excerptsarray of objectNo
    excerpts[].passage_idstring (uuid)Conditional
    excerpts[].textstringConditional
    match_thresholdnumberNo
    questionsarray of objectYes
    questions[].focus_termsarray of stringYes
    questions[].idstringYes
    workflow"passage_overlap"Yes
    Request body fields 2
    NameTypeRequiredDescription
    brand_idstring (uuid)Yes
    content_itemsarray of objectYes
    content_items[].boilerplatebooleanNo
    content_items[].canonical_urlstring | nullNo
    content_items[].content_idstring (uuid)Yes
    content_items[].languagestringNo
    content_items[].product_editionstringNo
    estimatefalseNo
    estimate_idstring (uuid)Yes
    excerptsarray of objectNo
    excerpts[].passage_idstring (uuid)Conditional
    excerpts[].textstringConditional
    match_thresholdnumberNo
    max_unitsintegerYes
    questionsarray of objectYes
    questions[].focus_termsarray of stringYes
    questions[].idstringYes
    simulation_optionsobjectYes
    simulation_options.delivery"async"No
    simulation_options.input_kind"saved"No
    simulation_options.max_candidatesintegerNo
    simulation_options.max_input_bytesintegerNo
    simulation_options.max_input_tokensintegerNo
    simulation_options.max_promptsintegerNo
    simulation_options.mode"persistent"Yes
    simulation_options.monitored_competitorsobject | nullNo
    simulation_options.monitored_competitors.capture_revision_idsarray of string (uuid)No
    simulation_options.monitored_competitors.limitintegerNo
    simulation_options.monitored_competitors.observation_idsarray of string (uuid)Conditional
    simulation_options.monitored_competitors.prompt_idstring (uuid)Conditional
    simulation_options.monitored_competitors.prompt_versionintegerConditional
    simulation_options.revision_idsarray of string (uuid)No
    workflow"passage_overlap"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X POST "$AEO_API_BASE_URL/v2/runs" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 202

    Saved review accepted and ready to poll.

    HTTP 202 headers
    NameTypeRequiredDescription
    Locationstring (uri-reference)No

    application/json

    Response fields are listed below.

    HTTP 202 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.poll_urlstring (uri-reference)YesSend an authenticated GET request to this URL to read the current result.
    data.run_idstringYesIdentifies the run. Keep any prefix when using it in a request.
    data.status"succeeded"Yes
    data.workflow"passage_overlap"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.
    HTTP 202 response fields 2
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.poll_urlstring (uri-reference)YesSend an authenticated GET request to this URL to read the current result.
    data.run_idstringYesIdentifies the run. Keep any prefix when using it in a request.
    data.status"queued"Yes
    data.workflow"passage_overlap"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Compare buyer-question framings against saved evidencecomparison_evidence_gaps

    Open this request with Python and TypeScript examples

    • Body workflow is comparison_evidence_gaps.
    • Body estimate is false. Default is false.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read, audits:read, optimizations:read
    Roles
    editor, owner, service
    Plans
    Optimizer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    Idempotency-KeyheaderstringYes

    Request body

    {
      "as_of": "2026-11-01",
      "brand_id": "00000000-0000-4000-8000-000000008191",
      "claims": [
        {
          "id": "pricing",
          "product": "brand",
          "statement": "The Standard plan costs USD 20 per month.",
          "evidence_needed": "A published price list."
        }
      ],
      "competitor_corpus_revision": "00000000-0000-4000-8000-000000028311",
      "competitor_id": "00000000-0000-4000-8000-000000013941",
      "draft_revision": "00000000-0000-4000-8000-000000015031",
      "prompt_set_revision": "00000000-0000-4000-8000-000000020751",
      "question_id": "pricing",
      "workflow": "comparison_evidence_gaps"
    }
    Request body fields 1
    NameTypeRequiredDescription
    as_ofstring (date)Yes
    brand_idstring (uuid)Yes
    claimsarray of objectYes
    claims[].assertedbooleanNo
    claims[].assessed_quotesarray of objectNoCaller-verified assessments with exact quotes from the saved evidence.
    claims[].assessed_quotes[].assessment"supported_strength" | "verified_limitation" | "contradicted_assertion"Conditional
    claims[].assessed_quotes[].quotestringConditional
    claims[].assessed_quotes[].urlstringConditional
    claims[].evidence_neededstringYes
    claims[].idstringYes
    claims[].product"brand" | "competitor"Yes
    claims[].statementstringYes
    competitor_corpus_revisionstring (uuid)Yes
    competitor_idstring (uuid)Yes
    draft_revisionstring (uuid)Yes
    estimatefalseNo
    prompt_set_revisionstring (uuid)Yes
    question_idstringYes
    workflow"comparison_evidence_gaps"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X POST "$AEO_API_BASE_URL/v2/runs" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 202

    Saved review accepted and ready to poll.

    HTTP 202 headers
    NameTypeRequiredDescription
    Locationstring (uri-reference)No

    application/json

    Response fields are listed below.

    HTTP 202 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.poll_urlstring (uri-reference)YesSend an authenticated GET request to this URL to read the current result.
    data.run_idstringYesIdentifies the run. Keep any prefix when using it in a request.
    data.status"succeeded"Yes
    data.workflow"comparison_evidence_gaps"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Start a cited page runcited_page_sweep

    Open this request with Python and TypeScript examples

    • Body workflow is cited_page_sweep.
    • Body estimate is false. Default is false.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    audits:write
    Roles
    editor, owner, service
    Plans
    Optimizer, Analyzer
    Credits
    This operation can use credits.
    Billing access
    Required

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    Idempotency-KeyheaderstringYes

    Request body

    {
      "brand_id": "00000000-0000-4000-8000-000000008191",
      "estimate_id": "00000000-0000-4000-8000-000000011601",
      "max_units": 1,
      "workflow": "cited_page_sweep"
    }
    Request body fields 1
    NameTypeRequiredDescription
    brand_idstring (uuid)Yes
    estimatefalseNo
    estimate_idstring (uuid)Yes
    max_unitsintegerYes
    workflow"cited_page_sweep"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X POST "$AEO_API_BASE_URL/v2/runs" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 202

    Start a cited page run.

    HTTP 202 headers
    NameTypeRequiredDescription
    LocationstringNo

    application/json

    Response fields are listed below.

    HTTP 202 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.billed_unitsintegerNoThe credits charged for this work.
    data.brand_idstringYesIdentifies the brand this result belongs to.
    data.completed_pagesintegerNo
    data.due_pagesintegerNo
    data.next_offsetinteger | nullNo
    data.pagesarray of objectNo
    data.pages[].brand_mentioned_on_pageboolean | nullNo
    data.pages[].changed_since_previous_checkboolean | nullNo
    data.pages[].citing_answersintegerNo
    data.pages[].classification_basis"curated_domain" | "url_pattern" | "page_content" | "unknown"No
    data.pages[].classification_confidencenumberNo
    data.pages[].competitors_mentioned_on_pageobjectNo
    data.pages[].competitors_mentioned_on_page.[key]boolean | nullNoValue for each key.
    data.pages[].domainstringNo
    data.pages[].last_checked_atstringNo
    data.pages[].page_idstringConditional
    data.pages[].page_status"in_progress" | "live" | "gone"Conditional
    data.pages[].page_type"blog" | "directory" | "review_site" | "news" | "forum" | "brand_site" | "competitor_site" | "marketplace" | "docs" | "social" | "press_release" | "comparison" | "roundup" | "guide" | "institution" | "reference" | "other" | "unknown" | "video"No
    data.pages[].page_type_confidencenumber | nullNo
    data.pages[].source_category"directory" | "review_site" | "local_directory" | "industry_directory" | "forum" | "social" | "video" | "news" | "local_news" | "comparison" | "marketplace" | "brand_site" | "competitor_site" | "docs" | "press" | "other"No
    data.pages[].urlstringConditional
    data.run_idstringYesIdentifies the run. Keep any prefix when using it in a request.
    data.status"in_progress" | "completed" | "cancelled"Yes
    data.total_pagesintegerNo
    data.workflow"cited_page_sweep" | "cited_page_labelling"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Start a cited page runcited_page_labelling

    Open this request with Python and TypeScript examples

    • Body workflow is cited_page_labelling.
    • Body estimate is false. Default is false.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    audits:write
    Roles
    editor, owner, service
    Plans
    Optimizer, Analyzer
    Credits
    This operation can use credits.
    Billing access
    Required

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    Idempotency-KeyheaderstringYes

    Request body

    {
      "brand_id": "00000000-0000-4000-8000-000000008191",
      "estimate_id": "00000000-0000-4000-8000-000000011601",
      "max_units": 1,
      "workflow": "cited_page_labelling"
    }
    Request body fields 1
    NameTypeRequiredDescription
    brand_idstring (uuid)Yes
    estimatefalseNo
    estimate_idstring (uuid)Yes
    max_unitsintegerYes
    workflow"cited_page_labelling"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X POST "$AEO_API_BASE_URL/v2/runs" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 202

    Start a cited page run.

    HTTP 202 headers
    NameTypeRequiredDescription
    LocationstringNo

    application/json

    Response fields are listed below.

    HTTP 202 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.billed_unitsintegerNoThe credits charged for this work.
    data.brand_idstringYesIdentifies the brand this result belongs to.
    data.completed_pagesintegerNo
    data.due_pagesintegerNo
    data.next_offsetinteger | nullNo
    data.pagesarray of objectNo
    data.pages[].brand_mentioned_on_pageboolean | nullNo
    data.pages[].changed_since_previous_checkboolean | nullNo
    data.pages[].citing_answersintegerNo
    data.pages[].classification_basis"curated_domain" | "url_pattern" | "page_content" | "unknown"No
    data.pages[].classification_confidencenumberNo
    data.pages[].competitors_mentioned_on_pageobjectNo
    data.pages[].competitors_mentioned_on_page.[key]boolean | nullNoValue for each key.
    data.pages[].domainstringNo
    data.pages[].last_checked_atstringNo
    data.pages[].page_idstringConditional
    data.pages[].page_status"in_progress" | "live" | "gone"Conditional
    data.pages[].page_type"blog" | "directory" | "review_site" | "news" | "forum" | "brand_site" | "competitor_site" | "marketplace" | "docs" | "social" | "press_release" | "comparison" | "roundup" | "guide" | "institution" | "reference" | "other" | "unknown" | "video"No
    data.pages[].page_type_confidencenumber | nullNo
    data.pages[].source_category"directory" | "review_site" | "local_directory" | "industry_directory" | "forum" | "social" | "video" | "news" | "local_news" | "comparison" | "marketplace" | "brand_site" | "competitor_site" | "docs" | "press" | "other"No
    data.pages[].urlstringConditional
    data.run_idstringYesIdentifies the run. Keep any prefix when using it in a request.
    data.status"in_progress" | "completed" | "cancelled"Yes
    data.total_pagesintegerNo
    data.workflow"cited_page_sweep" | "cited_page_labelling"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Start an AI search topics runai_search_topics

    Open this request with Python and TypeScript examples

    • Body workflow is ai_search_topics.
    • Body estimate is false. Default is false.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    prompts:write
    Roles
    editor, owner, service
    Plans
    Optimizer
    Credits
    This operation can use credits.
    Billing access
    Required

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    Idempotency-KeyheaderstringYes

    Request body

    {
      "brand_id": "00000000-0000-4000-8000-000000000001",
      "estimate": false,
      "estimate_id": "00000000-0000-4000-8000-000000000002",
      "max_units": 511,
      "workflow": "ai_search_topics"
    }
    Request body fields 1
    NameTypeRequiredDescription
    brand_idstring (uuid)Yes
    estimatefalseNo
    estimate_idstring (uuid)Yes
    max_unitsintegerYes
    workflow"ai_search_topics"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X POST "$AEO_API_BASE_URL/v2/runs" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 202

    Start an AI search topics run

    HTTP 202 headers
    NameTypeRequiredDescription
    Locationstring (uri-reference)No

    application/json

    Response fields are listed below.

    HTTP 202 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.billed_unitsintegerYesThe credits charged for this work.
    data.created_atstring (date-time)Yes
    data.errorobject | nullYes
    data.error.code"invalid_request" | "unauthenticated" | "quota_exceeded" | "forbidden" | "not_found" | "conflict" | "precondition_failed" | "validation_error" | "rate_limited" | "source_pending" | "feature_not_offered" | "internal_error"Conditional
    data.error.duplicate_ofstring (uuid)NoID of your existing prompt.
    data.error.field_errorsarray of objectNo
    data.error.field_errors[].fieldstring | nullConditional
    data.error.field_errors[].messagestringConditional
    data.error.messagestringConditional
    data.error.request_idstring (uuid)Conditional
    data.error.retryablebooleanConditional
    data.error.similar_promptsarray of objectNoOther matching prompts in your library.
    data.error.similar_prompts[].prompt_idstring (uuid)Conditional
    data.estimated_unitsintegerYes
    data.idstring (uuid)Yes
    data.kind"ai_search_topics"Yes
    data.phase"researching" | "drafting" | "validating" | "collecting" | "analyzing" | "exporting" | "purging" | nullYes
    data.poll_urlstring (uri-reference)YesSend an authenticated GET request to this URL to read the current result.
    data.progressnumberYes
    data.reserved_unitsintegerYesCredits held for the run.
    data.resultnullYes
    data.revisionintegerYes
    data.run_idstringYesIdentifies the run. Keep any prefix when using it in a request.
    data.state"queued"Yes
    data.status"queued"Yes
    data.updated_atstring (date-time)Yes
    data.workflow"ai_search_topics"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Start an answer accuracy checkcheck_answer_accuracy

    Open this request with Python and TypeScript examples

    • Body workflow is check_answer_accuracy.
    • Body estimate is false. Default is false.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    prompts:write
    Roles
    editor, owner, service
    Plans
    Optimizer, Analyzer
    Credits
    This operation can use credits.
    Billing access
    Required

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    Idempotency-KeyheaderstringYes

    Request body

    {
      "brand_id": "00000000-0000-4000-8000-000000008191",
      "estimate_id": "00000000-0000-4000-8000-000000011601",
      "max_units": 1,
      "workflow": "check_answer_accuracy"
    }
    Request body fields 1
    NameTypeRequiredDescription
    brand_idstring (uuid)Yes
    estimatefalseNo
    estimate_idstring (uuid)Yes
    max_unitsintegerYes
    workflow"check_answer_accuracy"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X POST "$AEO_API_BASE_URL/v2/runs" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 202

    Start an answer accuracy check

    HTTP 202 headers
    NameTypeRequiredDescription
    Locationstring (uri-reference)No

    application/json

    Response fields are listed below.

    HTTP 202 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.poll_urlstringYesSend an authenticated GET request to this URL to read the current result.
    data.run_idstringYesIdentifies the run. Keep any prefix when using it in a request.
    data.status"in_progress" | "completed"Yes
    data.workflow"check_answer_accuracy"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Start a draft accuracy checkcheck_draft_accuracy

    Open this request with Python and TypeScript examples

    • Body workflow is check_draft_accuracy.
    • Body estimate is false. Default is false.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    prompts:write, analytics:read, optimizations:read
    Roles
    editor, owner, service
    Plans
    Optimizer
    Credits
    This operation can use credits.
    Billing access
    Required

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    Idempotency-KeyheaderstringYes

    Request body

    {
      "brand_id": "00000000-0000-4000-8000-000000008191",
      "estimate_id": "00000000-0000-4000-8000-000000011601",
      "max_units": 1,
      "workflow": "check_draft_accuracy"
    }
    Request body fields 1
    NameTypeRequiredDescription
    brand_idstring (uuid)Yes
    estimatefalseNo
    estimate_idstring (uuid)Yes
    max_unitsintegerYes
    workflow"check_draft_accuracy"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X POST "$AEO_API_BASE_URL/v2/runs" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 202

    Start a draft accuracy check

    HTTP 202 headers
    NameTypeRequiredDescription
    Locationstring (uri-reference)No

    application/json

    Response fields are listed below.

    HTTP 202 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.poll_urlstringYesSend an authenticated GET request to this URL to read the current result.
    data.run_idstringYesIdentifies the run. Keep any prefix when using it in a request.
    data.status"in_progress" | "completed"Yes
    data.workflow"check_draft_accuracy"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Submit a brand page to Brave Searchbrave_submit

    Open this request with Python and TypeScript examples

    • Body workflow is brave_submit.
    • Body estimate is false. Default is false.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    brands:write
    Roles
    editor, owner, service
    Plans
    Optimizer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    Idempotency-KeyheaderstringYes

    Request body

    {
      "brand_id": "00000000-0000-4000-8000-000000000001",
      "estimate": false,
      "url": "https://example.com/pricing",
      "workflow": "brave_submit"
    }
    Request body fields 1
    NameTypeRequiredDescription
    brand_idstring (uuid)Yes
    estimatefalseNo
    urlstringYes
    workflow"brave_submit"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X POST "$AEO_API_BASE_URL/v2/runs" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 202

    Submit a brand page to Brave Search

    HTTP 202 headers
    NameTypeRequiredDescription
    Locationstring (uri-reference)No

    application/json

    Response fields are listed below.

    HTTP 202 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.poll_urlstringYesSend an authenticated GET request to this URL to read the current result.
    data.requested_atstring (date-time)Yes
    data.run_idstringYesIdentifies the run. Keep any prefix when using it in a request.
    data.status"in_progress" | "submitted" | "failed"Yes
    data.submitted_atstring (date-time) | nullYes
    data.urlstringYes
    data.workflow"brave_submit"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Start a win rate simulationretrieval_win_rate

    Available only in fixture tests.

    Open this request with Python and TypeScript examples

    • Body workflow is retrieval_win_rate.
    • Body estimate is false. Default is false.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read, audits:read, optimizations:read
    Roles
    editor, owner, service
    Plans
    Optimizer
    Credits
    Check the estimate for the selected delivery mode.
    Billing access
    Required

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    Idempotency-KeyheaderstringYes

    Request body

    {
      "brand_id": "00000000-0000-4000-8000-000000000050",
      "competitor_corpus_revision": "00000000-0000-4000-8000-000000000053",
      "draft_revision": "00000000-0000-4000-8000-000000000051",
      "estimate": false,
      "estimate_id": "00000000-0000-4000-8000-000000000054",
      "max_units": 4,
      "prompt_ids": [
        "win",
        "loss",
        "tie",
        "alternate"
      ],
      "prompt_set_revision": "00000000-0000-4000-8000-000000000052",
      "simulation_options": {
        "max_candidates": 21,
        "max_prompts": 4,
        "mode": "persistent"
      },
      "workflow": "retrieval_win_rate"
    }
    Request body fields 1
    NameTypeRequiredDescription
    brand_idstring (uuid)Yes
    competitor_corpus_revisionstring (uuid)Yes
    draft_revisionstring (uuid)Yes
    estimatefalseNo
    estimate_idstring (uuid)Yes
    max_unitsintegerYes
    prompt_idsarray of stringYes
    prompt_set_revisionstring (uuid)Yes
    simulation_optionsobjectNo
    simulation_options.delivery"async"No
    simulation_options.input_kind"saved"No
    simulation_options.max_candidatesintegerNo
    simulation_options.max_input_bytesintegerNo
    simulation_options.max_input_tokensintegerNo
    simulation_options.max_promptsintegerNo
    simulation_options.mode"persistent"Conditional
    simulation_options.monitored_competitorsnullNo
    simulation_options.revision_idsarray of string (uuid)No
    workflow"retrieval_win_rate"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X POST "$AEO_API_BASE_URL/v2/runs" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 202

    Win rate simulation queued.

    HTTP 202 headers
    NameTypeRequiredDescription
    Locationstring (uri-reference)No

    application/json

    Response fields are listed below.

    HTTP 202 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.poll_urlstring (uri-reference)YesSend an authenticated GET request to this URL to read the current result.
    data.run_idstringYesIdentifies the run. Keep any prefix when using it in a request.
    data.status"queued"Yes
    data.workflow"retrieval_win_rate"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Estimate pages and credits for an auditestimate_audit

    Open this request with Python and TypeScript examples

    • Body workflow is audit.
    • Body estimate is true. Default is false.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    audits:write
    Roles
    editor, owner, service
    Plans
    Optimizer, Analyzer
    Credits
    The estimate uses zero credits.
    Billing access
    Required

    Parameters

    The contract lists no fields for this section.

    Request body

    {
      "brand_id": "00000000-0000-4000-8000-000000008191",
      "estimate": true,
      "max_pages": 1,
      "max_units": 1,
      "types": [
        "technical"
      ],
      "urls": [
        "https://example.com/pricing"
      ],
      "workflow": "audit"
    }
    Request body fields 1
    NameTypeRequiredDescription
    brand_idstring (uuid)Yes
    checksarray of "crawler_access" | "schema_consistency" | "business_facts" | nullNoAdditional audit checks to run.
    estimatetrueYes
    listing_urlsarray of stringNoPublic listing URLs to compare with the profile.
    location_idsarray of string (uuid)NoBrand locations to include in the comparisons.
    max_pagesintegerYes
    max_unitsintegerYes
    profile"instant" | "detailed"No
    typesarray of "technical" | "content" | "agent"Yes
    urlsarray of string (uri)Yes
    workflow"audit"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X POST "$AEO_API_BASE_URL/v2/runs" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Audit estimate

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.estimated_creditsintegerYesThe expected credit cost for this selection.
    data.idstringNo
    data.max_pagesintegerYes
    data.maximum_creditsintegerYesThe upper credit estimate for this selection.
    data.page_breakdownobjectYes
    data.page_breakdown.crawler_access_max_requestsintegerYes
    data.page_breakdown.crawler_access_pagesintegerYes
    data.page_breakdown.listing_pagesintegerYes
    data.page_breakdown.listing_pages_omittedintegerYes
    data.page_breakdown.site_pagesintegerYes
    data.v2_run_idstringNoThe prefixed run ID accepted by GET /v2/runs/{run_id}.
    data.workflow"audit"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Estimate web prompt suggestionsestimate_prompt_suggestions

    Open this request with Python and TypeScript examples

    • Body workflow is prompt_suggestions.
    • Body estimate is true. Default is false.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    prompts:write
    Roles
    editor, owner, service
    Plans
    Optimizer, Analyzer
    Credits
    The estimate uses zero credits.
    Billing access
    Required

    Parameters

    The contract lists no fields for this section.

    Request body

    {
      "brand_id": "00000000-0000-4000-8000-000000008191",
      "category_ids": [
        "software"
      ],
      "estimate": true,
      "intents": [
        "discovery"
      ],
      "market": {
        "country": "US",
        "language": "en"
      },
      "workflow": "prompt_suggestions"
    }
    Request body fields 1
    NameTypeRequiredDescription
    audit_idstring (uuid) | nullNo
    brand_idstring (uuid)Yes
    category_idsarray of stringYes
    countintegerNo
    estimatetrueYes
    intentsarray of "discovery" | "recommendation" | "evaluation" | "pricing" | "comparison" | "alternatives" | "use_case" | "transaction" | "local" | "troubleshooting" | "trust" | "informational"Yes
    marketobjectYes
    market.citystring | nullNo
    market.countrystringYes
    market.languagestringYes
    market.regionstring | nullNo
    neutral_discoverytrueNo
    workflow"prompt_suggestions"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X POST "$AEO_API_BASE_URL/v2/runs" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Credit estimate

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.reserve_unitsintegerYesCredits the API needs to reserve when you start this work.
    data.workflow"prompt_suggestions"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Quote Generationestimate_editorial_generation

    Open this request with Python and TypeScript examples

    • Body workflow is editorial_generation.
    • Body estimate is true. Default is false.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    optimizations:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer
    Credits
    The estimate uses zero credits.

    Parameters

    The contract lists no fields for this section.

    Request body

    {
      "brand_id": "00000000-0000-4000-8000-000000000001",
      "draft_id": "00000000-0000-4000-8000-000000000001",
      "estimate": true,
      "workflow": "editorial_generation"
    }
    Request body fields 1
    NameTypeRequiredDescription
    brand_idstring (uuid)Yes
    draft_idstring (uuid)Yes
    estimatetrueYes
    workflow"editorial_generation"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X POST "$AEO_API_BASE_URL/v2/runs" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.call_count1No
    data.charge_unitsintegerYes
    data.draft_revisionintegerYes
    data.expires_atstring (date-time)Yes
    data.poll_urlstringYesSend an authenticated GET request to this URL to read the current result.
    data.purposestringYes
    data.quote_idstringYes
    data.reserve_unitsintegerYesCredits the API needs to reserve when you start this work.
    metaobjectYesInformation about this response, including any warnings or pagination details.

    Errors

    Bulk Estimateestimate_managed_batch

    Open this request with Python and TypeScript examples

    • Body workflow is managed_batch.
    • Body estimate is true. Default is false.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    collections:write
    Roles
    editor, owner, service
    Plans
    Optimizer, Analyzer
    Credits
    The estimate uses zero credits.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    Idempotency-KeyheaderstringYes

    Request body

    {
      "estimate": true,
      "items": [
        {
          "idempotency_key": "example-estimate-0001",
          "request": {
            "brand_id": "00000000-0000-4000-8000-000000000001",
            "market": {
              "country": "US",
              "language": "en"
            }
          }
        }
      ],
      "workflow": "managed_batch"
    }
    Request body fields 1
    NameTypeRequiredDescription
    estimatetrueYes
    itemsarray of objectYes
    items[].idempotency_keystringYes
    items[].requestobjectYes
    items[].request.allow_country_levelbooleanNoAllow a country-level answer when the source cannot apply the requested location.
    items[].request.answer_mode"standard" | "new"NoUse standard for the normal answer or new to request a new answer.
    items[].request.brand_idstring (uuid)Yes
    items[].request.marketobjectYes``components.schemas.Market``.
    items[].request.market.citystring | nullNo
    items[].request.market.countrystringYes
    items[].request.market.languagestringYes
    items[].request.market.latitudenumber | nullNo
    items[].request.market.location_idstring (uuid) | nullNo
    items[].request.market.longitudenumber | nullNo
    items[].request.market.postal_codestring | nullNo
    items[].request.market.regionstring | nullNo
    items[].request.sourcesarray of object | nullNo
    items[].request.sources.device"desktop" | "mobile" | "unknown" | nullNo
    items[].request.sources.mode"ui_normal" | "ui_search" | "api_normal" | "api_web" | "ai_mode" | "ai_overview" | "organic_search"ConditionalThe mode used to collect the answer. The unverified value appears only in evidence.
    items[].request.sources.platform"chatgpt" | "gemini" | "claude" | "perplexity" | "google" | "bing" | "brave" | "meta_ai" | "grok" | "universal"ConditionalThe platform where the answer was observed.
    items[].request.sources.providerstring | nullNo
    items[].request.websitestring | nullNo
    workflow"managed_batch"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X POST "$AEO_API_BASE_URL/v2/runs" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataarray of object | objectYesThe requested result. See the fields below for its contents.
    data[].brand_idstring (uuid)Yes
    data[].dataobjectConditional
    data[].data.brand_idstringConditional
    data[].data.eligible_enginesarray of objectConditional
    data[].data.eligible_engines[].applied_locationobject | nullNo
    data[].data.eligible_engines[].applied_location.citystring | nullNo
    data[].data.eligible_engines[].applied_location.countrystring | nullNo
    data[].data.eligible_engines[].applied_location.granularity"country" | "region" | "city" | "postal" | "coordinates"Conditional
    data[].data.eligible_engines[].applied_location.latitudenumber | nullNo
    data[].data.eligible_engines[].applied_location.longitudenumber | nullNo
    data[].data.eligible_engines[].applied_location.postal_codestring | nullNo
    data[].data.eligible_engines[].applied_location.regionstring | nullNo
    data[].data.eligible_engines[].charge_per_stepintegerConditional
    data[].data.eligible_engines[].reserve_per_stepintegerConditional
    data[].data.eligible_engines[].sourceobjectConditional
    data[].data.eligible_engines[].unenforced_controlsarray of stringConditional
    data[].data.estimate_fingerprintstringConditional
    data[].data.estimated_creditsintegerConditional
    data[].data.excluded_sourcesarray of objectConditionalSources 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[].data.excluded_sources[].location_idstring (uuid)No
    data[].data.expires_atstringConditional
    data[].data.location_totalsarray of objectNo
    data[].data.location_totals[].eligible_enginesarray of objectNo
    data[].data.location_totals[].eligible_engines[].sourceobjectConditional
    data[].data.location_totals[].eligible_engines[].unenforced_controlsarray of stringConditional
    data[].data.location_totals[].estimated_creditsintegerConditional
    data[].data.location_totals[].location_idstring (uuid)Conditional
    data[].data.location_totals[].marketobjectConditional
    data[].data.location_totals[].market.citystring | null | nullNo
    data[].data.location_totals[].market.countrystringConditional
    data[].data.location_totals[].market.languagestringConditional
    data[].data.location_totals[].market.latitudenumber | nullNo
    data[].data.location_totals[].market.location_idstring (uuid)No
    data[].data.location_totals[].market.longitudenumber | nullNo
    data[].data.location_totals[].market.postal_codestring | nullNo
    data[].data.location_totals[].market.regionstring | null | nullNo
    data[].data.location_totals[].maximum_creditsintegerConditional
    data[].data.location_totals[].prompt_countintegerConditional
    data[].data.maximum_creditsintegerConditional
    data[].data.poll_urlstringConditional
    data[].data.prompt_countintegerConditional
    data[].data.prompt_set_revisionstringConditional
    data[].data.run_idstring | nullNo
    data[].data.websitestring | nullConditional
    data[].idempotency_keystringYes
    data[].status200 | integerYes
    data[].errorobjectConditional
    data[].error.codestringConditional
    data[].error.field_errorsarray of objectNo
    data[].error.field_errors[].fieldstring | nullConditional
    data[].error.field_errors[].messagestringConditional
    data[].error.messagestringConditional
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Estimate Runestimate_managed

    Open this request with Python and TypeScript examples

    • Body workflow is managed.
    • Body estimate is true. Default is false.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    collections:write
    Roles
    editor, owner, service
    Plans
    Optimizer, Analyzer
    Credits
    The estimate uses zero credits.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    Idempotency-KeyheaderstringYes

    Request body

    {
      "brand_id": "00000000-0000-4000-8000-000000000001",
      "estimate": true,
      "market": {
        "country": "US",
        "language": "en"
      },
      "workflow": "managed"
    }
    Request body fields 1
    NameTypeRequiredDescription
    all_locationsbooleanNo
    allow_country_levelbooleanNoAllow a country-level answer when the source cannot apply the requested location.
    answer_mode"standard" | "new"NoUse standard for the normal answer or new to request a new answer.
    brand_idstring (uuid)Yes
    estimatetrueYes
    location_idsarray of string (uuid)No
    marketobjectYes``components.schemas.Market``.
    market.citystring | nullNo
    market.countrystringYes
    market.languagestringYes
    market.latitudenumber | nullNo
    market.location_idstring (uuid) | nullNo
    market.longitudenumber | nullNo
    market.postal_codestring | nullNo
    market.regionstring | nullNo
    sourcesarray of object | nullNo
    sources.device"desktop" | "mobile" | "unknown" | nullNo
    sources.mode"ui_normal" | "ui_search" | "api_normal" | "api_web" | "ai_mode" | "ai_overview" | "organic_search"ConditionalThe mode used to collect the answer. The unverified value appears only in evidence.
    sources.platform"chatgpt" | "gemini" | "claude" | "perplexity" | "google" | "bing" | "brave" | "meta_ai" | "grok" | "universal"ConditionalThe platform where the answer was observed.
    sources.providerstring | nullNo
    websitestring | nullNo
    workflow"managed"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X POST "$AEO_API_BASE_URL/v2/runs" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstringYesIdentifies the brand this result belongs to.
    data.eligible_enginesarray of objectYes
    data.eligible_engines[].applied_locationobject | nullNo
    data.eligible_engines[].applied_location.citystring | nullNo
    data.eligible_engines[].applied_location.countrystring | nullNo
    data.eligible_engines[].applied_location.granularity"country" | "region" | "city" | "postal" | "coordinates"Conditional
    data.eligible_engines[].applied_location.latitudenumber | nullNo
    data.eligible_engines[].applied_location.longitudenumber | nullNo
    data.eligible_engines[].applied_location.postal_codestring | nullNo
    data.eligible_engines[].applied_location.regionstring | nullNo
    data.eligible_engines[].charge_per_stepintegerYes
    data.eligible_engines[].reserve_per_stepintegerYes
    data.eligible_engines[].sourceobjectYes
    data.eligible_engines[].unenforced_controlsarray of stringYes
    data.estimate_fingerprintstringYes
    data.estimated_creditsintegerYesThe expected credit cost for this selection.
    data.excluded_sourcesarray of objectYesSources 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_idstring (uuid)No
    data.expires_atstringYes
    data.location_totalsarray of objectNo
    data.location_totals[].eligible_enginesarray of objectNo
    data.location_totals[].eligible_engines[].sourceobjectConditional
    data.location_totals[].eligible_engines[].unenforced_controlsarray of stringConditional
    data.location_totals[].estimated_creditsintegerConditional
    data.location_totals[].location_idstring (uuid)Conditional
    data.location_totals[].marketobjectConditional
    data.location_totals[].market.citystring | null | nullNo
    data.location_totals[].market.countrystringConditional
    data.location_totals[].market.languagestringConditional
    data.location_totals[].market.latitudenumber | nullNo
    data.location_totals[].market.location_idstring (uuid)No
    data.location_totals[].market.longitudenumber | nullNo
    data.location_totals[].market.postal_codestring | nullNo
    data.location_totals[].market.regionstring | null | nullNo
    data.location_totals[].maximum_creditsintegerConditional
    data.location_totals[].prompt_countintegerConditional
    data.maximum_creditsintegerYesThe upper credit estimate for this selection.
    data.poll_urlstringYesSend an authenticated GET request to this URL to read the current result.
    data.prompt_countintegerYes
    data.prompt_set_revisionstringYes
    data.run_idstring | nullNoIdentifies the run. Keep any prefix when using it in a request.
    data.websitestring | nullYes
    metaobjectYesInformation about this response, including any warnings or pagination details.

    Errors

    Estimate a cited page runestimate_cited_page_sweep

    Open this request with Python and TypeScript examples

    • Body workflow is cited_page_sweep.
    • Body estimate is true. Default is false.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    audits:write
    Roles
    editor, owner, service
    Plans
    Optimizer, Analyzer
    Credits
    The estimate uses zero credits.

    Parameters

    The contract lists no fields for this section.

    Request body

    {
      "brand_id": "00000000-0000-4000-8000-000000008191",
      "estimate": true,
      "max_credits_per_run": 1,
      "workflow": "cited_page_sweep"
    }
    Request body fields 1
    NameTypeRequiredDescription
    brand_idstring (uuid)Yes
    estimatetrueYes
    label_pagesbooleanNo
    max_credits_per_runintegerYes
    max_pages_per_runintegerNo
    workflow"cited_page_sweep"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X POST "$AEO_API_BASE_URL/v2/runs" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Estimate a cited page run.

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstringYesIdentifies the brand this result belongs to.
    data.due_pagesintegerYes
    data.estimate_idstringYesIdentifies the estimate for this selection.
    data.expires_atstringYes
    data.poll_urlstringYesSend an authenticated GET request to this URL to read the current result.
    data.reserve_unitsintegerYesCredits the API needs to reserve when you start this work.
    data.selected_pagesintegerYes
    data.workflow"cited_page_sweep" | "cited_page_labelling"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Estimate a cited page runestimate_cited_page_labelling

    Open this request with Python and TypeScript examples

    • Body workflow is cited_page_labelling.
    • Body estimate is true. Default is false.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    audits:write
    Roles
    editor, owner, service
    Plans
    Optimizer, Analyzer
    Credits
    The estimate uses zero credits.

    Parameters

    The contract lists no fields for this section.

    Request body

    {
      "brand_id": "00000000-0000-4000-8000-000000008191",
      "estimate": true,
      "max_credits_per_run": 1,
      "workflow": "cited_page_labelling"
    }
    Request body fields 1
    NameTypeRequiredDescription
    brand_idstring (uuid)Yes
    estimatetrueYes
    label_pagesbooleanNo
    max_credits_per_runintegerYes
    max_pages_per_runintegerNo
    workflow"cited_page_labelling"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X POST "$AEO_API_BASE_URL/v2/runs" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Estimate a cited page run.

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstringYesIdentifies the brand this result belongs to.
    data.due_pagesintegerYes
    data.estimate_idstringYesIdentifies the estimate for this selection.
    data.expires_atstringYes
    data.poll_urlstringYesSend an authenticated GET request to this URL to read the current result.
    data.reserve_unitsintegerYesCredits the API needs to reserve when you start this work.
    data.selected_pagesintegerYes
    data.workflow"cited_page_sweep" | "cited_page_labelling"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Estimate the credits for AI search topicsestimate_ai_search_topics

    Open this request with Python and TypeScript examples

    • Body workflow is ai_search_topics.
    • Body estimate is true. Default is false.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    prompts:write
    Roles
    editor, owner, service
    Plans
    Optimizer
    Credits
    The estimate uses zero credits.

    Parameters

    The contract lists no fields for this section.

    Request body

    {
      "brand_id": "00000000-0000-4000-8000-000000000001",
      "category_id": "gcid:dentist",
      "estimate": true,
      "market": {
        "country": "US",
        "language": "en-US"
      },
      "period": {
        "end": "2026-10-01",
        "start": "2026-09-01"
      },
      "platforms": [
        "chatgpt",
        "google_ai_overviews"
      ],
      "workflow": "ai_search_topics"
    }
    Request body fields 1
    NameTypeRequiredDescription
    brand_idstring (uuid)Yes
    category_idstringYes
    estimatetrueYes
    language_scope"exact" | "unfiltered"No
    limitintegerNo
    marketobjectYes
    market.citystring | null | nullNo
    market.countrystringYes
    market.languagestringYes
    market.regionstring | null | nullNo
    periodobjectYes
    period.endstring (date)Yes
    period.granularity"month"No
    period.startstring (date)Yes
    platform_scope"covered" | "chatgpt" | "google_ai_overviews"No
    platformsarray of string | nullNo
    workflow"ai_search_topics"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X POST "$AEO_API_BASE_URL/v2/runs" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Estimate the credits for AI search topics

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.category_idstringYes
    data.charge_unitsintegerYes
    data.estimate_idstring (uuid)YesIdentifies the estimate for this selection.
    data.expires_atstring (date-time)Yes
    data.language_scope"exact" | "unfiltered"Yes
    data.limitintegerYes
    data.marketobjectYes
    data.market.citystring | null | nullNo
    data.market.countrystringYes
    data.market.languagestringYes
    data.market.regionstring | null | nullNo
    data.periodobjectYes
    data.period.endstring (date)Yes
    data.period.granularity"month"No
    data.period.startstring (date)Yes
    data.platform_attribution"none" | "unknown" | "partial"Yes
    data.platform_costsarray of objectNo
    data.platform_costs[].charge_unitsintegerConditional
    data.platform_costs[].platform"chatgpt" | "google_ai_overviews"Conditional
    data.platform_costs[].reserve_unitsintegerConditional
    data.platform_scope"covered" | "chatgpt" | "google_ai_overviews"Yes
    data.platformsarray of stringNo
    data.platforms_coveredarray of stringYes
    data.poll_urlstringYesSend an authenticated GET request to this URL to read the current result.
    data.reserve_unitsintegerYesCredits the API needs to reserve when you start this work.
    data.workflow"ai_search_topics"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Estimate credits for answer accuracy checksestimate_check_answer_accuracy

    Open this request with Python and TypeScript examples

    • Body workflow is check_answer_accuracy.
    • Body estimate is true. Default is false.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    prompts:write
    Roles
    editor, owner, service
    Plans
    Optimizer, Analyzer
    Credits
    The estimate uses zero credits.

    Parameters

    The contract lists no fields for this section.

    Request body

    {
      "brand_id": "00000000-0000-4000-8000-000000008191",
      "estimate": true,
      "observation_ids": [
        "00000000-0000-4000-8000-000000016111"
      ],
      "workflow": "check_answer_accuracy"
    }
    Request body fields 1
    NameTypeRequiredDescription
    brand_idstring (uuid)Yes
    estimatetrueYes
    observation_idsarray of string (uuid)Yes
    workflow"check_answer_accuracy"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X POST "$AEO_API_BASE_URL/v2/runs" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Estimate credits for answer accuracy checks

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.check_countintegerYes
    data.estimate_idstring (uuid)YesIdentifies the estimate for this selection.
    data.estimated_unitsintegerYes
    data.expires_atstring (date-time)Yes
    data.max_unitsintegerYes
    data.poll_urlstringYesSend an authenticated GET request to this URL to read the current result.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Estimate credits to check a draft revisionestimate_check_draft_accuracy

    Open this request with Python and TypeScript examples

    • Body workflow is check_draft_accuracy.
    • Body estimate is true. Default is false.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    prompts:write, analytics:read, optimizations:read
    Roles
    editor, owner, service
    Plans
    Optimizer
    Credits
    The estimate uses zero credits.

    Parameters

    The contract lists no fields for this section.

    Request body

    {
      "brand_id": "00000000-0000-4000-8000-000000008191",
      "draft_id": "00000000-0000-4000-8000-000000008291",
      "draft_revision": 1,
      "estimate": true,
      "workflow": "check_draft_accuracy"
    }
    Request body fields 1
    NameTypeRequiredDescription
    brand_idstring (uuid)Yes
    countrystring | nullNo
    draft_idstring (uuid)Yes
    draft_revisionintegerYesCurrent revision of the draft.
    estimatetrueYes
    workflow"check_draft_accuracy"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X POST "$AEO_API_BASE_URL/v2/runs" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Estimate credits to check a draft revision

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.check_countintegerYes
    data.estimate_idstring (uuid)YesIdentifies the estimate for this selection.
    data.estimated_unitsintegerYes
    data.expires_atstring (date-time)Yes
    data.max_unitsintegerYes
    data.poll_urlstringYesSend an authenticated GET request to this URL to read the current result.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Estimate credits for a saved simulationestimate_passage_overlap

    Open this request with Python and TypeScript examples

    • Body workflow is passage_overlap.
    • Body estimate is true. Default is false.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read, audits:read, optimizations:read
    Roles
    editor, owner, service
    Plans
    Optimizer
    Credits
    The estimate uses zero credits.

    Parameters

    The contract lists no fields for this section.

    Request body

    {
      "brand_id": "00000000-0000-4000-8000-000000008191",
      "content_items": [
        {
          "content_id": "00000000-0000-4000-8000-000000010631"
        },
        {
          "content_id": "00000000-0000-4000-8000-000000010632"
        }
      ],
      "estimate": true,
      "questions": [
        {
          "id": "pricing",
          "focus_terms": [
            "monthly price"
          ]
        }
      ],
      "simulation_options": {
        "mode": "persistent"
      },
      "workflow": "passage_overlap"
    }
    Request body fields 1
    NameTypeRequiredDescription
    brand_idstring (uuid)Yes
    content_itemsarray of objectYes
    content_items[].boilerplatebooleanNo
    content_items[].canonical_urlstring | nullNo
    content_items[].content_idstring (uuid)Yes
    content_items[].languagestringNo
    content_items[].product_editionstringNo
    estimatetrueYes
    excerptsarray of objectNo
    excerpts[].passage_idstring (uuid)Conditional
    excerpts[].textstringConditional
    match_thresholdnumberNo
    questionsarray of objectYes
    questions[].focus_termsarray of stringYes
    questions[].idstringYes
    simulation_optionsobjectYes
    simulation_options.delivery"async"No
    simulation_options.input_kind"saved"No
    simulation_options.max_candidatesintegerNo
    simulation_options.max_input_bytesintegerNo
    simulation_options.max_input_tokensintegerNo
    simulation_options.max_promptsintegerNo
    simulation_options.mode"persistent"Yes
    simulation_options.monitored_competitorsobject | nullNo
    simulation_options.monitored_competitors.capture_revision_idsarray of string (uuid)No
    simulation_options.monitored_competitors.limitintegerNo
    simulation_options.monitored_competitors.observation_idsarray of string (uuid)Conditional
    simulation_options.monitored_competitors.prompt_idstring (uuid)Conditional
    simulation_options.monitored_competitors.prompt_versionintegerConditional
    simulation_options.revision_idsarray of string (uuid)No
    workflow"passage_overlap"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X POST "$AEO_API_BASE_URL/v2/runs" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Estimate for a saved simulation.

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.charge_unitsintegerYes
    data.estimate_idstring (uuid)YesIdentifies the estimate for this selection.
    data.expires_atstring (date-time)Yes
    data.poll_urlstringYesSend an authenticated GET request to this URL to read the current result.
    data.reserve_unitsintegerYesCredits the API needs to reserve when you start this work.
    data.simulation_optionsobjectYes
    data.simulation_options.delivery"async"No
    data.simulation_options.input_kind"saved"No
    data.simulation_options.max_candidatesintegerNo
    data.simulation_options.max_input_bytesintegerNo
    data.simulation_options.max_input_tokensintegerNo
    data.simulation_options.max_promptsintegerNo
    data.simulation_options.mode"persistent"Yes
    data.simulation_options.monitored_competitorsobject | nullNo
    data.simulation_options.monitored_competitors.capture_revision_idsarray of string (uuid)No
    data.simulation_options.monitored_competitors.limitintegerNo
    data.simulation_options.monitored_competitors.observation_idsarray of string (uuid)Conditional
    data.simulation_options.monitored_competitors.prompt_idstring (uuid)Conditional
    data.simulation_options.monitored_competitors.prompt_versionintegerConditional
    data.simulation_options.revision_idsarray of string (uuid)No
    data.workflow"passage_overlap"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Estimate credits for a saved simulationestimate_prepublish_review

    Open this request with Python and TypeScript examples

    • Body workflow is prepublish_review.
    • Body estimate is true. Default is false.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read, audits:read, optimizations:read
    Roles
    editor, owner, service
    Plans
    Optimizer
    Credits
    The estimate uses zero credits.

    Parameters

    The contract lists no fields for this section.

    Request body

    {
      "brand_id": "00000000-0000-4000-8000-000000008191",
      "draft_revision": "00000000-0000-4000-8000-000000015031",
      "estimate": true,
      "prompt_set_revision": "00000000-0000-4000-8000-000000020751",
      "simulation_options": {
        "mode": "persistent"
      },
      "workflow": "prepublish_review"
    }
    Request body fields 1
    NameTypeRequiredDescription
    brand_idstring (uuid)Yes
    capturesobjectNo
    captures.rawstring (uuid) | nullNo
    captures.renderedstring (uuid) | nullNo
    competitor_corpus_revisionstring (uuid) | nullNo
    draft_revisionstring (uuid)Yes
    estimatetrueYes
    prompt_set_revisionstring (uuid)Yes
    simulation_optionsobjectYes
    simulation_options.delivery"async"No
    simulation_options.input_kind"saved"No
    simulation_options.max_candidatesintegerNo
    simulation_options.max_input_bytesintegerNo
    simulation_options.max_input_tokensintegerNo
    simulation_options.max_promptsintegerNo
    simulation_options.mode"persistent"Yes
    simulation_options.monitored_competitorsobject | nullNo
    simulation_options.monitored_competitors.capture_revision_idsarray of string (uuid)No
    simulation_options.monitored_competitors.limitintegerNo
    simulation_options.monitored_competitors.observation_idsarray of string (uuid)Conditional
    simulation_options.monitored_competitors.prompt_idstring (uuid)Conditional
    simulation_options.monitored_competitors.prompt_versionintegerConditional
    simulation_options.revision_idsarray of string (uuid)No
    top_kintegerNo
    workflow"prepublish_review"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X POST "$AEO_API_BASE_URL/v2/runs" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Estimate for a saved simulation.

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.charge_unitsintegerYes
    data.estimate_idstring (uuid)YesIdentifies the estimate for this selection.
    data.expires_atstring (date-time)Yes
    data.poll_urlstringYesSend an authenticated GET request to this URL to read the current result.
    data.reserve_unitsintegerYesCredits the API needs to reserve when you start this work.
    data.simulation_optionsobjectYes
    data.simulation_options.delivery"async"No
    data.simulation_options.input_kind"saved"No
    data.simulation_options.max_candidatesintegerNo
    data.simulation_options.max_input_bytesintegerNo
    data.simulation_options.max_input_tokensintegerNo
    data.simulation_options.max_promptsintegerNo
    data.simulation_options.mode"persistent"Yes
    data.simulation_options.monitored_competitorsobject | nullNo
    data.simulation_options.monitored_competitors.capture_revision_idsarray of string (uuid)No
    data.simulation_options.monitored_competitors.limitintegerNo
    data.simulation_options.monitored_competitors.observation_idsarray of string (uuid)Conditional
    data.simulation_options.monitored_competitors.prompt_idstring (uuid)Conditional
    data.simulation_options.monitored_competitors.prompt_versionintegerConditional
    data.simulation_options.revision_idsarray of string (uuid)No
    data.workflow"prepublish_review"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Estimate credits for a saved simulationestimate_query_fanout_coverage

    Open this request with Python and TypeScript examples

    • Body workflow is query_fanout_coverage.
    • Body estimate is true. Default is false.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read
    Roles
    editor, owner, service
    Plans
    Optimizer
    Credits
    The estimate uses zero credits.

    Parameters

    The contract lists no fields for this section.

    Request body

    {
      "brand_id": "00000000-0000-4000-8000-000000008191",
      "estimate": true,
      "prompt_id": "00000000-0000-4000-8000-000000009741",
      "prompt_set_revision": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "simulation_options": {
        "mode": "persistent"
      },
      "workflow": "query_fanout_coverage"
    }
    Request body fields 1
    NameTypeRequiredDescription
    brand_idstring (uuid)Yes
    estimatetrueYes
    observation_idstring (uuid) | nullNo
    prompt_idstring (uuid)Yes
    prompt_set_revisionstringYes
    simulation_optionsobjectYes
    simulation_options.delivery"async"No
    simulation_options.input_kind"saved"No
    simulation_options.max_candidatesintegerNo
    simulation_options.max_input_bytesintegerNo
    simulation_options.max_input_tokensintegerNo
    simulation_options.max_promptsintegerNo
    simulation_options.mode"persistent"Yes
    simulation_options.monitored_competitorsobject | nullNo
    simulation_options.monitored_competitors.capture_revision_idsarray of string (uuid)No
    simulation_options.monitored_competitors.limitintegerNo
    simulation_options.monitored_competitors.observation_idsarray of string (uuid)Conditional
    simulation_options.monitored_competitors.prompt_idstring (uuid)Conditional
    simulation_options.monitored_competitors.prompt_versionintegerConditional
    simulation_options.revision_idsarray of string (uuid)No
    websitestring | nullNo
    workflow"query_fanout_coverage"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X POST "$AEO_API_BASE_URL/v2/runs" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Estimate for a saved simulation.

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.charge_unitsintegerYes
    data.estimate_idstring (uuid)YesIdentifies the estimate for this selection.
    data.expires_atstring (date-time)Yes
    data.poll_urlstringYesSend an authenticated GET request to this URL to read the current result.
    data.reserve_unitsintegerYesCredits the API needs to reserve when you start this work.
    data.simulation_optionsobjectYes
    data.simulation_options.delivery"async"No
    data.simulation_options.input_kind"saved"No
    data.simulation_options.max_candidatesintegerNo
    data.simulation_options.max_input_bytesintegerNo
    data.simulation_options.max_input_tokensintegerNo
    data.simulation_options.max_promptsintegerNo
    data.simulation_options.mode"persistent"Yes
    data.simulation_options.monitored_competitorsobject | nullNo
    data.simulation_options.monitored_competitors.capture_revision_idsarray of string (uuid)No
    data.simulation_options.monitored_competitors.limitintegerNo
    data.simulation_options.monitored_competitors.observation_idsarray of string (uuid)Conditional
    data.simulation_options.monitored_competitors.prompt_idstring (uuid)Conditional
    data.simulation_options.monitored_competitors.prompt_versionintegerConditional
    data.simulation_options.revision_idsarray of string (uuid)No
    data.workflow"query_fanout_coverage"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Estimate credits for a saved simulationestimate_retrieval_benchmark

    Open this request with Python and TypeScript examples

    • Body workflow is retrieval_benchmark.
    • Body estimate is true. Default is false.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read, audits:read, optimizations:read
    Roles
    editor, owner, service
    Plans
    Optimizer
    Credits
    The estimate uses zero credits.

    Parameters

    The contract lists no fields for this section.

    Request body

    {
      "brand_id": "00000000-0000-4000-8000-000000008191",
      "draft_revision": "00000000-0000-4000-8000-000000015031",
      "estimate": true,
      "prompt_ids": [
        "pricing"
      ],
      "prompt_set_revision": "00000000-0000-4000-8000-000000020751",
      "simulation_options": {
        "mode": "persistent"
      },
      "workflow": "retrieval_benchmark"
    }
    Request body fields 1
    NameTypeRequiredDescription
    brand_idstring (uuid)Yes
    competitor_corpus_revisionstring (uuid) | nullNo
    draft_revisionstring (uuid)Yes
    estimatetrueYes
    observed_citationsarray of objectNo
    observed_citations[].observed_atstring (date-time)Conditional
    observed_citations[].prompt_idstringConditional
    observed_citations[].source_referencestringConditional
    observed_citations[].urlstringConditional
    prompt_idsarray of stringYes
    prompt_set_revisionstring (uuid)Yes
    simulation_optionsobjectYes
    simulation_options.delivery"async"No
    simulation_options.input_kind"saved"No
    simulation_options.max_candidatesintegerNo
    simulation_options.max_input_bytesintegerNo
    simulation_options.max_input_tokensintegerNo
    simulation_options.max_promptsintegerNo
    simulation_options.mode"persistent"Yes
    simulation_options.monitored_competitorsobject | nullNo
    simulation_options.monitored_competitors.capture_revision_idsarray of string (uuid)No
    simulation_options.monitored_competitors.limitintegerNo
    simulation_options.monitored_competitors.observation_idsarray of string (uuid)Conditional
    simulation_options.monitored_competitors.prompt_idstring (uuid)Conditional
    simulation_options.monitored_competitors.prompt_versionintegerConditional
    simulation_options.revision_idsarray of string (uuid)No
    top_kintegerNo
    workflow"retrieval_benchmark"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X POST "$AEO_API_BASE_URL/v2/runs" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Estimate for a saved simulation.

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.charge_unitsintegerYes
    data.estimate_idstring (uuid)YesIdentifies the estimate for this selection.
    data.expires_atstring (date-time)Yes
    data.poll_urlstringYesSend an authenticated GET request to this URL to read the current result.
    data.reserve_unitsintegerYesCredits the API needs to reserve when you start this work.
    data.simulation_optionsobjectYes
    data.simulation_options.delivery"async"No
    data.simulation_options.input_kind"saved"No
    data.simulation_options.max_candidatesintegerNo
    data.simulation_options.max_input_bytesintegerNo
    data.simulation_options.max_input_tokensintegerNo
    data.simulation_options.max_promptsintegerNo
    data.simulation_options.mode"persistent"Yes
    data.simulation_options.monitored_competitorsobject | nullNo
    data.simulation_options.monitored_competitors.capture_revision_idsarray of string (uuid)No
    data.simulation_options.monitored_competitors.limitintegerNo
    data.simulation_options.monitored_competitors.observation_idsarray of string (uuid)Conditional
    data.simulation_options.monitored_competitors.prompt_idstring (uuid)Conditional
    data.simulation_options.monitored_competitors.prompt_versionintegerConditional
    data.simulation_options.revision_idsarray of string (uuid)No
    data.workflow"retrieval_benchmark"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Estimate credits for a saved simulationestimate_retrieval_regression

    Open this request with Python and TypeScript examples

    • Body workflow is retrieval_regression.
    • Body estimate is true. Default is false.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read, audits:read, optimizations:read
    Roles
    editor, owner, service
    Plans
    Optimizer
    Credits
    The estimate uses zero credits.

    Parameters

    The contract lists no fields for this section.

    Request body

    {
      "brand_id": "00000000-0000-4000-8000-000000008191",
      "estimate": true,
      "production_revision": "00000000-0000-4000-8000-000000020691",
      "prompt_ids": [
        "pricing"
      ],
      "prompt_set_revision": "00000000-0000-4000-8000-000000020751",
      "simulation_options": {
        "mode": "persistent"
      },
      "staging_revision": "00000000-0000-4000-8000-000000017231",
      "workflow": "retrieval_regression"
    }
    Request body fields 1
    NameTypeRequiredDescription
    brand_idstring (uuid)Yes
    estimatetrueYes
    factsarray of objectNo
    facts[].fact_idstringConditional
    facts[].phrasestringConditional
    facts[].prompt_idstringConditional
    policyobjectNo
    policy.critical_prompt_idsarray of stringNo
    policy.max_coverage_dropnumberNoMaximum allowed decrease in the fraction of focus phrases found.
    policy.max_lost_factsintegerNo
    policy.max_rank_dropintegerNo
    policy.mode"warning" | "blocking"No
    policy.on_pending"inconclusive" | "fail"No
    production_index"complete" | "partial"NoWhether the production snapshot covers the full sample.
    production_revisionstring (uuid)Yes
    prompt_idsarray of stringYes
    prompt_set_revisionstring (uuid)Yes
    simulation_optionsobjectYes
    simulation_options.delivery"async"No
    simulation_options.input_kind"saved"No
    simulation_options.max_candidatesintegerNo
    simulation_options.max_input_bytesintegerNo
    simulation_options.max_input_tokensintegerNo
    simulation_options.max_promptsintegerNo
    simulation_options.mode"persistent"Yes
    simulation_options.monitored_competitorsobject | nullNo
    simulation_options.monitored_competitors.capture_revision_idsarray of string (uuid)No
    simulation_options.monitored_competitors.limitintegerNo
    simulation_options.monitored_competitors.observation_idsarray of string (uuid)Conditional
    simulation_options.monitored_competitors.prompt_idstring (uuid)Conditional
    simulation_options.monitored_competitors.prompt_versionintegerConditional
    simulation_options.revision_idsarray of string (uuid)No
    staging_index"complete" | "partial"NoWhether the staging snapshot covers the full sample.
    staging_revisionstring (uuid)Yes
    top_kintegerNo
    workflow"retrieval_regression"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X POST "$AEO_API_BASE_URL/v2/runs" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Estimate for a saved simulation.

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.charge_unitsintegerYes
    data.estimate_idstring (uuid)YesIdentifies the estimate for this selection.
    data.expires_atstring (date-time)Yes
    data.poll_urlstringYesSend an authenticated GET request to this URL to read the current result.
    data.reserve_unitsintegerYesCredits the API needs to reserve when you start this work.
    data.simulation_optionsobjectYes
    data.simulation_options.delivery"async"No
    data.simulation_options.input_kind"saved"No
    data.simulation_options.max_candidatesintegerNo
    data.simulation_options.max_input_bytesintegerNo
    data.simulation_options.max_input_tokensintegerNo
    data.simulation_options.max_promptsintegerNo
    data.simulation_options.mode"persistent"Yes
    data.simulation_options.monitored_competitorsobject | nullNo
    data.simulation_options.monitored_competitors.capture_revision_idsarray of string (uuid)No
    data.simulation_options.monitored_competitors.limitintegerNo
    data.simulation_options.monitored_competitors.observation_idsarray of string (uuid)Conditional
    data.simulation_options.monitored_competitors.prompt_idstring (uuid)Conditional
    data.simulation_options.monitored_competitors.prompt_versionintegerConditional
    data.simulation_options.revision_idsarray of string (uuid)No
    data.workflow"retrieval_regression"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Estimate credits for a saved simulationestimate_retrieval_win_rate

    Available only in fixture tests.

    Open this request with Python and TypeScript examples

    • Body workflow is retrieval_win_rate.
    • Body estimate is true. Default is false.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read, audits:read, optimizations:read
    Roles
    editor, owner, service
    Plans
    Optimizer
    Credits
    The estimate uses zero credits.

    Parameters

    The contract lists no fields for this section.

    Request body

    {
      "brand_id": "00000000-0000-4000-8000-000000000050",
      "competitor_corpus_revision": "00000000-0000-4000-8000-000000000053",
      "draft_revision": "00000000-0000-4000-8000-000000000051",
      "estimate": true,
      "prompt_ids": [
        "win",
        "loss",
        "tie",
        "alternate"
      ],
      "prompt_set_revision": "00000000-0000-4000-8000-000000000052",
      "simulation_options": {
        "max_candidates": 21,
        "max_prompts": 4,
        "mode": "persistent"
      },
      "workflow": "retrieval_win_rate"
    }
    Request body fields 1
    NameTypeRequiredDescription
    brand_idstring (uuid)Yes
    competitor_corpus_revisionstring (uuid)Yes
    draft_revisionstring (uuid)Yes
    estimatetrueYes
    prompt_idsarray of stringYes
    prompt_set_revisionstring (uuid)Yes
    simulation_optionsobjectNo
    simulation_options.delivery"async"No
    simulation_options.input_kind"saved"No
    simulation_options.max_candidatesintegerNo
    simulation_options.max_input_bytesintegerNo
    simulation_options.max_input_tokensintegerNo
    simulation_options.max_promptsintegerNo
    simulation_options.mode"persistent"Conditional
    simulation_options.monitored_competitorsnullNo
    simulation_options.revision_idsarray of string (uuid)No
    workflow"retrieval_win_rate"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X POST "$AEO_API_BASE_URL/v2/runs" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Estimate for a saved simulation.

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.charge_unitsintegerYes
    data.estimate_idstring (uuid)YesIdentifies the estimate for this selection.
    data.expires_atstring (date-time)Yes
    data.poll_urlstringYesSend an authenticated GET request to this URL to read the current result.
    data.reserve_unitsintegerYesCredits the API needs to reserve when you start this work.
    data.simulation_optionsobjectYes
    data.simulation_options.delivery"async"No
    data.simulation_options.input_kind"saved"No
    data.simulation_options.max_candidatesintegerNo
    data.simulation_options.max_input_bytesintegerNo
    data.simulation_options.max_input_tokensintegerNo
    data.simulation_options.max_promptsintegerNo
    data.simulation_options.mode"persistent"Yes
    data.simulation_options.monitored_competitorsnullNo
    data.simulation_options.revision_idsarray of string (uuid)No
    data.workflow"retrieval_win_rate"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Estimate credits for a saved simulationestimate_verify_answer_claims

    Open this request with Python and TypeScript examples

    • Body workflow is verify_answer_claims.
    • Body estimate is true. Default is false.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read
    Roles
    editor, owner, service
    Plans
    Optimizer
    Credits
    The estimate uses zero credits.

    Parameters

    The contract lists no fields for this section.

    Request body

    {
      "brand_id": "00000000-0000-4000-8000-000000008191",
      "estimate": true,
      "observation_id": "00000000-0000-4000-8000-000000014961",
      "simulation_options": {
        "mode": "persistent"
      },
      "workflow": "verify_answer_claims"
    }
    Request body fields 1
    NameTypeRequiredDescription
    brand_idstring (uuid)Yes
    estimatetrueYes
    observation_idstring (uuid)Yes
    simulation_optionsobjectYes
    simulation_options.delivery"async"No
    simulation_options.input_kind"saved"No
    simulation_options.max_candidatesintegerNo
    simulation_options.max_input_bytesintegerNo
    simulation_options.max_input_tokensintegerNo
    simulation_options.max_promptsintegerNo
    simulation_options.mode"persistent"Yes
    simulation_options.monitored_competitorsobject | nullNo
    simulation_options.monitored_competitors.capture_revision_idsarray of string (uuid)No
    simulation_options.monitored_competitors.limitintegerNo
    simulation_options.monitored_competitors.observation_idsarray of string (uuid)Conditional
    simulation_options.monitored_competitors.prompt_idstring (uuid)Conditional
    simulation_options.monitored_competitors.prompt_versionintegerConditional
    simulation_options.revision_idsarray of string (uuid)No
    workflow"verify_answer_claims"Yes

    cURL request

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X POST "$AEO_API_BASE_URL/v2/runs" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json

    Responses

    HTTP 200

    Estimate for a saved simulation.

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.charge_unitsintegerYes
    data.estimate_idstring (uuid)YesIdentifies the estimate for this selection.
    data.expires_atstring (date-time)Yes
    data.poll_urlstringYesSend an authenticated GET request to this URL to read the current result.
    data.reserve_unitsintegerYesCredits the API needs to reserve when you start this work.
    data.simulation_optionsobjectYes
    data.simulation_options.delivery"async"No
    data.simulation_options.input_kind"saved"No
    data.simulation_options.max_candidatesintegerNo
    data.simulation_options.max_input_bytesintegerNo
    data.simulation_options.max_input_tokensintegerNo
    data.simulation_options.max_promptsintegerNo
    data.simulation_options.mode"persistent"Yes
    data.simulation_options.monitored_competitorsobject | nullNo
    data.simulation_options.monitored_competitors.capture_revision_idsarray of string (uuid)No
    data.simulation_options.monitored_competitors.limitintegerNo
    data.simulation_options.monitored_competitors.observation_idsarray of string (uuid)Conditional
    data.simulation_options.monitored_competitors.prompt_idstring (uuid)Conditional
    data.simulation_options.monitored_competitors.prompt_versionintegerConditional
    data.simulation_options.revision_idsarray of string (uuid)No
    data.workflow"verify_answer_claims"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    GET /v2/runs/{run_id}

    Read a run or estimate

    Reads one run and its available result. A completed collection includes its collected answers summary, and a ready report includes its ID and link. Use the estimate's poll_url to read its saved terms or expiry. Editorial and accuracy estimate links return HTTP 404 one hour after issuance. After you start a cited page run, its estimate link returns HTTP 404. Poll the run using its run ID. Earlier collection and audit UUIDs also work.

    Read audit job and findingsaudit

    Open this request with Python and TypeScript examples

    • Path run_id starts with audit:.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    audits:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    run_idpathstring | string (uuid)Yes
    cursorquerystringNocursor
    limitqueryintegerNolimit

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body -X GET "$AEO_API_BASE_URL/v2/runs/$RUN_ID" \
      -H "Authorization: Bearer $AEO_API_KEY"

    Responses

    HTTP 200

    Read audit job and findings result.

    HTTP 200 headers
    NameTypeRequiredDescription
    Locationstring (uri)NoAuthenticated polling URI returned in data.poll_url.
    X-RateLimit-LimitintegerNoRequests in rate window.
    X-RateLimit-RemainingintegerNoRemaining request tokens.
    X-RateLimit-ResetintegerNoUTC Unix seconds when window resets.
    X-Request-Idstring (uuid)NoTrace identifier.
    X-Usage-UnitsintegerNoCU charged by this response; GET and account/usage always zero.

    application/json

    {
      "data": {
        "billed_units": 0,
        "created_at": "2026-11-06T00:00:00Z",
        "error": null,
        "estimated_units": 0,
        "id": "audit:00000000-0000-4000-8000-000000000001",
        "kind": "audit",
        "poll_url": "https://api.aeoapi.dev/v2/runs/audit:00000000-0000-4000-8000-000000000001",
        "progress": 0,
        "reserved_units": 0,
        "result": null,
        "revision": 1,
        "state": "queued",
        "updated_at": "2026-11-06T00:00:00Z",
        "v2_run_id": "audit:00000000-0000-4000-8000-000000000001"
      },
      "meta": {
        "as_of": "2026-11-06T00:00:00Z",
        "collected_at": null,
        "next_cursor": null,
        "next_refresh_at": null,
        "request_id": "00000000-0000-4000-8000-000000000001",
        "rights_filtered": false,
        "schema_version": "1.0",
        "stale": false,
        "warnings": []
      }
    }
    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.billed_unitsintegerYesThe credits charged for this work.
    data.created_atstring (date-time)Yes
    data.errorobject | nullYes
    data.error.code"invalid_request" | "unauthenticated" | "quota_exceeded" | "forbidden" | "not_found" | "conflict" | "precondition_failed" | "validation_error" | "rate_limited" | "source_pending" | "feature_not_offered" | "internal_error"Conditional
    data.error.duplicate_ofstring (uuid)NoID of your existing prompt.
    data.error.field_errorsarray of objectNo
    data.error.field_errors[].fieldstring | nullConditional
    data.error.field_errors[].messagestringConditional
    data.error.messagestringConditional
    data.error.request_idstring (uuid)Conditional
    data.error.retryablebooleanConditional
    data.error.similar_promptsarray of objectNoOther matching prompts in your library.
    data.error.similar_prompts[].prompt_idstring (uuid)Conditional
    data.estimated_unitsintegerYes
    data.idstringYes
    data.kind"collection" | "prompt_generation" | "deletion" | "audit" | "optimization"Yes
    data.phase"researching" | "drafting" | "validating" | "collecting" | "analyzing" | "exporting" | "purging" | nullNo
    data.poll_urlstring (uri)YesSend an authenticated GET request to this URL to read the current result.
    data.progressnumberYes
    data.reserved_unitsintegerYesCredits held for the run.
    data.resultobject | object | object | object | object | nullYes
    data.result.acceptedintegerConditional
    data.result.answersarray of objectNo
    data.result.answers[].answer_textstringConditional
    data.result.answers[].answer_text_truncatedbooleanConditional
    data.result.answers[].brand_citedbooleanConditional
    data.result.answers[].brand_mentionedboolean | nullConditional
    data.result.answers[].citationsarray of objectConditional
    data.result.answers[].citations[].orderintegerConditional
    data.result.answers[].citations[].urlstringConditional
    data.result.answers[].observation_idstringConditional
    data.result.evidence_cursorstring | nullConditional
    data.result.failedintegerConditional
    data.result.kind"collection"Conditional
    data.result.observation_idsarray of string (uuid)Conditional
    data.result.observationsarray of objectNo
    data.result.observations[].applied_locationobject | nullConditional
    data.result.observations[].applied_location.citystring | nullNo
    data.result.observations[].applied_location.countrystring | nullNo
    data.result.observations[].applied_location.granularity"country" | "region" | "city" | "postal" | "coordinates"Conditional
    data.result.observations[].applied_location.latitudenumber | nullNo
    data.result.observations[].applied_location.longitudenumber | nullNo
    data.result.observations[].applied_location.postal_codestring | nullNo
    data.result.observations[].applied_location.regionstring | nullNo
    data.result.observations[].observation_idstring (uuid)Conditional
    data.result.detailsarray of objectNo
    data.result.details[].rationalestringConditional
    data.result.details[].suggestion_indexintegerConditional
    data.result.details[].template_versionstringConditional
    data.result.details[].warningsarray of stringConditional
    data.result.kind"prompt_generation"Conditional
    data.result.outcomeobjectNoExplains why the result contains no suggestions.
    data.result.outcome.reason"no_eligible_candidates" | "web_evidence_missing"ConditionalWhether no candidate qualified or usable web evidence was missing.
    data.result.outcome.web_evidence_usedbooleanConditionalWhether the generation received a reply with confirmed web activity.
    data.result.suggestionsarray of objectConditional
    data.result.suggestions[].action"create"Conditional
    data.result.suggestions[].allow_similarbooleanNoSave the prompt even if you already track the same question or a differently worded question with the same meaning.
    data.result.suggestions[].brand_idstring (uuid) | nullNo
    data.result.suggestions[].category_idsarray of string | nullConditional
    data.result.suggestions[].intent"discovery" | "recommendation" | "evaluation" | "pricing" | "comparison" | "alternatives" | "use_case" | "transaction" | "local" | "troubleshooting" | "trust" | "informational"Conditional
    data.result.suggestions[].marketobjectConditional
    data.result.suggestions[].market.citystring | null | nullNo
    data.result.suggestions[].market.countrystringConditional
    data.result.suggestions[].market.languagestringConditional
    data.result.suggestions[].market.regionstring | null | nullNo
    data.result.suggestions[].tagsarray of string | nullNo
    data.result.suggestions[].textstringConditional
    data.result.backup_expiry_atstring (date-time) | nullConditional
    data.result.kind"deletion"Conditional
    data.result.purgedbooleanConditional
    data.result.resource_idstring (uuid)Conditional
    data.result.retained_record_reasonsarray of stringConditional
    data.result.agent_readinessobjectNoOur defined website access criteria for AI agents at checked_at (not a universal AI-readiness standard; no indexing, ranking, citation or answer outcome is measured).
    data.result.agent_readiness.checked_atstring (date-time)Conditional
    data.result.agent_readiness.checksarray of objectConditional
    data.result.agent_readiness.checks[].assessment"verified" | "detected" | "not_detected" | "not_assessed"No
    data.result.agent_readiness.checks[].category"core" | "robots" | "content" | "discovery" | "protocol"Conditional
    data.result.agent_readiness.checks[].evidencearray of objectConditional
    data.result.agent_readiness.checks[].evidence[].methodstringConditional
    data.result.agent_readiness.checks[].evidence[].observedstringConditional
    data.result.agent_readiness.checks[].evidence[].urlstringConditional
    data.result.agent_readiness.checks[].idstringConditional
    data.result.agent_readiness.checks[].labelstringConditional
    data.result.agent_readiness.checks[].limitationsarray of stringConditional
    data.result.agent_readiness.checks[].recommendationstring | nullConditional
    data.result.agent_readiness.checks[].referencestringNo
    data.result.agent_readiness.checks[].scoredbooleanConditional
    data.result.agent_readiness.checks[].spec_versionstringNo
    data.result.agent_readiness.checks[].status"pass" | "fail" | "unknown" | "not_applicable"Conditional
    data.result.agent_readiness.limitationsarray of stringConditional
    data.result.agent_readiness.scope"essential" | "full"Conditional
    data.result.agent_readiness.scoreobjectConditionaleligible = passed + failed + unknown over applicable scored checks; value = 100 * passed / (passed + failed), or null when no scored check was conclusive.
    data.result.agent_readiness.score.eligibleintegerConditional
    data.result.agent_readiness.score.failedintegerConditional
    data.result.agent_readiness.score.passedintegerConditional
    data.result.agent_readiness.score.unknownintegerConditional
    data.result.agent_readiness.score.valuenumber | nullConditional
    data.result.agent_readiness.status"completed" | "partial" | "not_assessed"Conditional
    data.result.agent_readiness.versionstringConditional
    data.result.budget_exhaustedbooleanNo
    data.result.business_factsobjectNo
    data.result.business_facts.locationsarray of objectConditional
    data.result.business_facts.locations[].location_idstring (uuid) | nullConditional
    data.result.business_facts.locations[].scoreobjectConditional
    data.result.business_facts.locations[].score.fieldsobjectConditional
    data.result.business_facts.locations[].score.fields.[key]number | nullNoValue for each key.
    data.result.business_facts.locations[].score.matched_fieldsintegerConditional
    data.result.business_facts.locations[].score.mismatched_fieldsintegerConditional
    data.result.business_facts.locations[].score.overallnumber | nullConditional
    data.result.business_facts.omitted_sourcesintegerConditional
    data.result.business_facts.scoreobjectConditional
    data.result.business_facts.score.fieldsobjectConditional
    data.result.business_facts.score.fields.[key]number | nullNoValue for each key.
    data.result.business_facts.score.matched_fieldsintegerConditional
    data.result.business_facts.score.mismatched_fieldsintegerConditional
    data.result.business_facts.score.overallnumber | nullConditional
    data.result.business_facts.sourcesarray of objectConditional
    data.result.business_facts.sources[].fieldsarray of objectConditional
    data.result.business_facts.sources[].fields[].expectedstring | array of string | object | nullConditional
    data.result.business_facts.sources[].fields[].expected.[key]string | number | array of stringNoValue for each key.
    data.result.business_facts.sources[].fields[].fieldstringConditional
    data.result.business_facts.sources[].fields[].observedstring | array of string | object | nullConditional
    data.result.business_facts.sources[].fields[].observed.[key]string | number | array of stringNoValue for each key.
    data.result.business_facts.sources[].fields[].status"matched" | "mismatched" | "not_found"Conditional
    data.result.business_facts.sources[].final_urlstring | nullConditional
    data.result.business_facts.sources[].http_statusinteger | nullConditional
    data.result.business_facts.sources[].location_idstring (uuid) | nullConditional
    data.result.business_facts.sources[].source"supplied" | "profile" | "citation"Conditional
    data.result.business_facts.sources[].status"matched" | "mismatched" | "not_found" | "could_not_fetch"Conditional
    data.result.business_facts.sources[].urlstringConditional
    data.result.completeness"preliminary" | "partial" | "complete" | "blocked"No
    data.result.content_coverage_notestringNo
    data.result.crawler_accessobjectNo
    data.result.crawler_access.assessedintegerConditional
    data.result.crawler_access.eligibleintegerConditional
    data.result.crawler_access.notestringConditional
    data.result.crawler_access.pagesarray of objectConditional
    data.result.crawler_access.pages[].agentsarray of objectConditional
    data.result.crawler_access.pages[].agents[].access"allowed" | "blocked_by_robots" | "blocked_by_firewall" | "challenged" | "rate_limited" | "unknown"Conditional
    data.result.crawler_access.pages[].agents[].agentstringConditional
    data.result.crawler_access.pages[].agents[].evidenceobjectConditional
    data.result.crawler_access.pages[].agents[].evidence.body_size_rationumber | nullConditional
    data.result.crawler_access.pages[].agents[].evidence.browser_statusinteger | nullConditional
    data.result.crawler_access.pages[].agents[].evidence.crawler_statusinteger | nullConditional
    data.result.crawler_access.pages[].agents[].evidence.marker"challenge_page" | "block_page" | "block_redirect" | "empty_or_short_body" | nullConditional
    data.result.crawler_access.pages[].agents[].purpose"search" | "user_fetch" | "training"Conditional
    data.result.crawler_access.pages[].agents[].robots_access"allowed" | "blocked" | nullNoWhether robots.txt allows this crawler on this page. HTTP 4xx responses other than 429 mean allowed. The value is null if the rules could not be checked.
    data.result.crawler_access.pages[].agents[].visibility_riskbooleanConditional
    data.result.crawler_access.pages[].urlstringConditional
    data.result.crawler_access.scorenumber | nullConditional
    data.result.findingsarray of objectConditional
    data.result.findings[].codestring | nullConditional
    data.result.findings[].confidencenumberConditional
    data.result.findings[].evidencestringConditional
    data.result.findings[].idstring (uuid)Conditional
    data.result.findings[].recommendationstringConditional
    data.result.findings[].severity"critical" | "high" | "medium" | "low" | "info"Conditional
    data.result.findings[].urlstring (uri)Conditional
    data.result.findings[].verificationstringConditional
    data.result.first_result_atstring (date-time) | nullNo
    data.result.kind"audit"Conditional
    data.result.next_cursorstring | nullConditional
    data.result.pages_billedintegerNoPages counted toward the final charge.
    data.result.pages_checkedintegerConditional
    data.result.pages_discoveredintegerNo
    data.result.pages_skippedintegerConditional
    data.result.profile"instant" | "detailed"No
    data.result.schema_consistencyobjectNo
    data.result.schema_consistency.pagesarray of objectConditional
    data.result.schema_consistency.pages[].fieldsarray of objectConditional
    data.result.schema_consistency.pages[].fields[].basis"visible" | "profile"Conditional
    data.result.schema_consistency.pages[].fields[].expectedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].fields[].expected.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].fields[].fieldstringConditional
    data.result.schema_consistency.pages[].fields[].observedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].fields[].observed.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].fields[].status"matched" | "mismatched" | "not_found"Conditional
    data.result.schema_consistency.pages[].issuesarray of objectConditional
    data.result.schema_consistency.pages[].issues[].code"missing_local_business" | "missing_required_properties" | "differs_from_visible" | "differs_from_profile" | "conflicting_blocks"Conditional
    data.result.schema_consistency.pages[].issues[].comparedarray of object | object | objectConditional
    data.result.schema_consistency.pages[].issues[].compared[].expectedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].issues[].compared[].expected.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].issues[].compared[].fieldstringConditional
    data.result.schema_consistency.pages[].issues[].compared[].observedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].issues[].compared[].observed.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].issues[].compared[].basis"visible" | "profile"Conditional
    data.result.schema_consistency.pages[].issues[].compared[].status"matched" | "mismatched" | "not_found"Conditional
    data.result.schema_consistency.pages[].issues[].fieldsarray of stringConditional
    data.result.schema_consistency.pages[].location_idstring (uuid) | nullConditional
    data.result.schema_consistency.pages[].markup"json_ld" | "microdata" | nullConditional
    data.result.schema_consistency.pages[].schema_typestring | nullConditional
    data.result.schema_consistency.pages[].urlstringConditional
    data.result.schema_consistency.pages_with_issuesintegerConditional
    data.result.schema_consistency.scorenumber | nullConditional
    data.result.skipped_reasonsarray of stringNo
    data.result.approval_expires_atstring (date-time) | nullConditional
    data.result.approval_idstring (uuid) | nullConditional
    data.result.artifact_download_urlstring (uri) | nullConditional
    data.result.artifact_sha256string | nullConditional
    data.result.diffstring | nullConditional
    data.result.external_revisionstring | null | nullConditional
    data.result.kind"optimization"Conditional
    data.result.syntheticbooleanNo
    data.result.target_urlstring (uri)Conditional
    data.result.verification_findingsarray of objectConditional
    data.result.verification_findings[].codestring | nullConditional
    data.result.verification_findings[].confidencenumberConditional
    data.result.verification_findings[].evidencestringConditional
    data.result.verification_findings[].idstring (uuid)Conditional
    data.result.verification_findings[].recommendationstringConditional
    data.result.verification_findings[].severity"critical" | "high" | "medium" | "low" | "info"Conditional
    data.result.verification_findings[].urlstring (uri)Conditional
    data.result.verification_findings[].verificationstringConditional
    data.revisionintegerYes
    data.state"queued" | "running" | "awaiting_approval" | "approved" | "executing" | "verifying" | "completed" | "partial" | "in_progress" | "cancelled" | "rejected" | "stale_approval"Yes
    data.updated_atstring (date-time)Yes
    data.v2_run_idstringNoThe prefixed run ID accepted by GET /v2/runs/{run_id}.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Read audit job and findingscitation_check

    Open this request with Python and TypeScript examples

    • Path run_id starts with citation_check:.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    audits:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    run_idpathstring | string (uuid)Yes
    cursorquerystringNocursor
    limitqueryintegerNolimit

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body -X GET "$AEO_API_BASE_URL/v2/runs/$RUN_ID" \
      -H "Authorization: Bearer $AEO_API_KEY"

    Responses

    HTTP 200

    Read audit job and findings result.

    HTTP 200 headers
    NameTypeRequiredDescription
    Locationstring (uri)NoAuthenticated polling URI returned in data.poll_url.
    X-RateLimit-LimitintegerNoRequests in rate window.
    X-RateLimit-RemainingintegerNoRemaining request tokens.
    X-RateLimit-ResetintegerNoUTC Unix seconds when window resets.
    X-Request-Idstring (uuid)NoTrace identifier.
    X-Usage-UnitsintegerNoCU charged by this response; GET and account/usage always zero.

    application/json

    {
      "data": {
        "billed_units": 0,
        "created_at": "2026-11-06T00:00:00Z",
        "error": null,
        "estimated_units": 0,
        "id": "citation_check:00000000-0000-4000-8000-000000000001",
        "kind": "audit",
        "poll_url": "https://api.aeoapi.dev/v2/runs/citation_check:00000000-0000-4000-8000-000000000001",
        "progress": 0,
        "reserved_units": 0,
        "result": null,
        "revision": 1,
        "state": "queued",
        "updated_at": "2026-11-06T00:00:00Z",
        "v2_run_id": "citation_check:00000000-0000-4000-8000-000000000001"
      },
      "meta": {
        "as_of": "2026-11-06T00:00:00Z",
        "collected_at": null,
        "next_cursor": null,
        "next_refresh_at": null,
        "request_id": "00000000-0000-4000-8000-000000000001",
        "rights_filtered": false,
        "schema_version": "1.0",
        "stale": false,
        "warnings": []
      }
    }
    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.billed_unitsintegerYesThe credits charged for this work.
    data.created_atstring (date-time)Yes
    data.errorobject | nullYes
    data.error.code"invalid_request" | "unauthenticated" | "quota_exceeded" | "forbidden" | "not_found" | "conflict" | "precondition_failed" | "validation_error" | "rate_limited" | "source_pending" | "feature_not_offered" | "internal_error"Conditional
    data.error.duplicate_ofstring (uuid)NoID of your existing prompt.
    data.error.field_errorsarray of objectNo
    data.error.field_errors[].fieldstring | nullConditional
    data.error.field_errors[].messagestringConditional
    data.error.messagestringConditional
    data.error.request_idstring (uuid)Conditional
    data.error.retryablebooleanConditional
    data.error.similar_promptsarray of objectNoOther matching prompts in your library.
    data.error.similar_prompts[].prompt_idstring (uuid)Conditional
    data.estimated_unitsintegerYes
    data.idstringYes
    data.kind"collection" | "prompt_generation" | "deletion" | "audit" | "optimization"Yes
    data.phase"researching" | "drafting" | "validating" | "collecting" | "analyzing" | "exporting" | "purging" | nullNo
    data.poll_urlstring (uri)YesSend an authenticated GET request to this URL to read the current result.
    data.progressnumberYes
    data.reserved_unitsintegerYesCredits held for the run.
    data.resultobject | object | object | object | object | nullYes
    data.result.acceptedintegerConditional
    data.result.answersarray of objectNo
    data.result.answers[].answer_textstringConditional
    data.result.answers[].answer_text_truncatedbooleanConditional
    data.result.answers[].brand_citedbooleanConditional
    data.result.answers[].brand_mentionedboolean | nullConditional
    data.result.answers[].citationsarray of objectConditional
    data.result.answers[].citations[].orderintegerConditional
    data.result.answers[].citations[].urlstringConditional
    data.result.answers[].observation_idstringConditional
    data.result.evidence_cursorstring | nullConditional
    data.result.failedintegerConditional
    data.result.kind"collection"Conditional
    data.result.observation_idsarray of string (uuid)Conditional
    data.result.observationsarray of objectNo
    data.result.observations[].applied_locationobject | nullConditional
    data.result.observations[].applied_location.citystring | nullNo
    data.result.observations[].applied_location.countrystring | nullNo
    data.result.observations[].applied_location.granularity"country" | "region" | "city" | "postal" | "coordinates"Conditional
    data.result.observations[].applied_location.latitudenumber | nullNo
    data.result.observations[].applied_location.longitudenumber | nullNo
    data.result.observations[].applied_location.postal_codestring | nullNo
    data.result.observations[].applied_location.regionstring | nullNo
    data.result.observations[].observation_idstring (uuid)Conditional
    data.result.detailsarray of objectNo
    data.result.details[].rationalestringConditional
    data.result.details[].suggestion_indexintegerConditional
    data.result.details[].template_versionstringConditional
    data.result.details[].warningsarray of stringConditional
    data.result.kind"prompt_generation"Conditional
    data.result.outcomeobjectNoExplains why the result contains no suggestions.
    data.result.outcome.reason"no_eligible_candidates" | "web_evidence_missing"ConditionalWhether no candidate qualified or usable web evidence was missing.
    data.result.outcome.web_evidence_usedbooleanConditionalWhether the generation received a reply with confirmed web activity.
    data.result.suggestionsarray of objectConditional
    data.result.suggestions[].action"create"Conditional
    data.result.suggestions[].allow_similarbooleanNoSave the prompt even if you already track the same question or a differently worded question with the same meaning.
    data.result.suggestions[].brand_idstring (uuid) | nullNo
    data.result.suggestions[].category_idsarray of string | nullConditional
    data.result.suggestions[].intent"discovery" | "recommendation" | "evaluation" | "pricing" | "comparison" | "alternatives" | "use_case" | "transaction" | "local" | "troubleshooting" | "trust" | "informational"Conditional
    data.result.suggestions[].marketobjectConditional
    data.result.suggestions[].market.citystring | null | nullNo
    data.result.suggestions[].market.countrystringConditional
    data.result.suggestions[].market.languagestringConditional
    data.result.suggestions[].market.regionstring | null | nullNo
    data.result.suggestions[].tagsarray of string | nullNo
    data.result.suggestions[].textstringConditional
    data.result.backup_expiry_atstring (date-time) | nullConditional
    data.result.kind"deletion"Conditional
    data.result.purgedbooleanConditional
    data.result.resource_idstring (uuid)Conditional
    data.result.retained_record_reasonsarray of stringConditional
    data.result.agent_readinessobjectNoOur defined website access criteria for AI agents at checked_at (not a universal AI-readiness standard; no indexing, ranking, citation or answer outcome is measured).
    data.result.agent_readiness.checked_atstring (date-time)Conditional
    data.result.agent_readiness.checksarray of objectConditional
    data.result.agent_readiness.checks[].assessment"verified" | "detected" | "not_detected" | "not_assessed"No
    data.result.agent_readiness.checks[].category"core" | "robots" | "content" | "discovery" | "protocol"Conditional
    data.result.agent_readiness.checks[].evidencearray of objectConditional
    data.result.agent_readiness.checks[].evidence[].methodstringConditional
    data.result.agent_readiness.checks[].evidence[].observedstringConditional
    data.result.agent_readiness.checks[].evidence[].urlstringConditional
    data.result.agent_readiness.checks[].idstringConditional
    data.result.agent_readiness.checks[].labelstringConditional
    data.result.agent_readiness.checks[].limitationsarray of stringConditional
    data.result.agent_readiness.checks[].recommendationstring | nullConditional
    data.result.agent_readiness.checks[].referencestringNo
    data.result.agent_readiness.checks[].scoredbooleanConditional
    data.result.agent_readiness.checks[].spec_versionstringNo
    data.result.agent_readiness.checks[].status"pass" | "fail" | "unknown" | "not_applicable"Conditional
    data.result.agent_readiness.limitationsarray of stringConditional
    data.result.agent_readiness.scope"essential" | "full"Conditional
    data.result.agent_readiness.scoreobjectConditionaleligible = passed + failed + unknown over applicable scored checks; value = 100 * passed / (passed + failed), or null when no scored check was conclusive.
    data.result.agent_readiness.score.eligibleintegerConditional
    data.result.agent_readiness.score.failedintegerConditional
    data.result.agent_readiness.score.passedintegerConditional
    data.result.agent_readiness.score.unknownintegerConditional
    data.result.agent_readiness.score.valuenumber | nullConditional
    data.result.agent_readiness.status"completed" | "partial" | "not_assessed"Conditional
    data.result.agent_readiness.versionstringConditional
    data.result.budget_exhaustedbooleanNo
    data.result.business_factsobjectNo
    data.result.business_facts.locationsarray of objectConditional
    data.result.business_facts.locations[].location_idstring (uuid) | nullConditional
    data.result.business_facts.locations[].scoreobjectConditional
    data.result.business_facts.locations[].score.fieldsobjectConditional
    data.result.business_facts.locations[].score.fields.[key]number | nullNoValue for each key.
    data.result.business_facts.locations[].score.matched_fieldsintegerConditional
    data.result.business_facts.locations[].score.mismatched_fieldsintegerConditional
    data.result.business_facts.locations[].score.overallnumber | nullConditional
    data.result.business_facts.omitted_sourcesintegerConditional
    data.result.business_facts.scoreobjectConditional
    data.result.business_facts.score.fieldsobjectConditional
    data.result.business_facts.score.fields.[key]number | nullNoValue for each key.
    data.result.business_facts.score.matched_fieldsintegerConditional
    data.result.business_facts.score.mismatched_fieldsintegerConditional
    data.result.business_facts.score.overallnumber | nullConditional
    data.result.business_facts.sourcesarray of objectConditional
    data.result.business_facts.sources[].fieldsarray of objectConditional
    data.result.business_facts.sources[].fields[].expectedstring | array of string | object | nullConditional
    data.result.business_facts.sources[].fields[].expected.[key]string | number | array of stringNoValue for each key.
    data.result.business_facts.sources[].fields[].fieldstringConditional
    data.result.business_facts.sources[].fields[].observedstring | array of string | object | nullConditional
    data.result.business_facts.sources[].fields[].observed.[key]string | number | array of stringNoValue for each key.
    data.result.business_facts.sources[].fields[].status"matched" | "mismatched" | "not_found"Conditional
    data.result.business_facts.sources[].final_urlstring | nullConditional
    data.result.business_facts.sources[].http_statusinteger | nullConditional
    data.result.business_facts.sources[].location_idstring (uuid) | nullConditional
    data.result.business_facts.sources[].source"supplied" | "profile" | "citation"Conditional
    data.result.business_facts.sources[].status"matched" | "mismatched" | "not_found" | "could_not_fetch"Conditional
    data.result.business_facts.sources[].urlstringConditional
    data.result.completeness"preliminary" | "partial" | "complete" | "blocked"No
    data.result.content_coverage_notestringNo
    data.result.crawler_accessobjectNo
    data.result.crawler_access.assessedintegerConditional
    data.result.crawler_access.eligibleintegerConditional
    data.result.crawler_access.notestringConditional
    data.result.crawler_access.pagesarray of objectConditional
    data.result.crawler_access.pages[].agentsarray of objectConditional
    data.result.crawler_access.pages[].agents[].access"allowed" | "blocked_by_robots" | "blocked_by_firewall" | "challenged" | "rate_limited" | "unknown"Conditional
    data.result.crawler_access.pages[].agents[].agentstringConditional
    data.result.crawler_access.pages[].agents[].evidenceobjectConditional
    data.result.crawler_access.pages[].agents[].evidence.body_size_rationumber | nullConditional
    data.result.crawler_access.pages[].agents[].evidence.browser_statusinteger | nullConditional
    data.result.crawler_access.pages[].agents[].evidence.crawler_statusinteger | nullConditional
    data.result.crawler_access.pages[].agents[].evidence.marker"challenge_page" | "block_page" | "block_redirect" | "empty_or_short_body" | nullConditional
    data.result.crawler_access.pages[].agents[].purpose"search" | "user_fetch" | "training"Conditional
    data.result.crawler_access.pages[].agents[].robots_access"allowed" | "blocked" | nullNoWhether robots.txt allows this crawler on this page. HTTP 4xx responses other than 429 mean allowed. The value is null if the rules could not be checked.
    data.result.crawler_access.pages[].agents[].visibility_riskbooleanConditional
    data.result.crawler_access.pages[].urlstringConditional
    data.result.crawler_access.scorenumber | nullConditional
    data.result.findingsarray of objectConditional
    data.result.findings[].codestring | nullConditional
    data.result.findings[].confidencenumberConditional
    data.result.findings[].evidencestringConditional
    data.result.findings[].idstring (uuid)Conditional
    data.result.findings[].recommendationstringConditional
    data.result.findings[].severity"critical" | "high" | "medium" | "low" | "info"Conditional
    data.result.findings[].urlstring (uri)Conditional
    data.result.findings[].verificationstringConditional
    data.result.first_result_atstring (date-time) | nullNo
    data.result.kind"audit"Conditional
    data.result.next_cursorstring | nullConditional
    data.result.pages_billedintegerNoPages counted toward the final charge.
    data.result.pages_checkedintegerConditional
    data.result.pages_discoveredintegerNo
    data.result.pages_skippedintegerConditional
    data.result.profile"instant" | "detailed"No
    data.result.schema_consistencyobjectNo
    data.result.schema_consistency.pagesarray of objectConditional
    data.result.schema_consistency.pages[].fieldsarray of objectConditional
    data.result.schema_consistency.pages[].fields[].basis"visible" | "profile"Conditional
    data.result.schema_consistency.pages[].fields[].expectedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].fields[].expected.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].fields[].fieldstringConditional
    data.result.schema_consistency.pages[].fields[].observedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].fields[].observed.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].fields[].status"matched" | "mismatched" | "not_found"Conditional
    data.result.schema_consistency.pages[].issuesarray of objectConditional
    data.result.schema_consistency.pages[].issues[].code"missing_local_business" | "missing_required_properties" | "differs_from_visible" | "differs_from_profile" | "conflicting_blocks"Conditional
    data.result.schema_consistency.pages[].issues[].comparedarray of object | object | objectConditional
    data.result.schema_consistency.pages[].issues[].compared[].expectedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].issues[].compared[].expected.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].issues[].compared[].fieldstringConditional
    data.result.schema_consistency.pages[].issues[].compared[].observedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].issues[].compared[].observed.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].issues[].compared[].basis"visible" | "profile"Conditional
    data.result.schema_consistency.pages[].issues[].compared[].status"matched" | "mismatched" | "not_found"Conditional
    data.result.schema_consistency.pages[].issues[].fieldsarray of stringConditional
    data.result.schema_consistency.pages[].location_idstring (uuid) | nullConditional
    data.result.schema_consistency.pages[].markup"json_ld" | "microdata" | nullConditional
    data.result.schema_consistency.pages[].schema_typestring | nullConditional
    data.result.schema_consistency.pages[].urlstringConditional
    data.result.schema_consistency.pages_with_issuesintegerConditional
    data.result.schema_consistency.scorenumber | nullConditional
    data.result.skipped_reasonsarray of stringNo
    data.result.approval_expires_atstring (date-time) | nullConditional
    data.result.approval_idstring (uuid) | nullConditional
    data.result.artifact_download_urlstring (uri) | nullConditional
    data.result.artifact_sha256string | nullConditional
    data.result.diffstring | nullConditional
    data.result.external_revisionstring | null | nullConditional
    data.result.kind"optimization"Conditional
    data.result.syntheticbooleanNo
    data.result.target_urlstring (uri)Conditional
    data.result.verification_findingsarray of objectConditional
    data.result.verification_findings[].codestring | nullConditional
    data.result.verification_findings[].confidencenumberConditional
    data.result.verification_findings[].evidencestringConditional
    data.result.verification_findings[].idstring (uuid)Conditional
    data.result.verification_findings[].recommendationstringConditional
    data.result.verification_findings[].severity"critical" | "high" | "medium" | "low" | "info"Conditional
    data.result.verification_findings[].urlstring (uri)Conditional
    data.result.verification_findings[].verificationstringConditional
    data.revisionintegerYes
    data.state"queued" | "running" | "awaiting_approval" | "approved" | "executing" | "verifying" | "completed" | "partial" | "in_progress" | "cancelled" | "rejected" | "stale_approval"Yes
    data.updated_atstring (date-time)Yes
    data.v2_run_idstringNoThe prefixed run ID accepted by GET /v2/runs/{run_id}.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Read collection or common asynchronous jobjob

    Open this request with Python and TypeScript examples

    • Path run_id starts with job:.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    collections:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    run_idpathstring | string (uuid)Yes
    cursorquerystringNocursor
    limitqueryintegerNolimit
    include_answersquerybooleanNoInclude available answers. Requires analytics:read.
    simulation_onlyquerybooleanNoReturn only simulation runs when true.
    brand_idquerystring (uuid) | nullNo
    offsetqueryintegerNo

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body -X GET "$AEO_API_BASE_URL/v2/runs/$RUN_ID" \
      -H "Authorization: Bearer $AEO_API_KEY"

    Responses

    HTTP 200

    Read collection or common asynchronous job result.

    HTTP 200 headers
    NameTypeRequiredDescription
    Locationstring (uri)NoAuthenticated polling URI returned in data.poll_url.
    X-RateLimit-LimitintegerNoRequests in rate window.
    X-RateLimit-RemainingintegerNoRemaining request tokens.
    X-RateLimit-ResetintegerNoUTC Unix seconds when window resets.
    X-Request-Idstring (uuid)NoTrace identifier.
    X-Usage-UnitsintegerNoCU charged by this response; GET and account/usage always zero.

    application/json

    {
      "data": {
        "billed_units": 0,
        "created_at": "2026-11-06T00:00:00Z",
        "error": null,
        "estimated_units": 0,
        "id": "job:00000000-0000-4000-8000-000000000001",
        "kind": "collection",
        "poll_url": "https://api.aeoapi.dev/v2/runs/job:00000000-0000-4000-8000-000000000001",
        "progress": 0,
        "reserved_units": 0,
        "result": null,
        "revision": 1,
        "state": "queued",
        "updated_at": "2026-11-06T00:00:00Z",
        "v2_run_id": "job:00000000-0000-4000-8000-000000000001"
      },
      "meta": {
        "as_of": "2026-11-06T00:00:00Z",
        "collected_at": null,
        "next_cursor": null,
        "next_refresh_at": null,
        "request_id": "00000000-0000-4000-8000-000000000001",
        "rights_filtered": false,
        "schema_version": "1.0",
        "stale": false,
        "warnings": []
      }
    }
    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.billed_unitsintegerYesThe credits charged for this work.
    data.citation_status"in_progress" | "completed"NoCitation preparation status for this run, when applicable.
    data.created_atstring (date-time)Yes
    data.errorobject | nullYes
    data.error.code"invalid_request" | "unauthenticated" | "quota_exceeded" | "forbidden" | "not_found" | "conflict" | "precondition_failed" | "validation_error" | "rate_limited" | "source_pending" | "feature_not_offered" | "internal_error"Conditional
    data.error.duplicate_ofstring (uuid)NoID of your existing prompt.
    data.error.field_errorsarray of objectNo
    data.error.field_errors[].fieldstring | nullConditional
    data.error.field_errors[].messagestringConditional
    data.error.messagestringConditional
    data.error.request_idstring (uuid)Conditional
    data.error.retryablebooleanConditional
    data.error.similar_promptsarray of objectNoOther matching prompts in your library.
    data.error.similar_prompts[].prompt_idstring (uuid)Conditional
    data.estimated_unitsintegerYes
    data.idstring | string (uuid)Yes
    data.kind"collection" | "prompt_generation" | "deletion" | "audit" | "optimization"Yes
    data.phase"researching" | "drafting" | "validating" | "collecting" | "analyzing" | "exporting" | "purging" | nullNo
    data.poll_urlstring (uri)YesSend an authenticated GET request to this URL to read the current result.
    data.progressnumberYes
    data.reserved_unitsintegerYesCredits held for the run.
    data.resultobject | object | object | object | object | nullYesThe run's collected result summary. Observation IDs are paginated.
    data.result.acceptedintegerConditional
    data.result.answersarray of objectNo
    data.result.answers[].answer_textstringConditional
    data.result.answers[].answer_text_truncatedbooleanConditional
    data.result.answers[].brand_citedbooleanConditional
    data.result.answers[].brand_mentionedboolean | nullConditional
    data.result.answers[].citationsarray of objectConditional
    data.result.answers[].citations[].orderintegerConditional
    data.result.answers[].citations[].urlstringConditional
    data.result.answers[].observation_idstringConditional
    data.result.evidence_cursorstring | nullConditional
    data.result.failedintegerConditional
    data.result.kind"collection"Conditional
    data.result.observation_idsarray of string (uuid)Conditional
    data.result.observationsarray of objectNo
    data.result.observations[].applied_locationobject | nullConditional
    data.result.observations[].applied_location.citystring | nullNo
    data.result.observations[].applied_location.countrystring | nullNo
    data.result.observations[].applied_location.granularity"country" | "region" | "city" | "postal" | "coordinates"Conditional
    data.result.observations[].applied_location.latitudenumber | nullNo
    data.result.observations[].applied_location.longitudenumber | nullNo
    data.result.observations[].applied_location.postal_codestring | nullNo
    data.result.observations[].applied_location.regionstring | nullNo
    data.result.observations[].observation_idstring (uuid)Conditional
    data.result.detailsarray of objectNo
    data.result.details[].rationalestringConditional
    data.result.details[].suggestion_indexintegerConditional
    data.result.details[].template_versionstringConditional
    data.result.details[].warningsarray of stringConditional
    data.result.kind"prompt_generation"Conditional
    data.result.outcomeobjectNoExplains why the result contains no suggestions.
    data.result.outcome.reason"no_eligible_candidates" | "web_evidence_missing"ConditionalWhether no candidate qualified or usable web evidence was missing.
    data.result.outcome.web_evidence_usedbooleanConditionalWhether the generation received a reply with confirmed web activity.
    data.result.suggestionsarray of objectConditional
    data.result.suggestions[].action"create"Conditional
    data.result.suggestions[].allow_similarbooleanNoSave the prompt even if you already track the same question or a differently worded question with the same meaning.
    data.result.suggestions[].brand_idstring (uuid) | nullNo
    data.result.suggestions[].category_idsarray of string | nullConditional
    data.result.suggestions[].intent"discovery" | "recommendation" | "evaluation" | "pricing" | "comparison" | "alternatives" | "use_case" | "transaction" | "local" | "troubleshooting" | "trust" | "informational"Conditional
    data.result.suggestions[].marketobjectConditional
    data.result.suggestions[].market.citystring | null | nullNo
    data.result.suggestions[].market.countrystringConditional
    data.result.suggestions[].market.languagestringConditional
    data.result.suggestions[].market.regionstring | null | nullNo
    data.result.suggestions[].tagsarray of string | nullNo
    data.result.suggestions[].textstringConditional
    data.result.backup_expiry_atstring (date-time) | nullConditional
    data.result.kind"deletion"Conditional
    data.result.purgedbooleanConditional
    data.result.resource_idstring (uuid)Conditional
    data.result.retained_record_reasonsarray of stringConditional
    data.result.agent_readinessobjectNoOur defined website access criteria for AI agents at checked_at (not a universal AI-readiness standard; no indexing, ranking, citation or answer outcome is measured).
    data.result.agent_readiness.checked_atstring (date-time)Conditional
    data.result.agent_readiness.checksarray of objectConditional
    data.result.agent_readiness.checks[].assessment"verified" | "detected" | "not_detected" | "not_assessed"No
    data.result.agent_readiness.checks[].category"core" | "robots" | "content" | "discovery" | "protocol"Conditional
    data.result.agent_readiness.checks[].evidencearray of objectConditional
    data.result.agent_readiness.checks[].evidence[].methodstringConditional
    data.result.agent_readiness.checks[].evidence[].observedstringConditional
    data.result.agent_readiness.checks[].evidence[].urlstringConditional
    data.result.agent_readiness.checks[].idstringConditional
    data.result.agent_readiness.checks[].labelstringConditional
    data.result.agent_readiness.checks[].limitationsarray of stringConditional
    data.result.agent_readiness.checks[].recommendationstring | nullConditional
    data.result.agent_readiness.checks[].referencestringNo
    data.result.agent_readiness.checks[].scoredbooleanConditional
    data.result.agent_readiness.checks[].spec_versionstringNo
    data.result.agent_readiness.checks[].status"pass" | "fail" | "unknown" | "not_applicable"Conditional
    data.result.agent_readiness.limitationsarray of stringConditional
    data.result.agent_readiness.scope"essential" | "full"Conditional
    data.result.agent_readiness.scoreobjectConditionaleligible = passed + failed + unknown over applicable scored checks; value = 100 * passed / (passed + failed), or null when no scored check was conclusive.
    data.result.agent_readiness.score.eligibleintegerConditional
    data.result.agent_readiness.score.failedintegerConditional
    data.result.agent_readiness.score.passedintegerConditional
    data.result.agent_readiness.score.unknownintegerConditional
    data.result.agent_readiness.score.valuenumber | nullConditional
    data.result.agent_readiness.status"completed" | "partial" | "not_assessed"Conditional
    data.result.agent_readiness.versionstringConditional
    data.result.budget_exhaustedbooleanNo
    data.result.business_factsobjectNo
    data.result.business_facts.locationsarray of objectConditional
    data.result.business_facts.locations[].location_idstring (uuid) | nullConditional
    data.result.business_facts.locations[].scoreobjectConditional
    data.result.business_facts.locations[].score.fieldsobjectConditional
    data.result.business_facts.locations[].score.fields.[key]number | nullNoValue for each key.
    data.result.business_facts.locations[].score.matched_fieldsintegerConditional
    data.result.business_facts.locations[].score.mismatched_fieldsintegerConditional
    data.result.business_facts.locations[].score.overallnumber | nullConditional
    data.result.business_facts.omitted_sourcesintegerConditional
    data.result.business_facts.scoreobjectConditional
    data.result.business_facts.score.fieldsobjectConditional
    data.result.business_facts.score.fields.[key]number | nullNoValue for each key.
    data.result.business_facts.score.matched_fieldsintegerConditional
    data.result.business_facts.score.mismatched_fieldsintegerConditional
    data.result.business_facts.score.overallnumber | nullConditional
    data.result.business_facts.sourcesarray of objectConditional
    data.result.business_facts.sources[].fieldsarray of objectConditional
    data.result.business_facts.sources[].fields[].expectedstring | array of string | object | nullConditional
    data.result.business_facts.sources[].fields[].expected.[key]string | number | array of stringNoValue for each key.
    data.result.business_facts.sources[].fields[].fieldstringConditional
    data.result.business_facts.sources[].fields[].observedstring | array of string | object | nullConditional
    data.result.business_facts.sources[].fields[].observed.[key]string | number | array of stringNoValue for each key.
    data.result.business_facts.sources[].fields[].status"matched" | "mismatched" | "not_found"Conditional
    data.result.business_facts.sources[].final_urlstring | nullConditional
    data.result.business_facts.sources[].http_statusinteger | nullConditional
    data.result.business_facts.sources[].location_idstring (uuid) | nullConditional
    data.result.business_facts.sources[].source"supplied" | "profile" | "citation"Conditional
    data.result.business_facts.sources[].status"matched" | "mismatched" | "not_found" | "could_not_fetch"Conditional
    data.result.business_facts.sources[].urlstringConditional
    data.result.completeness"preliminary" | "partial" | "complete" | "blocked"No
    data.result.content_coverage_notestringNo
    data.result.crawler_accessobjectNo
    data.result.crawler_access.assessedintegerConditional
    data.result.crawler_access.eligibleintegerConditional
    data.result.crawler_access.notestringConditional
    data.result.crawler_access.pagesarray of objectConditional
    data.result.crawler_access.pages[].agentsarray of objectConditional
    data.result.crawler_access.pages[].agents[].access"allowed" | "blocked_by_robots" | "blocked_by_firewall" | "challenged" | "rate_limited" | "unknown"Conditional
    data.result.crawler_access.pages[].agents[].agentstringConditional
    data.result.crawler_access.pages[].agents[].evidenceobjectConditional
    data.result.crawler_access.pages[].agents[].evidence.body_size_rationumber | nullConditional
    data.result.crawler_access.pages[].agents[].evidence.browser_statusinteger | nullConditional
    data.result.crawler_access.pages[].agents[].evidence.crawler_statusinteger | nullConditional
    data.result.crawler_access.pages[].agents[].evidence.marker"challenge_page" | "block_page" | "block_redirect" | "empty_or_short_body" | nullConditional
    data.result.crawler_access.pages[].agents[].purpose"search" | "user_fetch" | "training"Conditional
    data.result.crawler_access.pages[].agents[].robots_access"allowed" | "blocked" | nullNoWhether robots.txt allows this crawler on this page. HTTP 4xx responses other than 429 mean allowed. The value is null if the rules could not be checked.
    data.result.crawler_access.pages[].agents[].visibility_riskbooleanConditional
    data.result.crawler_access.pages[].urlstringConditional
    data.result.crawler_access.scorenumber | nullConditional
    data.result.findingsarray of objectConditional
    data.result.findings[].codestring | nullConditional
    data.result.findings[].confidencenumberConditional
    data.result.findings[].evidencestringConditional
    data.result.findings[].idstring (uuid)Conditional
    data.result.findings[].recommendationstringConditional
    data.result.findings[].severity"critical" | "high" | "medium" | "low" | "info"Conditional
    data.result.findings[].urlstring (uri)Conditional
    data.result.findings[].verificationstringConditional
    data.result.first_result_atstring (date-time) | nullNo
    data.result.kind"audit"Conditional
    data.result.next_cursorstring | nullConditional
    data.result.pages_billedintegerNoPages counted toward the final charge.
    data.result.pages_checkedintegerConditional
    data.result.pages_discoveredintegerNo
    data.result.pages_skippedintegerConditional
    data.result.profile"instant" | "detailed"No
    data.result.schema_consistencyobjectNo
    data.result.schema_consistency.pagesarray of objectConditional
    data.result.schema_consistency.pages[].fieldsarray of objectConditional
    data.result.schema_consistency.pages[].fields[].basis"visible" | "profile"Conditional
    data.result.schema_consistency.pages[].fields[].expectedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].fields[].expected.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].fields[].fieldstringConditional
    data.result.schema_consistency.pages[].fields[].observedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].fields[].observed.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].fields[].status"matched" | "mismatched" | "not_found"Conditional
    data.result.schema_consistency.pages[].issuesarray of objectConditional
    data.result.schema_consistency.pages[].issues[].code"missing_local_business" | "missing_required_properties" | "differs_from_visible" | "differs_from_profile" | "conflicting_blocks"Conditional
    data.result.schema_consistency.pages[].issues[].comparedarray of object | object | objectConditional
    data.result.schema_consistency.pages[].issues[].compared[].expectedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].issues[].compared[].expected.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].issues[].compared[].fieldstringConditional
    data.result.schema_consistency.pages[].issues[].compared[].observedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].issues[].compared[].observed.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].issues[].compared[].basis"visible" | "profile"Conditional
    data.result.schema_consistency.pages[].issues[].compared[].status"matched" | "mismatched" | "not_found"Conditional
    data.result.schema_consistency.pages[].issues[].fieldsarray of stringConditional
    data.result.schema_consistency.pages[].location_idstring (uuid) | nullConditional
    data.result.schema_consistency.pages[].markup"json_ld" | "microdata" | nullConditional
    data.result.schema_consistency.pages[].schema_typestring | nullConditional
    data.result.schema_consistency.pages[].urlstringConditional
    data.result.schema_consistency.pages_with_issuesintegerConditional
    data.result.schema_consistency.scorenumber | nullConditional
    data.result.skipped_reasonsarray of stringNo
    data.result.approval_expires_atstring (date-time) | nullConditional
    data.result.approval_idstring (uuid) | nullConditional
    data.result.artifact_download_urlstring (uri) | nullConditional
    data.result.artifact_sha256string | nullConditional
    data.result.diffstring | nullConditional
    data.result.external_revisionstring | null | nullConditional
    data.result.kind"optimization"Conditional
    data.result.syntheticbooleanNo
    data.result.target_urlstring (uri)Conditional
    data.result.verification_findingsarray of objectConditional
    data.result.verification_findings[].codestring | nullConditional
    data.result.verification_findings[].confidencenumberConditional
    data.result.verification_findings[].evidencestringConditional
    data.result.verification_findings[].idstring (uuid)Conditional
    data.result.verification_findings[].recommendationstringConditional
    data.result.verification_findings[].severity"critical" | "high" | "medium" | "low" | "info"Conditional
    data.result.verification_findings[].urlstring (uri)Conditional
    data.result.verification_findings[].verificationstringConditional
    data.revisionintegerYes
    data.state"queued" | "running" | "awaiting_approval" | "approved" | "executing" | "verifying" | "completed" | "partial" | "failed" | "cancelled" | "rejected" | "stale_approval"Yes
    data.updated_atstring (date-time)Yes
    data.v2_run_idstringNoThe prefixed run ID accepted by GET /v2/runs/{run_id}.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.
    HTTP 200 response fields 2
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.billed_unitsintegerNoThe credits charged for this work.
    data.brand_idstringYesIdentifies the brand this result belongs to.
    data.completed_pagesintegerNo
    data.due_pagesintegerNo
    data.next_offsetinteger | nullNo
    data.pagesarray of objectNo
    data.pages[].brand_mentioned_on_pageboolean | nullNo
    data.pages[].changed_since_previous_checkboolean | nullNo
    data.pages[].citing_answersintegerNo
    data.pages[].classification_basis"curated_domain" | "url_pattern" | "page_content" | "unknown"No
    data.pages[].classification_confidencenumberNo
    data.pages[].competitors_mentioned_on_pageobjectNo
    data.pages[].competitors_mentioned_on_page.[key]boolean | nullNoValue for each key.
    data.pages[].domainstringNo
    data.pages[].last_checked_atstringNo
    data.pages[].page_idstringConditional
    data.pages[].page_status"in_progress" | "live" | "gone"Conditional
    data.pages[].page_type"blog" | "directory" | "review_site" | "news" | "forum" | "brand_site" | "competitor_site" | "marketplace" | "docs" | "social" | "press_release" | "comparison" | "roundup" | "guide" | "institution" | "reference" | "other" | "unknown" | "video"No
    data.pages[].page_type_confidencenumber | nullNo
    data.pages[].source_category"directory" | "review_site" | "local_directory" | "industry_directory" | "forum" | "social" | "video" | "news" | "local_news" | "comparison" | "marketplace" | "brand_site" | "competitor_site" | "docs" | "press" | "other"No
    data.pages[].urlstringConditional
    data.resultobjectNoFinished output from this run.
    data.result.completed_pagesintegerNo
    data.result.due_pagesintegerNo
    data.result.next_offsetinteger | nullNo
    data.result.pagesarray of objectNo
    data.result.pages[].brand_mentioned_on_pageboolean | nullNo
    data.result.pages[].changed_since_previous_checkboolean | nullNo
    data.result.pages[].citing_answersintegerNo
    data.result.pages[].classification_basis"curated_domain" | "url_pattern" | "page_content" | "unknown"No
    data.result.pages[].classification_confidencenumberNo
    data.result.pages[].competitors_mentioned_on_pageobjectNo
    data.result.pages[].competitors_mentioned_on_page.[key]boolean | nullNoValue for each key.
    data.result.pages[].domainstringNo
    data.result.pages[].last_checked_atstringNo
    data.result.pages[].page_idstringConditional
    data.result.pages[].page_status"in_progress" | "live" | "gone"Conditional
    data.result.pages[].page_type"blog" | "directory" | "review_site" | "news" | "forum" | "brand_site" | "competitor_site" | "marketplace" | "docs" | "social" | "press_release" | "comparison" | "roundup" | "guide" | "institution" | "reference" | "other" | "unknown" | "video"No
    data.result.pages[].page_type_confidencenumber | nullNo
    data.result.pages[].source_category"directory" | "review_site" | "local_directory" | "industry_directory" | "forum" | "social" | "video" | "news" | "local_news" | "comparison" | "marketplace" | "brand_site" | "competitor_site" | "docs" | "press" | "other"No
    data.result.pages[].urlstringConditional
    data.result.total_pagesintegerNo
    data.run_idstringYesIdentifies the run. Keep any prefix when using it in a request.
    data.status"in_progress" | "completed" | "cancelled"Yes
    data.total_pagesintegerNo
    data.workflow"cited_page_sweep" | "cited_page_labelling"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.
    HTTP 200 response fields 3
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.billed_unitsintegerYesThe credits charged for this work.
    data.poll_urlstring (uri-reference)YesSend an authenticated GET request to this URL to read the current result.
    data.resultobject | nullYesThe run's collected result summary. Observation IDs are paginated.
    data.result.kind"simulation"No
    data.result.method_revision1No
    data.result.prompt_idstring (uuid)Conditional
    data.result.prompt_set_revisionstringConditional
    data.result.prompt_versionintegerConditional
    data.result.rowsarray of objectConditional
    data.result.rows[].best_match_passage_idstring (uuid) | nullConditionalID of the best matching passage when it can be shown. Otherwise null.
    data.result.rows[].eligible_passagesintegerConditional
    data.result.rows[].kind"simulation"No
    data.result.rows[].match_scorenumber | nullConditionalScore for the best matching passage. Null when no passage was scored.
    data.result.rows[].method_revision1No
    data.result.rows[].placementobject | nullNo
    data.result.rows[].placement.action"add_answer" | "add_internal_link"Conditional
    data.result.rows[].placement.heading_anchorstringConditional
    data.result.rows[].placement.page_idstring (uuid)Conditional
    data.result.rows[].placement.targetobject | nullNo
    data.result.rows[].placement.target.heading_anchorstringConditional
    data.result.rows[].placement.target.page_idstring (uuid)Conditional
    data.result.rows[].placement.target.urlstringConditional
    data.result.rows[].placement.urlstringConditional
    data.result.rows[].placement_reason"no_eligible_heading" | "already_covered" | nullNo
    data.result.rows[].questionobjectConditional
    data.result.rows[].question.event_ordinalinteger | nullNo
    data.result.rows[].question.focus_termsarray of stringConditional
    data.result.rows[].question.observation_idstring (uuid) | nullNo
    data.result.rows[].question.origin"inferred" | "observed"No
    data.result.rows[].question.textstringConditional
    data.result.rows[].row_idstring (uuid)Conditional
    data.result.rows[].status"covered" | "partial" | "gap" | "insufficient_corpus"Conditional
    data.result.rows[].term_coverageobjectConditionalTerms from the question found or missing in the passages checked.
    data.result.rows[].term_coverage.matched_termsarray of stringConditional
    data.result.rows[].term_coverage.missing_termsarray of stringConditional
    data.result.rows[].term_coverage.passage_idsarray of string (uuid)Conditional
    data.result.rows[].term_coverage.status"covered" | "partial" | "gap" | "insufficient_corpus"Conditional
    data.result.status"complete" | "insufficient_corpus"Conditional
    data.run_idstringYesIdentifies the run. Keep any prefix when using it in a request.
    data.state"queued" | "running" | "awaiting_approval" | "approved" | "executing" | "verifying" | "completed" | "partial" | "failed" | "cancelled" | "rejected" | "stale_approval"Yes
    data.status"queued" | "running" | "awaiting_approval" | "approved" | "executing" | "verifying" | "succeeded" | "partial" | "failed" | "cancelled" | "rejected" | "stale_approval"Yes
    data.workflow"query_fanout_coverage"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.
    HTTP 200 response fields 4
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.billed_unitsintegerYesThe credits charged for this work.
    data.poll_urlstring (uri-reference)YesSend an authenticated GET request to this URL to read the current result.
    data.resultobject | nullYesThe run's collected result summary. Observation IDs are paginated.
    data.result.eligible_passagesintegerConditional
    data.result.excluded_passagesintegerConditional
    data.result.measurement"simulation"No
    data.result.method_revision"passage-overlap-simulation-r1"No
    data.result.rowsarray of object | objectConditional
    data.result.rows[].action"merge"No
    data.result.rows[].group_idstring (uuid)Conditional
    data.result.rows[].passagesarray of objectConditional
    data.result.rows[].passages[].content_idstring (uuid)Conditional
    data.result.rows[].passages[].end_offsetintegerConditional
    data.result.rows[].passages[].excerptstring | nullNo
    data.result.rows[].passages[].excerpt_idstring (uuid)Conditional
    data.result.rows[].passages[].passage_idstring (uuid)Conditional
    data.result.rows[].passages[].source_revisionstring (uuid)Conditional
    data.result.rows[].passages[].start_offsetintegerConditional
    data.result.rows[].passages[].urlstringConditional
    data.result.rows[].question_idstringConditional
    data.result.rows[].row_idstring (uuid)Conditional
    data.result.rows[].action"trim"No
    data.result.rows[].passageobjectConditional
    data.result.rows[].passage.content_idstring (uuid)Conditional
    data.result.rows[].passage.end_offsetintegerConditional
    data.result.rows[].passage.excerptstring | nullNo
    data.result.rows[].passage.excerpt_idstring (uuid)Conditional
    data.result.rows[].passage.passage_idstring (uuid)Conditional
    data.result.rows[].passage.source_revisionstring (uuid)Conditional
    data.result.rows[].passage.start_offsetintegerConditional
    data.result.rows[].passage.urlstringConditional
    data.result.rows[].trim_spansarray of objectConditional
    data.result.rows[].trim_spans[].content_idstring (uuid)Conditional
    data.result.rows[].trim_spans[].end_offsetintegerConditional
    data.result.rows[].trim_spans[].excerptstring | nullNo
    data.result.rows[].trim_spans[].excerpt_idstring (uuid)Conditional
    data.result.rows[].trim_spans[].passage_idstring (uuid)Conditional
    data.result.rows[].trim_spans[].source_revisionstring (uuid)Conditional
    data.result.rows[].trim_spans[].start_offsetintegerConditional
    data.result.rows[].trim_spans[].urlstringConditional
    data.result.status"complete" | "insufficient_evidence"Conditional
    data.result.trim_targets_checkedintegerConditional
    data.run_idstringYesIdentifies the run. Keep any prefix when using it in a request.
    data.state"queued" | "running" | "awaiting_approval" | "approved" | "executing" | "verifying" | "completed" | "partial" | "failed" | "cancelled" | "rejected" | "stale_approval"Yes
    data.status"queued" | "running" | "awaiting_approval" | "approved" | "executing" | "verifying" | "succeeded" | "partial" | "failed" | "cancelled" | "rejected" | "stale_approval"Yes
    data.workflow"passage_overlap"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.
    HTTP 200 response fields 5
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.billed_unitsintegerYesThe credits charged for this work.
    data.poll_urlstring (uri-reference)YesSend an authenticated GET request to this URL to read the current result.
    data.resultobject | nullYesThe run's collected result summary. Observation IDs are paginated.
    data.result.answer_status"claims_extracted" | "claim_limit_reached" | "no_supported_claim_format" | "complete_answer_missing"Conditional
    data.result.eligible_countintegerConditional
    data.result.kind"simulation"No
    data.result.method_revision"claim-review-r1"No
    data.result.observation_idstring (uuid)Conditional
    data.result.rowsarray of objectConditional
    data.result.rows[].claimobject | nullNo
    data.result.rows[].claim.as_ofstring (date)Conditional
    data.result.rows[].claim.kind"money" | "date" | "quantity" | "qualitative"Conditional
    data.result.rows[].claim.predicatestringConditional
    data.result.rows[].claim.qualifierstring | nullNo
    data.result.rows[].claim.subjectstringConditional
    data.result.rows[].claim.valuestringConditional
    data.result.rows[].deterministicobject | nullNo
    data.result.rows[].deterministic.evidencearray of objectConditional
    data.result.rows[].deterministic.evidence[].excerptstring | nullNo
    data.result.rows[].deterministic.evidence[].fact_idstring (uuid)Conditional
    data.result.rows[].deterministic.evidence[].revisionstring (uuid)Conditional
    data.result.rows[].deterministic.reason"matching_price" | "different_price" | "previous_price" | "no_current_fact" | "conflicting_facts" | "too_many_facts" | "market_not_supported"Conditional
    data.result.rows[].deterministic.status"supported" | "contradicted" | "outdated" | "insufficient_evidence"Conditional
    data.result.rows[].end_offsetinteger | nullNo
    data.result.rows[].idstring (uuid)Conditional
    data.result.rows[].judgmentobjectConditional
    data.result.rows[].judgment.evidencearray of objectNo
    data.result.rows[].judgment.evidence[].excerptstring | nullNo
    data.result.rows[].judgment.evidence[].fact_idstring (uuid)Conditional
    data.result.rows[].judgment.evidence[].revisionstring (uuid)Conditional
    data.result.rows[].judgment.method_revision"claim-review-r1"No
    data.result.rows[].judgment.status"supported" | "contradicted" | "insufficient_evidence"Conditional
    data.result.rows[].start_offsetinteger | nullNo
    data.result.status"complete" | "insufficient_evidence"Conditional
    data.run_idstringYesIdentifies the run. Keep any prefix when using it in a request.
    data.state"queued" | "running" | "awaiting_approval" | "approved" | "executing" | "verifying" | "completed" | "partial" | "failed" | "cancelled" | "rejected" | "stale_approval"Yes
    data.status"queued" | "running" | "awaiting_approval" | "approved" | "executing" | "verifying" | "succeeded" | "partial" | "failed" | "cancelled" | "rejected" | "stale_approval"Yes
    data.workflow"verify_answer_claims"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.
    HTTP 200 response fields 6
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.billed_unitsintegerYesThe credits charged for this work.
    data.poll_urlstring (uri-reference)YesSend an authenticated GET request to this URL to read the current result.
    data.resultobject | nullYesThe run's collected result summary. Observation IDs are paginated.
    data.result.candidate_countintegerConditional
    data.result.eligible_comparisonsintegerConditional
    data.result.measurement"simulation"Conditional
    data.result.method_revisionstringConditional
    data.result.rowsarray of objectConditional
    data.result.rows[].candidatesarray of objectConditional
    data.result.rows[].candidates[].excerptobjectNo
    data.result.rows[].candidates[].excerpt.end_offsetintegerConditional
    data.result.rows[].candidates[].excerpt.heading_patharray of stringConditional
    data.result.rows[].candidates[].excerpt.source_revisionstring (uuid)Conditional
    data.result.rows[].candidates[].excerpt.start_offsetintegerConditional
    data.result.rows[].candidates[].excerpt.textstringConditional
    data.result.rows[].candidates[].excerpt.urlstringConditional
    data.result.rows[].candidates[].passage_idstring (uuid)Conditional
    data.result.rows[].candidates[].rankintegerConditional
    data.result.rows[].candidates[].side"draft" | "competitor"Conditional
    data.result.rows[].outcome"win" | "loss" | "tie" | "insufficient_evidence"Conditional
    data.result.rows[].prompt_idstringConditional
    data.result.rows[].subquery_idstringConditional
    data.result.status"complete" | "insufficient_evidence"Conditional
    data.result.workflow"retrieval_benchmark"Conditional
    data.run_idstringYesIdentifies the run. Keep any prefix when using it in a request.
    data.state"queued" | "running" | "awaiting_approval" | "approved" | "executing" | "verifying" | "completed" | "partial" | "failed" | "cancelled" | "rejected" | "stale_approval"Yes
    data.status"queued" | "running" | "awaiting_approval" | "approved" | "executing" | "verifying" | "succeeded" | "partial" | "failed" | "cancelled" | "rejected" | "stale_approval"Yes
    data.workflow"retrieval_benchmark"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.
    HTTP 200 response fields 7
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.billed_unitsintegerYesThe credits charged for this work.
    data.poll_urlstring (uri-reference)YesSend an authenticated GET request to this URL to read the current result.
    data.resultobject | nullYesThe run's collected result summary. Observation IDs are paginated.
    data.result.candidate_countintegerConditional
    data.result.eligible_comparisonsintegerConditional
    data.result.measurement"simulation"Conditional
    data.result.method_revisionstringConditional
    data.result.rowsarray of objectConditional
    data.result.rows[].candidatesarray of objectConditional
    data.result.rows[].candidates[].excerptobjectNo
    data.result.rows[].candidates[].excerpt.end_offsetintegerConditional
    data.result.rows[].candidates[].excerpt.heading_patharray of stringConditional
    data.result.rows[].candidates[].excerpt.source_revisionstring (uuid)Conditional
    data.result.rows[].candidates[].excerpt.start_offsetintegerConditional
    data.result.rows[].candidates[].excerpt.textstringConditional
    data.result.rows[].candidates[].excerpt.urlstringConditional
    data.result.rows[].candidates[].passage_idstring (uuid)Conditional
    data.result.rows[].candidates[].rankintegerConditional
    data.result.rows[].candidates[].side"draft" | "competitor"Conditional
    data.result.rows[].outcome"win" | "loss" | "tie" | "insufficient_evidence"Conditional
    data.result.rows[].prompt_idstringConditional
    data.result.rows[].subquery_idstringConditional
    data.result.status"complete" | "insufficient_evidence"Conditional
    data.result.workflow"prepublish_review"Conditional
    data.run_idstringYesIdentifies the run. Keep any prefix when using it in a request.
    data.state"queued" | "running" | "awaiting_approval" | "approved" | "executing" | "verifying" | "completed" | "partial" | "failed" | "cancelled" | "rejected" | "stale_approval"Yes
    data.status"queued" | "running" | "awaiting_approval" | "approved" | "executing" | "verifying" | "succeeded" | "partial" | "failed" | "cancelled" | "rejected" | "stale_approval"Yes
    data.workflow"prepublish_review"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.
    HTTP 200 response fields 8
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.billed_unitsintegerYesThe credits charged for this work.
    data.poll_urlstring (uri-reference)YesSend an authenticated GET request to this URL to read the current result.
    data.resultobject | nullYesThe run's collected result summary. Observation IDs are paginated.
    data.result.evidenceobjectConditional
    data.result.evidence.passagesobjectConditional
    data.result.evidence.passages.[key]objectNoValue for each key.
    data.result.manifestobjectConditional
    data.result.method_revisionstringConditional
    data.result.rowsarray of objectConditional
    data.result.rows[].factsarray of objectConditional
    data.result.rows[].facts[].fact_idstringConditional
    data.result.rows[].facts[].lostboolean | nullConditional
    data.result.rows[].facts[].phrasestringConditional
    data.result.rows[].facts[].productionarray of objectConditional
    data.result.rows[].facts[].production[].passage_idstring (uuid)Conditional
    data.result.rows[].facts[].production[].rankintegerConditional
    data.result.rows[].facts[].production[].subquery_idstringConditional
    data.result.rows[].facts[].stagingarray of objectConditional
    data.result.rows[].facts[].staging[].passage_idstring (uuid)Conditional
    data.result.rows[].facts[].staging[].rankintegerConditional
    data.result.rows[].facts[].staging[].subquery_idstringConditional
    data.result.rows[].prompt_idstringConditional
    data.result.rows[].reasonsarray of "sample_missing" | "coverage_drop" | "rank_drop" | "lost_facts"Conditional
    data.result.rows[].revisionstringConditional
    data.result.rows[].subqueriesarray of objectConditional
    data.result.rows[].subqueries[].coverageobject | nullConditional
    data.result.rows[].subqueries[].coverage.dropnumberConditional
    data.result.rows[].subqueries[].coverage.focus_term_countintegerConditional
    data.result.rows[].subqueries[].coverage.productionnumberConditional
    data.result.rows[].subqueries[].coverage.stagingnumberConditional
    data.result.rows[].subqueries[].measurement"simulated" | "not_measured"Conditional
    data.result.rows[].subqueries[].missing_evidenceobjectConditional
    data.result.rows[].subqueries[].missing_evidence.[key]stringNoValue for each key.
    data.result.rows[].subqueries[].subquery_idstringConditional
    data.result.rows[].subqueries[].termsarray of objectConditional
    data.result.rows[].subqueries[].terms[].phrasestringConditional
    data.result.rows[].subqueries[].terms[].productionobject | nullConditional
    data.result.rows[].subqueries[].terms[].production.passage_idstring (uuid)Conditional
    data.result.rows[].subqueries[].terms[].production.rankintegerConditional
    data.result.rows[].subqueries[].terms[].rank_dropintegerConditional
    data.result.rows[].subqueries[].terms[].stagingobject | nullConditional
    data.result.rows[].subqueries[].terms[].staging.passage_idstring (uuid)Conditional
    data.result.rows[].subqueries[].terms[].staging.rankintegerConditional
    data.result.rows[].subqueries[].top_passagesobjectConditional
    data.result.rows[].subqueries[].top_passages.productionarray of string (uuid)Conditional
    data.result.rows[].subqueries[].top_passages.stagingarray of string (uuid)Conditional
    data.result.rows[].verdict"pass" | "warn" | "fail" | "inconclusive"Conditional
    data.run_idstringYesIdentifies the run. Keep any prefix when using it in a request.
    data.state"queued" | "running" | "awaiting_approval" | "approved" | "executing" | "verifying" | "completed" | "partial" | "failed" | "cancelled" | "rejected" | "stale_approval"Yes
    data.status"queued" | "running" | "awaiting_approval" | "approved" | "executing" | "verifying" | "succeeded" | "partial" | "failed" | "cancelled" | "rejected" | "stale_approval"Yes
    data.workflow"retrieval_regression"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.
    HTTP 200 response fields 9
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.billed_unitsintegerYesThe credits charged for this work.
    data.poll_urlstring (uri-reference)YesSend an authenticated GET request to this URL to read the current result.
    data.resultobject | nullYesThe run's collected result summary. Observation IDs are paginated.
    data.result.measurement"simulation"Conditional
    data.result.method_revision1Conditional
    data.result.minimum_eligible_trials3Conditional
    data.result.rowsarray of objectConditional
    data.result.rows[].eligible_trialsintegerConditional
    data.result.rows[].excluded_trialsintegerConditional
    data.result.rows[].exclusionsobjectConditional
    data.result.rows[].exclusions.[key]integerNoValue for each key.
    data.result.rows[].lossesintegerConditional
    data.result.rows[].paragraph_idstring (uuid)Conditional
    data.result.rows[].reason"no_eligible_trials" | "below_minimum_trials" | nullConditional
    data.result.rows[].status"scored" | "insufficient_evidence"Conditional
    data.result.rows[].tiesintegerConditional
    data.result.rows[].win_ratenumber | nullConditional
    data.result.rows[].winsintegerConditional
    data.result.status"complete" | "insufficient_evidence"Conditional
    data.run_idstringYesIdentifies the run. Keep any prefix when using it in a request.
    data.state"queued" | "running" | "awaiting_approval" | "approved" | "executing" | "verifying" | "completed" | "partial" | "failed" | "cancelled" | "rejected" | "stale_approval"Yes
    data.status"queued" | "running" | "awaiting_approval" | "approved" | "executing" | "verifying" | "succeeded" | "partial" | "failed" | "cancelled" | "rejected" | "stale_approval"Yes
    data.workflow"retrieval_win_rate"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Reopenanalyst

    Open this request with Python and TypeScript examples

    • Path run_id starts with analyst:.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    run_idpathstringYes
    brand_idquerystring (uuid)Yes

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/runs/$RUN_ID" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode "brand_id=$BRAND_ID"

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.afterobjectYes
    data.after.gapsobjectYes
    data.after.gaps.[key]integerNoValue for each key.
    data.after.mentionsintegerYes
    data.after.monthstringYes
    data.after.scheduled_samplesintegerYes
    data.after.valid_answersintegerYes
    data.beforeobjectYes
    data.before.gapsobjectYes
    data.before.gaps.[key]integerNoValue for each key.
    data.before.mentionsintegerYes
    data.before.monthstringYes
    data.before.scheduled_samplesintegerYes
    data.before.valid_answersintegerYes
    data.brand_idstringYesIdentifies the brand this result belongs to.
    data.changed_groupsintegerYes
    data.comparisonobjectYes
    data.comparison.current_onlyintegerYes
    data.comparison.matched_cohortsintegerYes
    data.comparison.mention_change_percentage_pointsnumber | nullYes
    data.comparison.previous_onlyintegerYes
    data.findingsarray of objectYes
    data.findings[].afterobjectYes
    data.findings[].after.mentionsintegerYes
    data.findings[].after.valid_answersintegerYes
    data.findings[].ai_searchstringYesThe AI search product the answer came from, such as google_ai_overviews.
    data.findings[].beforeobjectYes
    data.findings[].before.mentionsintegerYes
    data.findings[].before.valid_answersintegerYes
    data.findings[].change_percentage_pointsnumberYes
    data.findings[].comparison_set_versionstringYes
    data.findings[].evidenceobjectYes
    data.findings[].evidence.afterobject | nullYes
    data.findings[].evidence.after.brand_mentionedbooleanConditional
    data.findings[].evidence.after.cited_urlsarray of stringConditional
    data.findings[].evidence.after.excerptstringConditional
    data.findings[].evidence.after.excerpt_truncatedbooleanConditional
    data.findings[].evidence.after.mention_in_excerptbooleanConditional
    data.findings[].evidence.after.observation_idstringConditional
    data.findings[].evidence.after.originstring | nullConditional
    data.findings[].evidence.beforeobject | nullYes
    data.findings[].evidence.before.brand_mentionedbooleanConditional
    data.findings[].evidence.before.cited_urlsarray of stringConditional
    data.findings[].evidence.before.excerptstringConditional
    data.findings[].evidence.before.excerpt_truncatedbooleanConditional
    data.findings[].evidence.before.mention_in_excerptbooleanConditional
    data.findings[].evidence.before.observation_idstringConditional
    data.findings[].evidence.before.originstring | nullConditional
    data.findings[].findingstringYes
    data.findings[].finding_idstringYes
    data.findings[].prompt_idstringYes
    data.findings[].prompt_textstring | nullYes
    data.findings[].prompt_versionintegerYes
    data.findings[].sourceobjectYes
    data.report_idstringYes
    data.resultobjectNoFinished output from this run.
    data.result.afterobjectNo
    data.result.after.gapsobjectConditional
    data.result.after.gaps.[key]integerNoValue for each key.
    data.result.after.mentionsintegerConditional
    data.result.after.monthstringConditional
    data.result.after.scheduled_samplesintegerConditional
    data.result.after.valid_answersintegerConditional
    data.result.beforeobjectNo
    data.result.before.gapsobjectConditional
    data.result.before.gaps.[key]integerNoValue for each key.
    data.result.before.mentionsintegerConditional
    data.result.before.monthstringConditional
    data.result.before.scheduled_samplesintegerConditional
    data.result.before.valid_answersintegerConditional
    data.result.changed_groupsintegerNo
    data.result.comparisonobjectNo
    data.result.comparison.current_onlyintegerConditional
    data.result.comparison.matched_cohortsintegerConditional
    data.result.comparison.mention_change_percentage_pointsnumber | nullConditional
    data.result.comparison.previous_onlyintegerConditional
    data.result.findingsarray of objectNo
    data.result.findings[].afterobjectConditional
    data.result.findings[].after.mentionsintegerConditional
    data.result.findings[].after.valid_answersintegerConditional
    data.result.findings[].ai_searchstringConditionalThe AI search product the answer came from, such as google_ai_overviews.
    data.result.findings[].beforeobjectConditional
    data.result.findings[].before.mentionsintegerConditional
    data.result.findings[].before.valid_answersintegerConditional
    data.result.findings[].change_percentage_pointsnumberConditional
    data.result.findings[].comparison_set_versionstringConditional
    data.result.findings[].evidenceobjectConditional
    data.result.findings[].evidence.afterobject | nullConditional
    data.result.findings[].evidence.after.brand_mentionedbooleanConditional
    data.result.findings[].evidence.after.cited_urlsarray of stringConditional
    data.result.findings[].evidence.after.excerptstringConditional
    data.result.findings[].evidence.after.excerpt_truncatedbooleanConditional
    data.result.findings[].evidence.after.mention_in_excerptbooleanConditional
    data.result.findings[].evidence.after.observation_idstringConditional
    data.result.findings[].evidence.after.originstring | nullConditional
    data.result.findings[].evidence.beforeobject | nullConditional
    data.result.findings[].evidence.before.brand_mentionedbooleanConditional
    data.result.findings[].evidence.before.cited_urlsarray of stringConditional
    data.result.findings[].evidence.before.excerptstringConditional
    data.result.findings[].evidence.before.excerpt_truncatedbooleanConditional
    data.result.findings[].evidence.before.mention_in_excerptbooleanConditional
    data.result.findings[].evidence.before.observation_idstringConditional
    data.result.findings[].evidence.before.originstring | nullConditional
    data.result.findings[].findingstringConditional
    data.result.findings[].finding_idstringConditional
    data.result.findings[].prompt_idstringConditional
    data.result.findings[].prompt_textstring | nullConditional
    data.result.findings[].prompt_versionintegerConditional
    data.result.findings[].sourceobjectConditional
    data.result.report_idstringNo
    data.result.summarystringNo
    data.run_idstringYesIdentifies the run. Keep any prefix when using it in a request.
    data.summarystringYes
    data.usage_unitsintegerYes
    data.v2_run_idstringNoThe prefixed run ID accepted by GET /v2/runs/{run_id}.
    data.workflow"explain_visibility_change"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.

    Errors

    Get Generationeditorial_generation

    Open this request with Python and TypeScript examples

    • Path run_id starts with editorial_generation:.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    optimizations:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    run_idpathstringYes

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body -X GET "$AEO_API_BASE_URL/v2/runs/$RUN_ID" \
      -H "Authorization: Bearer $AEO_API_KEY"

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.billed_unitsintegerYesThe credits charged for this work.
    data.candidateobject | nullNo
    data.candidate.bodystringConditional
    data.candidate.claim_supportarray of objectConditional
    data.candidate.claim_support[].claim_textstringConditional
    data.candidate.claim_support[].passage_idstring (uuid)Conditional
    data.candidate.claim_support[].source_excerptstringConditional
    data.candidate.titlestringConditional
    data.draft_idstring (uuid)YesIdentifies the draft associated with this result.
    data.generation_idstring (uuid)Yes
    data.generator"model" | "model:live" | "model:synthetic" | nullNo
    data.quoteobjectYes
    data.quote.call_count1No
    data.quote.charge_unitsintegerYes
    data.quote.purposestringYes
    data.quote.reserve_unitsintegerYes
    data.reasonstring | nullNo
    data.resultobjectNoFinished output from this run.
    data.result.candidateobject | nullNo
    data.result.candidate.bodystringConditional
    data.result.candidate.claim_supportarray of objectConditional
    data.result.candidate.claim_support[].claim_textstringConditional
    data.result.candidate.claim_support[].passage_idstring (uuid)Conditional
    data.result.candidate.claim_support[].source_excerptstringConditional
    data.result.candidate.titlestringConditional
    data.source_revisionintegerYes
    data.state"queued" | "running" | "awaiting_approval" | "approved" | "executing" | "verifying" | "completed" | "partial" | "failed" | "cancelled" | "rejected" | "stale_approval"Yes
    data.v2_run_idstringNoThe prefixed run ID accepted by GET /v2/runs/{run_id}.
    metaobjectYesInformation about this response, including any warnings or pagination details.

    Errors

    Get Checksaved_check

    Open this request with Python and TypeScript examples

    • Path run_id starts with saved_check:.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    run_idpathstringYes
    brand_idquerystring (uuid)Yes
    limitqueryintegerNo
    offsetqueryintegerNo

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body --get "$AEO_API_BASE_URL/v2/runs/$RUN_ID" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      --data-urlencode "brand_id=$BRAND_ID"

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.checkobjectYes
    data.check.idstring (uuid)No
    data.check.v2_run_idstringNo
    data.next_offsetinteger | nullYes
    data.offsetintegerYes
    data.promptsarray of objectYes
    data.resultobjectNoFinished output from this run.
    data.result.next_offsetinteger | nullNo
    data.result.offsetintegerNo
    data.result.promptsarray of objectNo
    data.result.total_promptsintegerNo
    data.total_promptsintegerYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Get Runmanaged

    Open this request with Python and TypeScript examples

    • Path run_id starts with managed:.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    collections:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    run_idpathstring | string (uuid)Yes

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body -X GET "$AEO_API_BASE_URL/v2/runs/$RUN_ID" \
      -H "Authorization: Bearer $AEO_API_KEY"

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstringYesIdentifies the brand this result belongs to.
    data.charged_creditsintegerYes
    data.check_idstring | nullYes
    data.check_urlstring | nullYes
    data.citation_status"in_progress" | "completed"NoCitation preparation status for this run, when applicable.
    data.created_atstringYes
    data.estimated_creditsintegerYesThe expected credit cost for this selection.
    data.failure_reasonsarray of "access_restricted" | "limit_reached" | "input_missing" | "approval_expired" | "cancelled" | "check_failed" | "check_incomplete"Yes
    data.hold_reasonsarray of "retry_pending" | "under_review"Yes
    data.idstringNo
    data.phasestring | nullYes
    data.progressobjectYes
    data.progress.by_locationarray of objectNo
    data.progress.by_location[].by_sourcearray of objectConditional
    data.progress.by_location[].completed_stepsintegerConditional
    data.progress.by_location[].expected_stepsintegerConditional
    data.progress.by_location[].location_idstring (uuid)Conditional
    data.progress.by_sourcearray of objectYes
    data.progress.completed_stepsintegerYes
    data.progress.expected_stepsintegerYes
    data.prompt_set_revisionstringYes
    data.released_creditsintegerYes
    data.reportobjectNo
    data.report.report_idstringConditional
    data.report.report_urlstringConditional
    data.report_idstring | nullYes
    data.report_status"pending" | "ready" | "not_available"Yes
    data.report_urlstring | nullYes
    data.reserved_creditsintegerYes
    data.resultobjectNo
    data.result.by_locationarray of objectNo
    data.result.by_location[].by_sourcearray of objectConditional
    data.result.by_location[].completed_stepsintegerConditional
    data.result.by_location[].expected_stepsintegerConditional
    data.result.by_location[].location_idstring (uuid)Conditional
    data.result.by_sourcearray of objectConditional
    data.result.completed_stepsintegerConditional
    data.result.expected_stepsintegerConditional
    data.run_idstringYesIdentifies the run. Keep any prefix when using it in a request.
    data.statusstringYes
    data.updated_atstringYes
    data.v2_run_idstringNoThe prefixed run ID accepted by GET /v2/runs/{run_id}.
    data.websitestring | nullYes
    metaobjectYesInformation about this response, including any warnings or pagination details.

    Errors

    Pre-publish review evidenceprepublish_review

    Open this request with Python and TypeScript examples

    • Path run_id starts with prepublish_review:.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read, audits:read, optimizations:read
    Roles
    viewer, editor, approver, publisher, owner, service
    Plans
    Optimizer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    run_idpathstringYes

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body -X GET "$AEO_API_BASE_URL/v2/runs/$RUN_ID" \
      -H "Authorization: Bearer $AEO_API_KEY"

    Responses

    HTTP 200

    Saved result.

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.componentsobjectYes
    data.components.coverageobjectYes
    data.components.fact_comparisonobjectYes
    data.components.fact_comparison.capturesobjectNoMetadata for the compared captures.
    data.components.fact_comparison.detail_reasonstringNoSpecific capture mismatch or failure.
    data.components.passage_comparisonobjectYes
    data.evidenceobjectYes
    data.evidence.passagesarray of objectYes
    data.expires_atstring (date-time)Yes
    data.manifestobjectYes
    data.meteringobjectYes
    data.metering.credits0Yes
    data.poll_urlstring (uri-reference)YesSend an authenticated GET request to this URL to read the current result.
    data.resultobjectNoFinished output from this run.
    data.result.componentsobjectNo
    data.result.components.coverageobjectConditional
    data.result.components.fact_comparisonobjectConditional
    data.result.components.fact_comparison.capturesobjectNoMetadata for the compared captures.
    data.result.components.fact_comparison.detail_reasonstringNoSpecific capture mismatch or failure.
    data.result.components.passage_comparisonobjectConditional
    data.result.evidenceobjectNo
    data.result.evidence.passagesarray of objectConditional
    data.result.manifestobjectNo
    data.run_idstringYesIdentifies the run. Keep any prefix when using it in a request.
    data.status"succeeded"Yes
    data.workflow"prepublish_review"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Retrieval benchmarkretrieval_benchmark

    Open this request with Python and TypeScript examples

    • Path run_id starts with retrieval_benchmark:.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read, audits:read, optimizations:read
    Roles
    viewer, editor, approver, publisher, owner, service
    Plans
    Optimizer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    run_idpathstringYes
    brand_idquerystring (uuid)No

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body -X GET "$AEO_API_BASE_URL/v2/runs/$RUN_ID" \
      -H "Authorization: Bearer $AEO_API_KEY"

    Responses

    HTTP 200

    Saved result.

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.benchmarkobjectYes
    data.benchmark.candidate_countintegerYes
    data.benchmark.comparison_scope"brand_and_competitor" | "brand_only"Yes
    data.benchmark.measurement"simulated"Yes
    data.benchmark.questionsarray of objectYes
    data.benchmark.questions[].prompt_idstringYes
    data.benchmark.questions[].revisionstringYes
    data.benchmark.questions[].subqueriesarray of objectYes
    data.benchmark.questions[].subqueries[].best_competitor_passage_idstring | nullYes
    data.benchmark.questions[].subqueries[].best_draft_passage_idstring | nullYes
    data.benchmark.questions[].subqueries[].candidatesarray of objectYes
    data.benchmark.questions[].subqueries[].candidates[].combined_rankinteger | nullYes
    data.benchmark.questions[].subqueries[].candidates[].combined_scorenumber | nullYes
    data.benchmark.questions[].subqueries[].candidates[].final_rankinteger | nullYes
    data.benchmark.questions[].subqueries[].candidates[].final_scorenumber | nullYes
    data.benchmark.questions[].subqueries[].candidates[].meaning_rankinteger | nullYes
    data.benchmark.questions[].subqueries[].candidates[].meaning_scorenumber | nullYes
    data.benchmark.questions[].subqueries[].candidates[].passage_idstring (uuid)Yes
    data.benchmark.questions[].subqueries[].candidates[].term_rankinteger | nullYes
    data.benchmark.questions[].subqueries[].candidates[].term_scorenumber | nullYes
    data.benchmark.questions[].subqueries[].combined_orderarray of string (uuid)Yes
    data.benchmark.questions[].subqueries[].coverageobjectYes
    data.benchmark.questions[].subqueries[].final_orderarray of string (uuid)Yes
    data.benchmark.questions[].subqueries[].meaningobjectYes
    data.benchmark.questions[].subqueries[].meaning_orderarray of string (uuid)Yes
    data.benchmark.questions[].subqueries[].origin"inferred" | "observed"Yes
    data.benchmark.questions[].subqueries[].outcome"win" | "loss" | "tie" | "insufficient_evidence"Yes
    data.benchmark.questions[].subqueries[].source_referencestringYes
    data.benchmark.questions[].subqueries[].subquery_idstringYes
    data.benchmark.questions[].subqueries[].term_orderarray of string (uuid)Yes
    data.benchmark.questions[].subqueries[].winning_passage_idstring | nullYes
    data.benchmark.reason"competitor_corpus_missing" | nullYes
    data.benchmark.score_unitsobjectYes
    data.benchmark.score_units.combinedstringYes
    data.benchmark.score_units.finalstringYes
    data.benchmark.score_units.meaningstringYes
    data.benchmark.score_units.termstringYes
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.evidenceobjectYes
    data.evidence.passagesobjectYes
    data.evidence.passages.[key]objectNoValue for each key.
    data.expires_atstring (date-time)Yes
    data.manifestobjectYes
    data.meteringobjectYes
    data.metering.credits0Yes
    data.observed_citationsobjectYes
    data.observed_citations.itemsarray of objectYes
    data.observed_citations.items[].observed_atstring (date-time)Yes
    data.observed_citations.items[].prompt_idstringYes
    data.observed_citations.items[].source_referencestringYes
    data.observed_citations.items[].urlstringYes
    data.observed_citations.measurement"measured" | "simulated" | "not_measured"Yes
    data.observed_citations.source"customer_reported" | nullYes
    data.poll_urlstring (uri-reference)YesSend an authenticated GET request to this URL to read the current result.
    data.resultobjectNoFinished output from this run.
    data.result.benchmarkobjectNo
    data.result.benchmark.candidate_countintegerConditional
    data.result.benchmark.comparison_scope"brand_and_competitor" | "brand_only"Conditional
    data.result.benchmark.measurement"simulated"Conditional
    data.result.benchmark.questionsarray of objectConditional
    data.result.benchmark.questions[].prompt_idstringConditional
    data.result.benchmark.questions[].revisionstringConditional
    data.result.benchmark.questions[].subqueriesarray of objectConditional
    data.result.benchmark.questions[].subqueries[].best_competitor_passage_idstring | nullConditional
    data.result.benchmark.questions[].subqueries[].best_draft_passage_idstring | nullConditional
    data.result.benchmark.questions[].subqueries[].candidatesarray of objectConditional
    data.result.benchmark.questions[].subqueries[].candidates[].combined_rankinteger | nullConditional
    data.result.benchmark.questions[].subqueries[].candidates[].combined_scorenumber | nullConditional
    data.result.benchmark.questions[].subqueries[].candidates[].final_rankinteger | nullConditional
    data.result.benchmark.questions[].subqueries[].candidates[].final_scorenumber | nullConditional
    data.result.benchmark.questions[].subqueries[].candidates[].meaning_rankinteger | nullConditional
    data.result.benchmark.questions[].subqueries[].candidates[].meaning_scorenumber | nullConditional
    data.result.benchmark.questions[].subqueries[].candidates[].passage_idstring (uuid)Conditional
    data.result.benchmark.questions[].subqueries[].candidates[].term_rankinteger | nullConditional
    data.result.benchmark.questions[].subqueries[].candidates[].term_scorenumber | nullConditional
    data.result.benchmark.questions[].subqueries[].combined_orderarray of string (uuid)Conditional
    data.result.benchmark.questions[].subqueries[].coverageobjectConditional
    data.result.benchmark.questions[].subqueries[].final_orderarray of string (uuid)Conditional
    data.result.benchmark.questions[].subqueries[].meaningobjectConditional
    data.result.benchmark.questions[].subqueries[].meaning_orderarray of string (uuid)Conditional
    data.result.benchmark.questions[].subqueries[].origin"inferred" | "observed"Conditional
    data.result.benchmark.questions[].subqueries[].outcome"win" | "loss" | "tie" | "insufficient_evidence"Conditional
    data.result.benchmark.questions[].subqueries[].source_referencestringConditional
    data.result.benchmark.questions[].subqueries[].subquery_idstringConditional
    data.result.benchmark.questions[].subqueries[].term_orderarray of string (uuid)Conditional
    data.result.benchmark.questions[].subqueries[].winning_passage_idstring | nullConditional
    data.result.benchmark.reason"competitor_corpus_missing" | nullConditional
    data.result.benchmark.score_unitsobjectConditional
    data.result.benchmark.score_units.combinedstringConditional
    data.result.benchmark.score_units.finalstringConditional
    data.result.benchmark.score_units.meaningstringConditional
    data.result.benchmark.score_units.termstringConditional
    data.result.evidenceobjectNo
    data.result.evidence.passagesobjectConditional
    data.result.evidence.passages.[key]objectNoValue for each key.
    data.result.manifestobjectNo
    data.result.observed_citationsobjectNo
    data.result.observed_citations.itemsarray of objectConditional
    data.result.observed_citations.items[].observed_atstring (date-time)Conditional
    data.result.observed_citations.items[].prompt_idstringConditional
    data.result.observed_citations.items[].source_referencestringConditional
    data.result.observed_citations.items[].urlstringConditional
    data.result.observed_citations.measurement"measured" | "simulated" | "not_measured"Conditional
    data.result.observed_citations.source"customer_reported" | nullConditional
    data.run_idstringYesIdentifies the run. Keep any prefix when using it in a request.
    data.status"succeeded"Yes
    data.workflow"retrieval_benchmark"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Retrieval regressionretrieval_regression

    Open this request with Python and TypeScript examples

    • Path run_id starts with retrieval_regression:.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read, audits:read, optimizations:read
    Roles
    viewer, editor, approver, publisher, owner, service
    Plans
    Optimizer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    run_idpathstringYes
    brand_idquerystring (uuid)No

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body -X GET "$AEO_API_BASE_URL/v2/runs/$RUN_ID" \
      -H "Authorization: Bearer $AEO_API_KEY"

    Responses

    HTTP 200

    Saved result.

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.evidenceobjectYes
    data.evidence.passagesobjectYes
    data.evidence.passages.[key]objectNoValue for each key.
    data.expires_atstring (date-time)Yes
    data.manifestobjectYes
    data.meteringobjectYes
    data.metering.credits0Yes
    data.poll_urlstring (uri-reference)YesSend an authenticated GET request to this URL to read the current result.
    data.regressionobjectYes
    data.regression.measurement"simulated" | "not_measured"Yes
    data.regression.questionsarray of objectYes
    data.regression.questions[].factsarray of objectYes
    data.regression.questions[].facts[].fact_idstringYes
    data.regression.questions[].facts[].lostboolean | nullYes
    data.regression.questions[].facts[].phrasestringYes
    data.regression.questions[].facts[].productionarray of objectYes
    data.regression.questions[].facts[].production[].passage_idstring (uuid)Yes
    data.regression.questions[].facts[].production[].rankintegerYes
    data.regression.questions[].facts[].production[].subquery_idstringYes
    data.regression.questions[].facts[].stagingarray of objectYes
    data.regression.questions[].facts[].staging[].passage_idstring (uuid)Yes
    data.regression.questions[].facts[].staging[].rankintegerYes
    data.regression.questions[].facts[].staging[].subquery_idstringYes
    data.regression.questions[].prompt_idstringYes
    data.regression.questions[].reasonsarray of "sample_missing" | "coverage_drop" | "rank_drop" | "lost_facts"Yes
    data.regression.questions[].revisionstringYes
    data.regression.questions[].subqueriesarray of objectYes
    data.regression.questions[].subqueries[].coverageobject | nullYes
    data.regression.questions[].subqueries[].coverage.dropnumberConditional
    data.regression.questions[].subqueries[].coverage.focus_term_countintegerConditional
    data.regression.questions[].subqueries[].coverage.productionnumberConditional
    data.regression.questions[].subqueries[].coverage.stagingnumberConditional
    data.regression.questions[].subqueries[].measurement"simulated" | "not_measured"Yes
    data.regression.questions[].subqueries[].missing_evidenceobjectYes
    data.regression.questions[].subqueries[].missing_evidence.[key]stringNoValue for each key.
    data.regression.questions[].subqueries[].subquery_idstringYes
    data.regression.questions[].subqueries[].termsarray of objectYes
    data.regression.questions[].subqueries[].terms[].phrasestringYes
    data.regression.questions[].subqueries[].terms[].productionobject | nullYes
    data.regression.questions[].subqueries[].terms[].production.passage_idstring (uuid)Conditional
    data.regression.questions[].subqueries[].terms[].production.rankintegerConditional
    data.regression.questions[].subqueries[].terms[].rank_dropintegerYes
    data.regression.questions[].subqueries[].terms[].stagingobject | nullYes
    data.regression.questions[].subqueries[].terms[].staging.passage_idstring (uuid)Conditional
    data.regression.questions[].subqueries[].terms[].staging.rankintegerConditional
    data.regression.questions[].subqueries[].top_passagesobjectYes
    data.regression.questions[].subqueries[].top_passages.productionarray of string (uuid)Yes
    data.regression.questions[].subqueries[].top_passages.stagingarray of string (uuid)Yes
    data.regression.questions[].verdict"pass" | "warn" | "fail" | "inconclusive"Yes
    data.regression.reasonsarray of "sample_missing" | "coverage_drop" | "rank_drop" | "lost_facts"Yes
    data.regression.verdict"pass" | "warn" | "fail" | "inconclusive"Yes
    data.resultobjectNoFinished output from this run.
    data.result.evidenceobjectNo
    data.result.evidence.passagesobjectConditional
    data.result.evidence.passages.[key]objectNoValue for each key.
    data.result.manifestobjectNo
    data.result.regressionobjectNo
    data.result.regression.measurement"simulated" | "not_measured"Conditional
    data.result.regression.questionsarray of objectConditional
    data.result.regression.questions[].factsarray of objectConditional
    data.result.regression.questions[].facts[].fact_idstringConditional
    data.result.regression.questions[].facts[].lostboolean | nullConditional
    data.result.regression.questions[].facts[].phrasestringConditional
    data.result.regression.questions[].facts[].productionarray of objectConditional
    data.result.regression.questions[].facts[].production[].passage_idstring (uuid)Conditional
    data.result.regression.questions[].facts[].production[].rankintegerConditional
    data.result.regression.questions[].facts[].production[].subquery_idstringConditional
    data.result.regression.questions[].facts[].stagingarray of objectConditional
    data.result.regression.questions[].facts[].staging[].passage_idstring (uuid)Conditional
    data.result.regression.questions[].facts[].staging[].rankintegerConditional
    data.result.regression.questions[].facts[].staging[].subquery_idstringConditional
    data.result.regression.questions[].prompt_idstringConditional
    data.result.regression.questions[].reasonsarray of "sample_missing" | "coverage_drop" | "rank_drop" | "lost_facts"Conditional
    data.result.regression.questions[].revisionstringConditional
    data.result.regression.questions[].subqueriesarray of objectConditional
    data.result.regression.questions[].subqueries[].coverageobject | nullConditional
    data.result.regression.questions[].subqueries[].coverage.dropnumberConditional
    data.result.regression.questions[].subqueries[].coverage.focus_term_countintegerConditional
    data.result.regression.questions[].subqueries[].coverage.productionnumberConditional
    data.result.regression.questions[].subqueries[].coverage.stagingnumberConditional
    data.result.regression.questions[].subqueries[].measurement"simulated" | "not_measured"Conditional
    data.result.regression.questions[].subqueries[].missing_evidenceobjectConditional
    data.result.regression.questions[].subqueries[].missing_evidence.[key]stringNoValue for each key.
    data.result.regression.questions[].subqueries[].subquery_idstringConditional
    data.result.regression.questions[].subqueries[].termsarray of objectConditional
    data.result.regression.questions[].subqueries[].terms[].phrasestringConditional
    data.result.regression.questions[].subqueries[].terms[].productionobject | nullConditional
    data.result.regression.questions[].subqueries[].terms[].production.passage_idstring (uuid)Conditional
    data.result.regression.questions[].subqueries[].terms[].production.rankintegerConditional
    data.result.regression.questions[].subqueries[].terms[].rank_dropintegerConditional
    data.result.regression.questions[].subqueries[].terms[].stagingobject | nullConditional
    data.result.regression.questions[].subqueries[].terms[].staging.passage_idstring (uuid)Conditional
    data.result.regression.questions[].subqueries[].terms[].staging.rankintegerConditional
    data.result.regression.questions[].subqueries[].top_passagesobjectConditional
    data.result.regression.questions[].subqueries[].top_passages.productionarray of string (uuid)Conditional
    data.result.regression.questions[].subqueries[].top_passages.stagingarray of string (uuid)Conditional
    data.result.regression.questions[].verdict"pass" | "warn" | "fail" | "inconclusive"Conditional
    data.result.regression.reasonsarray of "sample_missing" | "coverage_drop" | "rank_drop" | "lost_facts"Conditional
    data.result.regression.verdict"pass" | "warn" | "fail" | "inconclusive"Conditional
    data.run_idstringYesIdentifies the run. Keep any prefix when using it in a request.
    data.status"succeeded"Yes
    data.workflow"retrieval_regression"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Read an asset diagnosticasset_readability

    Open this request with Python and TypeScript examples

    • Path run_id starts with asset_readability:.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    run_idpathstringYes
    brand_idquerystring (uuid)No

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body -X GET "$AEO_API_BASE_URL/v2/runs/$RUN_ID" \
      -H "Authorization: Bearer $AEO_API_KEY"

    Responses

    HTTP 200

    Read an asset diagnostic

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.assetsarray of objectYes
    data.assets[].content_idstring (uuid)Yes
    data.assets[].fetchedfalseYesThe diagnostic uses text supplied by the caller.
    data.assets[].issuesarray of "missing_alt_text" | "parse_failed"Yes
    data.assets[].metadataobjectYes
    data.assets[].metadata.allow_displaytrueYes
    data.assets[].metadata.allow_indextrueYes
    data.assets[].metadata.asset_type"pdf" | "chart" | "table" | "transcript" | "diagram"Yes
    data.assets[].metadata.gatedbooleanYes
    data.assets[].metadata.has_alt_textbooleanYesWhether the caller supplied alt_text for this asset.
    data.assets[].metadata.mime_typestringYes
    data.assets[].metadata.origin"customer_supplied" | "synthetic_fixture"Yes
    data.assets[].metadata.parse_status"parsed" | "failed"YesParse outcome declared by the caller. The service evaluates the supplied text.
    data.assets[].metadata.sha256stringYesOriginal asset checksum declared by the caller. Validation checks its format.
    data.assets[].parsedbooleanYes
    data.assets[].questionsarray of objectYes
    data.assets[].questions[].evidencearray of objectYes
    data.assets[].questions[].evidence[].end_offsetintegerYes
    data.assets[].questions[].evidence[].locatorobject | object | object | object | objectYes
    data.assets[].questions[].evidence[].locator.pageintegerConditional
    data.assets[].questions[].evidence[].locator.type"pdf" | "transcript" | "chart" | "table" | "diagram"Yes
    data.assets[].questions[].evidence[].locator.end_msintegerConditional
    data.assets[].questions[].evidence[].locator.start_msintegerConditional
    data.assets[].questions[].evidence[].locator.seriesstringConditional
    data.assets[].questions[].evidence[].locator.xobjectConditional
    data.assets[].questions[].evidence[].locator.x.labelstringConditional
    data.assets[].questions[].evidence[].locator.x.unitstring | nullConditional
    data.assets[].questions[].evidence[].locator.x.valuestringConditional
    data.assets[].questions[].evidence[].locator.yobjectConditional
    data.assets[].questions[].evidence[].locator.y.labelstringConditional
    data.assets[].questions[].evidence[].locator.y.unitstringConditional
    data.assets[].questions[].evidence[].locator.y.valuestringConditional
    data.assets[].questions[].evidence[].locator.rowintegerConditional
    data.assets[].questions[].evidence[].locator.labelstringConditional
    data.assets[].questions[].evidence[].passage_idstring (uuid)Yes
    data.assets[].questions[].evidence[].sha256stringYes
    data.assets[].questions[].evidence[].start_offsetintegerYes
    data.assets[].questions[].questionstringYes
    data.assets[].questions[].required_termsstringYesTerms that must occur in the same passage to count as matching text.
    data.assets[].questions[].status"matching_text" | "no_match" | "not_assessed"YesA match shows that the required terms occur together in a supplied passage.
    data.assets[].revisionstring (uuid)Yes
    data.assets[].rights_expire_atstring (date-time)Yes
    data.assets[].searchablebooleanYes
    data.assets[].urlstringYes
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.evaluated_atstring (date-time)Yes
    data.expires_atstring (date-time)Yes
    data.manifestobjectYes
    data.manifest.evaluation_version"asset-readability-r1"Yes
    data.manifest.evidence_limit3Yes
    data.manifest.projection_version"supplied-equivalent-r1"Yes
    data.manifest.ranker_version"readability-70172dbdc795d6471cb328f7"Yes
    data.measurement"measured"YesThe measurement covers retrieval from supplied text.
    data.meteringobjectYes
    data.metering.credits0Yes
    data.poll_urlstringYesSend an authenticated GET request to this URL to read the current result.
    data.resultobjectNoFinished output from this run.
    data.result.assetsarray of objectNo
    data.result.assets[].content_idstring (uuid)Conditional
    data.result.assets[].fetchedfalseConditionalThe diagnostic uses text supplied by the caller.
    data.result.assets[].issuesarray of "missing_alt_text" | "parse_failed"Conditional
    data.result.assets[].metadataobjectConditional
    data.result.assets[].metadata.allow_displaytrueConditional
    data.result.assets[].metadata.allow_indextrueConditional
    data.result.assets[].metadata.asset_type"pdf" | "chart" | "table" | "transcript" | "diagram"Conditional
    data.result.assets[].metadata.gatedbooleanConditional
    data.result.assets[].metadata.has_alt_textbooleanConditionalWhether the caller supplied alt_text for this asset.
    data.result.assets[].metadata.mime_typestringConditional
    data.result.assets[].metadata.origin"customer_supplied" | "synthetic_fixture"Conditional
    data.result.assets[].metadata.parse_status"parsed" | "failed"ConditionalParse outcome declared by the caller. The service evaluates the supplied text.
    data.result.assets[].metadata.sha256stringConditionalOriginal asset checksum declared by the caller. Validation checks its format.
    data.result.assets[].parsedbooleanConditional
    data.result.assets[].questionsarray of objectConditional
    data.result.assets[].questions[].evidencearray of objectConditional
    data.result.assets[].questions[].evidence[].end_offsetintegerConditional
    data.result.assets[].questions[].evidence[].locatorobject | object | object | object | objectConditional
    data.result.assets[].questions[].evidence[].locator.pageintegerConditional
    data.result.assets[].questions[].evidence[].locator.type"pdf" | "transcript" | "chart" | "table" | "diagram"Conditional
    data.result.assets[].questions[].evidence[].locator.end_msintegerConditional
    data.result.assets[].questions[].evidence[].locator.start_msintegerConditional
    data.result.assets[].questions[].evidence[].locator.seriesstringConditional
    data.result.assets[].questions[].evidence[].locator.xobjectConditional
    data.result.assets[].questions[].evidence[].locator.x.labelstringConditional
    data.result.assets[].questions[].evidence[].locator.x.unitstring | nullConditional
    data.result.assets[].questions[].evidence[].locator.x.valuestringConditional
    data.result.assets[].questions[].evidence[].locator.yobjectConditional
    data.result.assets[].questions[].evidence[].locator.y.labelstringConditional
    data.result.assets[].questions[].evidence[].locator.y.unitstringConditional
    data.result.assets[].questions[].evidence[].locator.y.valuestringConditional
    data.result.assets[].questions[].evidence[].locator.rowintegerConditional
    data.result.assets[].questions[].evidence[].locator.labelstringConditional
    data.result.assets[].questions[].evidence[].passage_idstring (uuid)Conditional
    data.result.assets[].questions[].evidence[].sha256stringConditional
    data.result.assets[].questions[].evidence[].start_offsetintegerConditional
    data.result.assets[].questions[].questionstringConditional
    data.result.assets[].questions[].required_termsstringConditionalTerms that must occur in the same passage to count as matching text.
    data.result.assets[].questions[].status"matching_text" | "no_match" | "not_assessed"ConditionalA match shows that the required terms occur together in a supplied passage.
    data.result.assets[].revisionstring (uuid)Conditional
    data.result.assets[].rights_expire_atstring (date-time)Conditional
    data.result.assets[].searchablebooleanConditional
    data.result.assets[].urlstringConditional
    data.result.evaluated_atstring (date-time)No
    data.result.manifestobjectNo
    data.result.manifest.evaluation_version"asset-readability-r1"Conditional
    data.result.manifest.evidence_limit3Conditional
    data.result.manifest.projection_version"supplied-equivalent-r1"Conditional
    data.result.manifest.ranker_version"readability-70172dbdc795d6471cb328f7"Conditional
    data.result.measurement"measured"NoThe measurement covers retrieval from supplied text.
    data.run_idstringYesIdentifies the run. Keep any prefix when using it in a request.
    data.status"succeeded"Yes
    data.workflow"asset_readability"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Buyer question coveragequery_fanout_coverage

    Open this request with Python and TypeScript examples

    • Path run_id starts with query_fanout_coverage:.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read
    Roles
    viewer, editor, approver, publisher, owner, service
    Plans
    Optimizer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    run_idpathstringYes
    brand_idquerystring (uuid)No

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body -X GET "$AEO_API_BASE_URL/v2/runs/$RUN_ID" \
      -H "Authorization: Bearer $AEO_API_KEY"

    Responses

    HTTP 200

    Saved result.

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.expires_atstring (date-time)Yes
    data.meteringobjectYes
    data.metering.credits0Yes
    data.poll_urlstring (uri-reference)YesSend an authenticated GET request to this URL to read the current result.
    data.prompt_idstring (uuid)Yes
    data.prompt_set_revisionstringYes
    data.prompt_versionintegerYes
    data.resultobjectNoFinished output from this run.
    data.result.prompt_idstring (uuid)No
    data.result.prompt_set_revisionstringNo
    data.result.prompt_versionintegerNo
    data.result.subquestionsarray of objectNo
    data.result.subquestions[].matched_termsarray of stringConditional
    data.result.subquestions[].missing_termsarray of stringConditional
    data.result.subquestions[].passage_idsarray of string (uuid)Conditional
    data.result.subquestions[].questionobjectConditional
    data.result.subquestions[].question.event_ordinalinteger | nullNo
    data.result.subquestions[].question.focus_termsarray of stringConditional
    data.result.subquestions[].question.observation_idstring (uuid) | nullNo
    data.result.subquestions[].question.origin"inferred" | "observed"No
    data.result.subquestions[].question.textstringConditional
    data.result.subquestions[].status"covered" | "partial" | "gap" | "insufficient_corpus"Conditional
    data.run_idstringYesIdentifies the run. Keep any prefix when using it in a request.
    data.status"succeeded"Yes
    data.subquestionsarray of objectYes
    data.subquestions[].matched_termsarray of stringYes
    data.subquestions[].missing_termsarray of stringYes
    data.subquestions[].passage_idsarray of string (uuid)Yes
    data.subquestions[].questionobjectYes
    data.subquestions[].question.event_ordinalinteger | nullNo
    data.subquestions[].question.focus_termsarray of stringYes
    data.subquestions[].question.observation_idstring (uuid) | nullNo
    data.subquestions[].question.origin"inferred" | "observed"No
    data.subquestions[].question.textstringYes
    data.subquestions[].status"covered" | "partial" | "gap" | "insufficient_corpus"Yes
    data.workflow"query_fanout_coverage"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Verify saved answer claims against approved factsverify_answer_claims

    Open this request with Python and TypeScript examples

    • Path run_id starts with verify_answer_claims:.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read
    Roles
    viewer, editor, approver, publisher, owner, service
    Plans
    Optimizer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    run_idpathstringYes
    brand_idquerystring (uuid)No

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body -X GET "$AEO_API_BASE_URL/v2/runs/$RUN_ID" \
      -H "Authorization: Bearer $AEO_API_KEY"

    Responses

    HTTP 200

    Saved result.

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.answer_sha256string | nullYes
    data.answer_status"complete_answer_missing" | "claim_limit_reached" | "claims_extracted" | "no_supported_claim_format"Yes
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.expires_atstring (date-time)Yes
    data.findingsarray of objectYes
    data.findings[].claimobjectYes
    data.findings[].claim.amountstringYes
    data.findings[].claim.as_ofstring (date)Yes
    data.findings[].claim.currencystringYes
    data.findings[].claim.end_offsetintegerYes
    data.findings[].claim.marketstring | nullYes
    data.findings[].claim.period"month" | "year" | "one_time"Yes
    data.findings[].claim.quotestringYes
    data.findings[].claim.start_offsetintegerYes
    data.findings[].claim.subjectstringYes
    data.findings[].factsarray of objectYes
    data.findings[].facts[].approved_bystring (uuid)Yes
    data.findings[].facts[].content_idstring (uuid)Yes
    data.findings[].facts[].factobjectYes
    data.findings[].facts[].fact.amountstringYes
    data.findings[].facts[].fact.currencystringYes
    data.findings[].facts[].fact.effective_fromstring (date)Yes
    data.findings[].facts[].fact.effective_untilstring (date) | nullNo
    data.findings[].facts[].fact.evidence_quotestringYes
    data.findings[].facts[].fact.marketstringYes
    data.findings[].facts[].fact.period"month" | "year" | "one_time"Yes
    data.findings[].facts[].fact.planstringYes
    data.findings[].facts[].fact.productstringYes
    data.findings[].facts[].fact_idstring (uuid)Yes
    data.findings[].facts[].passage_idstring (uuid)Yes
    data.findings[].facts[].revisionstring (uuid)Yes
    data.findings[].facts[].source_urlstringYes
    data.findings[].reason"matching_price" | "different_price" | "previous_price" | "no_current_fact" | "conflicting_facts" | "too_many_facts" | "market_not_supported"Yes
    data.findings[].status"supported" | "contradicted" | "outdated" | "insufficient_evidence"Yes
    data.meteringobjectYes
    data.metering.credits0Yes
    data.observation_idstring (uuid)Yes
    data.poll_urlstring (uri-reference)YesSend an authenticated GET request to this URL to read the current result.
    data.resultobjectNoFinished output from this run.
    data.result.answer_sha256string | nullNo
    data.result.answer_status"complete_answer_missing" | "claim_limit_reached" | "claims_extracted" | "no_supported_claim_format"No
    data.result.findingsarray of objectNo
    data.result.findings[].claimobjectConditional
    data.result.findings[].claim.amountstringConditional
    data.result.findings[].claim.as_ofstring (date)Conditional
    data.result.findings[].claim.currencystringConditional
    data.result.findings[].claim.end_offsetintegerConditional
    data.result.findings[].claim.marketstring | nullConditional
    data.result.findings[].claim.period"month" | "year" | "one_time"Conditional
    data.result.findings[].claim.quotestringConditional
    data.result.findings[].claim.start_offsetintegerConditional
    data.result.findings[].claim.subjectstringConditional
    data.result.findings[].factsarray of objectConditional
    data.result.findings[].facts[].approved_bystring (uuid)Conditional
    data.result.findings[].facts[].content_idstring (uuid)Conditional
    data.result.findings[].facts[].factobjectConditional
    data.result.findings[].facts[].fact.amountstringConditional
    data.result.findings[].facts[].fact.currencystringConditional
    data.result.findings[].facts[].fact.effective_fromstring (date)Conditional
    data.result.findings[].facts[].fact.effective_untilstring (date) | nullNo
    data.result.findings[].facts[].fact.evidence_quotestringConditional
    data.result.findings[].facts[].fact.marketstringConditional
    data.result.findings[].facts[].fact.period"month" | "year" | "one_time"Conditional
    data.result.findings[].facts[].fact.planstringConditional
    data.result.findings[].facts[].fact.productstringConditional
    data.result.findings[].facts[].fact_idstring (uuid)Conditional
    data.result.findings[].facts[].passage_idstring (uuid)Conditional
    data.result.findings[].facts[].revisionstring (uuid)Conditional
    data.result.findings[].facts[].source_urlstringConditional
    data.result.findings[].reason"matching_price" | "different_price" | "previous_price" | "no_current_fact" | "conflicting_facts" | "too_many_facts" | "market_not_supported"Conditional
    data.result.findings[].status"supported" | "contradicted" | "outdated" | "insufficient_evidence"Conditional
    data.result.observation_idstring (uuid)No
    data.run_idstringYesIdentifies the run. Keep any prefix when using it in a request.
    data.status"succeeded"Yes
    data.workflow"verify_answer_claims"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Compare synthetic personas and marketspersona_geo_divergence

    Open this request with Python and TypeScript examples

    • Path run_id starts with persona_geo_divergence:.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read, audits:read, optimizations:read
    Roles
    viewer, editor, approver, publisher, owner, service
    Plans
    Optimizer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    run_idpathstringYes

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body -X GET "$AEO_API_BASE_URL/v2/runs/$RUN_ID" \
      -H "Authorization: Bearer $AEO_API_KEY"

    Responses

    HTTP 200

    Saved result.

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.componentsobjectYes
    data.components.persona_geo_divergenceobjectYes
    data.components.persona_geo_divergence.comparisonsarray of objectYes
    data.components.persona_geo_divergence.comparisons[].baseline_market_idstringYes
    data.components.persona_geo_divergence.comparisons[].baseline_persona_idstringYes
    data.components.persona_geo_divergence.comparisons[].changed_factor"persona" | "market"Yes
    data.components.persona_geo_divergence.comparisons[].changed_passagesarray of objectYes
    data.components.persona_geo_divergence.comparisons[].changed_passages[].baseline_rankinteger | nullYes
    data.components.persona_geo_divergence.comparisons[].changed_passages[].passage_idstring (uuid)Yes
    data.components.persona_geo_divergence.comparisons[].changed_passages[].variant_rankinteger | nullYes
    data.components.persona_geo_divergence.comparisons[].variant_market_idstringYes
    data.components.persona_geo_divergence.comparisons[].variant_persona_idstringYes
    data.components.persona_geo_divergence.measurement"simulated"No
    data.components.persona_geo_divergence.observed_personalization"unknown"No
    data.components.persona_geo_divergence.observed_user_memory"unknown"No
    data.components.persona_geo_divergence.scenariosarray of objectYes
    data.components.persona_geo_divergence.scenarios[].market_idstringYes
    data.components.persona_geo_divergence.scenarios[].observed_locale_control"unknown"No
    data.components.persona_geo_divergence.scenarios[].persona_idstringYes
    data.components.persona_geo_divergence.scenarios[].ranksarray of objectYes
    data.components.persona_geo_divergence.scenarios[].ranks[].passage_idstring (uuid)Yes
    data.components.persona_geo_divergence.scenarios[].ranks[].rankintegerYes
    data.components.persona_geo_divergence.scenarios[].ranks[].retrieval_rankintegerYes
    data.evidenceobjectYes
    data.evidence.passagesarray of objectYes
    data.expires_atstring (date-time)Yes
    data.manifestobjectYes
    data.meteringobjectYes
    data.metering.credits0Yes
    data.poll_urlstring (uri-reference)YesSend an authenticated GET request to this URL to read the current result.
    data.resultobjectNoFinished output from this run.
    data.result.componentsobjectNo
    data.result.components.persona_geo_divergenceobjectConditional
    data.result.components.persona_geo_divergence.comparisonsarray of objectConditional
    data.result.components.persona_geo_divergence.comparisons[].baseline_market_idstringConditional
    data.result.components.persona_geo_divergence.comparisons[].baseline_persona_idstringConditional
    data.result.components.persona_geo_divergence.comparisons[].changed_factor"persona" | "market"Conditional
    data.result.components.persona_geo_divergence.comparisons[].changed_passagesarray of objectConditional
    data.result.components.persona_geo_divergence.comparisons[].changed_passages[].baseline_rankinteger | nullConditional
    data.result.components.persona_geo_divergence.comparisons[].changed_passages[].passage_idstring (uuid)Conditional
    data.result.components.persona_geo_divergence.comparisons[].changed_passages[].variant_rankinteger | nullConditional
    data.result.components.persona_geo_divergence.comparisons[].variant_market_idstringConditional
    data.result.components.persona_geo_divergence.comparisons[].variant_persona_idstringConditional
    data.result.components.persona_geo_divergence.measurement"simulated"No
    data.result.components.persona_geo_divergence.observed_personalization"unknown"No
    data.result.components.persona_geo_divergence.observed_user_memory"unknown"No
    data.result.components.persona_geo_divergence.scenariosarray of objectConditional
    data.result.components.persona_geo_divergence.scenarios[].market_idstringConditional
    data.result.components.persona_geo_divergence.scenarios[].observed_locale_control"unknown"No
    data.result.components.persona_geo_divergence.scenarios[].persona_idstringConditional
    data.result.components.persona_geo_divergence.scenarios[].ranksarray of objectConditional
    data.result.components.persona_geo_divergence.scenarios[].ranks[].passage_idstring (uuid)Conditional
    data.result.components.persona_geo_divergence.scenarios[].ranks[].rankintegerConditional
    data.result.components.persona_geo_divergence.scenarios[].ranks[].retrieval_rankintegerConditional
    data.result.evidenceobjectNo
    data.result.evidence.passagesarray of objectConditional
    data.result.manifestobjectNo
    data.run_idstringYesIdentifies the run. Keep any prefix when using it in a request.
    data.status"succeeded"Yes
    data.workflow"persona_geo_divergence"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Synthetic context position testcontext_position_test

    Open this request with Python and TypeScript examples

    • Path run_id starts with context_position_test:.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read, audits:read, optimizations:read
    Roles
    viewer, editor, approver, publisher, owner, service
    Plans
    Optimizer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    run_idpathstringYes
    brand_idquerystring (uuid)No

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body -X GET "$AEO_API_BASE_URL/v2/runs/$RUN_ID" \
      -H "Authorization: Bearer $AEO_API_KEY"

    Responses

    HTTP 200

    Saved result.

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.context_positionobjectYes
    data.context_position.distractor_passage_idsarray of string (uuid)Yes
    data.context_position.evidencearray of objectYes
    data.context_position.evidence[].end_offsetintegerYes
    data.context_position.evidence[].passage_idstring (uuid)Yes
    data.context_position.evidence[].sha256stringYes
    data.context_position.evidence[].snapshot_idstring (uuid)Yes
    data.context_position.evidence[].start_offsetintegerYes
    data.context_position.evidence[].urlstringYes
    data.context_position.fixture_mode"grounded" | "omit_fact" | "wrong_source"Yes
    data.context_position.measurement"synthetic"Yes
    data.context_position.pairedobject | object | nullYes
    data.context_position.paired.kind"edited_opening"Conditional
    data.context_position.paired.replace_tokensintegerConditional
    data.context_position.paired.textstringConditional
    data.context_position.paired.kind"relocated_fact"Conditional
    data.context_position.question_tokensintegerYes
    data.context_position.ranked_passage_idsarray of string (uuid)Yes
    data.context_position.repetitionsintegerYes
    data.context_position.review_manifest_sha256stringYes
    data.context_position.review_run_idstringYes
    data.context_position.rubric_versionstringYes
    data.context_position.scenariosarray of objectYes
    data.context_position.scenarios[].answer_use_rangenumberYes
    data.context_position.scenarios[].correct_attribution_rangenumberYes
    data.context_position.scenarios[].scoresarray of objectYes
    data.context_position.scenarios[].scores[].answer_use_ratenumberYes
    data.context_position.scenarios[].scores[].correct_attribution_ratenumberYes
    data.context_position.scenarios[].scores[].position"start" | "middle" | "end"Yes
    data.context_position.scenarios[].trialsarray of objectYes
    data.context_position.scenarios[].trials[].answer_used_target_factbooleanYes
    data.context_position.scenarios[].trials[].cited_passage_idstring (uuid) | nullYes
    data.context_position.scenarios[].trials[].cited_target_passagebooleanYes
    data.context_position.scenarios[].trials[].outcome"success" | "truncation" | "synthesis_omission" | "wrong_attribution"Yes
    data.context_position.scenarios[].trials[].packed_tokensintegerYes
    data.context_position.scenarios[].trials[].position"start" | "middle" | "end"Yes
    data.context_position.scenarios[].trials[].repetitionintegerYes
    data.context_position.scenarios[].trials[].target_chunk_survivedbooleanYes
    data.context_position.scenarios[].trials[].target_fact_survivedbooleanYes
    data.context_position.scenarios[].trials[].target_tokens_packedintegerYes
    data.context_position.scenarios[].variant"original" | "edited_opening" | "relocated_fact"Yes
    data.context_position.status"complete" | "retrieval_miss" | "insufficient_distractors"Yes
    data.context_position.subquery_idstringYes
    data.context_position.synthesizer_versionstringYes
    data.context_position.target_passage_idstring (uuid)Yes
    data.context_position.target_retrievedbooleanYes
    data.context_position.token_budgetintegerYes
    data.context_position.tokenizer_versionstringYes
    data.expires_atstring (date-time)Yes
    data.meteringobjectYes
    data.metering.credits0Yes
    data.poll_urlstring (uri-reference)YesSend an authenticated GET request to this URL to read the current result.
    data.resultobjectNoFinished output from this run.
    data.result.context_positionobjectNo
    data.result.context_position.distractor_passage_idsarray of string (uuid)Conditional
    data.result.context_position.evidencearray of objectConditional
    data.result.context_position.evidence[].end_offsetintegerConditional
    data.result.context_position.evidence[].passage_idstring (uuid)Conditional
    data.result.context_position.evidence[].sha256stringConditional
    data.result.context_position.evidence[].snapshot_idstring (uuid)Conditional
    data.result.context_position.evidence[].start_offsetintegerConditional
    data.result.context_position.evidence[].urlstringConditional
    data.result.context_position.fixture_mode"grounded" | "omit_fact" | "wrong_source"Conditional
    data.result.context_position.measurement"synthetic"Conditional
    data.result.context_position.pairedobject | object | nullConditional
    data.result.context_position.paired.kind"edited_opening"Conditional
    data.result.context_position.paired.replace_tokensintegerConditional
    data.result.context_position.paired.textstringConditional
    data.result.context_position.paired.kind"relocated_fact"Conditional
    data.result.context_position.question_tokensintegerConditional
    data.result.context_position.ranked_passage_idsarray of string (uuid)Conditional
    data.result.context_position.repetitionsintegerConditional
    data.result.context_position.review_manifest_sha256stringConditional
    data.result.context_position.review_run_idstringConditional
    data.result.context_position.rubric_versionstringConditional
    data.result.context_position.scenariosarray of objectConditional
    data.result.context_position.scenarios[].answer_use_rangenumberConditional
    data.result.context_position.scenarios[].correct_attribution_rangenumberConditional
    data.result.context_position.scenarios[].scoresarray of objectConditional
    data.result.context_position.scenarios[].scores[].answer_use_ratenumberConditional
    data.result.context_position.scenarios[].scores[].correct_attribution_ratenumberConditional
    data.result.context_position.scenarios[].scores[].position"start" | "middle" | "end"Conditional
    data.result.context_position.scenarios[].trialsarray of objectConditional
    data.result.context_position.scenarios[].trials[].answer_used_target_factbooleanConditional
    data.result.context_position.scenarios[].trials[].cited_passage_idstring (uuid) | nullConditional
    data.result.context_position.scenarios[].trials[].cited_target_passagebooleanConditional
    data.result.context_position.scenarios[].trials[].outcome"success" | "truncation" | "synthesis_omission" | "wrong_attribution"Conditional
    data.result.context_position.scenarios[].trials[].packed_tokensintegerConditional
    data.result.context_position.scenarios[].trials[].position"start" | "middle" | "end"Conditional
    data.result.context_position.scenarios[].trials[].repetitionintegerConditional
    data.result.context_position.scenarios[].trials[].target_chunk_survivedbooleanConditional
    data.result.context_position.scenarios[].trials[].target_fact_survivedbooleanConditional
    data.result.context_position.scenarios[].trials[].target_tokens_packedintegerConditional
    data.result.context_position.scenarios[].variant"original" | "edited_opening" | "relocated_fact"Conditional
    data.result.context_position.status"complete" | "retrieval_miss" | "insufficient_distractors"Conditional
    data.result.context_position.subquery_idstringConditional
    data.result.context_position.synthesizer_versionstringConditional
    data.result.context_position.target_passage_idstring (uuid)Conditional
    data.result.context_position.target_retrievedbooleanConditional
    data.result.context_position.token_budgetintegerConditional
    data.result.context_position.tokenizer_versionstringConditional
    data.run_idstringYesIdentifies the run. Keep any prefix when using it in a request.
    data.status"succeeded"Yes
    data.workflow"context_position_test"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Read or save passage overlap and retrieval rank comparisonspassage_overlap

    Open this request with Python and TypeScript examples

    • Path run_id starts with passage_overlap:.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read, audits:read, optimizations:read
    Roles
    viewer, editor, approver, publisher, owner, service
    Plans
    Optimizer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    run_idpathstringYes
    brand_idquerystring (uuid)No

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body -X GET "$AEO_API_BASE_URL/v2/runs/$RUN_ID" \
      -H "Authorization: Bearer $AEO_API_KEY"

    Responses

    HTTP 200

    Saved result.

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.componentsobjectYes
    data.components.dilutionobjectYes
    data.components.dilution.measurement"measured"Yes
    data.components.dilution.status"complete"Yes
    data.components.dilution.testsarray of objectYes
    data.components.overlapobjectYes
    data.components.overlap.boilerplate_passage_idsarray of string (uuid)Yes
    data.components.overlap.groupsarray of objectYes
    data.components.overlap.groups[].affected_urlsarray of string (uri)Yes
    data.components.overlap.groups[].classification"content_duplicate" | "canonical_duplicate" | "semantic_overlap"Yes
    data.components.overlap.groups[].competition"shared_buyer_questions" | "no_shared_question_match"Yes
    data.components.overlap.groups[].editorial_optionsarray of "merge" | "no_change"Yes
    data.components.overlap.groups[].group_idstringYes
    data.components.overlap.groups[].passagesarray of objectYes
    data.components.overlap.groups[].questionsarray of objectYes
    data.components.overlap.groups[].questions[].question_idstringYes
    data.components.overlap.groups[].questions[].ranksobjectYes
    data.components.overlap.groups[].questions[].ranks.[key]integerNoValue for each key.
    data.components.overlap.measurement"measured"Yes
    data.components.overlap.status"complete"Yes
    data.evidenceobjectYes
    data.evidence.passagesobjectYes
    data.expires_atstring (date-time)Yes
    data.manifestobjectYes
    data.meteringobjectYes
    data.metering.credits0Yes
    data.poll_urlstring (uri-reference)YesSend an authenticated GET request to this URL to read the current result.
    data.resultobjectNoFinished output from this run.
    data.result.componentsobjectNo
    data.result.components.dilutionobjectConditional
    data.result.components.dilution.measurement"measured"Conditional
    data.result.components.dilution.status"complete"Conditional
    data.result.components.dilution.testsarray of objectConditional
    data.result.components.overlapobjectConditional
    data.result.components.overlap.boilerplate_passage_idsarray of string (uuid)Conditional
    data.result.components.overlap.groupsarray of objectConditional
    data.result.components.overlap.groups[].affected_urlsarray of string (uri)Conditional
    data.result.components.overlap.groups[].classification"content_duplicate" | "canonical_duplicate" | "semantic_overlap"Conditional
    data.result.components.overlap.groups[].competition"shared_buyer_questions" | "no_shared_question_match"Conditional
    data.result.components.overlap.groups[].editorial_optionsarray of "merge" | "no_change"Conditional
    data.result.components.overlap.groups[].group_idstringConditional
    data.result.components.overlap.groups[].passagesarray of objectConditional
    data.result.components.overlap.groups[].questionsarray of objectConditional
    data.result.components.overlap.groups[].questions[].question_idstringConditional
    data.result.components.overlap.groups[].questions[].ranksobjectConditional
    data.result.components.overlap.groups[].questions[].ranks.[key]integerNoValue for each key.
    data.result.components.overlap.measurement"measured"Conditional
    data.result.components.overlap.status"complete"Conditional
    data.result.evidenceobjectNo
    data.result.evidence.passagesobjectConditional
    data.result.manifestobjectNo
    data.run_idstringYesIdentifies the run. Keep any prefix when using it in a request.
    data.status"succeeded"Yes
    data.workflow"passage_overlap"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Compare buyer-question framings against saved evidencecomparison_evidence_gaps

    Open this request with Python and TypeScript examples

    • Path run_id starts with comparison_evidence_gaps:.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read, audits:read, optimizations:read
    Roles
    viewer, editor, approver, publisher, owner, service
    Plans
    Optimizer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    run_idpathstringYes

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body -X GET "$AEO_API_BASE_URL/v2/runs/$RUN_ID" \
      -H "Authorization: Bearer $AEO_API_KEY"

    Responses

    HTTP 200

    Saved result.

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.componentsobjectYes
    data.components.comparison_evidence_gapsobjectYes
    data.components.comparison_evidence_gaps.as_ofstring (date)Yes
    data.components.comparison_evidence_gaps.documentation_proposalsarray of objectYes
    data.components.comparison_evidence_gaps.documentation_proposals[].briefstringYes
    data.components.comparison_evidence_gaps.documentation_proposals[].claim_idstringYes
    data.components.comparison_evidence_gaps.documentation_proposals[].item_idstring (uuid)Yes
    data.components.comparison_evidence_gaps.documentation_proposals[].passage_idsarray of string (uuid)Yes
    data.components.comparison_evidence_gaps.documentation_proposals[].source_urlstringYes
    data.components.comparison_evidence_gaps.documentation_proposals[].titlestringYes
    data.components.comparison_evidence_gaps.evidence_gapsarray of objectYes
    data.components.comparison_evidence_gaps.evidence_gaps[].claim_idstringYes
    data.components.comparison_evidence_gaps.evidence_gaps[].evidence_neededstringYes
    data.components.comparison_evidence_gaps.evidence_gaps[].reason"dated_source_missing" | "conflicting_assessments"Yes
    data.components.comparison_evidence_gaps.findingsarray of objectYes
    data.components.comparison_evidence_gaps.findings[].assessment"supported_strength" | "verified_limitation" | "contradicted_assertion" | "unsupported_assertion" | "unknown"Yes
    data.components.comparison_evidence_gaps.findings[].claim_idstringYes
    data.components.comparison_evidence_gaps.findings[].passage_idsarray of string (uuid)Yes
    data.components.comparison_evidence_gaps.findings[].product"brand" | "competitor"Yes
    data.components.comparison_evidence_gaps.findings[].statementstringYes
    data.components.comparison_evidence_gaps.framingsarray of objectYes
    data.components.comparison_evidence_gaps.framings[].direction"brand" | "competitor"Yes
    data.components.comparison_evidence_gaps.framings[].finding_idsarray of stringYes
    data.components.comparison_evidence_gaps.framings[].kind"neutral" | "leading"Yes
    data.components.comparison_evidence_gaps.framings[].questionstringYes
    data.components.comparison_evidence_gaps.measurement"inferred"No
    data.evidenceobjectYes
    data.evidence.passagesarray of objectYes
    data.expires_atstring (date-time)Yes
    data.manifestobjectYes
    data.meteringobjectYes
    data.metering.credits0Yes
    data.poll_urlstring (uri-reference)YesSend an authenticated GET request to this URL to read the current result.
    data.resultobjectNoFinished output from this run.
    data.result.componentsobjectNo
    data.result.components.comparison_evidence_gapsobjectConditional
    data.result.components.comparison_evidence_gaps.as_ofstring (date)Conditional
    data.result.components.comparison_evidence_gaps.documentation_proposalsarray of objectConditional
    data.result.components.comparison_evidence_gaps.documentation_proposals[].briefstringConditional
    data.result.components.comparison_evidence_gaps.documentation_proposals[].claim_idstringConditional
    data.result.components.comparison_evidence_gaps.documentation_proposals[].item_idstring (uuid)Conditional
    data.result.components.comparison_evidence_gaps.documentation_proposals[].passage_idsarray of string (uuid)Conditional
    data.result.components.comparison_evidence_gaps.documentation_proposals[].source_urlstringConditional
    data.result.components.comparison_evidence_gaps.documentation_proposals[].titlestringConditional
    data.result.components.comparison_evidence_gaps.evidence_gapsarray of objectConditional
    data.result.components.comparison_evidence_gaps.evidence_gaps[].claim_idstringConditional
    data.result.components.comparison_evidence_gaps.evidence_gaps[].evidence_neededstringConditional
    data.result.components.comparison_evidence_gaps.evidence_gaps[].reason"dated_source_missing" | "conflicting_assessments"Conditional
    data.result.components.comparison_evidence_gaps.findingsarray of objectConditional
    data.result.components.comparison_evidence_gaps.findings[].assessment"supported_strength" | "verified_limitation" | "contradicted_assertion" | "unsupported_assertion" | "unknown"Conditional
    data.result.components.comparison_evidence_gaps.findings[].claim_idstringConditional
    data.result.components.comparison_evidence_gaps.findings[].passage_idsarray of string (uuid)Conditional
    data.result.components.comparison_evidence_gaps.findings[].product"brand" | "competitor"Conditional
    data.result.components.comparison_evidence_gaps.findings[].statementstringConditional
    data.result.components.comparison_evidence_gaps.framingsarray of objectConditional
    data.result.components.comparison_evidence_gaps.framings[].direction"brand" | "competitor"Conditional
    data.result.components.comparison_evidence_gaps.framings[].finding_idsarray of stringConditional
    data.result.components.comparison_evidence_gaps.framings[].kind"neutral" | "leading"Conditional
    data.result.components.comparison_evidence_gaps.framings[].questionstringConditional
    data.result.components.comparison_evidence_gaps.measurement"inferred"No
    data.result.evidenceobjectNo
    data.result.evidence.passagesarray of objectConditional
    data.result.manifestobjectNo
    data.run_idstringYesIdentifies the run. Keep any prefix when using it in a request.
    data.status"succeeded"Yes
    data.workflow"comparison_evidence_gaps"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Read an AI search topics runai_search_topics

    Open this request with Python and TypeScript examples

    • Path run_id starts with ai_search_topics:.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    prompts:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    run_idpathstringYes

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body -X GET "$AEO_API_BASE_URL/v2/runs/$RUN_ID" \
      -H "Authorization: Bearer $AEO_API_KEY"

    Responses

    HTTP 200

    Read an AI search topics run

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.billed_unitsintegerYesThe credits charged for this work.
    data.created_atstring (date-time)Yes
    data.errorobject | nullYes
    data.error.code"invalid_request" | "unauthenticated" | "quota_exceeded" | "forbidden" | "not_found" | "conflict" | "precondition_failed" | "validation_error" | "rate_limited" | "source_pending" | "feature_not_offered" | "internal_error"Conditional
    data.error.duplicate_ofstring (uuid)NoID of your existing prompt.
    data.error.field_errorsarray of objectNo
    data.error.field_errors[].fieldstring | nullConditional
    data.error.field_errors[].messagestringConditional
    data.error.messagestringConditional
    data.error.request_idstring (uuid)Conditional
    data.error.retryablebooleanConditional
    data.error.similar_promptsarray of objectNoOther matching prompts in your library.
    data.error.similar_prompts[].prompt_idstring (uuid)Conditional
    data.estimated_unitsintegerYes
    data.idstring (uuid)Yes
    data.kind"ai_search_topics"Yes
    data.phase"researching" | "drafting" | "validating" | "collecting" | "analyzing" | "exporting" | "purging" | nullYes
    data.poll_urlstring (uri-reference)YesSend an authenticated GET request to this URL to read the current result.
    data.progressnumberYes
    data.reserved_unitsintegerYesCredits held for the run.
    data.resultobject | nullYes
    data.result.estimateobjectConditional
    data.result.estimate.confidence"low" | "insufficient"Conditional
    data.result.estimate.confidence_reason"uncalibrated" | "period_not_covered" | "insufficient_sample" | "score_not_interpretable"Conditional
    data.result.estimate.label_language"en"Conditional
    data.result.estimate.language_scope"exact" | "unfiltered"Conditional
    data.result.estimate.marketobjectConditional
    data.result.estimate.market.country"US" | "DZ"Conditional
    data.result.estimate.market.language"en-US" | "fr-DZ"Conditional
    data.result.estimate.measured_population_language"en" | "mixed" | "unknown"Conditional
    data.result.estimate.method"interest_estimate" | "relative_interest_index"Conditional
    data.result.estimate.method_versionstringConditional
    data.result.estimate.periodobjectConditional
    data.result.estimate.period.data_vintagestring (date) | nullConditional
    data.result.estimate.period.endstring (date)Conditional
    data.result.estimate.period.granularity"month"Conditional
    data.result.estimate.period.startstring (date)Conditional
    data.result.estimate.platform_attribution"none" | "unknown" | "partial"Conditional
    data.result.estimate.platforms_coveredarray of "chatgpt" | "gemini" | "claude" | "perplexity" | "google" | "bing" | "brave" | "meta_ai" | "grok" | "universal"Conditional
    data.result.estimate.reference_setobject | objectConditional
    data.result.estimate.reference_set.kind"reference_list" | "reference_set"Conditional
    data.result.estimate.reference_set.ranked_countintegerConditional
    data.result.estimate.reference_set.sizeinteger | nullConditional
    data.result.estimate.reference_set.versionstringConditional
    data.result.estimate.reference_set.source_truncatedbooleanConditional
    data.result.estimate.sampleobject | objectConditional
    data.result.estimate.sample.notesarray of stringConditional
    data.result.estimate.sample.unit"topic_interest_monthly" | "topic_interest_score"Conditional
    data.result.estimate.sample.score_baseinteger | nullConditional
    data.result.estimate.source_label"estimate"Conditional
    data.result.periodobjectConditional
    data.result.period.data_vintagestring (date) | nullConditional
    data.result.period.endstring (date)Conditional
    data.result.period.granularity"month"Conditional
    data.result.period.startstring (date)Conditional
    data.result.reason"period_not_covered" | "insufficient_sample" | "score_not_interpretable" | nullConditional
    data.result.syntheticbooleanConditional
    data.result.topicsarray of objectConditional
    data.result.topics[].example_promptsarray of objectConditional
    data.result.topics[].example_prompts[].provenance"synthetic"Conditional
    data.result.topics[].example_prompts[].textstringConditional
    data.result.topics[].metricobject | objectConditional
    data.result.topics[].metric.relative_indexintegerConditional
    data.result.topics[].metric.interest_indexnumberConditionalRelative interest index for the month shown.
    data.result.topics[].platformsarray of objectNo
    data.result.topics[].platforms[].confidence"low"Conditional
    data.result.topics[].platforms[].platform"chatgpt" | "google_ai_overviews"Conditional
    data.result.topics[].platforms[].relative_indexintegerConditional
    data.result.topics[].platforms[].trend"up" | "flat" | "down" | nullConditional
    data.result.topics[].rankintegerConditional
    data.result.topics[].topicstringConditional
    data.result.topics[].topic_idstring (uuid)Conditional
    data.result.topics[].trendobjectConditional
    data.result.topics[].trend.comparison_periodobject | nullConditional
    data.result.topics[].trend.comparison_period.endstring (date)Conditional
    data.result.topics[].trend.comparison_period.granularity"month"Conditional
    data.result.topics[].trend.comparison_period.startstring (date)Conditional
    data.result.topics[].trend.direction"up" | "down" | "flat" | "not_measured"Conditional
    data.result.topics[].trend.reason"comparison_not_covered" | "comparison_value_zero" | "rebased_scores" | nullConditional
    data.revisionintegerYes
    data.run_idstringYesIdentifies the run. Keep any prefix when using it in a request.
    data.state"queued" | "running" | "awaiting_approval" | "approved" | "executing" | "verifying" | "completed" | "partial" | "failed" | "cancelled" | "rejected" | "stale_approval"Yes
    data.status"queued" | "running" | "awaiting_approval" | "approved" | "executing" | "verifying" | "completed" | "partial" | "failed" | "cancelled" | "rejected" | "stale_approval"Yes
    data.updated_atstring (date-time)Yes
    data.workflow"ai_search_topics"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Read an answer accuracy checkcheck_answer_accuracy

    Open this request with Python and TypeScript examples

    • Path run_id starts with check_answer_accuracy:.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    analytics:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    run_idpathstringYes
    brand_idquerystring (uuid)No

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body -X GET "$AEO_API_BASE_URL/v2/runs/$RUN_ID" \
      -H "Authorization: Bearer $AEO_API_KEY"

    Responses

    HTTP 200

    Read an answer accuracy check

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.meteringobjectYes
    data.metering.creditsintegerYes
    data.poll_urlstringYesSend an authenticated GET request to this URL to read the current result.
    data.resultobjectYes
    data.result.checksarray of object | objectYes
    data.result.checks[].observation_idstring (uuid)Yes
    data.result.checks[].status"in_progress" | "completed"Yes
    data.result.checks[].accuracy_scorenumber | nullConditional
    data.result.checks[].checked_atstring (date-time)Conditional
    data.result.checks[].claimsarray of objectConditional
    data.result.checks[].claims[].claim_idstring (uuid)Conditional
    data.result.checks[].claims[].matching_factobject | nullConditional
    data.result.checks[].claims[].matching_fact.content_idstring (uuid)Conditional
    data.result.checks[].claims[].matching_fact.content_revisionstring (uuid)Conditional
    data.result.checks[].claims[].matching_fact.countrystring | nullConditional
    data.result.checks[].claims[].matching_fact.fact_idstring (uuid)Conditional
    data.result.checks[].claims[].matching_fact.source_quotestringConditional
    data.result.checks[].claims[].matching_fact.source_urlstringConditional
    data.result.checks[].claims[].matching_fact.statementstringConditional
    data.result.checks[].claims[].reasonstringConditional
    data.result.checks[].claims[].source_pagesarray of objectConditional
    data.result.checks[].claims[].source_pages[].ownership"brand" | "competitor" | "third_party"Conditional
    data.result.checks[].claims[].source_pages[].scope"answer" | "claim"Conditional
    data.result.checks[].claims[].source_pages[].urlstringConditional
    data.result.checks[].claims[].statementstringConditional
    data.result.checks[].claims[].status"supported" | "contradicted" | "outdated" | "insufficient_evidence" | "not_covered"Conditional
    data.result.checks[].claims[].theme"pricing" | "features" | "availability" | "policy" | "company" | "integrations" | "other"Conditional
    data.result.delivered_countintegerYes
    data.rights_filteredbooleanYes
    data.run_idstringYesIdentifies the run. Keep any prefix when using it in a request.
    data.status"in_progress" | "completed"Yes
    data.workflow"check_answer_accuracy"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Read a draft accuracy checkcheck_draft_accuracy

    Open this request with Python and TypeScript examples

    • Path run_id starts with check_draft_accuracy:.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    optimizations:read, analytics:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    run_idpathstringYes
    brand_idquerystring (uuid)No

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body -X GET "$AEO_API_BASE_URL/v2/runs/$RUN_ID" \
      -H "Authorization: Bearer $AEO_API_KEY"

    Responses

    HTTP 200

    Read a draft accuracy check

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.meteringobjectYes
    data.metering.creditsintegerYes
    data.poll_urlstringYesSend an authenticated GET request to this URL to read the current result.
    data.resultobjectYes
    data.result.checksarray of object | objectYes
    data.result.checks[].draft_idstring (uuid)Yes
    data.result.checks[].draft_revisionintegerYes
    data.result.checks[].status"in_progress" | "completed"Yes
    data.result.checks[].checked_atstring (date-time)Conditional
    data.result.checks[].has_wrong_claimsbooleanConditionalTrue if any claim is contradicted or outdated.
    data.result.delivered_countintegerYes
    data.rights_filteredbooleanYes
    data.run_idstringYesIdentifies the run. Keep any prefix when using it in a request.
    data.status"in_progress" | "completed"Yes
    data.workflow"check_draft_accuracy"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Read a Brave Search submissionbrave_submit

    Open this request with Python and TypeScript examples

    • Path run_id starts with brave_submit:.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    brands:read
    Roles
    approver, editor, owner, publisher, service, viewer
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    run_idpathstringYes
    brand_idquerystring (uuid)No

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body -X GET "$AEO_API_BASE_URL/v2/runs/$RUN_ID" \
      -H "Authorization: Bearer $AEO_API_KEY"

    Responses

    HTTP 200

    Read a Brave Search submission

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.poll_urlstringYesSend an authenticated GET request to this URL to read the current result.
    data.requested_atstring (date-time)Yes
    data.run_idstringYesIdentifies the run. Keep any prefix when using it in a request.
    data.status"in_progress" | "submitted" | "failed"Yes
    data.submitted_atstring (date-time) | nullYes
    data.urlstringYes
    data.workflow"brave_submit"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Get Estimateestimate

    Open this request with Python and TypeScript examples

    • Path run_id starts with estimate:.

    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

    Request parameters
    NameWhereTypeRequiredDescription
    run_idpathstringYes

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body -X GET "$AEO_API_BASE_URL/v2/runs/$RUN_ID" \
      -H "Authorization: Bearer $AEO_API_KEY"

    Responses

    HTTP 200

    Successful Response

    application/json

    Response fields are listed below.

    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstringYesIdentifies the brand this result belongs to.
    data.eligible_enginesarray of objectYes
    data.eligible_engines[].applied_locationobject | nullNo
    data.eligible_engines[].applied_location.citystring | nullNo
    data.eligible_engines[].applied_location.countrystring | nullNo
    data.eligible_engines[].applied_location.granularity"country" | "region" | "city" | "postal" | "coordinates"Conditional
    data.eligible_engines[].applied_location.latitudenumber | nullNo
    data.eligible_engines[].applied_location.longitudenumber | nullNo
    data.eligible_engines[].applied_location.postal_codestring | nullNo
    data.eligible_engines[].applied_location.regionstring | nullNo
    data.eligible_engines[].charge_per_stepintegerYes
    data.eligible_engines[].reserve_per_stepintegerYes
    data.eligible_engines[].sourceobjectYes
    data.eligible_engines[].unenforced_controlsarray of stringYes
    data.estimate_fingerprintstringYes
    data.estimated_creditsintegerYesThe expected credit cost for this selection.
    data.excluded_sourcesarray of objectYesSources 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_idstring (uuid)No
    data.expires_atstringYes
    data.location_totalsarray of objectNo
    data.location_totals[].eligible_enginesarray of objectNo
    data.location_totals[].eligible_engines[].sourceobjectConditional
    data.location_totals[].eligible_engines[].unenforced_controlsarray of stringConditional
    data.location_totals[].estimated_creditsintegerConditional
    data.location_totals[].location_idstring (uuid)Conditional
    data.location_totals[].marketobjectConditional
    data.location_totals[].market.citystring | null | nullNo
    data.location_totals[].market.countrystringConditional
    data.location_totals[].market.languagestringConditional
    data.location_totals[].market.latitudenumber | nullNo
    data.location_totals[].market.location_idstring (uuid)No
    data.location_totals[].market.longitudenumber | nullNo
    data.location_totals[].market.postal_codestring | nullNo
    data.location_totals[].market.regionstring | null | nullNo
    data.location_totals[].maximum_creditsintegerConditional
    data.location_totals[].prompt_countintegerConditional
    data.maximum_creditsintegerYesThe upper credit estimate for this selection.
    data.poll_urlstringYesSend an authenticated GET request to this URL to read the current result.
    data.prompt_countintegerYes
    data.prompt_set_revisionstringYes
    data.run_idstring | nullNoIdentifies the run. Keep any prefix when using it in a request.
    data.status"estimated" | "expired"Yes
    data.v2_run_idstringNoThe prefixed run ID accepted by GET /v2/runs/{run_id}.
    data.websitestring | nullYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    HTTP 200 response fields 2
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.answer_countintegerYes
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.eligible_enginesarray of objectYes
    data.eligible_engines[].sourceobjectYes
    data.eligible_engines[].unenforced_controlsarray of stringYes
    data.estimated_creditsintegerYesThe expected credit cost for this selection.
    data.location_totalsarray of objectNo
    data.location_totals[].eligible_enginesarray of objectNo
    data.location_totals[].eligible_engines[].sourceobjectConditional
    data.location_totals[].eligible_engines[].unenforced_controlsarray of stringConditional
    data.location_totals[].estimated_creditsintegerConditional
    data.location_totals[].location_idstring (uuid)Conditional
    data.location_totals[].marketobjectConditional
    data.location_totals[].market.citystring | null | nullNo
    data.location_totals[].market.countrystringConditional
    data.location_totals[].market.languagestringConditional
    data.location_totals[].market.latitudenumber | nullNo
    data.location_totals[].market.location_idstring (uuid)No
    data.location_totals[].market.longitudenumber | nullNo
    data.location_totals[].market.postal_codestring | nullNo
    data.location_totals[].market.regionstring | null | nullNo
    data.location_totals[].maximum_creditsintegerConditional
    data.location_totals[].prompt_countintegerConditional
    data.maximum_creditsintegerYesThe upper credit estimate for this selection.
    data.prompt_countintegerYes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.
    HTTP 200 response fields 3
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.call_count1No
    data.charge_unitsintegerYes
    data.draft_revisionintegerYes
    data.expires_atstring (date-time)Yes
    data.poll_urlstringYesSend an authenticated GET request to this URL to read the current result.
    data.purposestringYes
    data.quote_idstringYes
    data.reserve_unitsintegerYesCredits the API needs to reserve when you start this work.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    HTTP 200 response fields 4
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstringYesIdentifies the brand this result belongs to.
    data.due_pagesintegerYes
    data.estimate_idstringYesIdentifies the estimate for this selection.
    data.expires_atstringYes
    data.poll_urlstringYesSend an authenticated GET request to this URL to read the current result.
    data.reserve_unitsintegerYesCredits the API needs to reserve when you start this work.
    data.selected_pagesintegerYes
    data.workflow"cited_page_sweep" | "cited_page_labelling"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.
    HTTP 200 response fields 5
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.category_idstringYes
    data.charge_unitsintegerYes
    data.estimate_idstring (uuid)YesIdentifies the estimate for this selection.
    data.expires_atstring (date-time)Yes
    data.language_scope"exact" | "unfiltered"Yes
    data.limitintegerYes
    data.marketobjectYes
    data.market.citystring | null | nullNo
    data.market.countrystringYes
    data.market.languagestringYes
    data.market.regionstring | null | nullNo
    data.periodobjectYes
    data.period.endstring (date)Yes
    data.period.granularity"month"No
    data.period.startstring (date)Yes
    data.platform_attribution"none" | "unknown" | "partial"Yes
    data.platform_costsarray of objectNo
    data.platform_costs[].charge_unitsintegerConditional
    data.platform_costs[].platform"chatgpt" | "google_ai_overviews"Conditional
    data.platform_costs[].reserve_unitsintegerConditional
    data.platform_scope"covered" | "chatgpt" | "google_ai_overviews"Yes
    data.platformsarray of stringNo
    data.platforms_coveredarray of stringYes
    data.poll_urlstringYesSend an authenticated GET request to this URL to read the current result.
    data.reserve_unitsintegerYesCredits the API needs to reserve when you start this work.
    data.workflow"ai_search_topics"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.
    HTTP 200 response fields 6
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.check_countintegerYes
    data.estimate_idstring (uuid)YesIdentifies the estimate for this selection.
    data.estimated_unitsintegerYes
    data.expires_atstring (date-time)Yes
    data.max_unitsintegerYes
    data.poll_urlstringYesSend an authenticated GET request to this URL to read the current result.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.
    HTTP 200 response fields 7
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.charge_unitsintegerYes
    data.estimate_idstring (uuid)YesIdentifies the estimate for this selection.
    data.expires_atstring (date-time)Yes
    data.poll_urlstringYesSend an authenticated GET request to this URL to read the current result.
    data.reserve_unitsintegerYesCredits the API needs to reserve when you start this work.
    data.simulation_optionsobjectYes
    data.simulation_options.delivery"async"No
    data.simulation_options.input_kind"saved"No
    data.simulation_options.max_candidatesintegerNo
    data.simulation_options.max_input_bytesintegerNo
    data.simulation_options.max_input_tokensintegerNo
    data.simulation_options.max_promptsintegerNo
    data.simulation_options.mode"persistent"Yes
    data.simulation_options.monitored_competitorsobject | nullNo
    data.simulation_options.monitored_competitors.capture_revision_idsarray of string (uuid)No
    data.simulation_options.monitored_competitors.limitintegerNo
    data.simulation_options.monitored_competitors.observation_idsarray of string (uuid)Conditional
    data.simulation_options.monitored_competitors.prompt_idstring (uuid)Conditional
    data.simulation_options.monitored_competitors.prompt_versionintegerConditional
    data.simulation_options.revision_idsarray of string (uuid)No
    data.workflow"passage_overlap"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.
    HTTP 200 response fields 8
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.charge_unitsintegerYes
    data.estimate_idstring (uuid)YesIdentifies the estimate for this selection.
    data.expires_atstring (date-time)Yes
    data.poll_urlstringYesSend an authenticated GET request to this URL to read the current result.
    data.reserve_unitsintegerYesCredits the API needs to reserve when you start this work.
    data.simulation_optionsobjectYes
    data.simulation_options.delivery"async"No
    data.simulation_options.input_kind"saved"No
    data.simulation_options.max_candidatesintegerNo
    data.simulation_options.max_input_bytesintegerNo
    data.simulation_options.max_input_tokensintegerNo
    data.simulation_options.max_promptsintegerNo
    data.simulation_options.mode"persistent"Yes
    data.simulation_options.monitored_competitorsobject | nullNo
    data.simulation_options.monitored_competitors.capture_revision_idsarray of string (uuid)No
    data.simulation_options.monitored_competitors.limitintegerNo
    data.simulation_options.monitored_competitors.observation_idsarray of string (uuid)Conditional
    data.simulation_options.monitored_competitors.prompt_idstring (uuid)Conditional
    data.simulation_options.monitored_competitors.prompt_versionintegerConditional
    data.simulation_options.revision_idsarray of string (uuid)No
    data.workflow"prepublish_review"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.
    HTTP 200 response fields 9
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.charge_unitsintegerYes
    data.estimate_idstring (uuid)YesIdentifies the estimate for this selection.
    data.expires_atstring (date-time)Yes
    data.poll_urlstringYesSend an authenticated GET request to this URL to read the current result.
    data.reserve_unitsintegerYesCredits the API needs to reserve when you start this work.
    data.simulation_optionsobjectYes
    data.simulation_options.delivery"async"No
    data.simulation_options.input_kind"saved"No
    data.simulation_options.max_candidatesintegerNo
    data.simulation_options.max_input_bytesintegerNo
    data.simulation_options.max_input_tokensintegerNo
    data.simulation_options.max_promptsintegerNo
    data.simulation_options.mode"persistent"Yes
    data.simulation_options.monitored_competitorsobject | nullNo
    data.simulation_options.monitored_competitors.capture_revision_idsarray of string (uuid)No
    data.simulation_options.monitored_competitors.limitintegerNo
    data.simulation_options.monitored_competitors.observation_idsarray of string (uuid)Conditional
    data.simulation_options.monitored_competitors.prompt_idstring (uuid)Conditional
    data.simulation_options.monitored_competitors.prompt_versionintegerConditional
    data.simulation_options.revision_idsarray of string (uuid)No
    data.workflow"query_fanout_coverage"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.
    HTTP 200 response fields 10
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.charge_unitsintegerYes
    data.estimate_idstring (uuid)YesIdentifies the estimate for this selection.
    data.expires_atstring (date-time)Yes
    data.poll_urlstringYesSend an authenticated GET request to this URL to read the current result.
    data.reserve_unitsintegerYesCredits the API needs to reserve when you start this work.
    data.simulation_optionsobjectYes
    data.simulation_options.delivery"async"No
    data.simulation_options.input_kind"saved"No
    data.simulation_options.max_candidatesintegerNo
    data.simulation_options.max_input_bytesintegerNo
    data.simulation_options.max_input_tokensintegerNo
    data.simulation_options.max_promptsintegerNo
    data.simulation_options.mode"persistent"Yes
    data.simulation_options.monitored_competitorsobject | nullNo
    data.simulation_options.monitored_competitors.capture_revision_idsarray of string (uuid)No
    data.simulation_options.monitored_competitors.limitintegerNo
    data.simulation_options.monitored_competitors.observation_idsarray of string (uuid)Conditional
    data.simulation_options.monitored_competitors.prompt_idstring (uuid)Conditional
    data.simulation_options.monitored_competitors.prompt_versionintegerConditional
    data.simulation_options.revision_idsarray of string (uuid)No
    data.workflow"retrieval_benchmark"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.
    HTTP 200 response fields 11
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.charge_unitsintegerYes
    data.estimate_idstring (uuid)YesIdentifies the estimate for this selection.
    data.expires_atstring (date-time)Yes
    data.poll_urlstringYesSend an authenticated GET request to this URL to read the current result.
    data.reserve_unitsintegerYesCredits the API needs to reserve when you start this work.
    data.simulation_optionsobjectYes
    data.simulation_options.delivery"async"No
    data.simulation_options.input_kind"saved"No
    data.simulation_options.max_candidatesintegerNo
    data.simulation_options.max_input_bytesintegerNo
    data.simulation_options.max_input_tokensintegerNo
    data.simulation_options.max_promptsintegerNo
    data.simulation_options.mode"persistent"Yes
    data.simulation_options.monitored_competitorsobject | nullNo
    data.simulation_options.monitored_competitors.capture_revision_idsarray of string (uuid)No
    data.simulation_options.monitored_competitors.limitintegerNo
    data.simulation_options.monitored_competitors.observation_idsarray of string (uuid)Conditional
    data.simulation_options.monitored_competitors.prompt_idstring (uuid)Conditional
    data.simulation_options.monitored_competitors.prompt_versionintegerConditional
    data.simulation_options.revision_idsarray of string (uuid)No
    data.workflow"retrieval_regression"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.
    HTTP 200 response fields 12
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.charge_unitsintegerYes
    data.estimate_idstring (uuid)YesIdentifies the estimate for this selection.
    data.expires_atstring (date-time)Yes
    data.poll_urlstringYesSend an authenticated GET request to this URL to read the current result.
    data.reserve_unitsintegerYesCredits the API needs to reserve when you start this work.
    data.simulation_optionsobjectYes
    data.simulation_options.delivery"async"No
    data.simulation_options.input_kind"saved"No
    data.simulation_options.max_candidatesintegerNo
    data.simulation_options.max_input_bytesintegerNo
    data.simulation_options.max_input_tokensintegerNo
    data.simulation_options.max_promptsintegerNo
    data.simulation_options.mode"persistent"Yes
    data.simulation_options.monitored_competitorsnullNo
    data.simulation_options.revision_idsarray of string (uuid)No
    data.workflow"retrieval_win_rate"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.
    HTTP 200 response fields 13
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_idstring (uuid)YesIdentifies the brand this result belongs to.
    data.charge_unitsintegerYes
    data.estimate_idstring (uuid)YesIdentifies the estimate for this selection.
    data.expires_atstring (date-time)Yes
    data.poll_urlstringYesSend an authenticated GET request to this URL to read the current result.
    data.reserve_unitsintegerYesCredits the API needs to reserve when you start this work.
    data.simulation_optionsobjectYes
    data.simulation_options.delivery"async"No
    data.simulation_options.input_kind"saved"No
    data.simulation_options.max_candidatesintegerNo
    data.simulation_options.max_input_bytesintegerNo
    data.simulation_options.max_input_tokensintegerNo
    data.simulation_options.max_promptsintegerNo
    data.simulation_options.mode"persistent"Yes
    data.simulation_options.monitored_competitorsobject | nullNo
    data.simulation_options.monitored_competitors.capture_revision_idsarray of string (uuid)No
    data.simulation_options.monitored_competitors.limitintegerNo
    data.simulation_options.monitored_competitors.observation_idsarray of string (uuid)Conditional
    data.simulation_options.monitored_competitors.prompt_idstring (uuid)Conditional
    data.simulation_options.monitored_competitors.prompt_versionintegerConditional
    data.simulation_options.revision_idsarray of string (uuid)No
    data.workflow"verify_answer_claims"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.
    HTTP 200 response fields 14
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.estimate_idstring (uuid)ConditionalRequires at least one of estimate_id or quote_id.
    data.expires_atstring (date-time)Yes
    data.poll_urlstringYesSend an authenticated GET request to this URL to read the current result.
    data.quote_idstringConditionalRequires at least one of estimate_id or quote_id.
    data.status"expired"Yes
    metaobjectYesInformation about this response, including any warnings or pagination details.

    Errors

    DELETE /v2/runs/{run_id}

    Cancel a run

    Cancels the run. The run remains available to read.

    Collect or cancel workjob

    Open this request with Python and TypeScript examples

    • Path run_id starts with job:.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    collections:write
    Roles
    editor, owner, service
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.
    Billing access
    Required

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    run_idpathstringYes
    Idempotency-KeyheaderstringYesFor 7 days, sending the same key and body for the same account and operation returns the original response. Changing the body for that key returns HTTP 409.
    reasonquerystringNoWhy you are cancelling the run. Supply 1 to 500 characters.

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body -X DELETE "$AEO_API_BASE_URL/v2/runs/$RUN_ID" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Idempotency-Key: $IDEMPOTENCY_KEY"

    Responses

    HTTP 202

    Collect or cancel work result.

    HTTP 202 headers
    NameTypeRequiredDescription
    Locationstring (uri-reference)NoAuthenticated polling URI returned in data.poll_url.
    X-RateLimit-LimitintegerNoRequests in rate window.
    X-RateLimit-RemainingintegerNoRemaining request tokens.
    X-RateLimit-ResetintegerNoUTC Unix seconds when window resets.
    X-Request-Idstring (uuid)NoTrace identifier.
    X-Usage-UnitsintegerNoCU charged by this response; GET and account/usage always zero.

    application/json

    {
      "data": {
        "billed_units": 0,
        "created_at": "2026-11-06T00:00:00Z",
        "error": null,
        "estimated_units": 0,
        "id": "00000000-0000-4000-8000-000000000001",
        "kind": "collection",
        "poll_url": "https://api.aeoapi.dev/v2/runs/job:00000000-0000-4000-8000-000000000001",
        "progress": 0,
        "reserved_units": 0,
        "result": null,
        "revision": 1,
        "state": "queued",
        "updated_at": "2026-11-06T00:00:00Z"
      },
      "meta": {
        "as_of": "2026-11-06T00:00:00Z",
        "collected_at": null,
        "next_cursor": null,
        "next_refresh_at": null,
        "request_id": "00000000-0000-4000-8000-000000000001",
        "rights_filtered": false,
        "schema_version": "1.0",
        "stale": false,
        "warnings": []
      }
    }
    HTTP 202 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.billed_unitsintegerYesThe credits charged for this work.
    data.created_atstring (date-time)Yes
    data.errorobject | nullYes
    data.error.code"invalid_request" | "unauthenticated" | "quota_exceeded" | "forbidden" | "not_found" | "conflict" | "precondition_failed" | "validation_error" | "rate_limited" | "source_pending" | "feature_not_offered" | "internal_error"Conditional
    data.error.duplicate_ofstring (uuid)NoID of your existing prompt.
    data.error.field_errorsarray of objectNo
    data.error.field_errors[].fieldstring | nullConditional
    data.error.field_errors[].messagestringConditional
    data.error.messagestringConditional
    data.error.request_idstring (uuid)Conditional
    data.error.retryablebooleanConditional
    data.error.similar_promptsarray of objectNoOther matching prompts in your library.
    data.error.similar_prompts[].prompt_idstring (uuid)Conditional
    data.estimated_unitsintegerYes
    data.idstring (uuid)Yes
    data.kind"collection" | "prompt_generation" | "deletion" | "audit" | "optimization"Yes
    data.phase"researching" | "drafting" | "validating" | "collecting" | "analyzing" | "exporting" | "purging" | nullNo
    data.poll_urlstring (uri)YesSend an authenticated GET request to this URL to read the current result.
    data.progressnumberYes
    data.reserved_unitsintegerYesCredits held for the run.
    data.resultobject | object | object | object | object | nullYes
    data.result.acceptedintegerConditional
    data.result.answersarray of objectNo
    data.result.answers[].answer_textstringConditional
    data.result.answers[].answer_text_truncatedbooleanConditional
    data.result.answers[].brand_citedbooleanConditional
    data.result.answers[].brand_mentionedboolean | nullConditional
    data.result.answers[].citationsarray of objectConditional
    data.result.answers[].citations[].orderintegerConditional
    data.result.answers[].citations[].urlstringConditional
    data.result.answers[].observation_idstringConditional
    data.result.evidence_cursorstring | nullConditional
    data.result.failedintegerConditional
    data.result.kind"collection"Conditional
    data.result.observation_idsarray of string (uuid)Conditional
    data.result.observationsarray of objectNo
    data.result.observations[].applied_locationobject | nullConditional
    data.result.observations[].applied_location.citystring | nullNo
    data.result.observations[].applied_location.countrystring | nullNo
    data.result.observations[].applied_location.granularity"country" | "region" | "city" | "postal" | "coordinates"Conditional
    data.result.observations[].applied_location.latitudenumber | nullNo
    data.result.observations[].applied_location.longitudenumber | nullNo
    data.result.observations[].applied_location.postal_codestring | nullNo
    data.result.observations[].applied_location.regionstring | nullNo
    data.result.observations[].observation_idstring (uuid)Conditional
    data.result.detailsarray of objectNo
    data.result.details[].rationalestringConditional
    data.result.details[].suggestion_indexintegerConditional
    data.result.details[].template_versionstringConditional
    data.result.details[].warningsarray of stringConditional
    data.result.kind"prompt_generation"Conditional
    data.result.outcomeobjectNoExplains why the result contains no suggestions.
    data.result.outcome.reason"no_eligible_candidates" | "web_evidence_missing"ConditionalWhether no candidate qualified or usable web evidence was missing.
    data.result.outcome.web_evidence_usedbooleanConditionalWhether the generation received a reply with confirmed web activity.
    data.result.suggestionsarray of objectConditional
    data.result.suggestions[].action"create"Conditional
    data.result.suggestions[].allow_similarbooleanNoSave the prompt even if you already track the same question or a differently worded question with the same meaning.
    data.result.suggestions[].brand_idstring (uuid) | nullNo
    data.result.suggestions[].category_idsarray of string | nullConditional
    data.result.suggestions[].intent"discovery" | "recommendation" | "evaluation" | "pricing" | "comparison" | "alternatives" | "use_case" | "transaction" | "local" | "troubleshooting" | "trust" | "informational"Conditional
    data.result.suggestions[].marketobjectConditional
    data.result.suggestions[].market.citystring | null | nullNo
    data.result.suggestions[].market.countrystringConditional
    data.result.suggestions[].market.languagestringConditional
    data.result.suggestions[].market.regionstring | null | nullNo
    data.result.suggestions[].tagsarray of string | nullNo
    data.result.suggestions[].textstringConditional
    data.result.backup_expiry_atstring (date-time) | nullConditional
    data.result.kind"deletion"Conditional
    data.result.purgedbooleanConditional
    data.result.resource_idstring (uuid)Conditional
    data.result.retained_record_reasonsarray of stringConditional
    data.result.agent_readinessobjectNoOur defined website access criteria for AI agents at checked_at (not a universal AI-readiness standard; no indexing, ranking, citation or answer outcome is measured).
    data.result.agent_readiness.checked_atstring (date-time)Conditional
    data.result.agent_readiness.checksarray of objectConditional
    data.result.agent_readiness.checks[].assessment"verified" | "detected" | "not_detected" | "not_assessed"No
    data.result.agent_readiness.checks[].category"core" | "robots" | "content" | "discovery" | "protocol"Conditional
    data.result.agent_readiness.checks[].evidencearray of objectConditional
    data.result.agent_readiness.checks[].evidence[].methodstringConditional
    data.result.agent_readiness.checks[].evidence[].observedstringConditional
    data.result.agent_readiness.checks[].evidence[].urlstringConditional
    data.result.agent_readiness.checks[].idstringConditional
    data.result.agent_readiness.checks[].labelstringConditional
    data.result.agent_readiness.checks[].limitationsarray of stringConditional
    data.result.agent_readiness.checks[].recommendationstring | nullConditional
    data.result.agent_readiness.checks[].referencestringNo
    data.result.agent_readiness.checks[].scoredbooleanConditional
    data.result.agent_readiness.checks[].spec_versionstringNo
    data.result.agent_readiness.checks[].status"pass" | "fail" | "unknown" | "not_applicable"Conditional
    data.result.agent_readiness.limitationsarray of stringConditional
    data.result.agent_readiness.scope"essential" | "full"Conditional
    data.result.agent_readiness.scoreobjectConditionaleligible = passed + failed + unknown over applicable scored checks; value = 100 * passed / (passed + failed), or null when no scored check was conclusive.
    data.result.agent_readiness.score.eligibleintegerConditional
    data.result.agent_readiness.score.failedintegerConditional
    data.result.agent_readiness.score.passedintegerConditional
    data.result.agent_readiness.score.unknownintegerConditional
    data.result.agent_readiness.score.valuenumber | nullConditional
    data.result.agent_readiness.status"completed" | "partial" | "not_assessed"Conditional
    data.result.agent_readiness.versionstringConditional
    data.result.budget_exhaustedbooleanNo
    data.result.business_factsobjectNo
    data.result.business_facts.locationsarray of objectConditional
    data.result.business_facts.locations[].location_idstring (uuid) | nullConditional
    data.result.business_facts.locations[].scoreobjectConditional
    data.result.business_facts.locations[].score.fieldsobjectConditional
    data.result.business_facts.locations[].score.fields.[key]number | nullNoValue for each key.
    data.result.business_facts.locations[].score.matched_fieldsintegerConditional
    data.result.business_facts.locations[].score.mismatched_fieldsintegerConditional
    data.result.business_facts.locations[].score.overallnumber | nullConditional
    data.result.business_facts.omitted_sourcesintegerConditional
    data.result.business_facts.scoreobjectConditional
    data.result.business_facts.score.fieldsobjectConditional
    data.result.business_facts.score.fields.[key]number | nullNoValue for each key.
    data.result.business_facts.score.matched_fieldsintegerConditional
    data.result.business_facts.score.mismatched_fieldsintegerConditional
    data.result.business_facts.score.overallnumber | nullConditional
    data.result.business_facts.sourcesarray of objectConditional
    data.result.business_facts.sources[].fieldsarray of objectConditional
    data.result.business_facts.sources[].fields[].expectedstring | array of string | object | nullConditional
    data.result.business_facts.sources[].fields[].expected.[key]string | number | array of stringNoValue for each key.
    data.result.business_facts.sources[].fields[].fieldstringConditional
    data.result.business_facts.sources[].fields[].observedstring | array of string | object | nullConditional
    data.result.business_facts.sources[].fields[].observed.[key]string | number | array of stringNoValue for each key.
    data.result.business_facts.sources[].fields[].status"matched" | "mismatched" | "not_found"Conditional
    data.result.business_facts.sources[].final_urlstring | nullConditional
    data.result.business_facts.sources[].http_statusinteger | nullConditional
    data.result.business_facts.sources[].location_idstring (uuid) | nullConditional
    data.result.business_facts.sources[].source"supplied" | "profile" | "citation"Conditional
    data.result.business_facts.sources[].status"matched" | "mismatched" | "not_found" | "could_not_fetch"Conditional
    data.result.business_facts.sources[].urlstringConditional
    data.result.completeness"preliminary" | "partial" | "complete" | "blocked"No
    data.result.content_coverage_notestringNo
    data.result.crawler_accessobjectNo
    data.result.crawler_access.assessedintegerConditional
    data.result.crawler_access.eligibleintegerConditional
    data.result.crawler_access.notestringConditional
    data.result.crawler_access.pagesarray of objectConditional
    data.result.crawler_access.pages[].agentsarray of objectConditional
    data.result.crawler_access.pages[].agents[].access"allowed" | "blocked_by_robots" | "blocked_by_firewall" | "challenged" | "rate_limited" | "unknown"Conditional
    data.result.crawler_access.pages[].agents[].agentstringConditional
    data.result.crawler_access.pages[].agents[].evidenceobjectConditional
    data.result.crawler_access.pages[].agents[].evidence.body_size_rationumber | nullConditional
    data.result.crawler_access.pages[].agents[].evidence.browser_statusinteger | nullConditional
    data.result.crawler_access.pages[].agents[].evidence.crawler_statusinteger | nullConditional
    data.result.crawler_access.pages[].agents[].evidence.marker"challenge_page" | "block_page" | "block_redirect" | "empty_or_short_body" | nullConditional
    data.result.crawler_access.pages[].agents[].purpose"search" | "user_fetch" | "training"Conditional
    data.result.crawler_access.pages[].agents[].robots_access"allowed" | "blocked" | nullNoWhether robots.txt allows this crawler on this page. HTTP 4xx responses other than 429 mean allowed. The value is null if the rules could not be checked.
    data.result.crawler_access.pages[].agents[].visibility_riskbooleanConditional
    data.result.crawler_access.pages[].urlstringConditional
    data.result.crawler_access.scorenumber | nullConditional
    data.result.findingsarray of objectConditional
    data.result.findings[].codestring | nullConditional
    data.result.findings[].confidencenumberConditional
    data.result.findings[].evidencestringConditional
    data.result.findings[].idstring (uuid)Conditional
    data.result.findings[].recommendationstringConditional
    data.result.findings[].severity"critical" | "high" | "medium" | "low" | "info"Conditional
    data.result.findings[].urlstring (uri)Conditional
    data.result.findings[].verificationstringConditional
    data.result.first_result_atstring (date-time) | nullNo
    data.result.kind"audit"Conditional
    data.result.next_cursorstring | nullConditional
    data.result.pages_billedintegerNoPages counted toward the final charge.
    data.result.pages_checkedintegerConditional
    data.result.pages_discoveredintegerNo
    data.result.pages_skippedintegerConditional
    data.result.profile"instant" | "detailed"No
    data.result.schema_consistencyobjectNo
    data.result.schema_consistency.pagesarray of objectConditional
    data.result.schema_consistency.pages[].fieldsarray of objectConditional
    data.result.schema_consistency.pages[].fields[].basis"visible" | "profile"Conditional
    data.result.schema_consistency.pages[].fields[].expectedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].fields[].expected.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].fields[].fieldstringConditional
    data.result.schema_consistency.pages[].fields[].observedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].fields[].observed.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].fields[].status"matched" | "mismatched" | "not_found"Conditional
    data.result.schema_consistency.pages[].issuesarray of objectConditional
    data.result.schema_consistency.pages[].issues[].code"missing_local_business" | "missing_required_properties" | "differs_from_visible" | "differs_from_profile" | "conflicting_blocks"Conditional
    data.result.schema_consistency.pages[].issues[].comparedarray of object | object | objectConditional
    data.result.schema_consistency.pages[].issues[].compared[].expectedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].issues[].compared[].expected.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].issues[].compared[].fieldstringConditional
    data.result.schema_consistency.pages[].issues[].compared[].observedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].issues[].compared[].observed.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].issues[].compared[].basis"visible" | "profile"Conditional
    data.result.schema_consistency.pages[].issues[].compared[].status"matched" | "mismatched" | "not_found"Conditional
    data.result.schema_consistency.pages[].issues[].fieldsarray of stringConditional
    data.result.schema_consistency.pages[].location_idstring (uuid) | nullConditional
    data.result.schema_consistency.pages[].markup"json_ld" | "microdata" | nullConditional
    data.result.schema_consistency.pages[].schema_typestring | nullConditional
    data.result.schema_consistency.pages[].urlstringConditional
    data.result.schema_consistency.pages_with_issuesintegerConditional
    data.result.schema_consistency.scorenumber | nullConditional
    data.result.skipped_reasonsarray of stringNo
    data.result.approval_expires_atstring (date-time) | nullConditional
    data.result.approval_idstring (uuid) | nullConditional
    data.result.artifact_download_urlstring (uri) | nullConditional
    data.result.artifact_sha256string | nullConditional
    data.result.diffstring | nullConditional
    data.result.external_revisionstring | null | nullConditional
    data.result.kind"optimization"Conditional
    data.result.syntheticbooleanNo
    data.result.target_urlstring (uri)Conditional
    data.result.verification_findingsarray of objectConditional
    data.result.verification_findings[].codestring | nullConditional
    data.result.verification_findings[].confidencenumberConditional
    data.result.verification_findings[].evidencestringConditional
    data.result.verification_findings[].idstring (uuid)Conditional
    data.result.verification_findings[].recommendationstringConditional
    data.result.verification_findings[].severity"critical" | "high" | "medium" | "low" | "info"Conditional
    data.result.verification_findings[].urlstring (uri)Conditional
    data.result.verification_findings[].verificationstringConditional
    data.revisionintegerYes
    data.state"queued" | "running" | "awaiting_approval" | "approved" | "executing" | "verifying" | "completed" | "partial" | "failed" | "cancelled" | "rejected" | "stale_approval"Yes
    data.updated_atstring (date-time)Yes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.
    HTTP 202 response fields 2
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.billed_unitsintegerNoThe credits charged for this work.
    data.brand_idstringYesIdentifies the brand this result belongs to.
    data.completed_pagesintegerNo
    data.due_pagesintegerNo
    data.next_offsetinteger | nullNo
    data.pagesarray of objectNo
    data.pages[].brand_mentioned_on_pageboolean | nullNo
    data.pages[].changed_since_previous_checkboolean | nullNo
    data.pages[].citing_answersintegerNo
    data.pages[].classification_basis"curated_domain" | "url_pattern" | "page_content" | "unknown"No
    data.pages[].classification_confidencenumberNo
    data.pages[].competitors_mentioned_on_pageobjectNo
    data.pages[].competitors_mentioned_on_page.[key]boolean | nullNoValue for each key.
    data.pages[].domainstringNo
    data.pages[].last_checked_atstringNo
    data.pages[].page_idstringConditional
    data.pages[].page_status"in_progress" | "live" | "gone"Conditional
    data.pages[].page_type"blog" | "directory" | "review_site" | "news" | "forum" | "brand_site" | "competitor_site" | "marketplace" | "docs" | "social" | "press_release" | "comparison" | "roundup" | "guide" | "institution" | "reference" | "other" | "unknown" | "video"No
    data.pages[].page_type_confidencenumber | nullNo
    data.pages[].source_category"directory" | "review_site" | "local_directory" | "industry_directory" | "forum" | "social" | "video" | "news" | "local_news" | "comparison" | "marketplace" | "brand_site" | "competitor_site" | "docs" | "press" | "other"No
    data.pages[].urlstringConditional
    data.run_idstringYesIdentifies the run. Keep any prefix when using it in a request.
    data.status"in_progress" | "completed" | "cancelled"Yes
    data.total_pagesintegerNo
    data.workflow"cited_page_sweep" | "cited_page_labelling"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.
    HTTP 202 response fields 3
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.poll_urlstring (uri-reference)YesSend an authenticated GET request to this URL to read the current result.
    data.run_idstringYesIdentifies the run. Keep any prefix when using it in a request.
    data.status"queued" | "running" | "awaiting_approval" | "approved" | "executing" | "verifying" | "succeeded" | "partial" | "failed" | "cancelled" | "rejected" | "stale_approval"Yes
    data.workflow"retrieval_win_rate"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Collect or cancel workmanaged

    Open this request with Python and TypeScript examples

    • Path run_id starts with managed:.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    collections:write
    Roles
    editor, owner, service
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.
    Billing access
    Required

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    run_idpathstringYes
    Idempotency-KeyheaderstringYesFor 7 days, sending the same key and body for the same account and operation returns the original response. Changing the body for that key returns HTTP 409.
    reasonquerystringNoWhy you are cancelling the run. Supply 1 to 500 characters.

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body -X DELETE "$AEO_API_BASE_URL/v2/runs/$RUN_ID" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Idempotency-Key: $IDEMPOTENCY_KEY"

    Responses

    HTTP 202

    Collect or cancel work result.

    HTTP 202 headers
    NameTypeRequiredDescription
    Locationstring (uri)NoAuthenticated polling URI returned in data.poll_url.
    X-RateLimit-LimitintegerNoRequests in rate window.
    X-RateLimit-RemainingintegerNoRemaining request tokens.
    X-RateLimit-ResetintegerNoUTC Unix seconds when window resets.
    X-Request-Idstring (uuid)NoTrace identifier.
    X-Usage-UnitsintegerNoCU charged by this response; GET and account/usage always zero.

    application/json

    {
      "data": {
        "billed_units": 0,
        "created_at": "2026-11-06T00:00:00Z",
        "error": null,
        "estimated_units": 0,
        "id": "00000000-0000-4000-8000-000000000001",
        "kind": "collection",
        "poll_url": "https://api.aeoapi.dev/v2/runs/job:00000000-0000-4000-8000-000000000001",
        "progress": 0,
        "reserved_units": 0,
        "result": null,
        "revision": 1,
        "state": "queued",
        "updated_at": "2026-11-06T00:00:00Z"
      },
      "meta": {
        "as_of": "2026-11-06T00:00:00Z",
        "collected_at": null,
        "next_cursor": null,
        "next_refresh_at": null,
        "request_id": "00000000-0000-4000-8000-000000000001",
        "rights_filtered": false,
        "schema_version": "1.0",
        "stale": false,
        "warnings": []
      }
    }
    HTTP 202 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.billed_unitsintegerYesThe credits charged for this work.
    data.created_atstring (date-time)Yes
    data.errorobject | nullYes
    data.error.code"invalid_request" | "unauthenticated" | "quota_exceeded" | "forbidden" | "not_found" | "conflict" | "precondition_failed" | "validation_error" | "rate_limited" | "source_pending" | "feature_not_offered" | "internal_error"Conditional
    data.error.duplicate_ofstring (uuid)NoID of your existing prompt.
    data.error.field_errorsarray of objectNo
    data.error.field_errors[].fieldstring | nullConditional
    data.error.field_errors[].messagestringConditional
    data.error.messagestringConditional
    data.error.request_idstring (uuid)Conditional
    data.error.retryablebooleanConditional
    data.error.similar_promptsarray of objectNoOther matching prompts in your library.
    data.error.similar_prompts[].prompt_idstring (uuid)Conditional
    data.estimated_unitsintegerYes
    data.idstring (uuid)Yes
    data.kind"collection" | "prompt_generation" | "deletion" | "audit" | "optimization"Yes
    data.phase"researching" | "drafting" | "validating" | "collecting" | "analyzing" | "exporting" | "purging" | nullNo
    data.poll_urlstring (uri)YesSend an authenticated GET request to this URL to read the current result.
    data.progressnumberYes
    data.reserved_unitsintegerYesCredits held for the run.
    data.resultobject | object | object | object | object | nullYes
    data.result.acceptedintegerConditional
    data.result.answersarray of objectNo
    data.result.answers[].answer_textstringConditional
    data.result.answers[].answer_text_truncatedbooleanConditional
    data.result.answers[].brand_citedbooleanConditional
    data.result.answers[].brand_mentionedboolean | nullConditional
    data.result.answers[].citationsarray of objectConditional
    data.result.answers[].citations[].orderintegerConditional
    data.result.answers[].citations[].urlstringConditional
    data.result.answers[].observation_idstringConditional
    data.result.evidence_cursorstring | nullConditional
    data.result.failedintegerConditional
    data.result.kind"collection"Conditional
    data.result.observation_idsarray of string (uuid)Conditional
    data.result.observationsarray of objectNo
    data.result.observations[].applied_locationobject | nullConditional
    data.result.observations[].applied_location.citystring | nullNo
    data.result.observations[].applied_location.countrystring | nullNo
    data.result.observations[].applied_location.granularity"country" | "region" | "city" | "postal" | "coordinates"Conditional
    data.result.observations[].applied_location.latitudenumber | nullNo
    data.result.observations[].applied_location.longitudenumber | nullNo
    data.result.observations[].applied_location.postal_codestring | nullNo
    data.result.observations[].applied_location.regionstring | nullNo
    data.result.observations[].observation_idstring (uuid)Conditional
    data.result.detailsarray of objectNo
    data.result.details[].rationalestringConditional
    data.result.details[].suggestion_indexintegerConditional
    data.result.details[].template_versionstringConditional
    data.result.details[].warningsarray of stringConditional
    data.result.kind"prompt_generation"Conditional
    data.result.outcomeobjectNoExplains why the result contains no suggestions.
    data.result.outcome.reason"no_eligible_candidates" | "web_evidence_missing"ConditionalWhether no candidate qualified or usable web evidence was missing.
    data.result.outcome.web_evidence_usedbooleanConditionalWhether the generation received a reply with confirmed web activity.
    data.result.suggestionsarray of objectConditional
    data.result.suggestions[].action"create"Conditional
    data.result.suggestions[].allow_similarbooleanNoSave the prompt even if you already track the same question or a differently worded question with the same meaning.
    data.result.suggestions[].brand_idstring (uuid) | nullNo
    data.result.suggestions[].category_idsarray of string | nullConditional
    data.result.suggestions[].intent"discovery" | "recommendation" | "evaluation" | "pricing" | "comparison" | "alternatives" | "use_case" | "transaction" | "local" | "troubleshooting" | "trust" | "informational"Conditional
    data.result.suggestions[].marketobjectConditional
    data.result.suggestions[].market.citystring | null | nullNo
    data.result.suggestions[].market.countrystringConditional
    data.result.suggestions[].market.languagestringConditional
    data.result.suggestions[].market.regionstring | null | nullNo
    data.result.suggestions[].tagsarray of string | nullNo
    data.result.suggestions[].textstringConditional
    data.result.backup_expiry_atstring (date-time) | nullConditional
    data.result.kind"deletion"Conditional
    data.result.purgedbooleanConditional
    data.result.resource_idstring (uuid)Conditional
    data.result.retained_record_reasonsarray of stringConditional
    data.result.agent_readinessobjectNoOur defined website access criteria for AI agents at checked_at (not a universal AI-readiness standard; no indexing, ranking, citation or answer outcome is measured).
    data.result.agent_readiness.checked_atstring (date-time)Conditional
    data.result.agent_readiness.checksarray of objectConditional
    data.result.agent_readiness.checks[].assessment"verified" | "detected" | "not_detected" | "not_assessed"No
    data.result.agent_readiness.checks[].category"core" | "robots" | "content" | "discovery" | "protocol"Conditional
    data.result.agent_readiness.checks[].evidencearray of objectConditional
    data.result.agent_readiness.checks[].evidence[].methodstringConditional
    data.result.agent_readiness.checks[].evidence[].observedstringConditional
    data.result.agent_readiness.checks[].evidence[].urlstringConditional
    data.result.agent_readiness.checks[].idstringConditional
    data.result.agent_readiness.checks[].labelstringConditional
    data.result.agent_readiness.checks[].limitationsarray of stringConditional
    data.result.agent_readiness.checks[].recommendationstring | nullConditional
    data.result.agent_readiness.checks[].referencestringNo
    data.result.agent_readiness.checks[].scoredbooleanConditional
    data.result.agent_readiness.checks[].spec_versionstringNo
    data.result.agent_readiness.checks[].status"pass" | "fail" | "unknown" | "not_applicable"Conditional
    data.result.agent_readiness.limitationsarray of stringConditional
    data.result.agent_readiness.scope"essential" | "full"Conditional
    data.result.agent_readiness.scoreobjectConditionaleligible = passed + failed + unknown over applicable scored checks; value = 100 * passed / (passed + failed), or null when no scored check was conclusive.
    data.result.agent_readiness.score.eligibleintegerConditional
    data.result.agent_readiness.score.failedintegerConditional
    data.result.agent_readiness.score.passedintegerConditional
    data.result.agent_readiness.score.unknownintegerConditional
    data.result.agent_readiness.score.valuenumber | nullConditional
    data.result.agent_readiness.status"completed" | "partial" | "not_assessed"Conditional
    data.result.agent_readiness.versionstringConditional
    data.result.budget_exhaustedbooleanNo
    data.result.business_factsobjectNo
    data.result.business_facts.locationsarray of objectConditional
    data.result.business_facts.locations[].location_idstring (uuid) | nullConditional
    data.result.business_facts.locations[].scoreobjectConditional
    data.result.business_facts.locations[].score.fieldsobjectConditional
    data.result.business_facts.locations[].score.fields.[key]number | nullNoValue for each key.
    data.result.business_facts.locations[].score.matched_fieldsintegerConditional
    data.result.business_facts.locations[].score.mismatched_fieldsintegerConditional
    data.result.business_facts.locations[].score.overallnumber | nullConditional
    data.result.business_facts.omitted_sourcesintegerConditional
    data.result.business_facts.scoreobjectConditional
    data.result.business_facts.score.fieldsobjectConditional
    data.result.business_facts.score.fields.[key]number | nullNoValue for each key.
    data.result.business_facts.score.matched_fieldsintegerConditional
    data.result.business_facts.score.mismatched_fieldsintegerConditional
    data.result.business_facts.score.overallnumber | nullConditional
    data.result.business_facts.sourcesarray of objectConditional
    data.result.business_facts.sources[].fieldsarray of objectConditional
    data.result.business_facts.sources[].fields[].expectedstring | array of string | object | nullConditional
    data.result.business_facts.sources[].fields[].expected.[key]string | number | array of stringNoValue for each key.
    data.result.business_facts.sources[].fields[].fieldstringConditional
    data.result.business_facts.sources[].fields[].observedstring | array of string | object | nullConditional
    data.result.business_facts.sources[].fields[].observed.[key]string | number | array of stringNoValue for each key.
    data.result.business_facts.sources[].fields[].status"matched" | "mismatched" | "not_found"Conditional
    data.result.business_facts.sources[].final_urlstring | nullConditional
    data.result.business_facts.sources[].http_statusinteger | nullConditional
    data.result.business_facts.sources[].location_idstring (uuid) | nullConditional
    data.result.business_facts.sources[].source"supplied" | "profile" | "citation"Conditional
    data.result.business_facts.sources[].status"matched" | "mismatched" | "not_found" | "could_not_fetch"Conditional
    data.result.business_facts.sources[].urlstringConditional
    data.result.completeness"preliminary" | "partial" | "complete" | "blocked"No
    data.result.content_coverage_notestringNo
    data.result.crawler_accessobjectNo
    data.result.crawler_access.assessedintegerConditional
    data.result.crawler_access.eligibleintegerConditional
    data.result.crawler_access.notestringConditional
    data.result.crawler_access.pagesarray of objectConditional
    data.result.crawler_access.pages[].agentsarray of objectConditional
    data.result.crawler_access.pages[].agents[].access"allowed" | "blocked_by_robots" | "blocked_by_firewall" | "challenged" | "rate_limited" | "unknown"Conditional
    data.result.crawler_access.pages[].agents[].agentstringConditional
    data.result.crawler_access.pages[].agents[].evidenceobjectConditional
    data.result.crawler_access.pages[].agents[].evidence.body_size_rationumber | nullConditional
    data.result.crawler_access.pages[].agents[].evidence.browser_statusinteger | nullConditional
    data.result.crawler_access.pages[].agents[].evidence.crawler_statusinteger | nullConditional
    data.result.crawler_access.pages[].agents[].evidence.marker"challenge_page" | "block_page" | "block_redirect" | "empty_or_short_body" | nullConditional
    data.result.crawler_access.pages[].agents[].purpose"search" | "user_fetch" | "training"Conditional
    data.result.crawler_access.pages[].agents[].robots_access"allowed" | "blocked" | nullNoWhether robots.txt allows this crawler on this page. HTTP 4xx responses other than 429 mean allowed. The value is null if the rules could not be checked.
    data.result.crawler_access.pages[].agents[].visibility_riskbooleanConditional
    data.result.crawler_access.pages[].urlstringConditional
    data.result.crawler_access.scorenumber | nullConditional
    data.result.findingsarray of objectConditional
    data.result.findings[].codestring | nullConditional
    data.result.findings[].confidencenumberConditional
    data.result.findings[].evidencestringConditional
    data.result.findings[].idstring (uuid)Conditional
    data.result.findings[].recommendationstringConditional
    data.result.findings[].severity"critical" | "high" | "medium" | "low" | "info"Conditional
    data.result.findings[].urlstring (uri)Conditional
    data.result.findings[].verificationstringConditional
    data.result.first_result_atstring (date-time) | nullNo
    data.result.kind"audit"Conditional
    data.result.next_cursorstring | nullConditional
    data.result.pages_billedintegerNoPages counted toward the final charge.
    data.result.pages_checkedintegerConditional
    data.result.pages_discoveredintegerNo
    data.result.pages_skippedintegerConditional
    data.result.profile"instant" | "detailed"No
    data.result.schema_consistencyobjectNo
    data.result.schema_consistency.pagesarray of objectConditional
    data.result.schema_consistency.pages[].fieldsarray of objectConditional
    data.result.schema_consistency.pages[].fields[].basis"visible" | "profile"Conditional
    data.result.schema_consistency.pages[].fields[].expectedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].fields[].expected.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].fields[].fieldstringConditional
    data.result.schema_consistency.pages[].fields[].observedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].fields[].observed.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].fields[].status"matched" | "mismatched" | "not_found"Conditional
    data.result.schema_consistency.pages[].issuesarray of objectConditional
    data.result.schema_consistency.pages[].issues[].code"missing_local_business" | "missing_required_properties" | "differs_from_visible" | "differs_from_profile" | "conflicting_blocks"Conditional
    data.result.schema_consistency.pages[].issues[].comparedarray of object | object | objectConditional
    data.result.schema_consistency.pages[].issues[].compared[].expectedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].issues[].compared[].expected.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].issues[].compared[].fieldstringConditional
    data.result.schema_consistency.pages[].issues[].compared[].observedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].issues[].compared[].observed.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].issues[].compared[].basis"visible" | "profile"Conditional
    data.result.schema_consistency.pages[].issues[].compared[].status"matched" | "mismatched" | "not_found"Conditional
    data.result.schema_consistency.pages[].issues[].fieldsarray of stringConditional
    data.result.schema_consistency.pages[].location_idstring (uuid) | nullConditional
    data.result.schema_consistency.pages[].markup"json_ld" | "microdata" | nullConditional
    data.result.schema_consistency.pages[].schema_typestring | nullConditional
    data.result.schema_consistency.pages[].urlstringConditional
    data.result.schema_consistency.pages_with_issuesintegerConditional
    data.result.schema_consistency.scorenumber | nullConditional
    data.result.skipped_reasonsarray of stringNo
    data.result.approval_expires_atstring (date-time) | nullConditional
    data.result.approval_idstring (uuid) | nullConditional
    data.result.artifact_download_urlstring (uri) | nullConditional
    data.result.artifact_sha256string | nullConditional
    data.result.diffstring | nullConditional
    data.result.external_revisionstring | null | nullConditional
    data.result.kind"optimization"Conditional
    data.result.syntheticbooleanNo
    data.result.target_urlstring (uri)Conditional
    data.result.verification_findingsarray of objectConditional
    data.result.verification_findings[].codestring | nullConditional
    data.result.verification_findings[].confidencenumberConditional
    data.result.verification_findings[].evidencestringConditional
    data.result.verification_findings[].idstring (uuid)Conditional
    data.result.verification_findings[].recommendationstringConditional
    data.result.verification_findings[].severity"critical" | "high" | "medium" | "low" | "info"Conditional
    data.result.verification_findings[].urlstring (uri)Conditional
    data.result.verification_findings[].verificationstringConditional
    data.revisionintegerYes
    data.state"queued" | "running" | "awaiting_approval" | "approved" | "executing" | "verifying" | "completed" | "partial" | "failed" | "cancelled" | "rejected" | "stale_approval"Yes
    data.updated_atstring (date-time)Yes
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.
    HTTP 202 response fields 2
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.billed_unitsintegerNoThe credits charged for this work.
    data.brand_idstringYesIdentifies the brand this result belongs to.
    data.completed_pagesintegerNo
    data.due_pagesintegerNo
    data.next_offsetinteger | nullNo
    data.pagesarray of objectNo
    data.pages[].brand_mentioned_on_pageboolean | nullNo
    data.pages[].changed_since_previous_checkboolean | nullNo
    data.pages[].citing_answersintegerNo
    data.pages[].classification_basis"curated_domain" | "url_pattern" | "page_content" | "unknown"No
    data.pages[].classification_confidencenumberNo
    data.pages[].competitors_mentioned_on_pageobjectNo
    data.pages[].competitors_mentioned_on_page.[key]boolean | nullNoValue for each key.
    data.pages[].domainstringNo
    data.pages[].last_checked_atstringNo
    data.pages[].page_idstringConditional
    data.pages[].page_status"in_progress" | "live" | "gone"Conditional
    data.pages[].page_type"blog" | "directory" | "review_site" | "news" | "forum" | "brand_site" | "competitor_site" | "marketplace" | "docs" | "social" | "press_release" | "comparison" | "roundup" | "guide" | "institution" | "reference" | "other" | "unknown" | "video"No
    data.pages[].page_type_confidencenumber | nullNo
    data.pages[].source_category"directory" | "review_site" | "local_directory" | "industry_directory" | "forum" | "social" | "video" | "news" | "local_news" | "comparison" | "marketplace" | "brand_site" | "competitor_site" | "docs" | "press" | "other"No
    data.pages[].urlstringConditional
    data.run_idstringYesIdentifies the run. Keep any prefix when using it in a request.
    data.status"in_progress" | "completed" | "cancelled"Yes
    data.total_pagesintegerNo
    data.workflow"cited_page_sweep" | "cited_page_labelling"YesThe workflow selected for this run or estimate.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors

    Collect or cancel workaudit

    Open this request with Python and TypeScript examples

    • Path run_id starts with audit:.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    audits:write
    Roles
    editor, owner, service
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    run_idpathstringYes
    Idempotency-KeyheaderstringYesFor 7 days, sending the same key and body for the same account and operation returns the original response. Changing the body for that key returns HTTP 409.
    reasonquerystringNoWhy you are cancelling the run. Supply 1 to 500 characters.

    Request body

    Send this request without a body.

    cURL request

    curl --fail-with-body -X DELETE "$AEO_API_BASE_URL/v2/runs/$RUN_ID" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Idempotency-Key: $IDEMPOTENCY_KEY"

    Responses

    HTTP 202

    Collect or cancel work result.

    HTTP 202 headers
    NameTypeRequiredDescription
    Locationstring (uri)NoAuthenticated polling URI returned in data.poll_url.
    X-RateLimit-LimitintegerNoRequests in rate window.
    X-RateLimit-RemainingintegerNoRemaining request tokens.
    X-RateLimit-ResetintegerNoUTC Unix seconds when window resets.
    X-Request-Idstring (uuid)NoTrace identifier.
    X-Usage-UnitsintegerNoCU charged by this response; GET and account/usage always zero.

    application/json

    {
      "data": {
        "billed_units": 0,
        "created_at": "2026-11-06T00:00:00Z",
        "error": null,
        "estimated_units": 0,
        "id": "00000000-0000-4000-8000-000000000001",
        "kind": "audit",
        "poll_url": "https://api.aeoapi.dev/v2/runs/audit:00000000-0000-4000-8000-000000000001",
        "progress": 1,
        "reserved_units": 0,
        "result": null,
        "revision": 1,
        "state": "cancelled",
        "updated_at": "2026-11-06T00:00:00Z",
        "v2_run_id": "audit:00000000-0000-4000-8000-000000000001"
      },
      "meta": {
        "as_of": "2026-11-06T00:00:00Z",
        "collected_at": null,
        "next_cursor": null,
        "next_refresh_at": null,
        "request_id": "00000000-0000-4000-8000-000000000001",
        "rights_filtered": false,
        "schema_version": "1.0",
        "stale": false,
        "warnings": []
      }
    }
    HTTP 202 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.billed_unitsintegerYesThe credits charged for this work.
    data.created_atstring (date-time)Yes
    data.errorobject | nullYes
    data.error.code"invalid_request" | "unauthenticated" | "quota_exceeded" | "forbidden" | "not_found" | "conflict" | "precondition_failed" | "validation_error" | "rate_limited" | "source_pending" | "feature_not_offered" | "internal_error"Conditional
    data.error.duplicate_ofstring (uuid)NoID of your existing prompt.
    data.error.field_errorsarray of objectNo
    data.error.field_errors[].fieldstring | nullConditional
    data.error.field_errors[].messagestringConditional
    data.error.messagestringConditional
    data.error.request_idstring (uuid)Conditional
    data.error.retryablebooleanConditional
    data.error.similar_promptsarray of objectNoOther matching prompts in your library.
    data.error.similar_prompts[].prompt_idstring (uuid)Conditional
    data.estimated_unitsintegerYes
    data.idstring (uuid)Yes
    data.kind"collection" | "prompt_generation" | "deletion" | "audit" | "optimization"Yes
    data.phase"researching" | "drafting" | "validating" | "collecting" | "analyzing" | "exporting" | "purging" | nullNo
    data.poll_urlstring (uri)YesSend an authenticated GET request to this URL to read the current result.
    data.progressnumberYes
    data.reserved_unitsintegerYesCredits held for the run.
    data.resultobject | object | object | object | object | nullYes
    data.result.acceptedintegerConditional
    data.result.answersarray of objectNo
    data.result.answers[].answer_textstringConditional
    data.result.answers[].answer_text_truncatedbooleanConditional
    data.result.answers[].brand_citedbooleanConditional
    data.result.answers[].brand_mentionedboolean | nullConditional
    data.result.answers[].citationsarray of objectConditional
    data.result.answers[].citations[].orderintegerConditional
    data.result.answers[].citations[].urlstringConditional
    data.result.answers[].observation_idstringConditional
    data.result.evidence_cursorstring | nullConditional
    data.result.failedintegerConditional
    data.result.kind"collection"Conditional
    data.result.observation_idsarray of string (uuid)Conditional
    data.result.observationsarray of objectNo
    data.result.observations[].applied_locationobject | nullConditional
    data.result.observations[].applied_location.citystring | nullNo
    data.result.observations[].applied_location.countrystring | nullNo
    data.result.observations[].applied_location.granularity"country" | "region" | "city" | "postal" | "coordinates"Conditional
    data.result.observations[].applied_location.latitudenumber | nullNo
    data.result.observations[].applied_location.longitudenumber | nullNo
    data.result.observations[].applied_location.postal_codestring | nullNo
    data.result.observations[].applied_location.regionstring | nullNo
    data.result.observations[].observation_idstring (uuid)Conditional
    data.result.detailsarray of objectNo
    data.result.details[].rationalestringConditional
    data.result.details[].suggestion_indexintegerConditional
    data.result.details[].template_versionstringConditional
    data.result.details[].warningsarray of stringConditional
    data.result.kind"prompt_generation"Conditional
    data.result.outcomeobjectNoExplains why the result contains no suggestions.
    data.result.outcome.reason"no_eligible_candidates" | "web_evidence_missing"ConditionalWhether no candidate qualified or usable web evidence was missing.
    data.result.outcome.web_evidence_usedbooleanConditionalWhether the generation received a reply with confirmed web activity.
    data.result.suggestionsarray of objectConditional
    data.result.suggestions[].action"create"Conditional
    data.result.suggestions[].allow_similarbooleanNoSave the prompt even if you already track the same question or a differently worded question with the same meaning.
    data.result.suggestions[].brand_idstring (uuid) | nullNo
    data.result.suggestions[].category_idsarray of string | nullConditional
    data.result.suggestions[].intent"discovery" | "recommendation" | "evaluation" | "pricing" | "comparison" | "alternatives" | "use_case" | "transaction" | "local" | "troubleshooting" | "trust" | "informational"Conditional
    data.result.suggestions[].marketobjectConditional
    data.result.suggestions[].market.citystring | null | nullNo
    data.result.suggestions[].market.countrystringConditional
    data.result.suggestions[].market.languagestringConditional
    data.result.suggestions[].market.regionstring | null | nullNo
    data.result.suggestions[].tagsarray of string | nullNo
    data.result.suggestions[].textstringConditional
    data.result.backup_expiry_atstring (date-time) | nullConditional
    data.result.kind"deletion"Conditional
    data.result.purgedbooleanConditional
    data.result.resource_idstring (uuid)Conditional
    data.result.retained_record_reasonsarray of stringConditional
    data.result.agent_readinessobjectNoOur defined website access criteria for AI agents at checked_at (not a universal AI-readiness standard; no indexing, ranking, citation or answer outcome is measured).
    data.result.agent_readiness.checked_atstring (date-time)Conditional
    data.result.agent_readiness.checksarray of objectConditional
    data.result.agent_readiness.checks[].assessment"verified" | "detected" | "not_detected" | "not_assessed"No
    data.result.agent_readiness.checks[].category"core" | "robots" | "content" | "discovery" | "protocol"Conditional
    data.result.agent_readiness.checks[].evidencearray of objectConditional
    data.result.agent_readiness.checks[].evidence[].methodstringConditional
    data.result.agent_readiness.checks[].evidence[].observedstringConditional
    data.result.agent_readiness.checks[].evidence[].urlstringConditional
    data.result.agent_readiness.checks[].idstringConditional
    data.result.agent_readiness.checks[].labelstringConditional
    data.result.agent_readiness.checks[].limitationsarray of stringConditional
    data.result.agent_readiness.checks[].recommendationstring | nullConditional
    data.result.agent_readiness.checks[].referencestringNo
    data.result.agent_readiness.checks[].scoredbooleanConditional
    data.result.agent_readiness.checks[].spec_versionstringNo
    data.result.agent_readiness.checks[].status"pass" | "fail" | "unknown" | "not_applicable"Conditional
    data.result.agent_readiness.limitationsarray of stringConditional
    data.result.agent_readiness.scope"essential" | "full"Conditional
    data.result.agent_readiness.scoreobjectConditionaleligible = passed + failed + unknown over applicable scored checks; value = 100 * passed / (passed + failed), or null when no scored check was conclusive.
    data.result.agent_readiness.score.eligibleintegerConditional
    data.result.agent_readiness.score.failedintegerConditional
    data.result.agent_readiness.score.passedintegerConditional
    data.result.agent_readiness.score.unknownintegerConditional
    data.result.agent_readiness.score.valuenumber | nullConditional
    data.result.agent_readiness.status"completed" | "partial" | "not_assessed"Conditional
    data.result.agent_readiness.versionstringConditional
    data.result.budget_exhaustedbooleanNo
    data.result.business_factsobjectNo
    data.result.business_facts.locationsarray of objectConditional
    data.result.business_facts.locations[].location_idstring (uuid) | nullConditional
    data.result.business_facts.locations[].scoreobjectConditional
    data.result.business_facts.locations[].score.fieldsobjectConditional
    data.result.business_facts.locations[].score.fields.[key]number | nullNoValue for each key.
    data.result.business_facts.locations[].score.matched_fieldsintegerConditional
    data.result.business_facts.locations[].score.mismatched_fieldsintegerConditional
    data.result.business_facts.locations[].score.overallnumber | nullConditional
    data.result.business_facts.omitted_sourcesintegerConditional
    data.result.business_facts.scoreobjectConditional
    data.result.business_facts.score.fieldsobjectConditional
    data.result.business_facts.score.fields.[key]number | nullNoValue for each key.
    data.result.business_facts.score.matched_fieldsintegerConditional
    data.result.business_facts.score.mismatched_fieldsintegerConditional
    data.result.business_facts.score.overallnumber | nullConditional
    data.result.business_facts.sourcesarray of objectConditional
    data.result.business_facts.sources[].fieldsarray of objectConditional
    data.result.business_facts.sources[].fields[].expectedstring | array of string | object | nullConditional
    data.result.business_facts.sources[].fields[].expected.[key]string | number | array of stringNoValue for each key.
    data.result.business_facts.sources[].fields[].fieldstringConditional
    data.result.business_facts.sources[].fields[].observedstring | array of string | object | nullConditional
    data.result.business_facts.sources[].fields[].observed.[key]string | number | array of stringNoValue for each key.
    data.result.business_facts.sources[].fields[].status"matched" | "mismatched" | "not_found"Conditional
    data.result.business_facts.sources[].final_urlstring | nullConditional
    data.result.business_facts.sources[].http_statusinteger | nullConditional
    data.result.business_facts.sources[].location_idstring (uuid) | nullConditional
    data.result.business_facts.sources[].source"supplied" | "profile" | "citation"Conditional
    data.result.business_facts.sources[].status"matched" | "mismatched" | "not_found" | "could_not_fetch"Conditional
    data.result.business_facts.sources[].urlstringConditional
    data.result.completeness"preliminary" | "partial" | "complete" | "blocked"No
    data.result.content_coverage_notestringNo
    data.result.crawler_accessobjectNo
    data.result.crawler_access.assessedintegerConditional
    data.result.crawler_access.eligibleintegerConditional
    data.result.crawler_access.notestringConditional
    data.result.crawler_access.pagesarray of objectConditional
    data.result.crawler_access.pages[].agentsarray of objectConditional
    data.result.crawler_access.pages[].agents[].access"allowed" | "blocked_by_robots" | "blocked_by_firewall" | "challenged" | "rate_limited" | "unknown"Conditional
    data.result.crawler_access.pages[].agents[].agentstringConditional
    data.result.crawler_access.pages[].agents[].evidenceobjectConditional
    data.result.crawler_access.pages[].agents[].evidence.body_size_rationumber | nullConditional
    data.result.crawler_access.pages[].agents[].evidence.browser_statusinteger | nullConditional
    data.result.crawler_access.pages[].agents[].evidence.crawler_statusinteger | nullConditional
    data.result.crawler_access.pages[].agents[].evidence.marker"challenge_page" | "block_page" | "block_redirect" | "empty_or_short_body" | nullConditional
    data.result.crawler_access.pages[].agents[].purpose"search" | "user_fetch" | "training"Conditional
    data.result.crawler_access.pages[].agents[].robots_access"allowed" | "blocked" | nullNoWhether robots.txt allows this crawler on this page. HTTP 4xx responses other than 429 mean allowed. The value is null if the rules could not be checked.
    data.result.crawler_access.pages[].agents[].visibility_riskbooleanConditional
    data.result.crawler_access.pages[].urlstringConditional
    data.result.crawler_access.scorenumber | nullConditional
    data.result.findingsarray of objectConditional
    data.result.findings[].codestring | nullConditional
    data.result.findings[].confidencenumberConditional
    data.result.findings[].evidencestringConditional
    data.result.findings[].idstring (uuid)Conditional
    data.result.findings[].recommendationstringConditional
    data.result.findings[].severity"critical" | "high" | "medium" | "low" | "info"Conditional
    data.result.findings[].urlstring (uri)Conditional
    data.result.findings[].verificationstringConditional
    data.result.first_result_atstring (date-time) | nullNo
    data.result.kind"audit"Conditional
    data.result.next_cursorstring | nullConditional
    data.result.pages_billedintegerNoPages counted toward the final charge.
    data.result.pages_checkedintegerConditional
    data.result.pages_discoveredintegerNo
    data.result.pages_skippedintegerConditional
    data.result.profile"instant" | "detailed"No
    data.result.schema_consistencyobjectNo
    data.result.schema_consistency.pagesarray of objectConditional
    data.result.schema_consistency.pages[].fieldsarray of objectConditional
    data.result.schema_consistency.pages[].fields[].basis"visible" | "profile"Conditional
    data.result.schema_consistency.pages[].fields[].expectedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].fields[].expected.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].fields[].fieldstringConditional
    data.result.schema_consistency.pages[].fields[].observedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].fields[].observed.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].fields[].status"matched" | "mismatched" | "not_found"Conditional
    data.result.schema_consistency.pages[].issuesarray of objectConditional
    data.result.schema_consistency.pages[].issues[].code"missing_local_business" | "missing_required_properties" | "differs_from_visible" | "differs_from_profile" | "conflicting_blocks"Conditional
    data.result.schema_consistency.pages[].issues[].comparedarray of object | object | objectConditional
    data.result.schema_consistency.pages[].issues[].compared[].expectedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].issues[].compared[].expected.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].issues[].compared[].fieldstringConditional
    data.result.schema_consistency.pages[].issues[].compared[].observedstring | array of string | object | nullConditional
    data.result.schema_consistency.pages[].issues[].compared[].observed.[key]string | number | array of stringNoValue for each key.
    data.result.schema_consistency.pages[].issues[].compared[].basis"visible" | "profile"Conditional
    data.result.schema_consistency.pages[].issues[].compared[].status"matched" | "mismatched" | "not_found"Conditional
    data.result.schema_consistency.pages[].issues[].fieldsarray of stringConditional
    data.result.schema_consistency.pages[].location_idstring (uuid) | nullConditional
    data.result.schema_consistency.pages[].markup"json_ld" | "microdata" | nullConditional
    data.result.schema_consistency.pages[].schema_typestring | nullConditional
    data.result.schema_consistency.pages[].urlstringConditional
    data.result.schema_consistency.pages_with_issuesintegerConditional
    data.result.schema_consistency.scorenumber | nullConditional
    data.result.skipped_reasonsarray of stringNo
    data.result.approval_expires_atstring (date-time) | nullConditional
    data.result.approval_idstring (uuid) | nullConditional
    data.result.artifact_download_urlstring (uri) | nullConditional
    data.result.artifact_sha256string | nullConditional
    data.result.diffstring | nullConditional
    data.result.external_revisionstring | null | nullConditional
    data.result.kind"optimization"Conditional
    data.result.syntheticbooleanNo
    data.result.target_urlstring (uri)Conditional
    data.result.verification_findingsarray of objectConditional
    data.result.verification_findings[].codestring | nullConditional
    data.result.verification_findings[].confidencenumberConditional
    data.result.verification_findings[].evidencestringConditional
    data.result.verification_findings[].idstring (uuid)Conditional
    data.result.verification_findings[].recommendationstringConditional
    data.result.verification_findings[].severity"critical" | "high" | "medium" | "low" | "info"Conditional
    data.result.verification_findings[].urlstring (uri)Conditional
    data.result.verification_findings[].verificationstringConditional
    data.revisionintegerYes
    data.state"queued" | "running" | "awaiting_approval" | "approved" | "executing" | "verifying" | "completed" | "partial" | "failed" | "cancelled" | "rejected" | "stale_approval"Yes
    data.updated_atstring (date-time)Yes
    data.v2_run_idstringNoThe prefixed run ID accepted by GET /v2/runs/{run_id}.
    metaobjectYesInformation about this response, including any warnings or pagination details.
    meta.as_ofstring (date-time)YesThe point in time that the response represents.
    meta.cohort_versionstring | nullNoIdentifies the version of the group used to calculate the results.
    meta.collected_atstring (date-time) | nullYesWhen the data was collected, if available.
    meta.metric_versionstring | nullNoThe version of the metric definition used for these results.
    meta.next_cursorstring | nullYesWhen present, pass this value as cursor to request the next page with the same filters.
    meta.next_refresh_atstring (date-time) | nullYes
    meta.request_idstring (uuid)YesKeep this ID when reporting a problem with the request.
    meta.restricted_fieldsarray of stringNoFields that your current access does not allow the API to return.
    meta.rights_filteredbooleanYesIndicates whether access rights affected the returned data.
    meta.schema_version"1.0"YesThe version of the response format.
    meta.stalebooleanYes
    meta.warningsarray of stringYesRead these notes for limitations that affect the results.

    Errors