Restart an environment
Replaces every instance of the environment with new instances of the same settings. The write creates the next revision as a copy of the current one with a new restart nonce.
A restart keeps each pinned secret version. To roll out a new secret value, update the
environment and name the binding again. A retried restart that already landed restarts
again. If-Match applies as on the update.
The body is required and decoded strictly; send {} for the defaults. Requires the
account_admin or developer role and Serve access.
Authorizations
A Reactor API key (rk_...), sent as Authorization: Bearer rk_.... Keep it on a server.
Headers
The ETag of your last read, a revision number in quotes. If the environment's newest revision differs, the write is 412 etag_mismatch and nothing is written. A weak tag, a list, or * is 400.
"\"3\""
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.
Body
Response
The environment; revision names the new copy.
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.