SocialCrawl

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.

Webhook body
{
  "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.

KeyTypeMeaning
schedule_idstringThe id of the schedule the event is about.
run_idstring or nullThe run that failed, or null when the schedule itself stopped firing.
reasonstringWhy the run failed or the schedule stopped, for example insufficient_credits.
productstringSet 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.

On this page

시작할 준비가 됐습니까?

무료로 소셜 데이터를 받기 시작하고, 프로젝트가 커지면 그대로 확장합니다. 카드 등록은 필요 없습니다.