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

# List Workflow Versions

`GET /workflow/workflows/{workflow_id}/versions`

## Request

- Base URL: `https://api.anyreach.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.anyreach.ai/workflow/workflows/{workflow_id}/versions`
- Auth: HTTP bearer

Get all versions for a specific workflow with pagination

## Path parameters

- `workflow_id` string, required

## Query parameters

- `created_after` string, date-time, nullable: Filter workflows created after this datetime
- `created_before` string, date-time, nullable: Filter workflows created before this datetime
- `updated_after` string, date-time, nullable: Filter workflows updated after this datetime
- `updated_before` string, date-time, nullable: Filter workflows updated before this datetime
- `is_published` boolean, nullable: Filter workflows updated before this datetime
- `limit` integer: Number of items per page
- `cursor` string: Cursor for pagination

## Headers

- `x-anyreach-org` string, nullable: Organization ID for user PATs (pat_ prefix tokens)

## Response `200`

Successful Response

- PaginatedResponseWorkflowVersionSchema
  - `data` WorkflowVersionSchema[], required
    - `id` string, uuid, required
    - `workflow_id` string, uuid, required
    - `version` integer, required
    - `organization_id` string, required
    - `is_published` boolean, required
    - `is_live` boolean, required
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required
    - `created_by` string, nullable
    - `modified_by` string, nullable
    - `definition` WorkflowOutput, required
    - `starting_step` string, nullable, required
  - `pagination` RoutesWorkflowModelsCommonPaginationMeta, required
    - `limit` integer, required
    - `next_cursor` string, nullable
    - `total` integer, nullable
    - `offset` integer, nullable

## Other responses

- `404`: Not found
- `422`: Validation Error

---

[API](https://skmtc.dev/anyreach/apis/anyreach-api.md) - [All operations](https://skmtc.dev/anyreach/apis/anyreach-api/llms.txt) - [OpenAPI document](https://skmtc.dev/anyreach/apis/anyreach-api/revisions/2eddf40c8c93?raw)
