---
title: "List function deployments"
method: GET
path: "/projects/{id}/functions/{functionId}/deployments"
tags: ["Functions"]
---

# List function deployments

`GET /projects/{id}/functions/{functionId}/deployments`

## Request

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

## Path parameters

- `id` string, uuid, required
- `functionId` string, uuid, required

## Query parameters

- `page` integer
- `limit` integer

## Response `200`

Successful response

- PaginatedFunctionDeployments
  - `data` FunctionDeployment[], required
    - `id` string, uuid, required
    - `function_id` string, uuid, required
    - `project_id` string, uuid, required
    - `batch_id` string, uuid
    - `operation` 'deploy' | 'update' | 'delete', required
    - `status` 'queued' | 'provisioning' | 'active' | 'failed' | 'superseded' | 'deleting' | 'deleted', required
    - `deploy_source` 'git' | 'cli' | 'web' | 'api' | 'system' | 'unknown', required: What initiated this deployment.
    - `initiated_by` string: Platform user that triggered a request-initiated deployment; absent for git and system deployments.
    - `build_duration_seconds` integer: Total build time recorded for this deployment, in seconds.
    - `build_count` integer: Number of completed builds included in build_duration_seconds.
    - `build_duration_recorded_at` string, date-time: When the build time was last recorded.
    - `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
    - `error_message` string
    - `completed_at` string, date-time
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required
  - `page` integer, required: Current page number (1-indexed)
  - `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 (only present if has_more is true)

## Other responses

- `404`: Function not found

## Changes

- **2026-10-07** `23e7875e7c4c`: 6 warning, 4 info
  - removed the optional property `data/items/artifact_bucket` from the response with the `200` status
  - removed the optional property `data/items/artifact_key` from the response with the `200` status
  - removed the optional property `data/items/artifact_version` from the response with the `200` status
  - removed the optional property `data/items/codebuild_build_count` from the response with the `200` status
  - …6 more
- **2026-09-19** `3a6f365f3f35`: 4 breaking, 10 info
  - added the new path request parameter `functionId`
  - 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 `404`
  - …10 more
- **2026-08-27** `bb44e98aba2e`: 8 breaking, 6 warning
  - 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 `404`
  - removed the required property `data` from the response with the `200` status
  - removed the required property `error` from the response with the `404` status
  - …10 more
- …earlier changes not shown

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