API ReferenceApi claw
Stream chat with an API Agent session
Starts or continues an API Agent chat using the same streaming logic as Buda's AI chat route. The response is an AI SDK UI message stream.
Authorization
bearerAuth AuthorizationBearer <token>
API key authentication.
In: header
Path Parameters
agentId*string
sessionId*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
text/event-stream
application/json
curl -X POST "https://loading/api/v1/api/v1/api-agents/string/sessions/string/chat" \ -H "Content-Type: application/json" \ -d '{}'"string"{
"queued": true,
"messageId": "string",
"queueLength": 0
}Empty
Empty
Empty