chat

Submit Agent Session Tool Approvals

Persist answered tool approvals for the session's open turn.

post/v1/agent_sessions/{session_id}/tool_approvals

Path parameters

session_idstring required

Request body

lastMessageIdstring required

The trailing assistant message's id. On mismatch the submission is rejected with HTTP 409 and code agent_session_messages_stale.

Response

Successful Response

Changes

Changed in 3 of the 75 revisions of this API.4

    • added the optional property //// to the response with the status

      response-optional-property-added

    • added the optional property ////// to the response with the status

      response-optional-property-added

    • added the optional property ////// to the response with the status

      response-optional-property-added

    This revision also has 15 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • endpoint added

      endpoint-added