Get an observation
GET
/observations/{observation_id}Authorization
AuthorizationBearer token · headerrequiredAPI key sent as Authorization: Bearer <key>. A key belongs to one workspace, has scopes, and can be limited to some brands.
or
AuthorizationOAuth2 access token · headerrequiredOAuth 2.1 sign-in (authorization code with PKCE) used by AI assistants that connect through the Zaraftis MCP server. Discovery URLs are at https://api.zaraftis.com/api/auth.
Path parameters
observation_idstring<uuid>requiredQuery parameters
detailstringcompact (default) or detailed. Where a route returns more with detailed, its response description says what is added.
Allowed:
compactdetailedResponses
200
One observation (compact; detail=detailed adds the answer body and citations)
successbooleanrequireddataObservationItem | ObservationDetailrequiredShow propertiesHide properties
Any of:
ObservationItem
observation_idstring<uuid>requiredmatches ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
prompt_idstring<uuid>requiredmatches ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
prompt_textstringrequiredmin length 1
platformstringrequiredmin length 1
countrystringrequiredmin length 2 · max length 2
languagestringrequiredmin length 2 · max length 10
answer_typestringrequiredAllowed:
normalrefusalcollected_atstring<date-time>requiredmatches ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
brandobjectrequiredShow propertiesHide properties
mentionedbooleanrequiredcitedbooleanrequiredmention_positioninteger | nullrequiredShow propertiesHide properties
Any of:
integer
integernull
nullsentimentstring | nullrequiredShow propertiesHide properties
Any of:
string
stringnull
nullmention_countintegerrequiredmin 0 · max 9007199254740991
citation_countintegerrequiredmin 0 · max 9007199254740991
mentionsBrandMentionItem[]requiredShow propertiesHide properties
Array of
BrandMentionItemname_in_answerstringrequiredmin length 1
brand_namestringrequiredmin length 1
brand_typestringrequiredmin length 1
url_in_answerstring | nullrequiredShow propertiesHide properties
Any of:
string
stringnull
nullObservationDetail
observation_idstring<uuid>requiredmatches ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
prompt_idstring<uuid>requiredmatches ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
prompt_textstringrequiredmin length 1
platformstringrequiredmin length 1
countrystringrequiredmin length 2 · max length 2
languagestringrequiredmin length 2 · max length 10
answer_typestringrequiredAllowed:
normalrefusalcollected_atstring<date-time>requiredmatches ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
brandobjectrequiredShow propertiesHide properties
mentionedbooleanrequiredcitedbooleanrequiredmention_positioninteger | nullrequiredShow propertiesHide properties
Any of:
integer
integernull
nullsentimentstring | nullrequiredShow propertiesHide properties
Any of:
string
stringnull
nullmention_countintegerrequiredmin 0 · max 9007199254740991
citation_countintegerrequiredmin 0 · max 9007199254740991
mentionsBrandMentionItem[]requiredShow propertiesHide properties
Array of
BrandMentionItemname_in_answerstringrequiredmin length 1
brand_namestringrequiredmin length 1
brand_typestringrequiredmin length 1
url_in_answerstring | nullrequiredShow propertiesHide properties
Any of:
string
stringnull
nullanswer_textstring | nullrequiredcitationsobject[]requiredShow propertiesHide properties
Array of
objecturlstringrequiredmin length 1
domainstringrequiredmin length 1
inlinebooleanrequiredpositioninteger | nullrequiredShow propertiesHide properties
Any of:
integer
integernull
nullrequest_idstringrequiredmin length 1
404
not_found: unknown id, or an id this key cannot see
successbooleanrequirederrorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringrequiredretryablebooleanrequireddetailsobjectfield_errorsobject[]Show propertiesHide properties
Array of
objectfieldstringrequiredcodestringrequiredAllowed:
requiredformattoo_smalltoo_largeunrecognized_keyinvalidmessagestringrequiredrequest_idRequestIdrequired