Error
approvals
Submit Approvals
Submit approval decisions to a running agent workflow.
This endpoint sends approval decisions back to an agent workflow that is waiting for human-in-the-loop approval on tool calls.
Args: role: The authenticated user role. session_id: The agent session ID (used to lookup the workflow). payload: The approval decisions mapping tool_call_id to decision. session: Database session for workspace-scoped lookups.
Raises: HTTPException 400: If the approval submission fails validation. HTTPException 404: If the agent session/workflow is not found. HTTPException 500: For unexpected errors.
POST
Error