Queries report
Prompts & responses
Prompts (queries) and their latest response metrics.
POST
Queries report
POST /reports/queries
Returns prompts (queries) and their latest response: visibility, position, sentiment. Use for prompt-level and response-level reporting. Each item includes the prompt that was asked (query.queryText) — the exact query text that was executed — so you can see which prompt produced each result.
Endpoint: POST https://api.geoark.ai/api/customer/v1/reports/queries
Request
Send your API key in theX-API-Key header or as api_key query parameter (see Authentication).
Body (JSON, all optional):
| Field | Type | Description |
|---|---|---|
brand_id | string | Filter by brand ID. Omit for all brands. |
project_id | string | Alias for brand_id. |
start_date | string | Start date YYYY-MM-DD. Default: 30 days ago. |
end_date | string | End date YYYY-MM-DD. Default: today. |
limit | number | Max items. Default: 1000. |
offset | number | Pagination offset. Default: 0. |
Response
Each object indata includes:
- query — The executed prompt:
id, queryText (the prompt that was asked), andplatform(CHATGPT, CLAUDE, GEMINI, PERPLEXITY, GROK, DEEPSEEK, or LLAMA). - brand — Brand the query belongs to.
- executedAt — When the query was run.
- latestResult — Latest visibility, position, and sentiment for that query.
Status codes
- 200 — Success
- 400 — Validation error
- 401 — Invalid or missing API key
- 402 — Paid subscription required (Custom plan)
Authorizations
API key from Dashboard → API Keys (Custom plan).
Body
application/json
Filter by brand ID. Omit for all brands.
Alias for brand_id (integration compatibility).
Start date (YYYY-MM-DD). Default: 30 days ago.
End date (YYYY-MM-DD). Default: today.
Max items to return.
Required range:
1 <= x <= 10000Offset for pagination.
Required range:
x >= 0