---
title: "Get Metric"
method: GET
path: "/agents/metrics/{metric_id}"
tags: ["Agents"]
---

# Get Metric

`GET /agents/metrics/{metric_id}`

## Request

- Base URL: `https://api.cartesia.ai`
- URL: `https://api.cartesia.ai/agents/metrics/{metric_id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/cartesia/apis/cartesia-api/docs/agents/metrics/:metric_id/get.ts> (a function with typed inputs; its response is checked against the schema)

Get a metric by its ID.

## Path parameters

- `metric_id` string, required

## Headers

- `Cartesia-Version` '2026-03-01', date, required

## Response `200`

- Metric
  - `id` string, required: The unique identifier for the metric.
  - `name` string, required: The name of the metric. This is a unique name that you can use to identify the metric in the CLI.
  - `display_name` string, nullable: The display name of the metric, if available. This is the name that is displayed in the Playground.
  - `prompt` string, required: The prompt associated with the metric, detailing the task and evaluation criteria.
  - `created_at` string, date-time, required: The timestamp when the metric was created.

---

[API](https://skmtc.dev/cartesia/apis/cartesia-api.md) - [All operations](https://skmtc.dev/cartesia/apis/cartesia-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cartesia/apis/cartesia-api/revisions/8910812440d3?raw)
