---
title: "Fetch the most-recent metric values for a deployment."
method: GET
path: "/deployments/{id}/metrics/latest"
tags: ["Metrics"]
---

# Fetch the most-recent metric values for a deployment.

`GET /deployments/{id}/metrics/latest`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/deployments/{id}/metrics/latest`
- Auth: HTTP bearer

## Path parameters

- `id` integer, required

## Response `200`

Map of metric name to latest value

- object

## Other responses

- `401`: Unauthorized
- `500`: Internal server error
- `503`: Metrics store not available

## Changes

- **2026-06-05** `61b7612b2d33`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/deployments/:id/metrics/latest/get.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
