---
title: "List Workflows"
method: GET
path: "/v2/workflows"
tags: ["Workflow API"]
---

# List Workflows

`GET /v2/workflows`

List all workflows for a team.

## Query parameters

- `teamId` string — The ID of the team.
- `pageSize` integer — Maximum number of results to return. Default is 1000, maximum is 2000.
- `pageToken` string — Token for pagination. Leave empty for the first request.

## Response `200`

Success

- SvflowPublicapiListWorkflowsResponse
  - `data` SvflowPubapimodelsWorkflow[] — The list of workflows.
    - `id` string — The ID of the workflow.
    - `teamId` string — The ID of the team that the workflow belongs to.
    - `name` string — The name of the workflow.
    - `description` string — A description of the workflow.
    - `requireFormConfirmation` boolean — Whether the workflow requires form confirmation.
    - `content` string — The content/code of the workflow.
    - `isPublished` boolean — Whether the workflow is published. Set to true to publish the workflow.
    - `hasUnpublishedChanges` boolean — Whether there are unpublished changes to the workflow (computed by server).
    - `tagIds` string[] — IDs of tags associated with this workflow.
    - `showInServiceCatalog` boolean — Whether this workflow is listed in the Service Catalog.
    - `serviceCatalogDescription` string — Description shown at the top of the Service Catalog run form.
    - `scopedId` string — The copy-invariant scoped ID of the workflow (e.g. "wf_..."), stable across cross-team copies.
    - `folderId` string, nullable — The ID of the folder the workflow lives in, if any. Populated on the single-workflow responses (Get/Create/Update and the folder-move endpoint); omitted from ListWorkflows responses — fetch the workflow to read its folder membership.
  - `nextPageToken` string, nullable — Token for retrieving the next page of results. Empty if no more results.

## Other responses

- `default` — Error

---

[API](https://skmtc.net/serval/apis/serval-public-api.md) · [All operations](https://skmtc.net/serval/apis/serval-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/serval/serval-public-api/versions/0549515e9384/schema)
