cURL
curl --request GET \ --url https://api.example.com/approvals/{approval_id} \ --header 'Authorization: Bearer <token>'
{ "id": "<string>", "run_id": "<string>", "session_id": "<string>", "status": "<string>", "source_type": "<string>", "approval_type": "<string>", "pause_type": "<string>", "tool_name": "<string>", "tool_args": {}, "expires_at": 123, "agent_id": "<string>", "team_id": "<string>", "workflow_id": "<string>", "user_id": "<string>", "schedule_id": "<string>", "schedule_run_id": "<string>", "source_name": "<string>", "requirements": [ {} ], "context": {}, "resolution_data": {}, "resolved_by": "<string>", "resolved_at": 123, "created_at": 123, "updated_at": 123 }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response
Response model for a single approval.
Was this page helpful?