> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stateset.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List Approvals V1

> List approval requests for the calling tenant. Approvals fire when a job hits an action gated by an approval policy (typically destructive operations on…

List approval requests for the calling tenant.

Approvals fire when a job hits an action gated by an approval policy
(typically destructive operations on connected services). The job
sits in `awaiting_approval` status until a reviewer calls
`/approvals/&#123;id&#125;/approve` or `/reject`.

### Query parameters

<ParamField query="pending_only" type="boolean">
  When true (default) only return rows still awaiting review. Pass `false` to include approved/rejected/expired rows for audit dashboards.
</ParamField>

### Response

`ApprovalSummary[]` — each element:

<ResponseField name="id" type="string" required />

<ResponseField name="job_id" type="string" required />

<ResponseField name="tool_name" type="string" required />

<ResponseField name="tool_input" type="object" required />

<ResponseField name="reasoning" type="string,null" required />

<ResponseField name="screenshot_key" type="string,null" required />

<ResponseField name="status" type="string" required />

<ResponseField name="review_comment" type="string,null" required />

<ResponseField name="expires_at" type="string,null" required />

<ResponseField name="created_at" type="string" required />

<ResponseField name="updated_at" type="string" required />

### Status codes

| Code  | Meaning             |
| ----- | ------------------- |
| `200` | Successful Response |
| `422` | Validation Error    |

<RequestExample>
  ```bash cURL theme={null}
  curl --request GET \
    --url 'https://api.computer.stateset.app/api/v1/approvals' \
    --header 'X-API-Key: YOUR_API_KEY'
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  [
    {
      "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "job_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "tool_name": "string",
      "tool_input": {},
      "reasoning": "string",
      "screenshot_key": "string",
      "status": "pending",
      "review_comment": "string",
      "expires_at": "2026-08-31T14:22:05Z",
      "created_at": "2026-08-31T14:22:05Z",
      "updated_at": "2026-08-31T14:22:05Z"
    }
  ]
  ```
</ResponseExample>
