---
title: "Get adaptive classification for a pod"
method: GET
path: "/api/v1/classify/{namespace}/{pod}"
tags: ["PodSchedulingMetrics"]
---

# Get adaptive classification for a pod

`GET /api/v1/classify/{namespace}/{pod}`

Returns current classification, drift status and recommendation for a pod.

## Response `200`

OK

- GithubComGthulhuApiManagerRestSuccessResponseRestClassifyResponseItem
  - `data` RestClassifyResponseItem
    - `classification` RestClassifyResult
      - `confidence` number
      - `current_type` string[] — type clould be cpu_heavy, balanced, needs_higher_priority, interactive cache_unfriendly, numa_unfriendly, or scheduling_latency
      - `previous_type` string[]
    - `drift` RestClassifyDrift
      - `drift_confirmed_periods` integer
      - `drift_score` number
    - `namespace` string
    - `node` string
    - `phase` 'cold_start' | 'warming_up' | 'stable' | 'drifting' | 'transitioning'
    - `pod` string
    - `profile` RestClassifyProfile
      - `long_term_baseline` object
      - `short_term` object
    - `recommendation` RestClassifyRecommendation
      - `action` string
      - `priority_class` string
      - `reason` string
    - `updated_at` integer
  - `success` boolean
  - `timestamp` string

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found

---

[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/versions/a72e72a0d984/schema)
