Skip to main content
GET
Stream task events

Authorizations

X-API-Key
string
header
default:YOUR_AUTUMN_API_KEY
required

Your Autumn API key.

Headers

Last-Event-ID
string | null

Sent by EventSource clients on reconnect; resumes after this event id.

Path Parameters

task_id
string
required

The task_id returned by POST /task or POST /task/start.

Example:

"8fab6f34"

Query Parameters

after
string
default:""

Resume after this event id. Last-Event-ID does the same on reconnect.

Response

Server-sent events: task, tool, text, error, done. A failure after the stream opens is an error event.

The response is of type string.