---
title: "List workflows"
method: GET
path: "/api/workflows"
tags: ["workflows"]
---

# List workflows

`GET /api/workflows`

Returns a paginated list of workflows for the authenticated user in the current workspace.

## Query parameters

- `limit` integer
- `offset` integer
- `name` string
- `default_view` 'workflow' | 'app'
- `sort` 'create_time' | 'update_time' | 'name'
- `order` 'asc' | 'desc'

## Response `200`

Success

- WorkflowListResponse — Paginated list of saved workflows.
  - `data` WorkflowResponse[], required
    - `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
  - `pagination` PaginationInfo, required — Pagination metadata included in list responses. Supports both legacy offset/limit pagination and cursor-based pagination. When cursor-based pagination is used, `next_cursor` is the primary pagination token and `offset`/`total` may be zero.
    - `has_more` boolean, required — Whether more items are available beyond this page
    - `limit` integer, required — Items per page
    - `next_cursor` string — Opaque cursor for the next page. Pass this value as the `after` query parameter on the next request. Empty or absent when there are no more results.
    - `offset` integer, required — Current offset (0-based). Deprecated: use cursor-based pagination.
    - `total` integer, required — Total number of items matching filters (may be 0 when using cursor pagination)

## Other responses

- `401` — Unauthorized
- `500` — Internal server error

---

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