---
title: "List Runs"
method: GET
path: "/api/v1/workspaces/{workspace_id}/runs"
tags: ["runs"]
---

# List Runs

`GET /api/v1/workspaces/{workspace_id}/runs`

## Path parameters

- `workspace_id` string, uuid4, required

## Response `200`

Successful Response

- ListRunsResponseDto
  - `data` RunResponseDto[], required
    - `version` string
    - `id` string
    - `created_at` string, date-time
    - `name` string, required
    - `status` 'UPCOMING' | 'PENDING' | 'RUNNING' | 'SKIPPED' | 'SKIPPED_NOTHING_TO_RUN' | 'PASSED_NOT_YET_REPORTED' | 'FAILED_NOT_YET_REPORTED' | 'PASSED' | 'FAILED' | 'CANCELED' | 'SUSPENDED'
    - `to_be_started_at` string, date-time, required
    - `started_at` string, date-time, nullable
    - `schedule_id` string, required
    - `template` RunTemplate, required
      - `workspace_id` string, required
      - `workflows` string[], nullable
      - `runner_assignment` RunnerAssignment, required
        - `ids` string[]
        - `host` 'SELF' | 'ASKUI', required
        - `tags` string[]
      - `data` object
    - `ended_at` string, date-time, nullable
    - `no` integer, required
    - `schedule` ScheduleReponseDto, required
      - `version` string
      - `id` string
      - `created_at` string, date-time
      - `name` string, required
      - `status` 'ACTIVE' | 'SUSPENDED' | 'ENDED'
      - `started_at` string, date-time, required
      - `ended_at` string, date-time, nullable
      - `schedule` string, nullable
      - `ended_after` integer, nullable
      - `run_template` RunTemplate, required
        - `workspace_id` string, required
        - `workflows` string[], nullable
        - `runner_assignment` RunnerAssignment, required
          - `ids` string[]
          - `host` 'SELF' | 'ASKUI', required
          - `tags` string[]
        - `data` object
      - `runs_count` integer
      - `next_run_to_be_started_at` string, date-time, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/askui/apis/askui-workspaces-api.md) · [All operations](https://skmtc.dev/askui/apis/askui-workspaces-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/askui/askui-workspaces-api/revisions/b796c74292ac/schema)
