v1

latestOpenAPI 3.1.0Apache 2.02026-07-17471545.0 KB
Kubernetes

List pods in a namespace

Returns pods with status, ready state, restarts, and age. Filter by label selector or service name.

get/v1/kubernetes/pods/{namespace}

Path parameters

namespacestring required

Kubernetes namespace

Query parameters

contextstring

Kubernetes context (uses current if omitted)

labelSelectorstring

Label selector to filter pods (e.g., "app=nginx,version=v1")

serviceNamestring

Filter to pods backing this service

Response

List of pods

successboolean
dataobject

Example response

{
  "error": {
    "code": "NOT_FOUND",
    "message": "Service not found"
  }
}