---
title: "Get workflow stats"
method: GET
path: "/runs/stats/{workflow_id}"
tags: ["Runs"]
---

# Get workflow stats

`GET /runs/stats/{workflow_id}`

Returns total run count + success rate for the given workflow, scoped to the caller's user.

## Path parameters

- `workflow_id` string, uuid, required — workflow identifier

## Response `200`

OK

- RunStatsResponse — RunStatsResponse summarizes run statistics for a workflow or organization.
  - `success_rate` number, double, required — Fraction of completed+failed runs that succeeded, from 0.0 to 1.0 (multiply by 100 for a percentage). Note: total_runs counts all states, so it is a larger population than this rate's denominator.
  - `total_runs` integer, required — Total number of runs.

## Other responses

- `default` — Error

---

[API](https://skmtc.dev/axilioai/apis/axilio-api-2.md) · [All operations](https://skmtc.dev/axilioai/apis/axilio-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/axilioai/axilio-api-2/revisions/261c340a3f6d/schema)
