Transition a conversation's AI mode
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
Request
Target mode for this conversation. ai — the AI dispatcher
handles inbound; human — operator has taken over; closed
— conversation terminated, next inbound starts a new one.
Operator-provided reason; recorded in the audit log.
Response
Mode transition applied (or no-op for same-mode PATCH)
The mode BEFORE this transition. Equals to_mode on no-op PATCH.
false for same-mode PATCH (idempotent no-op, no audit row written).
Identity of the caller that initiated the transition
(e.g. api:key_xxx, ai_pipeline). Recorded in the audit
log even when reason is empty.