v1

latestOpenAPI 3.1.02026-08-04151221521.2 KB
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

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.

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