Decide Action Approval
Decide on a specific action approval for a message.
Authorizations
Bearer token authentication using your API key
Path Parameters
Chat ID
Message ID
The ID of the tool call to decide on.
Body
Accept or reject a pending approval on an assistant action
How a pending approval was resolved
accepted, rejected Optional explanation for the decision. When rejecting, this is surfaced back to the assistant.
512When true, the decision is recorded immediately and the approved tool runs in the background — the response returns the "running" state. Defaults to false, which blocks until the tool finishes executing and returns the final message.
Response
The chat message schema
The role of the message
user, assistant, system, tool, event, note The model used for the message
The chat status
RUNNING, COMPLETED, FAILED, CANCELED The message content
System message
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
- Option 6
The member of the chat
Error message if the message failed
ID of the broadcast this message originates from
Whether this message was sent via a broadcast template
The usage information for the message