---
title: "GET /api/v1/deployments/{deploymentId}/metrics"
method: GET
path: "/api/v1/deployments/{deploymentId}/metrics"
tags: ["Deployments"]
---

# GET /api/v1/deployments/{deploymentId}/metrics

`GET /api/v1/deployments/{deploymentId}/metrics`

## Request

- Base URL: `https://app.distr.sh` (the document declares no server; this is the origin it was published from)
- URL: `https://app.distr.sh/api/v1/deployments/{deploymentId}/metrics`
- Auth: one of:
  - API key in header `Authorization`
  - HTTP bearer

Get the latest resource metrics reported for a deployment

## Path parameters

- `deploymentId` string, required

## Response `200`

OK

- ApiDeploymentResourceMetrics
  - `createdAt` string, date-time
  - `deploymentId` string
  - `resources` ApiDeploymentResourceMetric[]
    - `container` string
    - `cpuLimitMillis` integer, nullable
    - `cpuUsageMillis` integer
    - `logBytes` integer, nullable
    - `memoryBytes` integer
    - `memoryLimitBytes` integer, nullable
    - `resource` string

---

[API](https://skmtc.dev/distr/apis/distr-api-reference.md) - [All operations](https://skmtc.dev/distr/apis/distr-api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/distr/apis/distr-api-reference/revisions/7dcafe205f83?raw)
