Get an environment
Returns one environment with its current settings and variables. The settings are those
of the newest revision; before the first revision they show the defaults that the first
revision takes.
The ETag header is the current revision number in quotes, such as "3". Send it back in
If-Match to make a later write fail if someone else wrote first. An environment with no
revision has no ETag.
A deleted environment is still readable by its ID. Requires the account_admin or
developer role in the owning account.
Authorizations
A Reactor API key (rk_...), sent as Authorization: Bearer rk_.... Keep it on a server.
Path Parameters
The project's ID, a UUID. It is not the model's ID.
The environment's ID (a UUID) or its name, such as production. A name matches only a live environment; a deleted environment is reachable by its ID only.
Response
The environment.
The environment's ID. It is neither the project's nor the model's ID.
The current image. For production, the deployed release's image. Null for another environment before its first revision.
The pinned weights. Null when none are pinned.
What each instance gets.
Extra arguments passed to the model container.
Read-only.
The current revision. Null before the first revision.
When true, any authenticated caller can open sessions on production. It grants no read. Read-only for customers.
When the environment was deleted. A deleted environment takes no writes.
Variables keyed by name. Names use letters, digits, _, -, and ., with no leading
digit. Reserved names such as MODEL_NAME and any REACTOR_ name are refused.