Stream a chat run over server-sent events.
Chat
Stream a chat run over server-sent events.
Expects the full message history and executes against the latest non-empty user message.
POST
Stream a chat run over server-sent events.
Documentation Index
Fetch the complete documentation index at: https://docs.openagents.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Conversation identifier.
Body
application/json
Full client-side message history; backend executes using the latest user message. L402 tool contract: maxSpendMsats is canonical (maxSpendSats temporary alias) and requireApproval is canonical (approvalRequired temporary alias).
Response
Server-sent event stream (Vercel AI data stream protocol)
The response is of type string.
Example:
"data: {\"type\":\"start\"}\n\ndata: [DONE]\n\n"