[EXPERIMENTAL] Invoke task agent with streaming response
POST/v1/agents/:agent_id/versions/:version_id/invoke-task-stream
Invoke a Task agent with structured inputs and receive the response as a stream of chunks. Each chunk is a valid JSON object containing a portion of the response. Use latest as the version_id to invoke the most recent version.
Status Codes:
200: Streaming response started successfully400: Validation error (invalid input or incompatible agent type)404: Agent or version not found500: Internal server error
Request
Responses
- 200
- 400
Successful Response
Validation Error