v1

latestOpenAPI 3.1.02026-07-17325265.6 KB
Approvals

List approval requests

List approval requests with optional session filtering

get/approvals

Query parameters

sessionIdstring

Filter by session ID

Response

List of approvals

Example response

{
  "data": [
    {
      "id": "appr_abc123",
      "run_id": "run_xyz789",
      "session_id": "sess_def456",
      "tool_name": "execute_command",
      "tool_input": {
        "command": "rm -rf /tmp/test"
      },
      "comment": "Approved with caution"
    }
  ]
}