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

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

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

## 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/runs`
- Auth: HTTP bearer

## Path parameters

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

## Query parameters

- `status` 'queued' | 'running' | 'sleeping' | 'waiting' | 'retrying' | 'completed' | 'failed' | 'cancelled' | 'stuck', nullable: Where a run is in its lifecycle (ADR-106 §3).
- `workflow` string, nullable
- `page` integer, nullable
- `page_size` integer, nullable

## Response `200`

Runs, newest first

- WorkflowRunListResponse
  - `page` integer, required
  - `page_size` integer, required
  - `runs` WorkflowRunResponse[], required
    - `attempt` integer, required: Invocations so far.
    - `awaited_event` WorkflowAwaitedEventResponse, nullable: The event a waiting run is suspended on.
      - `key` string, nullable
      - `name` string, required
    - `blocked_reason` string, nullable: Why the run is not progressing (no replica, invocation failures).
    - `consecutive_failures` integer, required
    - `created_at` string, date-time, required
    - `due_at` string, date-time, nullable: When the run is next runnable.
    - `environment_id` integer, required
    - `error_kind` string, nullable: Category of the failure: `step_failed`, `workflow_failed`, `incompatible`, `payload_too_large`, `cancelled`.
    - `finished_at` string, date-time, nullable
    - `has_error` boolean, required
    - `has_input` boolean, required
    - `has_output` boolean, required
    - `id` string, uuid, required
    - `idempotency_key` string, nullable
    - `input_bytes` integer, required
    - `journal_bytes` integer, required
    - `lease_expires_at` string, date-time, nullable
    - `output_bytes` integer, required
    - `parent_run_id` string, uuid, nullable
    - `project_id` integer, required
    - `started_at` string, date-time, nullable
    - `started_by_credential_id` integer, nullable
    - `started_by_user_id` integer, nullable
    - `status` 'queued' | 'running' | 'sleeping' | 'waiting' | 'retrying' | 'completed' | 'failed' | 'cancelled' | 'stuck', required: Where a run is in its lifecycle (ADR-106 §3).
    - `step_count` integer, required
    - `updated_at` string, date-time, required
    - `workflow` string, required
  - `total` integer, required
  - `total_pages` integer, required

## Other responses

- `400`: Invalid filter
- `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/runs/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)
