Send AI chat message
Send a message to the AI assistant and receive a synchronous reply. Optionally bind the conversation to an incident or alert for context-aware responses. For eligible unbound home chat, checkpoint_id and decision confirm or cancel approval-gated writes. Responses include confirmation for a pending write and checkpoint_resolved after resume. If an action-item write needs required fields the model did not supply, no checkpoint is created and the turn completes with a plain reply linking to that incident’s action-item form in the Rootly web app. The synchronous response has no confirmation key; only confirmation responses are resumable. Requires ai.chat:write OAuth scope or an API key.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Message to send. Required unless checkpoint_id is supplied.
Resume an existing session
Pending confirmation checkpoint to resolve
Resolve the checkpoint with confirm or cancel
confirm, cancel Bind session to an incident for context (mutually exclusive with alert_id)
Bind session to an alert for context (mutually exclusive with incident_id)