---
title: "Get run metrics"
method: POST
path: "/orchestration/runs/metrics"
tags: ["Orchestration - Runs"]
---

# Get run metrics

`POST /orchestration/runs/metrics`

Get metrics for orchestration runs

## Request body

- object — Request body schema.
  - `workflowUuid` string, uuid, required — Workflow identifier.
  - `releaseUuid` string, uuid — Release identifier to filter by.
  - `batchUuid` string, uuid — Batch identifier to filter by.
  - `createdAfter` string — Include runs created after this timestamp.
  - `createdBefore` string — Include runs created before this timestamp.

## Response `200`

Successful response

- object
  - `runMetrics` object[], required — Aggregated run metrics.
    - `nodeUuid` string, required
    - `totalExecutionsCount` number, required
    - `idleExecutionsCount` number, required
    - `pendingExecutionsCount` number, required
    - `runningExecutionsCount` number, required
    - `successExecutionsCount` number, required
    - `errorExecutionsCount` number, required
    - `cancellingExecutionsCount` number, required
    - `cancelledExecutionsCount` number, required
    - `skippedExecutionsCount` number, required
    - `creditsUsedCount` number, required

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `404` — Not found
- `500` — Internal server error

---

[API](https://skmtc.net/getcargo/apis/cargo-api.md) · [All operations](https://skmtc.net/getcargo/apis/cargo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/getcargo/cargo-api/revisions/1d5a19e01d83/schema)
