Skip to main content

Stream Notifications

GET 

/v2/auto/queries/:queryId/stream

Stream query notifications via Server-Sent Events (SSE).

Cost

Free.

Auth

Required header:

x-elfa-api-key: <api_key>

Request Example

Path parameter:

  • queryId (string)

Response Example (200)

  • Content-Type: text/event-stream
  • stream remains open and emits incremental SSE events

Best practice: deduplicate SSE events by event id and process with a queue-backed worker for reliable agent execution.

Request

Responses

SSE stream established (text/event-stream)