---
title: "Get a workflow revision"
method: GET
path: "/workflows/{workflow_id}/revisions/{revision_id}"
tags: ["workflows"]
---

# Get a workflow revision

`GET /workflows/{workflow_id}/revisions/{revision_id}`

Returns a single revision including its full source. Defense-in-depth: the revision must belong to the named workflow or it's treated as missing.

## Path parameters

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

## Response `200`

OK

- WorkflowRevisionDetail — One saved code revision, including the full code source.
  - `$schema` string, uri — A URL to the JSON Schema for this object.
  - `author_user_id` string, required — User who saved the revision.
  - `bytes` integer, required — Size of the code source in bytes.
  - `code_source` string, required — Full code source of the revision.
  - `created_at` string, date-time, required — When the revision was saved.
  - `id` string, 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.dev/axilioai/apis/axilio-api.md) · [All operations](https://skmtc.dev/axilioai/apis/axilio-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/axilioai/axilio-api/revisions/8a66f81813b3/schema)
