cURL
curl --request GET \ --url https://api.example.com/approvals \ --header 'Authorization: Bearer <token>'
{ "data": [ { "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 } ], "meta": { "page": 0, "limit": 20, "total_pages": 0, "total_count": 0, "search_time_ms": 0 } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
pending
approved
rejected
expired
cancelled
required
audit
1 <= x <= 1000
x >= 1
Successful Response
List of items for the current page
Show child attributes
Pagination metadata
Was this page helpful?