Tasks

Stream Task Events by Name

Stream events for a task by its unique name using Server-Sent Events (SSE).

Supports automatic reconnection with Last-Event-ID header. When the client
reconnects, it sends the Last-Event-ID header with the last received event ID,
and the server resumes from that point.

Returns TextStreamPart events (Vercel AI SDK compatible format).
get/tasks/name/{task_name}/stream

Request

Path parameters

task_namestring required

Query parameters

agent_idstring nullable

Optional agent filter. When provided, we authorize it via direct OpenFGA Check and avoid ListObjects(agent) to prevent false 403s from transient/partial list results.

Response

SSE stream of TextStreamPart events

OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR

Changes

No recorded changes to this operation across all 1 revision of this API.