---
title: "List Function Revisions"
method: GET
path: "/functions/{function_id}/revisions"
tags: ["functions"]
deprecated: true
---

# List Function Revisions

`GET /functions/{function_id}/revisions`

> **Deprecated.**

Get all revisions for a function with pagination.

**Deprecated.** Revision history is no longer a supported part of the
public API; clients should always use the latest revision via the
standard function endpoints. This endpoint will be removed in a future
release.

Returns a single-item list containing the latest revision of the
function. ``offset`` and ``limit`` are accepted for backwards
compatibility but ignored.

## Path parameters

- `function_id` string, uuid, required — The id of the function to get revisions for

## Query parameters

- `offset` integer, nullable — The offset of the revisions to get
- `limit` integer, nullable — The limit of the revisions to get

## Response `200`

Successful Response

- PaginatedResponseListFunctionRevisionResponse
  - `meta` Meta, required
    - `total_count` integer, required — Total number of items in the collection
  - `data` ListFunctionRevisionResponse[], required — List of items returned in the response
    - `id` string, uuid, required
    - `configuration` object, required
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, nullable

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `402` — Payment Required (out of credits)
- `404` — Not Found
- `422` — Request Validation Error

---

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