# dataKiosk_getQueries (https://sellersheetai.com/docs/mcp-api/tools/dataKiosk_getQueries)

> List Data Kiosk queries for this store with optional filters.

Access: **READ** · toolset amazon_sp · family sp.dataKiosk_2023-11-15

Amazon SP-API · getQueries · GET /dataKiosk/2023-11-15/queries Useful for checking query history or finding queryIds for completed queries. Read a DONE query's results with dataKiosk_getQuery.

## Call it

MCP tool call:

```json
{
  "name": "dataKiosk_getQueries",
  "arguments": {
    "store": "myStore-US"
  }
}
```

Tool API (early access — contact us):

```bash
curl -X POST https://api.sellersheetai.com/api/v1/tools/dataKiosk_getQueries \
  -H "Authorization: Bearer $SELLERSHEET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"store":"myStore-US"}'
```

## Arguments

| Name | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | the store ref `<store>-<CC>` (name-country, e.g. 'myStore-US') — one of get_user_context's store_refs, verbatim. |
| `processingStatuses` | string[] |  | the query statuses to keep (at least 1 value if given); omit for all. Allowed: CANCELLED \| DONE \| FATAL \| IN_PROGRESS \| IN_QUEUE. Allowed: CANCELLED \| DONE \| FATAL \| IN_PROGRESS \| IN_QUEUE. |
| `pageSize` | integer · 1–100 |  | Number of results per page (1-100; defaults to 10). |
| `createdSince` | string · date-time |  | Earliest query-creation time to include, ISO 8601 date time (e.g. '2026-06-01T00:00:00Z'). Defaults to 90 days ago. |
| `createdUntil` | string · date-time |  | Latest query-creation time to include, ISO 8601 date time. Defaults to the time of the request. |
| `paginationToken` | string |  | Token from a previous response (data.pagination.nextToken) for the next page. When paging, resend processingStatuses / createdSince / createdUntil unchanged (only pageSize may change). |

## Result

- `data.queries` — list of query objects, each with queryId, query, processingStatus, createdTime, and (when DONE/FATAL) dataDocumentId or errorDocumentId.
- `data.pagination.nextToken` — present when more results are available; pass back as paginationToken for the next page.