Send a user message
Stores a user message and starts the turn server-side, so it runs to completion even if the client navigates away. Open the stream endpoint to follow along.
In: cookie
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/api/ai/conversations/string/send" \ -H "Content-Type: application/json" \ -d '{ "text": "string" }'Revoke the MCP access token DELETE
Deletes the stored MCP access token, so external clients using it stop being authenticated. Admin only.
Follow a turn (SSE) GET
Subscribes to the conversation's running turn (started by the send, approve, or answer endpoints) as Server-Sent Events: `status`, `delta`, `message`, `tool_result`, `approval_request`, `approval_resolved`, `awaiting_approval`, `user_question`, `awaiting_input`, `usage`, `done`, `cancelled`, and `error`. Buffered events replay first, then live ones; disconnecting only drops this subscriber, never the run.