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

# List function deployments

`GET /v1/functions/{functionId}/deployments`

List a function's deployment history, newest first. Source code is omitted; fetch a single deployment via GET /v1/functions/deployments/{deploymentId} for full details.

## Path parameters

- `functionId` string, required

## Query parameters

- `limit` integer

## Response `200`

Deployment history.

- object
  - `deployments` object[], required
    - `id` string
    - `version` integer
    - `status` 'pending' | 'bundling' | 'uploading' | 'publishing' | 'active' | 'failed' | 'superseded' — Stage of a function deployment.
    - `bundleSizeBytes` integer, nullable
    - `errorMessage` string, nullable
    - `isActive` boolean
    - `deployedAt` string, date-time, nullable
    - `createdAt` string, date-time

## Other responses

- `401` — Unauthorized.
- `404` — Function not found.

---

[API](https://skmtc.net/zavudev/apis/zavu-unified-messaging-layer-api.md) · [All operations](https://skmtc.net/zavudev/apis/zavu-unified-messaging-layer-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zavudev/zavu-unified-messaging-layer-api/versions/07b87b6ae707/schema)
