---
title: "List deployments across a user's projects"
method: GET
path: "/deployments"
tags: ["Projects"]
---

# List deployments across a user's projects

`GET /deployments`

## Request

- Base URL: `https://api.volcano.dev`
- URL: `https://api.volcano.dev/deployments`
- Auth: HTTP bearer

Lists Function and Frontend deployment attempts across every project the
user owns, newest first. Pass `project_id` to narrow the feed to a single
project.

Scope is project **ownership** (`projects.user_id`). `owner_id` names
whose deployments to return, not who started them — the actor is
`initiated_by_user_id`, which this endpoint does not filter on.

With a user token the scope is always the authenticated user: `owner_id`
may be omitted, or set to that same user, but naming anyone else is
refused with 403. Service callers on the management API must pass it,
since they have no authenticated user.

The owner is not checked for existence: an id with no projects returns an
empty page rather than `404`. Unlike `/users/{id}/usage`, this endpoint is
polled to detect an event, so a caller needs `404` to keep meaning "this
route is not served here" — which is how a consumer notices it is running
against an older release. A mistyped owner therefore reads as "nothing
deployed"; callers that need to tell those apart should verify the user
through `GET /users/{id}` first.

Ordering is selectable. The default is the feed order — most recent
attempt first. `completed_at.asc` orders by completion, oldest first, and
considers only attempts that finished; combined with `limit=1` and a
`status` filter it answers "when did this user first succeed" in one
bounded query.

Both pagination modes are supported, selected exactly as
`/projects/{id}/deployments` selects them: `cursor`/`ending_before` (or a
`limit` with no `page`) uses keyset pagination; otherwise `page`/`limit`
offset pagination. `page` with a cursor, and `cursor` with
`ending_before`, are rejected.

A cursor is bound to every filter *and* to `order`, so changing any of
them mid-pagination rejects the cursor rather than silently skipping or
repeating rows. The keyset position is `(created_at, id)` for
`created_at.desc` and `(completed_at, id)` for `completed_at.asc`.

## Query parameters

- `page` integer
- `limit` integer
- `cursor` string
- `ending_before` string
- `offset` integer
- `owner_id` string
- `project_id` string, uuid
- `created_after` string, date-time
- `resource_type` 'function' | 'frontend'
- `status` 'queued' | 'provisioning' | 'active' | 'degraded' | 'failed' | 'superseded' | 'deleting' | 'deleted'
- `operation` 'deploy' | 'redeploy' | 'update' | 'delete'
- `order` 'created_at.desc' | 'completed_at.asc'

## 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 filter or pagination
- `401`: Unauthorized - invalid or missing token
- `403`: Forbidden - owner_id names a different user
- `500`: Internal server error

## Changes

- **2026-10-07** `23e7875e7c4c`: 1 warning
  - removed the optional property `data/items/artifact_version` from the response with the `200` status
- **2026-09-19** `3a6f365f3f35`: 5 breaking, 26 info
  - 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`
  - the response's body type changed from no type to `object` for status `403`
  - …27 more
- **2026-08-27** `bb44e98aba2e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/kong/apis/volcano-api/changes/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)
