---
title: "List workflows"
method: GET
path: "/v1/workspaces/{workspaceId}/workflows"
tags: ["Workflows"]
---

# List workflows

`GET /v1/workspaces/{workspaceId}/workflows`

Returns a list of workflows.

## Path parameters

- `workspaceId` string, required

## Query parameters

- `limit` integer
- `offset` integer

## Response `200`

Paginated list of items

- object
  - `items` Workflow[], required
    - `id` string, required
    - `inputs` WorkflowInput[], required
      - union
        - WorkflowStringInput
          - `default` string
          - `key` string, required
          - `type` 'string', required
        - WorkflowNumberInput
          - `default` number
          - `key` string, required
          - `type` 'number', required
        - WorkflowBooleanInput
          - `default` boolean
          - `key` string, required
          - `type` 'boolean', required
        - union
          - WorkflowManualArrayInput
            - `default` object[]
              - …
            - `key` string, required
            - `type` 'array', required
          - WorkflowSelectorArrayInput
            - `key` string, required
            - `selector` object, required
              - …
            - `type` 'array', required
        - WorkflowObjectInput
          - `default` object
          - `key` string, required
          - `type` 'object', required
    - `jobAgents` WorkflowJobAgent[], required
      - `config` object, required — Configuration for the job agent
      - `name` string, required
      - `ref` string, required — Reference to the job agent
      - `selector` string, required — CEL expression to determine if the job agent should dispatch a job
    - `name` string, required
    - `slug` string, required
  - `limit` integer, required — Maximum number of items returned
  - `offset` integer, required — Number of items skipped
  - `total` integer, required — Total number of items available

## Other responses

- `400` — Invalid request

## Changes

> 50 revisions in range; 1 could not be searched.

- **2026-05-14** `14f652e12089` — 1 info
  - added the required property `items/items/slug` to the response with the `200` status
- **2026-03-30** `9c961c6052c4` — 1 breaking, 1 info
  - removed the required property `items/items/jobs` from the response with the `200` status
  - added the required property `items/items/jobAgents` to the response with the `200` status
- **2026-03-12** `95ad4756775e` — 1 breaking, 1 info
  - the `items/items/inputs/items/oneOf[#/components/schemas/WorkflowArrayInput]/oneOf[#/components/schemas/WorkflowSelectorArrayInput]/selector/default` response's property type/format changed from ``/`` to `string`/`` for status `200`
  - removed `#/components/schemas/JsonSelector, #/components/schemas/CelSelector` from the `items/items/inputs/items/oneOf[#/components/schemas/WorkflowArrayInput]/oneOf[#/components/schemas/WorkflowSelectorArrayInput]/selector/default` response property `oneOf` list for the response status `200`
- …earlier changes not shown

[Full history](https://skmtc.dev/ctrlplanedev/apis/ctrlplane-api/changes/v1/workspaces/:workspaceId/workflows/get.md)

---

[API](https://skmtc.dev/ctrlplanedev/apis/ctrlplane-api.md) · [All operations](https://skmtc.dev/ctrlplanedev/apis/ctrlplane-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ctrlplanedev/ctrlplane-api/revisions/156e0d264995/schema)
