Skip to main content
GET
Get an environment's size (browser session)

Authorizations

ankra_session
string
cookie
required

Browser session. Mutations also require X-Ankra-CSRF.

Path Parameters

application_id
string<uuid>
required
environment_id
string<uuid>
required

Response

The environment's stored and running size

One environment's size: for each placement the reader reaches, the copies, CPU and memory stored for its next release and where each comes from, and what the cluster mirror says runs.

environment_id
string<uuid>
required

The environment read, in the canonical spelling the environments read lists.

read_state
enum<string>
required

ok: every placement the reader reaches is answered. partial: the environment also runs on clusters outside the reader's project, or a placement's stored or running values could not be read. unknown: the read could not be made at all; placements is then empty, which says nothing about the environment.

Available options:
ok,
partial,
unknown
placements
ApplicationEnvironmentSizePlacement · object[]
required

The environment's placements the reader reaches, installations first, at most 20.

placements_capped
boolean
required

True when the environment has more than 20 placements and the list was cut.

cluster_outside_projects
boolean

Set for a reader confined to a project (a project-only member, or a token pinned to a project while projects are on) on an environment that also deploys to a cluster outside that project: only the reader's own placements are listed. Absent for every other environment and for an organisation-wide reader.