---
title: "Pod CPU使用率"
method: POST
path: "/namespaces/:namespace/pods/cpu_usage"
tags: ["Metrics"]
---

# Pod CPU使用率

`POST /namespaces/:namespace/pods/cpu_usage`

## Request

- Base URL: `/bcsapi/v4/monitor/api/projects/:projectId/clusters/:clusterId` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/bcsapi/v4/monitor/api/projects/:projectId/clusters/:clusterId/namespaces/:namespace/pods/cpu_usage`
- Auth: none declared

## Response `200`

OK

## Changes

- **2022-08-17** `6f5cef7b8940`: 1 info
  - endpoint added
- **2022-05-18** `1e1b695c30e0`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/tencentblueking/apis/bcs-monitor-openapi/changes/namespaces/:namespace/pods/cpu_usage/post.md)

---

[API](https://skmtc.dev/tencentblueking/apis/bcs-monitor-openapi.md) - [All operations](https://skmtc.dev/tencentblueking/apis/bcs-monitor-openapi/llms.txt) - [OpenAPI document](https://skmtc.dev/tencentblueking/apis/bcs-monitor-openapi/revisions/ba6addc245e8?raw)
