---
title: "List your Cloud coding push approvals"
method: GET
path: "/v1/cloud-coding/approvals"
tags: ["Organizations"]
---

# List your Cloud coding push approvals

`GET /v1/cloud-coding/approvals`

## Request

- Base URL: `https://api.openworklabs.com`
- URL: `https://api.openworklabs.com/v1/cloud-coding/approvals`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

Returns your 20 most recent approvals, or all approvals waiting for your decision when status is pending. Optionally filter by agentId.

## Query parameters

- `status` 'pending'
- `agentId` string

## Response `200`

List your Cloud coding push approvals

- CloudCodingPushApprovalList
  - `approvals` CloudCodingPushApproval[], required
    - `id` string, required
    - `taskId` string, required
    - `agentId` string, nullable
    - `agentName` string, nullable
    - `status` 'pending' | 'approved' | 'denied' | 'pushed' | 'expired' | 'superseded', required
    - `repositoryFullName` string, required
    - `branch` string, required
    - `baseBranch` string, required
    - `headSha` string, nullable, required
    - `title` string, required
    - `files` CloudCodingFileChange[], required
      - `path` string, required
      - `change` 'added' | 'modified' | 'deleted', required
    - `fileCount` integer, required
    - `tests` CloudCodingTestReport, required
      - `status` 'passed' | 'failed' | 'not_run', required
      - `command` string, nullable, required
      - `summary` string, nullable, required
    - `requestedAt` string, date-time, required
    - `expiresAt` string, date-time, required
    - `decidedAt` string, date-time, nullable, required
    - `pullRequest` object, nullable, required
      - `number` integer, required
      - `url` string, uri, required
      - `state` 'open' | 'merged' | 'closed', required

## Other responses

- `400`: Check the information you entered.
- `401`: Sign in to continue.
- `403`: You do not have permission.
- `404`: The approval could not be found.
- `409`: This approval is no longer pending.

## Changes

- **2026-12-02** `1c1cd9580c18`: 3 info
  - added the new optional `query` request parameter `agentId`
  - added the optional property `approvals/items/agentId` to the response with the `200` status
  - added the optional property `approvals/items/agentName` to the response with the `200` status
- **2026-11-30** `46df230c9438`: 1 breaking, 1 info
  - response property `approvals/items/headSha` list-of-types was widened by adding types `null` to media type `application/json` of response `200`
  - the `approvals/items/headSha` response's property pattern `^[0-9a-f]{40}$` was removed for the status `200`
- **2026-11-29** `8a5cecbbb048`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/openworklabs/apis/den-api/changes/v1/cloud-coding/approvals/get.md)

---

[API](https://skmtc.dev/openworklabs/apis/den-api.md) - [All operations](https://skmtc.dev/openworklabs/apis/den-api/llms.txt) - [OpenAPI document](https://skmtc.dev/openworklabs/apis/den-api/revisions/84fb0f99fb95?raw)
