Skip to main content
GET
/
orchestration
/
runs
/
getMetrics
Get run metrics
curl --request GET \
  --url https://api.getcargo.io/v1/orchestration/runs/getMetrics \
  --header 'Authorization: Bearer <token>'
{
  "runMetrics": [
    {
      "nodeUuid": "<string>",
      "totalExecutionsCount": 123,
      "idleExecutionsCount": 123,
      "pendingExecutionsCount": 123,
      "runningExecutionsCount": 123,
      "successExecutionsCount": 123,
      "errorExecutionsCount": 123,
      "cancelledExecutionsCount": 123,
      "skippedExecutionsCount": 123,
      "creditsUsedCount": 123
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Successful response

runMetrics
Run metrics · object[]
required

Aggregated run metrics.