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

# Get workflow

`GET /api/workflows/{workflow_id}`

Retrieves workflow metadata by ID.

## Path parameters

- `workflow_id` string, required

## Response `200`

Success

- WorkflowResponse — Full workflow entity including metadata and version history.
  - `created_at` string, date-time, required
  - `created_by` string, required
  - `default_view` 'workflow' | 'app'
  - `description` string
  - `forked_from` WorkflowForkedFrom — Reference to the parent workflow from which this workflow was forked.
    - `workflow_id` string
    - `workflow_version_id` string
  - `id` string, required
  - `latest_version` integer, required
  - `name` string
  - `updated_at` string, date-time, required

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Workflow not found
- `500` — Internal server error

## Changes

- **2026-06-03** `8560879e6188` — 2 breaking, 7 info
  - removed the required property `error` from the response with the `401` status
  - removed the required property `error` from the response with the `404` status
  - for the `path` request parameter `workflow_id`, the type/format was generalized from `string`/`uuid` to `string`/``
  - added the optional property `details` to the response with the `403` status
  - …5 more
- **2026-05-22** `c4db9e1283df` — 2 breaking, 3 warning, 6 info
  - the response property `name` became optional for the status `200`
  - the `id` response's property type/format changed from `string`/`uuid` to `string`/`` for status `200`
  - removed the optional property `latest_version_id` from the response with the `200` status
  - removed the optional property `share_id` from the response with the `200` status
  - …7 more
- **2026-05-22** `09a5075587c8` — 3 info
  - api operation id `getCloudWorkflow` removed and replaced with `getWorkflow`
  - added the non-success response with the status `403`
  - added the non-success response with the status `500`
- **2026-05-08** `c9640fded659` — 1 info
  - endpoint added
- **2026-04-24** `a66055fa384e` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/comfy-org/apis/comfyui-api/changes/api/workflows/:workflow_id/get.md)

---

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