Stream task

GET
/api/v1/tasks/{taskId}/stream

Authorization

bearerAuth
headerAuthorizationBearer <token>

An API key created in Capy under Settings → API.

Path parameters

taskId*string

Query parameters

after?string

Exclusive event-ID cursor to start the committed lane after; the Last-Event-ID header wins when both are present.

until?string

run: close the stream with done after the run in progress ends, or at once when the thread is not working.

Header parameters

last-event-id?string

The last id: a client read; the committed lane resumes after it.

Response body

Success

text/event-stream
  1. response
event*"status"
One of"status"
data*string
curl -X GET 'https://api.capy.ai/api/v1/tasks/string/stream'
{  "event": "status",  "data": "string"}
Open in Capy