List the approvals a headless run raised
Agents
List the approvals a headless run raised
A run that hits a require_approval action pauses at
status: pending_approval and records one approval row per gated
action. This lists them (pending and resolved) so a caller can inspect
what needs a decision before POSTing to
/api/approvals/{approvalId}/approve or /reject.
Requires the agents:run scope and ownership of the run.
GET
List the approvals a headless run raised
Authorizations
API key or personal access token (NEX-1042). Send as
Authorization: Bearer <token>. Token format:
nex_live_…— live API key (server-to-server)nex_test_…— sandbox API keynex_pat_…— personal access token (acts as the issuing user)
Authorization is decided by the key's scopes array, not the
owning user's RBAC role. See POST /api/api-keys to mint a key.

