Skip to main content
GET
/
v1
/
regions
/
global
/
workflows
/
metrics
Get workflow metrics
const options = {method: 'GET'};

fetch('https://api.example.com/v1/regions/global/workflows/metrics', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "success": true,
  "data": {
    "totalRuns": 123,
    "successRate": 123,
    "averageDuration": 123,
    "activeRuns": 123,
    "failureRate": 123,
    "period": "<string>"
  }
}

Query Parameters

period
enum<string>
default:24h

Metrics aggregation period

Available options:
1h,
24h,
7d,
30d

Response

200 - application/json

Workflow metrics

success
enum<boolean>
Available options:
true
data
object

Aggregate workflow performance metrics