---
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.
  - `$schema` string, uri — A URL to the JSON Schema for this object.
  - `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.net/axilioai/apis/axilio-api.md) · [All operations](https://skmtc.net/axilioai/apis/axilio-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/axilioai/axilio-api/versions/108ab4b41051/schema)
