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

# List Prefect Runs

`GET /api/admin/prefect/runs`

## Request

- Base URL: `https://api.outcallerai.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.outcallerai.com/api/admin/prefect/runs`
- Auth: none declared

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.dev/outcallerai/apis/outcallerai-api.md) - [All operations](https://skmtc.dev/outcallerai/apis/outcallerai-api/llms.txt) - [OpenAPI document](https://skmtc.dev/outcallerai/apis/outcallerai-api/revisions/40736cf433b4?raw)
