Brands, locations and connections
Update or archive a brand
Change the name, domains, markets, competitors, locations or business profile. You can also archive the brand. Only an owner can request deletion.
- Body
sectionisbrand.
Authentication and access
- Authentication
- Bearer API key
- Scopes
- brands:write
- Roles
- approver, editor, owner, service
- Plans
- Optimizer, Analyzer
- Credits
- No credit charge.
Parameters
| Name | Where | Type | Required | Description |
|---|---|---|---|---|
brand_id | path | string (uuid) | Yes | |
Idempotency-Key | header | string | Yes | For 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-Match | header | string | Yes | Resource/config revision ETag; mismatch returns 412. |
Request body
{
"action": "update",
"name": "Example Plumbing",
"section": "brand"
}| Name | Type | Required | Description |
|---|---|---|---|
action | "update" | Yes | |
aliases | array of string | null | No | |
business_profile | object | null | No | Replace audit business details. Send null to clear them. |
business_profile.address_line1 | string | null | No | |
business_profile.address_line2 | string | null | No | |
business_profile.city | string | null | No | |
business_profile.country | string | null | No | |
business_profile.hours | object | null | No | |
business_profile.hours.[key] | array of string | No | Value for each key. |
business_profile.latitude | number | null | No | |
business_profile.longitude | number | null | No | |
business_profile.phone | string | null | No | |
business_profile.postal_code | string | null | No | |
business_profile.price_range | string | null | No | |
business_profile.region | string | null | No | |
business_profile.same_as | array of string | No | |
business_profile.services | array of string | No | |
business_profile.website_url | string | null | No | |
category_ids | array of string | null | No | |
competitor_discovery | "suggest" | "auto_add" | No | Choose whether newly discovered competitors are suggested or added. |
competitors | array of object | No | |
competitors[].aliases | array of string | null | Conditional | |
competitors[].domains | array of string | null | Conditional | |
competitors[].id | string (uuid) | Conditional | |
competitors[].name | string | null | Conditional | |
connector_refs | array of string (uuid) | No | |
domains | array of string | null | No | |
locations | array of object | No | |
locations[].address_line1 | string | null | No | |
locations[].address_line2 | string | null | No | |
locations[].categories | array of string | object | No | |
locations[].categories[].category_id | string | null | No | |
locations[].categories[].name | string | Conditional | |
locations[].city | string | Conditional | |
locations[].country | string | Conditional | |
locations[].hours | object | No | |
locations[].hours.special_dates | object | No | |
locations[].hours.special_dates.[key] | array of object | No | Value for each key. |
locations[].hours.weekly | object | No | |
locations[].hours.weekly.[key] | array of object | No | Value for each key. |
locations[].id | string (uuid) | null | No | |
locations[].latitude | number | null | No | |
locations[].longitude | number | null | No | |
locations[].name | string | Conditional | |
locations[].phone | string | null | No | |
locations[].postal_code | string | null | No | |
locations[].radius_km | number | null | No | |
locations[].region | string | null | No | |
locations[].service_area | array of object | No | |
locations[].service_area[].city | string | null | No | |
locations[].service_area[].postal_code | string | null | No | |
locations[].service_area[].region | string | null | No | |
locations[].status | "active" | "paused" | "archived" | No | |
locations[].store_code | string | Conditional | |
locations[].website_url | string (uri) | null | No | |
markets | array of object | No | |
markets[].city | string | null | null | No | |
markets[].country | string | Conditional | |
markets[].language | string | Conditional | |
markets[].region | string | null | null | No | |
name | string | null | No | |
remove_location_ids | array of string (uuid) | No | |
section | "brand" | Yes | |
status | "active" | "archived" | No |
| Name | Type | Required | Description |
|---|---|---|---|
action | "archive" | Yes | |
section | "brand" | Yes |
| Name | Type | Required | Description |
|---|---|---|---|
action | "request_delete" | Yes | |
confirmation_name | string | null | Yes | |
reason | string | Yes | |
section | "brand" | Yes |
Request examples
Set AEO_API_BASE_URL to https://api.aeoapi.dev and AEO_API_KEY to your server-side API key. Set the other environment variables to the values for your request.
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.jsonimport json
from pathlib import Path
from os import environ
from aeo_sdk import AeoClient
body = json.loads(Path("request.json").read_text())
with AeoClient(environ["AEO_API_KEY"], base_url=environ["AEO_API_BASE_URL"]) as client:
response = client.v2_patch_brands_brand_id(
brand_id=environ["BRAND_ID"],
body=body,
idempotency_key=environ["IDEMPOTENCY_KEY"],
if_match=environ["IF_MATCH"],
)
print(response.body)import { AeoClient } from "@aeoapi/aeo-sdk";
import { readFile } from "node:fs/promises";
const client = new AeoClient(process.env.AEO_API_KEY!, {
baseUrl: process.env.AEO_API_BASE_URL!,
});
const body = JSON.parse(await readFile("request.json", "utf8"));
const response = await client.v2PatchBrandsBrandId(
process.env.BRAND_ID!,
body,
{
idempotencyKey: process.env.IDEMPOTENCY_KEY!,
ifMatch: process.env.IF_MATCH!,
},
);
console.log(response.body);Responses
HTTP 202 means the request was accepted. Follow the Location header to check progress. You can also follow data.poll_url when present. For a job with data.state, queued and running mean the job is still in progress. Read the result at completed or partial. Stop polling at failed or cancelled.
HTTP 200
Update, archive or request brand deletion result.
| Name | Type | Required | Description |
|---|---|---|---|
ETag | string | No | Current revision as a quoted integer. |
X-RateLimit-Limit | integer | No | Requests in rate window. |
X-RateLimit-Remaining | integer | No | Remaining request tokens. |
X-RateLimit-Reset | integer | No | UTC Unix seconds when window resets. |
X-Request-Id | string (uuid) | No | Trace identifier. |
X-Usage-Units | integer | No | CU 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": []
}
}| Name | Type | Required | Description |
|---|---|---|---|
data | object | Yes | The requested result. See the fields below for its contents. |
data.aliases | array of string | null | Yes | |
data.business_profile | object | No | Business details used as the reference for website and listing audits. |
data.business_profile.address_line1 | string | null | No | |
data.business_profile.address_line2 | string | null | No | |
data.business_profile.city | string | null | No | |
data.business_profile.country | string | null | No | |
data.business_profile.hours | object | null | No | |
data.business_profile.hours.[key] | array of string | No | Value for each key. |
data.business_profile.latitude | number | null | No | |
data.business_profile.longitude | number | null | No | |
data.business_profile.phone | string | null | No | |
data.business_profile.postal_code | string | null | No | |
data.business_profile.price_range | string | null | No | |
data.business_profile.region | string | null | No | |
data.business_profile.same_as | array of string | No | |
data.business_profile.services | array of string | No | |
data.business_profile.website_url | string | null | No | |
data.category_ids | array of string | null | Yes | |
data.competitor_discovery | "suggest" | "auto_add" | No | Choose whether newly discovered competitors are suggested or added. |
data.competitors | array of object | Yes | |
data.competitors[].aliases | array of string | null | Yes | |
data.competitors[].domains | array of string | null | Yes | |
data.competitors[].id | string (uuid) | Yes | |
data.competitors[].name | string | null | Yes | |
data.competitors[].source | object | No | |
data.competitors[].source.kind | "tracked_answers" | Conditional | |
data.created_at | string (date-time) | Yes | |
data.domains | array of string | null | Yes | |
data.facts | array of object | No | |
data.facts[].id | string (uuid) | Conditional | |
data.facts[].predicate | string | null | Conditional | |
data.facts[].source_urls | array of string (uri) | Conditional | |
data.facts[].status | "proposed" | "approved" | "inactive" | Conditional | |
data.facts[].subject | string | null | Conditional | |
data.facts[].valid_from | string (date-time) | Conditional | |
data.facts[].valid_to | string (date-time) | null | No | |
data.facts[].value | string | Conditional | |
data.id | string (uuid) | Yes | |
data.locations | array of object | No | |
data.locations[].address_line1 | string | null | No | |
data.locations[].address_line2 | string | null | No | |
data.locations[].categories | array of string | object | No | |
data.locations[].categories[].category_id | string | null | No | |
data.locations[].categories[].name | string | Conditional | |
data.locations[].city | string | Conditional | |
data.locations[].country | string | Conditional | |
data.locations[].hours | object | No | |
data.locations[].hours.special_dates | object | No | |
data.locations[].hours.special_dates.[key] | array of object | No | Value for each key. |
data.locations[].hours.weekly | object | No | |
data.locations[].hours.weekly.[key] | array of object | No | Value for each key. |
data.locations[].id | string (uuid) | null | No | |
data.locations[].latitude | number | null | No | |
data.locations[].longitude | number | null | No | |
data.locations[].name | string | Conditional | |
data.locations[].phone | string | null | No | |
data.locations[].postal_code | string | null | No | |
data.locations[].radius_km | number | null | No | |
data.locations[].region | string | null | No | |
data.locations[].service_area | array of object | No | |
data.locations[].service_area[].city | string | null | No | |
data.locations[].service_area[].postal_code | string | null | No | |
data.locations[].service_area[].region | string | null | No | |
data.locations[].status | "active" | "paused" | "archived" | No | |
data.locations[].store_code | string | Conditional | |
data.locations[].website_url | string (uri) | null | No | |
data.markets | array of object | Yes | |
data.markets[].city | string | null | null | No | |
data.markets[].country | string | Yes | |
data.markets[].language | string | Yes | |
data.markets[].region | string | null | null | No | |
data.name | string | null | Yes | |
data.revision | integer | Yes | |
data.status | "active" | "archived" | "deletion_pending" | Yes | |
data.updated_at | string (date-time) | Yes | |
meta | object | Yes | Information about this response, including any warnings or pagination details. |
meta.as_of | string (date-time) | Yes | The point in time that the response represents. |
meta.cohort_version | string | null | No | Identifies the version of the group used to calculate the results. |
meta.collected_at | string (date-time) | null | Yes | When the data was collected, if available. |
meta.metric_version | string | null | No | The version of the metric definition used for these results. |
meta.next_cursor | string | null | Yes | When present, pass this value as cursor to request the next page with the same filters. |
meta.next_refresh_at | string (date-time) | null | Yes | |
meta.request_id | string (uuid) | Yes | Keep this ID when reporting a problem with the request. |
meta.restricted_fields | array of string | No | Fields that your current access does not allow the API to return. |
meta.rights_filtered | boolean | Yes | Indicates whether access rights affected the returned data. |
meta.schema_version | "1.0" | Yes | The version of the response format. |
meta.stale | boolean | Yes | |
meta.warnings | array of string | Yes | Read these notes for limitations that affect the results. |
HTTP 202
Deletion queued.
| Name | Type | Required | Description |
|---|---|---|---|
Location | string (uri) | No | Authenticated polling URI returned in data.poll_url. |
X-RateLimit-Limit | integer | No | Requests in rate window. |
X-RateLimit-Remaining | integer | No | Remaining request tokens. |
X-RateLimit-Reset | integer | No | UTC Unix seconds when window resets. |
X-Request-Id | string (uuid) | No | Trace identifier. |
X-Usage-Units | integer | No | CU 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": []
}
}| Name | Type | Required | Description |
|---|---|---|---|
data | object | Yes | The requested result. See the fields below for its contents. |
data.billed_units | integer | Yes | The credits charged for this work. |
data.created_at | string (date-time) | Yes | |
data.error | object | null | Yes | |
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_of | string (uuid) | No | ID of your existing prompt. |
data.error.field_errors | array of object | No | |
data.error.field_errors[].field | string | null | Conditional | |
data.error.field_errors[].message | string | Conditional | |
data.error.message | string | Conditional | |
data.error.request_id | string (uuid) | Conditional | |
data.error.retryable | boolean | Conditional | |
data.error.similar_prompts | array of object | No | Other matching prompts in your library. |
data.error.similar_prompts[].prompt_id | string (uuid) | Conditional | |
data.estimated_units | integer | Yes | |
data.id | string (uuid) | Yes | |
data.kind | "collection" | "prompt_generation" | "deletion" | "audit" | "optimization" | Yes | |
data.phase | "researching" | "drafting" | "validating" | "collecting" | "analyzing" | "exporting" | "purging" | null | No | |
data.poll_url | string (uri) | Yes | Send an authenticated GET request to this URL to read the current result. |
data.progress | number | Yes | |
data.reserved_units | integer | Yes | Credits held for the run. |
data.result | object | object | object | object | object | null | Yes | |
data.result.accepted | integer | Conditional | |
data.result.answers | array of object | No | |
data.result.answers[].answer_text | string | Conditional | |
data.result.answers[].answer_text_truncated | boolean | Conditional | |
data.result.answers[].brand_cited | boolean | Conditional | |
data.result.answers[].brand_mentioned | boolean | null | Conditional | |
data.result.answers[].citations | array of object | Conditional | |
data.result.answers[].citations[].order | integer | Conditional | |
data.result.answers[].citations[].url | string | Conditional | |
data.result.answers[].observation_id | string | Conditional | |
data.result.evidence_cursor | string | null | Conditional | |
data.result.failed | integer | Conditional | |
data.result.kind | "collection" | Conditional | |
data.result.observation_ids | array of string (uuid) | Conditional | |
data.result.observations | array of object | No | |
data.result.observations[].applied_location | object | null | Conditional | |
data.result.observations[].applied_location.city | string | null | No | |
data.result.observations[].applied_location.country | string | null | No | |
data.result.observations[].applied_location.granularity | "country" | "region" | "city" | "postal" | "coordinates" | Conditional | |
data.result.observations[].applied_location.latitude | number | null | No | |
data.result.observations[].applied_location.longitude | number | null | No | |
data.result.observations[].applied_location.postal_code | string | null | No | |
data.result.observations[].applied_location.region | string | null | No | |
data.result.observations[].observation_id | string (uuid) | Conditional | |
data.result.details | array of object | No | |
data.result.details[].rationale | string | Conditional | |
data.result.details[].suggestion_index | integer | Conditional | |
data.result.details[].template_version | string | Conditional | |
data.result.details[].warnings | array of string | Conditional | |
data.result.kind | "prompt_generation" | Conditional | |
data.result.outcome | object | No | Explains why the result contains no suggestions. |
data.result.outcome.reason | "no_eligible_candidates" | "web_evidence_missing" | Conditional | Whether no candidate qualified or usable web evidence was missing. |
data.result.outcome.web_evidence_used | boolean | Conditional | Whether the generation received a reply with confirmed web activity. |
data.result.suggestions | array of object | Conditional | |
data.result.suggestions[].action | "create" | Conditional | |
data.result.suggestions[].allow_similar | boolean | No | Save the prompt even if you already track the same question or a differently worded question with the same meaning. |
data.result.suggestions[].brand_id | string (uuid) | null | No | |
data.result.suggestions[].category_ids | array of string | null | Conditional | |
data.result.suggestions[].intent | "discovery" | "recommendation" | "evaluation" | "pricing" | "comparison" | "alternatives" | "use_case" | "transaction" | "local" | "troubleshooting" | "trust" | "informational" | Conditional | |
data.result.suggestions[].market | object | Conditional | |
data.result.suggestions[].market.city | string | null | null | No | |
data.result.suggestions[].market.country | string | Conditional | |
data.result.suggestions[].market.language | string | Conditional | |
data.result.suggestions[].market.region | string | null | null | No | |
data.result.suggestions[].tags | array of string | null | No | |
data.result.suggestions[].text | string | Conditional | |
data.result.backup_expiry_at | string (date-time) | null | Conditional | |
data.result.kind | "deletion" | Conditional | |
data.result.purged | boolean | Conditional | |
data.result.resource_id | string (uuid) | Conditional | |
data.result.retained_record_reasons | array of string | Conditional | |
data.result.agent_readiness | object | No | Our 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_at | string (date-time) | Conditional | |
data.result.agent_readiness.checks | array of object | Conditional | |
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[].evidence | array of object | Conditional | |
data.result.agent_readiness.checks[].evidence[].method | string | Conditional | |
data.result.agent_readiness.checks[].evidence[].observed | string | Conditional | |
data.result.agent_readiness.checks[].evidence[].url | string | Conditional | |
data.result.agent_readiness.checks[].id | string | Conditional | |
data.result.agent_readiness.checks[].label | string | Conditional | |
data.result.agent_readiness.checks[].limitations | array of string | Conditional | |
data.result.agent_readiness.checks[].recommendation | string | null | Conditional | |
data.result.agent_readiness.checks[].reference | string | No | |
data.result.agent_readiness.checks[].scored | boolean | Conditional | |
data.result.agent_readiness.checks[].spec_version | string | No | |
data.result.agent_readiness.checks[].status | "pass" | "fail" | "unknown" | "not_applicable" | Conditional | |
data.result.agent_readiness.limitations | array of string | Conditional | |
data.result.agent_readiness.scope | "essential" | "full" | Conditional | |
data.result.agent_readiness.score | object | Conditional | eligible = 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.eligible | integer | Conditional | |
data.result.agent_readiness.score.failed | integer | Conditional | |
data.result.agent_readiness.score.passed | integer | Conditional | |
data.result.agent_readiness.score.unknown | integer | Conditional | |
data.result.agent_readiness.score.value | number | null | Conditional | |
data.result.agent_readiness.status | "completed" | "partial" | "not_assessed" | Conditional | |
data.result.agent_readiness.version | string | Conditional | |
data.result.budget_exhausted | boolean | No | |
data.result.business_facts | object | No | |
data.result.business_facts.locations | array of object | Conditional | |
data.result.business_facts.locations[].location_id | string (uuid) | null | Conditional | |
data.result.business_facts.locations[].score | object | Conditional | |
data.result.business_facts.locations[].score.fields | object | Conditional | |
data.result.business_facts.locations[].score.fields.[key] | number | null | No | Value for each key. |
data.result.business_facts.locations[].score.matched_fields | integer | Conditional | |
data.result.business_facts.locations[].score.mismatched_fields | integer | Conditional | |
data.result.business_facts.locations[].score.overall | number | null | Conditional | |
data.result.business_facts.omitted_sources | integer | Conditional | |
data.result.business_facts.score | object | Conditional | |
data.result.business_facts.score.fields | object | Conditional | |
data.result.business_facts.score.fields.[key] | number | null | No | Value for each key. |
data.result.business_facts.score.matched_fields | integer | Conditional | |
data.result.business_facts.score.mismatched_fields | integer | Conditional | |
data.result.business_facts.score.overall | number | null | Conditional | |
data.result.business_facts.sources | array of object | Conditional | |
data.result.business_facts.sources[].fields | array of object | Conditional | |
data.result.business_facts.sources[].fields[].expected | string | array of string | object | null | Conditional | |
data.result.business_facts.sources[].fields[].expected.[key] | string | number | array of string | No | Value for each key. |
data.result.business_facts.sources[].fields[].field | string | Conditional | |
data.result.business_facts.sources[].fields[].observed | string | array of string | object | null | Conditional | |
data.result.business_facts.sources[].fields[].observed.[key] | string | number | array of string | No | Value for each key. |
data.result.business_facts.sources[].fields[].status | "matched" | "mismatched" | "not_found" | Conditional | |
data.result.business_facts.sources[].final_url | string | null | Conditional | |
data.result.business_facts.sources[].http_status | integer | null | Conditional | |
data.result.business_facts.sources[].location_id | string (uuid) | null | Conditional | |
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[].url | string | Conditional | |
data.result.completeness | "preliminary" | "partial" | "complete" | "blocked" | No | |
data.result.content_coverage_note | string | No | |
data.result.crawler_access | object | No | |
data.result.crawler_access.assessed | integer | Conditional | |
data.result.crawler_access.eligible | integer | Conditional | |
data.result.crawler_access.note | string | Conditional | |
data.result.crawler_access.pages | array of object | Conditional | |
data.result.crawler_access.pages[].agents | array of object | Conditional | |
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[].agent | string | Conditional | |
data.result.crawler_access.pages[].agents[].evidence | object | Conditional | |
data.result.crawler_access.pages[].agents[].evidence.body_size_ratio | number | null | Conditional | |
data.result.crawler_access.pages[].agents[].evidence.browser_status | integer | null | Conditional | |
data.result.crawler_access.pages[].agents[].evidence.crawler_status | integer | null | Conditional | |
data.result.crawler_access.pages[].agents[].evidence.marker | "challenge_page" | "block_page" | "block_redirect" | "empty_or_short_body" | null | Conditional | |
data.result.crawler_access.pages[].agents[].purpose | "search" | "user_fetch" | "training" | Conditional | |
data.result.crawler_access.pages[].agents[].robots_access | "allowed" | "blocked" | null | No | Whether 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_risk | boolean | Conditional | |
data.result.crawler_access.pages[].url | string | Conditional | |
data.result.crawler_access.score | number | null | Conditional | |
data.result.findings | array of object | Conditional | |
data.result.findings[].code | string | null | Conditional | |
data.result.findings[].confidence | number | Conditional | |
data.result.findings[].evidence | string | Conditional | |
data.result.findings[].id | string (uuid) | Conditional | |
data.result.findings[].recommendation | string | Conditional | |
data.result.findings[].severity | "critical" | "high" | "medium" | "low" | "info" | Conditional | |
data.result.findings[].url | string (uri) | Conditional | |
data.result.findings[].verification | string | Conditional | |
data.result.first_result_at | string (date-time) | null | No | |
data.result.kind | "audit" | Conditional | |
data.result.next_cursor | string | null | Conditional | |
data.result.pages_billed | integer | No | Pages counted toward the final charge. |
data.result.pages_checked | integer | Conditional | |
data.result.pages_discovered | integer | No | |
data.result.pages_skipped | integer | Conditional | |
data.result.profile | "instant" | "detailed" | No | |
data.result.schema_consistency | object | No | |
data.result.schema_consistency.pages | array of object | Conditional | |
data.result.schema_consistency.pages[].fields | array of object | Conditional | |
data.result.schema_consistency.pages[].fields[].basis | "visible" | "profile" | Conditional | |
data.result.schema_consistency.pages[].fields[].expected | string | array of string | object | null | Conditional | |
data.result.schema_consistency.pages[].fields[].expected.[key] | string | number | array of string | No | Value for each key. |
data.result.schema_consistency.pages[].fields[].field | string | Conditional | |
data.result.schema_consistency.pages[].fields[].observed | string | array of string | object | null | Conditional | |
data.result.schema_consistency.pages[].fields[].observed.[key] | string | number | array of string | No | Value for each key. |
data.result.schema_consistency.pages[].fields[].status | "matched" | "mismatched" | "not_found" | Conditional | |
data.result.schema_consistency.pages[].issues | array of object | Conditional | |
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[].compared | array of object | object | object | Conditional | |
data.result.schema_consistency.pages[].issues[].compared[].expected | string | array of string | object | null | Conditional | |
data.result.schema_consistency.pages[].issues[].compared[].expected.[key] | string | number | array of string | No | Value for each key. |
data.result.schema_consistency.pages[].issues[].compared[].field | string | Conditional | |
data.result.schema_consistency.pages[].issues[].compared[].observed | string | array of string | object | null | Conditional | |
data.result.schema_consistency.pages[].issues[].compared[].observed.[key] | string | number | array of string | No | Value 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[].fields | array of string | Conditional | |
data.result.schema_consistency.pages[].location_id | string (uuid) | null | Conditional | |
data.result.schema_consistency.pages[].markup | "json_ld" | "microdata" | null | Conditional | |
data.result.schema_consistency.pages[].schema_type | string | null | Conditional | |
data.result.schema_consistency.pages[].url | string | Conditional | |
data.result.schema_consistency.pages_with_issues | integer | Conditional | |
data.result.schema_consistency.score | number | null | Conditional | |
data.result.skipped_reasons | array of string | No | |
data.result.approval_expires_at | string (date-time) | null | Conditional | |
data.result.approval_id | string (uuid) | null | Conditional | |
data.result.artifact_download_url | string (uri) | null | Conditional | |
data.result.artifact_sha256 | string | null | Conditional | |
data.result.diff | string | null | Conditional | |
data.result.external_revision | string | null | null | Conditional | |
data.result.kind | "optimization" | Conditional | |
data.result.synthetic | boolean | No | |
data.result.target_url | string (uri) | Conditional | |
data.result.verification_findings | array of object | Conditional | |
data.result.verification_findings[].code | string | null | Conditional | |
data.result.verification_findings[].confidence | number | Conditional | |
data.result.verification_findings[].evidence | string | Conditional | |
data.result.verification_findings[].id | string (uuid) | Conditional | |
data.result.verification_findings[].recommendation | string | Conditional | |
data.result.verification_findings[].severity | "critical" | "high" | "medium" | "low" | "info" | Conditional | |
data.result.verification_findings[].url | string (uri) | Conditional | |
data.result.verification_findings[].verification | string | Conditional | |
data.revision | integer | Yes | |
data.state | "queued" | "running" | "awaiting_approval" | "approved" | "executing" | "verifying" | "completed" | "partial" | "failed" | "cancelled" | "rejected" | "stale_approval" | Yes | |
data.updated_at | string (date-time) | Yes | |
data.v2_run_id | string | No | The prefixed run ID accepted by GET /v2/runs/{run_id}. |
meta | object | Yes | Information about this response, including any warnings or pagination details. |
meta.as_of | string (date-time) | Yes | The point in time that the response represents. |
meta.cohort_version | string | null | No | Identifies the version of the group used to calculate the results. |
meta.collected_at | string (date-time) | null | Yes | When the data was collected, if available. |
meta.metric_version | string | null | No | The version of the metric definition used for these results. |
meta.next_cursor | string | null | Yes | When present, pass this value as cursor to request the next page with the same filters. |
meta.next_refresh_at | string (date-time) | null | Yes | |
meta.request_id | string (uuid) | Yes | Keep this ID when reporting a problem with the request. |
meta.restricted_fields | array of string | No | Fields that your current access does not allow the API to return. |
meta.rights_filtered | boolean | Yes | Indicates whether access rights affected the returned data. |
meta.schema_version | "1.0" | Yes | The version of the response format. |
meta.stale | boolean | Yes | |
meta.warnings | array of string | Yes | Read these notes for limitations that affect the results. |
Errors
Read code and message in the error response. Keep request_id when you contact support.
- HTTP 400
invalid_request - HTTP 401
unauthenticated - HTTP 402
quota_exceeded - HTTP 403
forbidden - HTTP 404
not_found - HTTP 409
conflict - HTTP 412
precondition_failed - HTTP 422
validation_error - HTTP 429
rate_limited - HTTP 500
internal_error - HTTP 503
source_pending,feature_not_offered