---
title: "Get cluster-wide resource metrics"
method: GET
path: "/api/v1/k8s/logs/clusters/{cluster_id}/metrics"
tags: ["Clusters"]
---

# Get cluster-wide resource metrics

`GET /api/v1/k8s/logs/clusters/{cluster_id}/metrics`

## Request

- Base URL: `http://localhost:8080`
- URL: `http://localhost:8080/api/v1/k8s/logs/clusters/{cluster_id}/metrics`
- Auth: none declared

Retrieve counts of all major resources in a specified Kubernetes cluster.

## Path parameters

- `cluster_id` string, required

## Response `200`

OK

- object

---

[API](https://skmtc.dev/nife/apis/nife-io-swagger-api.md) - [All operations](https://skmtc.dev/nife/apis/nife-io-swagger-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nife/apis/nife-io-swagger-api/revisions/6e868dc62795?raw)
