Post Ai Builder Turn
Run one user turn as a Server-Sent Events stream.
Response body is text/event-stream. Each event is one JSON object on a data: line, with a blank line terminator. The client parses event to dispatch (see schemas.ChatTurnEvent).
When payload.flow_automation_id (saved flow) or payload.draft_key (unsaved /create flow) is supplied, the turn is persisted to FlowAiChatSession for cross-reload continuity.
Gated by the plan token quota: free users are blocked, Pro/Pro+ have a monthly token budget. The check runs BEFORE the stream so a blocked user gets a clean 402 (not a half-streamed error); test/exempt users skip it. Usage is recorded inside run_turn after the turn runs.
Request
- Base URLhttps://api.linktodm.com (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.