Endpoint: Runs
A measurement (a run) is a single job in which all of a brand’s active prompts are asked on
all platforms and the result is analysed. It takes minutes and it spends money, so it is not a
synchronous operation: it is queued, and then its status is polled.
Endpoint
Section titled “Endpoint”GET /v1/runsGET /v1/runs/{run_id}POST /v1/runsParameters
Section titled “Parameters”GET /v1/runs query parameters
| Name | Type | Required | Description |
|---|---|---|---|
brand_id | UUID | No | The measurements of a single brand. Every brand in the organization if omitted |
status | string | No | queued, collecting, analyzing, done, failed. Comma separated for several |
trigger | string | No | onboarding, manual, scheduled |
date_from | string | No | YYYY-MM-DD, filters on the measurement day |
date_to | string | No | YYYY-MM-DD |
sort | string | No | created_at, finished_at. Prefix with - for descending. Default -created_at |
limit | integer | No | Page size, default 50, 200 at most |
cursor | string | No | The meta.next_cursor value from the previous response |
POST /v1/runs body fields
| Name | Type | Required | Description |
|---|---|---|---|
brand_id | UUID | Yes | The brand to measure |
platforms | array | No | The platform keys to measure. Every platform in the plan if omitted |
note | string | No | A short note for your own records, 200 characters at most |
The trigger field is not sent. Every measurement queued from the API is marked manual;
scheduled belongs only to runs started by the frequency setting, and onboarding only to the
first run of a setup.
Request
Section titled “Request”# queue the measurementcurl -X POST "https://api.zeoradar.com/v1/runs" \ -H "Authorization: Bearer $ZEO_RADAR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "brand_id": "8f14a0c2-5b7e-4a91-9d33-6c2e10b4f7a5", "platforms": ["chat_gpt", "gemini", "claude", "perplexity", "aimode"] }'
# poll its statuscurl "https://api.zeoradar.com/v1/runs/b21c74e9-0a35-4d88-9f27-51ac3e6b8042" \ -H "Authorization: Bearer $ZEO_RADAR_API_KEY"Response
Section titled “Response”Queueing returns 202 Accepted:
{ "data": { "id": "b21c74e9-0a35-4d88-9f27-51ac3e6b8042", "brand_id": "8f14a0c2-5b7e-4a91-9d33-6c2e10b4f7a5", "trigger": "manual", "status": "queued", "date": null, "started_at": null, "finished_at": null, "answers_count": 0, "cost_usd": 0, "error": null, "created_at": "2026-08-27T09:18:07Z", "estimated_answers": 150, "platforms": ["chat_gpt", "gemini", "claude", "perplexity", "aimode"] }, "meta": { "request_id": "req_01K3ZAY6W1Q3F8ND5K", "generated_at": "2026-08-27T09:18:07Z", "count": 1, "next_cursor": null }, "error": null}A finished measurement also carries the snapshot summary:
{ "data": { "id": "b21c74e9-0a35-4d88-9f27-51ac3e6b8042", "brand_id": "8f14a0c2-5b7e-4a91-9d33-6c2e10b4f7a5", "trigger": "manual", "status": "done", "date": "2026-08-24", "started_at": "2026-08-24T04:12:55Z", "finished_at": "2026-08-24T04:41:19Z", "answers_count": 150, "cost_usd": 3.7412, "error": null, "created_at": "2026-08-24T04:12:41Z", "snapshot": { "visibility": 0.412000, "share_of_voice": 0.187400, "avg_position": 2.310, "citation_share": 0.094600, "sentiment_score": 0.784000, "by_platform": { "ChatGPT": 0.466667, "Gemini": 0.400000, "Claude": 0.366667, "Perplexity": 0.500000, "Google AI Mode": 0.326667 } }, "coverage": { "platforms": ["chat_gpt", "gemini", "claude", "perplexity", "aimode"], "missing": [] } }, "meta": { "request_id": "req_01K3ZB0C4X9G2H7TM1", "generated_at": "2026-08-27T09:18:44Z", "count": 1, "next_cursor": null }, "error": null}On a failed measurement status is failed, the error field carries the reason and
finished_at is filled in. A half finished job is never left in the collecting state.
Errors
Section titled “Errors”| HTTP | error.code | When |
|---|---|---|
| 400 | invalid_parameter | platforms contains an unrecognised key |
| 401 | invalid_api_key | The key is wrong or has been revoked |
| 403 | insufficient_scope | A measurement was queued with a read scoped key |
| 403 | insufficient_credits | The remaining credit does not cover the answers the measurement would produce |
| 403 | plan_required | A requested platform is not covered by the plan |
| 404 | not_found | brand_id or run_id does not exist, or belongs to another organization |
| 409 | run_in_progress | The same brand already has a measurement in queued, collecting or analyzing |
| 422 | validation_failed | The brand has no active prompts, or the brand is in onboarding and its setup is not finished |
| 429 | rate_limited | The hourly measurement limit is used up |
-
The statuses and what they mean. The lifecycle runs one way and no intermediate state is skipped:
Status What it means queuedThe job is in the queue, nobody has picked it up yet collectingAnswers are being collected. This is the stage where credit is spent analyzingCollection is done; citations are being resolved, brand mentions found, sentiment evaluated doneThe snapshot has been written and the report endpoints have started returning this measurement failedThe job stopped halfway, the reason is in the errorfield -
The polling interval should be 30 seconds. A typical measurement takes minutes; polling once a second does nothing except burn your rate limit. A stable approach is to poll for the first time after 60 seconds and then every 30 seconds.
-
Only one measurement runs per brand at a time. A second request is not held in a queue, it is rejected with
409 run_in_progress. Managing the queue on the client side is better than two measurements writing into the same day. -
cost_usdis the real cost, not an estimate. It is0whilequeuedand is written when the job finishes. The same information is also recorded at organization level inusage_events. -
A measurement cannot be cancelled. There is no endpoint that stops a queued job, and once collection has started the credit spent cannot be recovered.
-
If
coverage.missingis not empty, the measurement is incomplete. If an engine did not answer that day its name is written into this list, and that platform’s visibility is not counted as zero, it is left out of the calculation entirely.
feedback.question
feedback.thanks