---
title: "List runtime revisions"
method: GET
path: "/v1/runtimes/{id}/revisions"
tags: ["Runtime"]
---

# List runtime revisions

`GET /v1/runtimes/{id}/revisions`

Lists all revisions for a runtime.

## Path parameters

- `id` string, required

## Response `200`

OK

- ListRuntimeRevisionsResponse
  - `revisions` RuntimeRevision[], required
    - `additional_python_imports` string
    - `id` string, required
    - `manifest_file` ManifestFile, required
      - `contents` string, required
      - `name` 'requirements.txt' | 'package.json', required
    - `runtime_id` string, required
    - `status` 'pending' | 'building' | 'succeeded' | 'failed' | 'cancelled', required

## Other responses

- `401` — Unauthenticated error response

## Changes

- **2025-03-19** `45af77c4f3bd` — 1 info
  - removed the `unspecified` enum value from the `revisions/items/status` response property for the response status `200`
- **2025-02-05** `4ca61d8b4e33` — 1 breaking
  - the `code` response's property type/format changed from `integer`/`int32` to `integer`/`` for status `401`
- **2025-01-15** `fbf471c508c8` — 1 warning
  - added the new `package.json` enum value to the `revisions/items/manifest_file/name` response property for the response status `200`
- **2024-12-19** `54bca7639961` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/riza-io/apis/execute/changes/v1/runtimes/:id/revisions/get.md)

---

[API](https://skmtc.dev/riza-io/apis/execute.md) · [All operations](https://skmtc.dev/riza-io/apis/execute/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/riza-io/execute/revisions/bab65e0b0c2b/schema)
