---
title: "Get record metrics"
method: POST
path: "/orchestration/records/metrics"
tags: ["Orchestration - Records"]
---

# Get record metrics

`POST /orchestration/records/metrics`

Get metrics for orchestration records

## 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 records created after this timestamp.
  - `createdBefore` string — Include records created before this timestamp.

## Response `200`

Successful response

- object
  - `recordMetrics` object[], required — Aggregated record metrics.
    - `nodeUuid` string, required
    - `totalExecutionsCount` number, required
    - `pendingExecutionsCount` number, required
    - `runningExecutionsCount` number, required
    - `successExecutionsCount` number, required
    - `errorExecutionsCount` number, required
    - `cancellingExecutionsCount` number, required
    - `cancelledExecutionsCount` 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)
