---
title: "List workflow revisions"
method: GET
path: "/workflows/{workflow_id}/revisions"
tags: ["workflows"]
---

# List workflow revisions

`GET /workflows/{workflow_id}/revisions`

Returns revision metadata (id, number, author, message, bytes, sha256, created_at) for the workflow, in reverse-chronological order. Use the `before` cursor to paginate older revisions.

## Path parameters

- `workflow_id` string, uuid, required — workflow identifier

## Query parameters

- `limit` integer
- `before` integer — cursor: return revisions older than this revision number

## Response `200`

OK

- WorkflowListRevisionsResponse — Returned from GET /workflows/:id/revisions.
  - `$schema` string, uri — A URL to the JSON Schema for this object.
  - `revisions` WorkflowRevisionSummary[], nullable, required — Page of revision summaries, newest-first.
    - `author_user_id` string, uuid, required — User who saved the revision.
    - `bytes` integer, required — Size of the code source in bytes.
    - `created_at` string, date-time, required — When the revision was saved.
    - `id` string, uuid, required — Revision identifier.
    - `message` string, nullable, required — Optional commit-style message.
    - `revision` integer, required — Monotonic revision number, starting at 1.
    - `sha256` string, required — SHA-256 of the code source.

## Other responses

- `default` — Error

---

[API](https://skmtc.net/axilioai/apis/axilio-api.md) · [All operations](https://skmtc.net/axilioai/apis/axilio-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/axilioai/axilio-api/versions/108ab4b41051/schema)
