---
title: "List Workflow States"
method: GET
path: "/api/v4/{workspace-slug}/workflow-states"
---

# List Workflow States

`GET /api/v4/{workspace-slug}/workflow-states`

## Request

- Base URL: `https://api.app.shortcut.com`
- URL: `https://api.app.shortcut.com/api/v4/{workspace-slug}/workflow-states`
- Auth: HTTP bearer

Returns a paginated list of all Workflow States in the Workspace.

## Path parameters

- `workspace-slug` string, required

## Query parameters

- `limit` integer
- `cursor` string
- `order_by` 'position'
- `order_dir` 'desc' | 'asc'
- `filter` 'all'
- `fields` string

## Response `200`

Resource

- WorkflowStateEntityListWrapper
  - `$schema` string, required: The URI for the json-schema for this response.
  - `current_items` integer, required: The number of items on the current page.
  - `current_page` integer, required: The number of the current page.
  - `entities` WorkflowState[], required: The entities for this page.
    - `color` string, nullable: The color of the Workflow State.
    - `created_at` string, date-time: The time/date the Workflow State was created.
    - `description` string: The description of what sort of Stories belong in that Workflow State.
    - `entity_type` 'workflow-state': The type of this entity.
    - `id` integer: The unique ID of the Workflow State.
    - `name` string: The name of the Workflow State.
    - `num_stories` integer: The number of Stories currently in that Workflow State.
    - `num_story_templates` integer: The number of Story Templates associated with that Workflow State.
    - `position` integer: The position that the Workflow State is in, starting with 0 at the left.
    - `type` string: The type of the Workflow State (backlog, unstarted, started, done).
    - `updated_at` string, date-time: The time/date the Workflow State was last updated.
    - `verb` string, nullable: The verb that triggers a move to that Workflow State when making VCS commits.
    - `workflow` WorkflowSlim: The default Workflow for the Workspace the caller is authenticated against.
      - `entity_type` 'workflow:slim', required: The type of this entity.
      - `id` integer, required: The unique ID of the Workflow.
      - `name` string, required: The name of the Workflow.
      - `uri` string, required: A resolvable URI for the entity that will return the full representation.
  - `total_items` integer, required: The number of total items across all pages.
  - `total_pages` integer, required: The total number of pages.
  - `next_page_url` string: A URL to get the next page. Will be absent on the last page.

## Other responses

- `400`: Schema mismatch
- `404`: Resource does not exist
- `422`: Unprocessable

---

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