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
Body
application/json
- VercelChatRequest
- ContinueRunRequest
Vercel AI SDK format request with structured UI messages.
Response
Successful Response