SocialCrawl

stream

stream.health

Sent when a listener's source or the listener itself changes health. The kind says how.

When it is sent

A source or a whole listener changes health.

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": "stream.health",
        "test": true,
        "api_version": "2026-10-01",
        "created_at": "2026-10-24T10:15:01Z",
        "cursor": null,
        "subject": {
          "kind": "listening_stream",
          "id": "lst_sample0000000000",
          "name": "Client B: Globex Mobile",
          "metadata": {
            "client": "client-b"
          }
        },
        "data": {
          "kind": "degraded",
          "platform": "twitter",
          "lane": "search/tweets"
        },
        "links": {
          "stream": "https://www.socialcrawl.dev/v1/listening/streams/lst_sample0000000000"
        }
      }
    ]
  }
}

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
kindstringHow health changed: failing, degraded, recovered, lane_unavailable, delayed, skipped, low_yield or comments_backlog.
platformstring or nullThe platform concerned, or null for a kind about the whole listener.
lanestringThe part of the platform concerned, for example search/tweets. Left out when the kind has none.
skipped_becausestringWhy a check was skipped. Sent with kind skipped.
groupstringThe group that yields little. Sent with kind low_yield.

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

시작할 준비가 됐습니까?

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