Stream an agent chat turn
POST /api/agent/chat
POST
/api/agent/chat
Runs an agent chat turn and streams the response using the Vercel AI SDK UI message stream protocol.
Authorizations
Section titled “Authorizations ”Request Body
Section titled “Request Body ”object
key
additional properties
Responses
Section titled “ Responses ”Streaming response (AI SDK UI message stream / SSE).
string
Invalid request
object
success
boolean
error
string
Example
Error messageInternal server error
object
success
boolean
error
string
Example
Error message