discover
discover.run_failed
Sent when a scheduled Discover run fails or its schedule stops firing. The reason says which.
When it is sent
A scheduled run settles as failed, or the schedule itself stops firing.
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.run_failed",
"test": true,
"api_version": "2026-10-01",
"created_at": "2026-10-24T10:15:01Z",
"cursor": null,
"subject": {
"kind": "discover_schedule",
"id": "dsch_sample000000000000",
"name": "Weekly brand sweep"
},
"data": {
"schedule_id": "dsch_sample000000000000",
"run_id": "run_sample0000000000000",
"reason": "insufficient_credits"
},
"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",
"schedule": "https://www.socialcrawl.dev/v1/prism/discover/schedules/dsch_sample000000000000"
}
}
]
}
}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 |
|---|---|---|
schedule_id | string | The id of the schedule the event is about. |
run_id | string or null | The run that failed, or null when the schedule itself stopped firing. |
reason | string | Why the run failed or the schedule stopped, for example insufficient_credits. |
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.
