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

# Get workflow content

`GET /api/workflows/{workflow_id}/content`

Retrieves the latest version of a workflow and its JSON content.

## Path parameters

- `workflow_id` string, required

## Response `200`

Success

- WorkflowVersionContentResponse — Full workflow version including the serialized workflow JSON.
  - `created_at` string, date-time, required
  - `created_by` string, required
  - `dependency_asset_ids` string[]
  - `id` string, required
  - `version` integer, required
  - `workflow_json` object, required

## Other responses

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

---

[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)
