---
title: "Returns the details of a specific metric in plain text format."
method: GET
path: "/metrics/{metric_name}"
tags: ["Metrics"]
---

# Returns the details of a specific metric in plain text format.

`GET /metrics/{metric_name}`

# Parameters

- `path`: The name of the metric to retrieve details for.

# Returns

An `HttpResponse` containing the metric details in plain text, or a 404 error if the metric is
not found.

## Path parameters

- `metric_name` string, required

## Response `200`

Metric details in Prometheus text format

## Other responses

- `401` — Unauthorized - missing or invalid API key
- `403` — Forbidden - insufficient permissions to access this metric
- `404` — Metric not found
- `429` — Too many requests - rate limit for metrics access exceeded

---

[API](https://skmtc.dev/openzeppelin/apis/openzeppelin-relayer-api.md) · [All operations](https://skmtc.dev/openzeppelin/apis/openzeppelin-relayer-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/openzeppelin/openzeppelin-relayer-api/revisions/e6e7514284f5/schema)
