---
search:
  tags:
    - commerce
    - GET
seo:
  description: >-
    Returns the brand's commerce query registry. These queries are distinct from
    the… Reference for the GET /commerce/queries endpoint in the Zaraftis Public
    API.
sidebar:
  label: List commerce queries
  badge: GET
title: List commerce queries
type: openapi-operation
---
Returns the brand's commerce query registry. These queries are distinct from the tracked user prompts a scan runs. Requires brand_id.

`GET /commerce/queries`

**Responses**

- `200` — One commerce query list page
- `400` — bad\_request or validation\_failed
- `404` — not\_found: unknown id, or an id this key cannot see

Response example, 200:

```json
{
  "success": true,
  "data": {
    "items": [
      {
        "query_id": "6fa29c22-6bab-424a-859e-a13a5c607e72",
        "brand_id": "1bb61461-e5e3-4ebb-8cc6-5b0c37f1b7da",
        "text": "string",
        "collection_count": 0,
        "first_collected_at": "string",
        "last_collected_at": "string"
      }
    ],
    "pagination": {
      "has_more": true,
      "next_page_token": "string"
    }
  },
  "request_id": "string"
}
```
