---
title: "Get all runs"
method: GET
path: "/run/{code}"
tags: ["runs"]
---

# Get all runs

`GET /run/{code}`

This method allows to retrieve all runs stored in selected project.

## Path parameters

- `code` string, required

## Query parameters

- `search` string
- `status` string
- `milestone` integer
- `environment` integer
- `from_start_time` integer
- `to_start_time` integer
- `limit` integer
- `offset` integer
- `include` string

## Response `200`

A list of all runs.

- RunListResponse
  - `status` boolean
  - `result` object
    - `total` integer
    - `filtered` integer
    - `count` integer
    - `entities` Run[]
      - `id` integer
      - `run_id` integer
      - `title` string
      - `description` string, nullable
      - `status` integer
      - `status_text` string
      - `start_time` string, date-time, nullable
      - `end_time` string, date-time, nullable
      - `public` boolean
      - `stats` object
        - `total` integer
        - `statuses` object
        - `untested` integer
        - `passed` integer
        - `failed` integer
        - `blocked` integer
        - `skipped` integer
        - `retest` integer
        - `in_progress` integer
        - `invalid` integer
      - `time_spent` integer — Time in ms.
      - `elapsed_time` integer — Time in ms.
      - `environment` object, nullable
        - `title` string
        - `description` string
        - `slug` string
        - `host` string
      - `milestone` object, nullable
        - `title` string
        - `description` string
      - `custom_fields` CustomFieldValue[]
        - `id` integer
        - `value` string
      - `tags` TagValue[]
        - `title` string
        - `internal_id` integer
      - `cases` integer[]
      - `plan_id` integer, nullable
      - `configurations` integer[]
      - `external_issue` object, nullable
        - `id` string
        - `type` string
        - `link` string, uri

## Other responses

- `400` — Bad Request.
- `401` — Unauthorized.
- `403` — Forbidden.
- `404` — Not Found.
- `429` — Too Many Requests.

---

[API](https://skmtc.dev/qase/apis/qase-io-testops-api-v1.md) · [All operations](https://skmtc.dev/qase/apis/qase-io-testops-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/qase/qase-io-testops-api-v1/revisions/12ddc644fac5/schema)
