v12

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-014994227.2 KB
runs

Get workflow stats

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

get/runs/stats/{workflow_id}

Path parameters

workflow_idstring uuid required

workflow identifier

workflow identifier

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

success_ratenumber 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_runsinteger required

Total number of runs.

Example response

{
  "$schema": "/api/v1/RunStatsResponse.json"
}