---
title: "List deployments in a project"
method: GET
path: "/projects/{id}/deployments"
tags: ["Projects"]
---

# List deployments in a project

`GET /projects/{id}/deployments`

## Request

- Base URL: `https://api.volcano.dev`
- URL: `https://api.volcano.dev/projects/{id}/deployments`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Lists Function and Frontend deployment attempts across the project,
ordered most-recent first. Each item includes a normalized resource
reference so clients can render both resource types without extra
fetches.

Standard and durable function deployments both appear under
`resource.type: function`, and `resource.kind` tells them apart. Pass
`function_kind` to list one kind only; frontends are then excluded.
Combining `function_kind` with `resource_type=frontend` is rejected.

## Path parameters

- `id` string, uuid, required

## Query parameters

- `page` integer
- `limit` integer
- `cursor` string
- `ending_before` string
- `offset` integer
- `search` string
- `created_after` string, date-time
- `resource_type` 'function' | 'frontend'
- `function_kind` 'standard' | 'durable': A function kind to filter a list by. Unlike `FunctionKind` it has no default: omitting the filter includes both kinds.

## Response `200`

Successful response

- PaginatedProjectDeployments
  - `data` ProjectDeployment[], required
    - `id` string, uuid, required
    - `project_id` string, uuid, required
    - `resource` ProjectDeploymentResource, required: The resource this deployment belongs to.
      - `type` 'function' | 'frontend', required
      - `id` string, uuid, required
      - `name` string, required
      - `kind` 'standard' | 'durable': Which kind of function this deployment belongs to. Both kinds appear in this feed under `type: function`, because a deployment means the same thing for either, so this is what tells them apart. Absent when `type` is `frontend`.
    - `operation` 'deploy' | 'redeploy' | 'update' | 'delete', required
    - `status` 'queued' | 'provisioning' | 'active' | 'degraded' | 'failed' | 'superseded' | 'deleting' | 'deleted', required
    - `deploy_source` 'git' | 'cli' | 'web' | 'api' | 'system' | 'unknown', required: What initiated this deployment.
    - `error_message` string
    - `completed_at` string, date-time
    - `progress` DeploymentProgress: Normalized live progress derived from the deployment workflow and build phases.
      - `current_phase` 'queue' | 'checkout' | 'build' | 'image' | 'provisioning' | 'rollout' | 'verification'
      - `started_at` string, date-time, required
      - `completed_at` string, date-time
      - `elapsed_seconds` integer, required
      - `phases` DeploymentPhase[], required
        - `name` 'queue' | 'checkout' | 'build' | 'image' | 'provisioning' | 'rollout' | 'verification', required
        - `status` 'pending' | 'in_progress' | 'succeeded' | 'failed' | 'skipped', required
        - `started_at` string, date-time
        - `completed_at` string, date-time
        - `duration_seconds` integer
      - `updated_at` string, date-time, required
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required
  - `page` integer: Current page number (1-indexed). Offset pagination only — omitted in cursor mode, where position comes from the cursor and there is no page number to report. Required-and-1-indexed would otherwise force a `0` onto every cursor response.
  - `limit` integer, required: Number of items per page
  - `total` integer, required: Total number of items across all pages
  - `has_more` boolean, required: Whether there are more pages available
  - `next` string: URL path to next page (offset pagination only; present if has_more is true)
  - `next_cursor` string: Opaque cursor for the next page (cursor pagination only; present if has_more is true)
  - `prev_cursor` string: Opaque cursor for the previous page (cursor pagination only; present when a previous page exists). Send as `ending_before`.

## Other responses

- `400`: Bad request - invalid identifier or filter, or `function_kind` combined with `resource_type=frontend`
- `401`: Unauthorized - invalid or missing token
- `403`: Forbidden - project ownership required
- `500`: Internal server error

## Changes

- **2026-10-07** `23e7875e7c4c`: 1 warning, 2 info
  - removed the optional property `data/items/artifact_version` from the response with the `200` status
  - the endpoint scheme security `ProjectAccessToken` was added to the API
  - added the new optional `query` request parameter `function_kind`
- **2026-09-19** `3a6f365f3f35`: 6 breaking, 22 info
  - added the new path request parameter `id`
  - the response's body type changed from no type to `object` for status `200`
  - the response's body type changed from no type to `object` for status `400`
  - the response's body type changed from no type to `object` for status `401`
  - …24 more
- **2026-08-27** `bb44e98aba2e`: 14 breaking, 8 warning, 2 info
  - the response's body type changed from `object` to no type for status `200`
  - the response's body type changed from `object` to no type for status `400`
  - the response's body type changed from `object` to no type for status `401`
  - the response's body type changed from `object` to no type for status `403`
  - …20 more
- …earlier changes not shown

[Operation history](https://skmtc.dev/kong/apis/volcano-api/changes/projects/:id/deployments/get.md)

---

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