---
title: "GET /workflows/definitions"
method: GET
path: "/workflows/definitions"
tags: ["Workflows"]
---

# GET /workflows/definitions

`GET /workflows/definitions`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/workflows/definitions`
- Auth: HTTP bearer

## Query parameters

- `page` integer, nullable
- `page_size` integer, nullable

## Response `200`

Workflows across the projects the caller may read, most recently run first

- WorkflowDefinitionsResponse
  - `page` integer, required
  - `page_size` integer, required
  - `total` integer, required
  - `total_pages` integer, required
  - `workflows` WorkflowDefinitionResponse[], required
    - `active_runs` integer, required
    - `completed_runs` integer, required
    - `concurrency` integer, nullable: Runs allowed to execute at once, from the manifest.
    - `environment_id` integer, required
    - `environment_slug` string, required
    - `failed_runs` integer, required
    - `last_run_at` string, date-time, nullable
    - `name` string, required
    - `project_id` integer, required
    - `project_slug` string, required
    - `state` 'available' | 'missing' | 'unknown', required: Whether the environment's current executor declares the workflow.
    - `version` string, nullable

## Other responses

- `401`: Unauthorized
- `403`: Insufficient permissions
- `500`: Access or database failure

## Changes

- **2026-11-21** `c29594b3a46f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/workflows/definitions/get.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
