---
title: "Metrics"
icon: "lock"
---

{/* Auto-generated by scripts/generate_core_action_docs.py; do not edit by hand. */}

## `core.cases.get_case_metrics`

Get case metrics as OTEL-aligned time-series for the provided case IDs.

<Badge icon="lock" color="blue" size="lg" shape="pill">Enterprise Edition</Badge>

### Inputs

<ParamField path="case_ids" type="array[string]" required>

List of case IDs to get case metrics for.

</ParamField>

### Examples

**Read case metrics**

```yaml
- ref: case_metrics
  action: core.cases.get_case_metrics
  args:
    case_ids:
      - ${{ TRIGGER.case_id }}
      - ${{ TRIGGER.related_case_id }}
```
