---
title: "Get Prefect Stats"
method: GET
path: "/api/admin/prefect/stats"
tags: ["admin-prefect"]
---

# Get Prefect Stats

`GET /api/admin/prefect/stats`

## 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/stats`
- Auth: none declared

Returns flow runs statistics for the dashboard cards.

## Response `200`

Successful Response

- PrefectStatsResponse
  - `connected` boolean, required
  - `prefect_api_url` string, nullable
  - `prefect_ui_url` string, nullable
  - `total_runs_24h` integer
  - `running_count` integer
  - `failed_count` integer
  - `success_rate` number
  - `error` string, nullable

## Changes

- **2026-08-28** `6155db644bab`: 1 info
  - added the optional property `error` to the response with the `200` status

[Operation history](https://skmtc.dev/outcallerai/apis/outcallerai-api/changes/api/admin/prefect/stats/get.md)

---

[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)
