Error
agent-sessions
Send Message
Send a message to the agent session with streaming response.
This endpoint combines message sending with streaming response, compatible with Vercel’s AI SDK useChat hook. It:
- Accepts Vercel UI message format or continuation requests
- Starts the agent execution
- Streams the response back in Vercel’s data protocol format
POST
Error
Authorizations
Body
application/json
- VercelChatRequest
- ContinueRunRequest
Vercel AI SDK format request with structured UI messages.
User message in Vercel UI format
Allowed value:
"vercel"AI model to use
AI model provider
Required string length:
1 - 50Optional base URL for the model provider
Maximum string length:
500Response
Successful Response