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

# List Runs

`GET /api/v1/runs/`

List runs visible to the current user.

## Query parameters

- `offset` integer
- `limit` integer
- `sort_by` string, nullable
- `sort_dir` 'asc' | 'desc'
- `filter_q` string, nullable

## Response `200`

Successful Response

- RunListResponse
  - `data` RunSummary[], required
    - `id` string, uuid, required
    - `status` 'PENDING' | 'SETUP' | 'RUNNING' | 'UPLOADING' | 'COMPLETED' | 'FAILED' | 'ERROR' | 'CANCELLED', required — Run status, mirrors Snakedispatch's JobStatus.
    - `owner` UserPublicResponse, required — Minimal public user info for embedding in other responses
      - `id` string, uuid, required
      - `username` string, required
      - `avatar_url` string, nullable
    - `visibility` 'public' | 'private' — Resource visibility options for access control
    - `backend` BackendPublicResponse, required — Backend info visible to regular users (no internal URL).
      - `id` string, uuid, required
      - `name` string, required
      - `is_active` boolean, required
    - `created_at` string, date-time, required
    - `started_at` string, date-time, nullable
    - `completed_at` string, date-time, nullable
    - `workflow` string, required
    - `configfile` string, nullable
    - `git_ref` string, nullable
    - `git_sha` string, nullable
    - `total_job_count` integer, nullable
    - `jobs_finished` integer, nullable
  - `meta` RunListMeta, required — Extended pagination meta with run-specific filter options.
    - `total` integer, required
    - `offset` integer, required
    - `limit` integer, required
    - `count` integer, required
    - `statuses` string[], nullable
    - `workflows` string[], nullable
    - `owners` UserPublicResponse[], nullable
      - `id` string, uuid, required
      - `username` string, required
      - `avatar_url` string, nullable
    - `git_refs` string[], nullable
    - `configfiles` string[], nullable
    - `backends` BackendPublicResponse[], nullable
      - `id` string, uuid, required
      - `name` string, required
      - `is_active` boolean, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/pypsa/apis/pypsa-app.md) · [All operations](https://skmtc.dev/pypsa/apis/pypsa-app/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pypsa/pypsa-app/revisions/a9fc864817c3/schema)
