---
title: "List function revisions"
method: GET
path: "/functions/{functionName}/revisions"
tags: ["functions"]
---

# List function revisions

`GET /functions/{functionName}/revisions`

Returns revisions for a function by name.

## Path parameters

- `functionName` string, required

## Response `200`

successful operation

- RevisionMetadata[]
  - `active` boolean — Is the revision active
  - `canary` boolean — Is the revision canary
  - `createdAt` string — Revision created at
  - `createdBy` string — Revision created by
  - `id` string — Revision ID
  - `previousActive` boolean — Is the revision previous active
  - `status` string — Status of the revision
  - `trafficPercent` integer — Percent of traffic to the revision

---

[API](https://skmtc.net/blaxel/apis/blaxel-control-plane.md) · [All operations](https://skmtc.net/blaxel/apis/blaxel-control-plane/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/blaxel/blaxel-control-plane/versions/dfa264bc72ee/schema)
