Get a commerce collection
Returns one collection’s state with its per-module observation counts. A zero count is real evidence of a module that did not appear (or a platform that served no shopping module), never a failure.
GET
/commerce/collections/{collection_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
collection_idstring<uuid>requiredResponses
200
One commerce collection
successbooleanrequireddataCommerceCollectionObjectrequiredShow propertiesHide properties
collection_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)$
brand_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)$
statusstringrequiredAllowed:
queuedrunningcompletedfailedtask_idstring<uuid> | nullrequiredShow propertiesHide properties
Any of:
string<uuid>
string<uuid>null
nulltask_urlstring | nullrequiredShow propertiesHide properties
Any of:
string
stringnull
nullplatform_idsstring[]requiredcountrystringrequiredmin length 2 · max length 2
queriesobjectrequiredShow propertiesHide properties
requestedintegerrequiredmin 0 · max 9007199254740991
completedintegerrequiredmin 0 · max 9007199254740991
failedintegerrequiredmin 0 · max 9007199254740991
observation_countsobject[]requiredShow propertiesHide properties
Array of
objectmodule_typestringrequiredAllowed:
shopping_cardinline_productmerchant_offerentitymap_entrylocal_packknowledge_graphproduct_panelpeople_are_sayingcitation_pillsponsored_commercecountintegerrequiredmin 0 · max 9007199254740991
errorobject | nullrequiredShow propertiesHide properties
Any of:
object
codestringrequiredmin length 1
messagestringrequiredmin length 1
null
nullfindings_evaluationFindingsEvaluation | nullrequiredShow propertiesHide properties
Any of:
FindingsEvaluation
evaluation_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)$
rulesobject[]requiredShow propertiesHide properties
Array of
objectrulestringrequiredmin length 1
rule_versionstringrequiredmin length 1
checkedintegerrequiredmin 0 · max 9007199254740991
firedintegerrequiredmin 0 · max 9007199254740991
created_atstringrequirednull
nulltimestampsobjectrequiredShow propertiesHide properties
created_atstringrequiredstarted_atstring | nullrequiredcompleted_atstring | nullrequiredrequest_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