---
title: "List Prefect Runs"
method: GET
path: "/api/admin/prefect/runs"
tags: ["admin-prefect"]
---

# List Prefect Runs

`GET /api/admin/prefect/runs`

Lists flow runs from local Prefect instance with resolved flow and deployment names.

## Response `200`

Successful Response

- PrefectRunsResponse
  - `connected` boolean, required
  - `prefect_api_url` string, nullable
  - `prefect_ui_url` string, nullable
  - `runs` PrefectFlowRun[]
    - `id` string, required
    - `name` string, required
    - `flow_name` string, required
    - `deployment_name` string, nullable
    - `state_name` string, required
    - `state_type` string, required
    - `start_time` string, date-time, nullable
    - `expected_start_time` string, date-time, nullable
    - `total_run_time` number, nullable
    - `run_count` integer
    - `deployment_id` string, nullable
  - `error` string, nullable

---

[API](https://skmtc.net/outcallerai/apis/fastapi.md) · [All operations](https://skmtc.net/outcallerai/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/outcallerai/fastapi/revisions/4cbf44e1d4fd/schema)
