Skip to main content
GET
List the fleet's namespace allocations

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-ankra-organisation-id
string

PAT organisation override.

Query Parameters

project_id
string

The project to read: a project's id, or all for the whole organisation. Absent reads the caller's current project (the whole organisation while projects are off). A token pinned to a project, or a member limited to projects, may name only their own project.

Response

Successful response

analysed_cluster_count
integer
required
currency
string
required
rows
FleetWorkloadRow · object[]
required
truncated
boolean
required
scope
CostReadScope · object
required

What a fleet cost read covered (ADR 0022): the project it read, or the whole organisation, and whether the caller's cluster permissions hid clusters from it.

cost_unknown_clusters
CostUnknownCluster · object[]

The clusters whose latest cost snapshot is not their bill, with why. None of their namespaces is in rows, because what runs on them costs an unknown amount, not their last allocation and not zero. Omitted when there are none.