---
title: "List Approvals"
method: GET
path: "/api/v1/approvals"
tags: ["approvals"]
---

# List Approvals

`GET /api/v1/approvals`

## Request

- Base URL: `http://127.0.0.1:8052`
- URL: `http://127.0.0.1:8052/api/v1/approvals`
- Auth: none declared

List all pending approval requests across task-review and pre-spawn gates.

## Response `200`

Successful Response

- ListApprovalsResponse: Response for GET /approvals.
  - `pending` PendingApproval[], required
    - `task_id` string, required
    - `task_title` string, required
    - `session_id` string, required
    - `diff` string
    - `test_summary` string
    - `mechanism` string
    - `prompt` string
    - `default_action` string
    - `timeout_at_iso` string
    - `created_iso` string
    - `timeout_seconds` integer, nullable
    - `unblocks` string
    - `resolution_endpoint` string

---

[API](https://skmtc.dev/bernstein/apis/bernstein-task-server.md) · [All operations](https://skmtc.dev/bernstein/apis/bernstein-task-server/llms.txt) · [OpenAPI document](https://skmtc.dev/bernstein/apis/bernstein-task-server/revisions/2a20a34ad2eb?raw)
