---
title: "List PodSchedulingMetrics"
method: GET
path: "/api/v1/pod-scheduling-metrics"
tags: ["PodSchedulingMetrics"]
---

# List PodSchedulingMetrics

`GET /api/v1/pod-scheduling-metrics`

List all PodSchedulingMetrics resources.

## Response `200`

OK

- GithubComGthulhuApiManagerRestSuccessResponseRestListPSMResponse
  - `data` RestListPSMResponse
    - `items` RestPSMResponseItem[]
      - `collectionIntervalSeconds` integer
      - `commandRegex` string
      - `createdTime` integer
      - `enabled` boolean
      - `id` string
      - `k8sNamespaces` string[]
      - `labelSelectors` RestPSMLabelSelector[]
        - `key` string
        - `value` string
      - `metrics` RestPSMMetricsDTO
        - `cpuMigrations` boolean
        - `cpuTimeNs` boolean
        - `involuntaryCtxSwitches` boolean
        - `runCount` boolean
        - `voluntaryCtxSwitches` boolean
        - `waitTimeNs` boolean
      - `scaling` RestPSMScalingDTO
        - `cooldownPeriod` integer
        - `enabled` boolean
        - `maxReplicaCount` integer
        - `metricName` string
        - `minReplicaCount` integer
        - `scaleTargetRef` RestPSMScaleTargetRefDTO
          - `apiVersion` string
          - `kind` string
          - `name` string
        - `targetValue` string
      - `updatedTime` integer
  - `success` boolean
  - `timestamp` string

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal Server Error

---

[API](https://skmtc.net/gthulhu/apis/manager-service.md) · [All operations](https://skmtc.net/gthulhu/apis/manager-service/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gthulhu/manager-service/revisions/a72e72a0d984/schema)
