---
title: "GET /projects/{project_id}/environments/{environment_id}/workflows"
method: GET
path: "/projects/{project_id}/environments/{environment_id}/workflows"
tags: ["Workflows"]
---

# GET /projects/{project_id}/environments/{environment_id}/workflows

`GET /projects/{project_id}/environments/{environment_id}/workflows`

## Request

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

## Path parameters

- `project_id` integer, required
- `environment_id` integer, required

## Response `200`

Workflows of the environment, whether it can run them, and its credential status

- WorkflowsOverviewResponse
  - `credential` WorkflowCredentialStatusResponse, required: The environment's workflow credential, never its token.
    - `configured` boolean, required
    - `created_at` string, date-time, nullable
    - `last_used_at` string, date-time, nullable
    - `prefix` string, nullable: First characters of the token, to recognise it.
  - `executor` WorkflowExecutorCapabilityResponse, required: Whether the environment can run workflows. When `configured` is false, `reason` says what is missing and `setup_path` where to fix it.
    - `configured` boolean, required
    - `deployment_id` integer, nullable: The deployment whose replicas would be invoked.
    - `reason` string, nullable
    - `replicas` integer, required: Healthy replicas found.
    - `sdk` string, nullable: SDK name and version reported by the manifest.
    - `setup_path` string, nullable
  - `workflows` WorkflowSummaryResponse[], required
    - `active_runs` integer, required
    - `completed_runs` integer, required
    - `concurrency` integer, nullable: Runs allowed to execute at once, from the manifest.
    - `defined` boolean, required: False when runs exist for a workflow the deployment no longer defines.
    - `failed_runs` integer, required
    - `last_run_at` string, date-time, nullable
    - `name` string, required
    - `version` string, nullable

## Other responses

- `401`: Unauthorized
- `403`: Insufficient permissions
- `404`: Environment not found
- `500`: Internal server error

## Changes

- **2026-11-15** `188ea295ffc6`: 1 info
  - endpoint added
- **2026-11-15** `72c32d8dee65`: 1 breaking
  - api path removed without deprecation
- **2026-11-14** `101ef74660bc`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/projects/:project_id/environments/:environment_id/workflows/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)
