tasks
Real-time SSE stream of task lifecycle events for the authenticated org
Long-lived Server-Sent Events stream per ADR-011 Option D.
Events
- snapshot — emitted once at connect; all PENDING tasks + last completed_limit COMPLETED tasks, ordered by created_at DESC.
- task-created — new task row inserted.
- task-updated — status, name, input_payload, result_payload, or reopen_count changed.
- task-resolved — status flipped to COMPLETED.
- : keepalive — comment line every 30 s of idle to keep proxies alive.
Termination: close the connection from the client side. The server never sends a terminal event.
get/api/v1/tasks/stream
Request
- Base URL: https://api.qualityclouds.ai (the document declares no server; this is the origin it was published from)
- URL: https://api.qualityclouds.ai/api/v1/tasks/stream
- Auth: one of:
- HTTP bearer
- OpenID Connect (https://account.qualityclouds.com//realms/ai-production/.well-known/openid-configuration)
Query parameters
completed_limitinteger
Cap on COMPLETED tasks in the initial snapshot. PENDING tasks are always included in full.
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.