---
title: "Get Metrics"
method: GET
path: "/costs/metrics"
tags: ["costs"]
---

# Get Metrics

`GET /costs/metrics`

Get recent metrics, optionally filtered by name.

## Query parameters

- `name` string, nullable
- `hours` integer
- `limit` integer

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

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