Skip to main content
GET
List kubernetes cluster namespaces

Authorizations

Authorization
string
header
required

Enter "Bearer {token}"

Headers

X-CostGraph-Tenant-ID
string
required

Tenant ID

Path Parameters

cluster_id
string
required

Kubernetes cluster ID

Query Parameters

period
string

Cost window: month_to_date, last_7d, last_30d, calendar_month, custom. Default month_to_date

Search by namespace name

sort
string

Sort field (name, -name, pod_count, -pod_count, cpu_usage_cores, -cpu_usage_cores, memory_usage_bytes, -memory_usage_bytes, estimated_savings, -estimated_savings, cost_mtd, -cost_mtd, recommendations, -recommendations)

limit
integer

Number of rows to return (default 50, max 200)

offset
integer

Rows to skip before returning results (default 0)

Response

OK

message
string
required
Example:

"some message"

status
string
required
Example:

"success"

data
object