List scans
Scan history for the workspace, newest first, with headline metric values for each scan. Filter by brand_id, setup_id, status, and date range.
/scansAuthorizationBearer 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 scan list page
successbooleanrequireddataScanListPagerequiredOne keyset page: items plus the pagination footer.
Show propertiesHide properties
itemsScanItem[]requiredShow propertiesHide properties
ScanItemscan_idstring<uuid>requiredbrand_idstring<uuid>requiredbrand_namestringrequiredstatusstringrequiredqueuedrunningcompletedfailedtriggered_bystring | nullrequiredShow propertiesHide properties
stringnullcreated_atstring<date-time>requiredcompleted_atstring<date-time> | nullrequiredShow propertiesHide properties
string<date-time>nullcountrystringrequiredlanguagestringrequiredplatformsstring[]requiredprompt_countinteger | nullrequiredShow propertiesHide properties
integernullrequestedinteger | nullrequiredShow propertiesHide properties
integernullcompletedinteger | nullrequiredShow propertiesHide properties
integernullfailedintegerrequiredsetup_idstring<uuid> | nullrequiredShow propertiesHide properties
string<uuid>nullsetup_version_idstring<uuid> | nullrequiredShow propertiesHide properties
string<uuid>nullsetup_checksumstring | nullrequiredShow propertiesHide properties
stringnullmetricsScanMetricsFieldMaprequiredpaginationListPaginationrequiredCursor pagination footer. next_page_token is present only when has_more is true; the token is opaque and filter- and limit-bound.
Show propertiesHide properties
has_morebooleanrequirednext_page_tokenstringrequest_idstringrequired