Dashboard
Events

Stream Events

Stream Events

GET/v2/tasks/{task_id}/events/stream

SSE feed of events for ``task_id``. On connect we send up to ``backfill`` historic events so the client can render context before live events start arriving. Then we tick every ``_STREAM_POLL_INTERVAL_S`` and emit any rows newer than the cursor. The connection stays open until the client disconnects.

Path Parameters

task_idstring · uuidrequired

Query Parameters

backfillintegeroptional
Request
curl --request GET \
  --url https://api.brainbaselabs.com/v2/tasks/{task_id}/events/stream \
  --header 'Authorization: Bearer YOUR_API_KEY'