discover
discover.paused
Sent when a background or scheduled Discover run settles as paused. Says why in stopped_because.
When it is sent
A background or scheduled Discover run settles as paused.
Payload
A test send delivers this body. A real event has no test key and carries a cursor.
{
"id": "bat_sample0000000000000",
"type": "event.batch",
"data": {
"events": [
{
"id": "evt_testsample0000000000000",
"type": "discover.paused",
"test": true,
"api_version": "2026-10-01",
"created_at": "2026-10-24T10:15:01Z",
"cursor": null,
"subject": {
"kind": "discover_run",
"id": "run_sample0000000000000"
},
"data": {
"run_id": "run_sample0000000000000",
"status": "paused",
"stopped_because": "insufficient_credits",
"counts": {
"legs": {
"planned": 12,
"done": 11,
"empty": 1,
"failed": 0,
"skipped": 0,
"pending": 0
},
"rows_kept": 84
},
"credits": {
"spent": 42
},
"version": 7,
"schedule_id": null
},
"links": {
"run": "https://www.socialcrawl.dev/v1/prism/discover/runs/run_sample0000000000000",
"results": "https://www.socialcrawl.dev/v1/prism/discover/runs/run_sample0000000000000/results.jsonl",
"changes": "https://www.socialcrawl.dev/v1/prism/discover/runs/run_sample0000000000000?changes_since=0"
}
}
]
}
}Fields
These are the keys of data on the event. The event also carries id, type, api_version, created_at, cursor, subject and links.
| Key | Type | Meaning |
|---|---|---|
run_id | string | The id of the Discover run the event is about. |
status | string | The status the run settled in. |
stopped_because | string or null | Why the run stopped early, or null when it ran to the end. |
counts | object | The run's searches by state in legs (planned, done, empty, failed, skipped, pending) and rows_kept, the rows it kept. |
credits | object | spent is the credits the run has used so far. |
version | number | The run's version when the event was written. |
schedule_id | string or null | The schedule that started the run, or null when no schedule did. |
auto_resumes_left | number | Sent on a pause the system resumes by itself: how many automatic resumes are left. At 0 the run waits for you. |
product | string | Set to creators for a creator search and search for a universal search watch. Left out for every other run. |
Delivery
Every delivery is signed, so verify the signature before you trust it. You can send this body to your endpoint with a test send, read the same event on the events feed, and see retries on webhooks and events.
