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

# List deployments

`GET /api/v1/functions/{function_id}/deployments`

## Path parameters

- `function_id` string, required

## Response `200`

Deployments, newest first

- object
  - `success` boolean
  - `data` object
    - `deployments` FunctionDeployment[]
      - `id` string, uuid
      - `revision_id` string, uuid — Set when the deployment succeeds
      - `channel` 'console' | 'cli' | 'github'
      - `status` 'queued' | 'building' | 'deploying' | 'ready' | 'failed'
      - `commit_sha` string
      - `error` string
      - `build_duration_ms` integer
      - `started_at` string, date-time
      - `finished_at` string, date-time
      - `created_at` string, date-time

## Other responses

- `401` — Authentication required

## Changes

- **2026-08-20** `efd3c11c5c92` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/rafftechnologies/apis/raff-api/changes/api/v1/functions/:function_id/deployments/get.md)

---

[API](https://skmtc.dev/rafftechnologies/apis/raff-api.md) · [All operations](https://skmtc.dev/rafftechnologies/apis/raff-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/rafftechnologies/raff-api/revisions/119e4aec8f63/schema)
