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
- 200
- 204
- 401
- 404
- 410
SSE stream established (text/event-stream)
No content
Missing or invalid API key
Query not found
Query stream closed