List commerce queries
Returns the brand’s commerce query registry. These queries are distinct from the tracked user prompts a scan runs. Requires brand_id.
/commerce/queriesAuthorizationBearer token · headerrequiredAPI key sent as Authorization: Bearer <key>. A key belongs to one workspace, has scopes, and can be limited to some brands.
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.
page_tokenstringThe next_page_token from the previous page. Send it with the same filters and limit.
limitintegerItems per page. A route can set a lower maximum or default; its own entry says so.
One commerce query list page
successbooleanrequireddataCommerceQueryListPagerequiredShow propertiesHide properties
itemsCommerceQueryListItem[]requiredShow propertiesHide properties
CommerceQueryListItemquery_idstring<uuid>requiredbrand_idstring<uuid>requiredtextstringrequiredcollection_countintegerrequiredfirst_collected_atstring | nullrequiredlast_collected_atstring | nullrequiredpaginationListPaginationrequirednext_page_token is present only when has_more is true.
Show propertiesHide properties
has_morebooleanrequirednext_page_tokenstringrequest_idstringrequiredbad_request or validation_failed
successbooleanrequirederrorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringrequiredretryablebooleanrequireddetailsobjectfield_errorsobject[]Show propertiesHide properties
objectfieldstringrequiredcodestringrequiredrequiredformattoo_smalltoo_largeunrecognized_keyinvalidmessagestringrequiredrequest_idRequestIdrequirednot_found: unknown id, or an id this key cannot see
successbooleanrequirederrorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringrequiredretryablebooleanrequireddetailsobjectfield_errorsobject[]Show propertiesHide properties
objectfieldstringrequiredcodestringrequiredrequiredformattoo_smalltoo_largeunrecognized_keyinvalidmessagestringrequiredrequest_idRequestIdrequired