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

# List workflows

`GET /agents/v2/workflows`

## Request

- Base URL: `https://odyssey.asteroid.ai`
- URL: `https://odyssey.asteroid.ai/agents/v2/workflows`
- Auth: API key in header `X-Api-Key`

List the workflows of an organization. Pass tagIds to return only workflows with those tags.

## Query parameters

- `organizationId` string, uuid
- `pageSize` integer
- `page` integer
- `searchName` string
- `sortField` 'name' | 'created_at'
- `sortDirection` 'asc' | 'desc'
- `tagIds` CommonUuid[]
- `tagMatch` 'any' | 'all': How multiple tagIds combine when filtering workflows
- `withoutTagGroupId` string, uuid

## Response `200`

The request has succeeded.

- object
  - `items` WorkflowsWorkflowBase[], required
    - `createdAt` string, date-time, required
    - `id` string, uuid, required
    - `name` string, required
    - `organizationId` string, uuid
    - `userId` string, uuid, required
  - `page` integer, required
  - `pageSize` integer, required
  - `total` integer, required

## Other responses

- `400`: The server could not understand the request due to invalid syntax.
- `404`: The server cannot find the requested resource.
- `default`: An unexpected error response.

---

[API](https://skmtc.dev/asteroid/apis/agent-service.md) - [All operations](https://skmtc.dev/asteroid/apis/agent-service/llms.txt) - [OpenAPI document](https://skmtc.dev/asteroid/apis/agent-service/revisions/ccc134d1d510?raw)
