Skip to main content
GET
Get an environment's restarts and scaling

Authorizations

Authorization
string
header
required

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

Path Parameters

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

Query Parameters

since
string<date-time>

The window's start, inclusive (RFC 3339). Defaults to a day before until.

until
string<date-time>

The window's end, exclusive (RFC 3339). Defaults to now.

Response

The environment's restarts and scaling in the window

One environment's restarts and scaling over a window, as the platform recorded them, with what it keeps.

environment_id
string<uuid>
required

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

read_state
enum<string>
required

ok: every placement was read. partial: a placement was withheld, not read or has no namespace, the placements were cut, or the environment also runs outside the reader's project; changes lists only what was read. unknown: the read could not be made; placements and changes are empty, which says nothing about the environment.

Available options:
ok,
partial,
unknown
since
string<date-time>
required

The window's start, inclusive (UTC).

until
string<date-time>
required

The window's end, exclusive (UTC).

kept_days
integer
required

How many days of restarts and scaling the platform keeps (14).

kept_from
string<date-time>
required

The oldest moment still kept (UTC): now less kept_days.

starts_before_kept
boolean
required

True when since is before kept_from: what happened before kept_from is not known, which is not the same as nothing.

placements
ApplicationEnvironmentChangesPlacement · object[]
required

The environment's placements the reader reaches and the state of each read, installations first, at most 20.

placements_capped
boolean
required

True when the environment has more than 20 placements and the list was cut; the cut ones were not read.

changes
ApplicationEnvironmentChange · object[]
required

The restarts and scaling read, newest first, at most 200.

changes_capped
boolean
required

True when the window holds more changes than are listed: the oldest ones were cut.

cluster_outside_projects
boolean

Set for a reader confined to a project on an environment that also deploys to a cluster outside that project. Absent otherwise.