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
- Base URLhttps://docs.terminaluse.com (the document declares no server; this is the origin it was published from)
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
Changes
No recorded changes to this operation across all 1 revision of this API.