Skip to content
Zaraftis
Esc
↑↓navigate↵open⌘Jpreview

List commerce findings

Returns the commerce findings: factual conclusions produced by approved deterministic rules with exact evidence. Phase A registers no rule, so the list serves zero items; the shape exists so findings rules land without a contract change. Requires brand_id.

GET/commerce/findings
Authorization
AuthorizationBearer token · headerrequired

API 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 · headerrequired

OAuth 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.

Query parameters
page_tokenstring

The next_page_token from the previous page. Send it with the same filters and limit.

limitinteger

Items per page. A route can set a lower maximum or default; its own entry says so.

min 1 · max 100 · default: 25
Responses
200

One finding list page

successbooleanrequired
dataFindingListPagerequired
Show properties
itemsCommerceFinding[]required
Show properties
Array of CommerceFinding
finding_idstring<uuid>required
matches ^([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>required
matches ^([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)$
evaluation_idstring<uuid>required
matches ^([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)$
sourceobjectrequired
Show properties
typestringrequired
Allowed:collectioncatalog_snapshot
idstring<uuid>required
matches ^([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)$
catalog_product_idstring | nullrequired
Show properties
Any of:
string
string
null
null
rulestringrequired
min length 1
rule_versionstringrequired
min length 1
severitystringrequired
Allowed:criticalhighmediumlow
evidenceobjectrequired
created_atstringrequired
paginationListPaginationrequired

next_page_token is present only when has_more is true.

Show properties
has_morebooleanrequired
next_page_tokenstring
min length 1
request_idstringrequired
min length 1
400

bad_request or validation_failed

successbooleanrequired
errorobjectrequired
Show properties
codestringrequired
messagestringrequired
retryablebooleanrequired
detailsobject
field_errorsobject[]
Show properties
Array of object
fieldstringrequired
codestringrequired
Allowed:requiredformattoo_smalltoo_largeunrecognized_keyinvalid
messagestringrequired
request_idRequestIdrequired
404

not_found: unknown id, or an id this key cannot see

successbooleanrequired
errorobjectrequired
Show properties
codestringrequired
messagestringrequired
retryablebooleanrequired
detailsobject
field_errorsobject[]
Show properties
Array of object
fieldstringrequired
codestringrequired
Allowed:requiredformattoo_smalltoo_largeunrecognized_keyinvalid
messagestringrequired
request_idRequestIdrequired
Request
curl -X GET 'https://api.zaraftis.com/v1/commerce/findings' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json'
Response
{
  "success": true,
  "data": {
    "items": [
      {
        "finding_id": "feebf65a-2eaa-4fae-aab2-772450efdffe",
        "brand_id": "1bb61461-e5e3-4ebb-8cc6-5b0c37f1b7da",
        "evaluation_id": "4108ec8e-6efd-4b9b-bace-0bb4c296c324",
        "source": {
          "type": "collection",
          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
        },
        "catalog_product_id": "string",
        "rule": "string",
        "rule_version": "string",
        "severity": "critical",
        "evidence": {
          "property1": null,
          "property2": null
        },
        "created_at": "string"
      }
    ],
    "pagination": {
      "has_more": true,
      "next_page_token": "string"
    }
  },
  "request_id": "string"
}

Was this page helpful?