Update machine execution defaults
Changed onUpdates a machine's execution defaults: working directory, environment variables, and secret environment variables. env and secret_env replace the whole map, and changes apply to processes started afterward.
Request
- Base URLhttps://api.omnara.com/v1
- Auth
- HTTP bearer
- or API key in cookie __Host-omnara_session and API key in header X-Omnara-Csrf
Path parameters
Organization ID (org_...).
Machine ID (mch_...).
Request body
Default working directory for processes started on the machine.
Environment variables for processes started on the machine. Replaces the whole map; omit to keep the current one.
Environment variables set from secrets, keyed by variable name, for processes started on the machine.
Response
Machine updated.
Identifies the machine.
Organization that owns the machine.
Whether the machine is a bring-your-own computer or was created from a machine pool.
Machine pool ID (mpo_...).
Machine name; agent configs reference a BYO machine by this as machine_name.
Free-form note about the machine; empty if none was set.
Sandbox provider that hosts a pool machine; byo for bring-your-own machines.
Where the machine is in provisioning or deletion, independent of whether its daemon is connected.
Whether the machine's daemon is connected now; asleep means suspended but able to be woken.
Why the machine's latest daemon session ended, such as daemon_lease_expired.
Default working directory for processes started on the machine.
Environment variables set for every process started on the machine.
Environment variable names mapped to secrets whose values are injected when processes start.
Machine-readable reason for the latest lifecycle change, such as idle_timeout; empty when none.
Human-readable detail for lifecycle_reason_code; empty when none.
Latest setup or daemon failure reported from the machine; omitted when none is recorded.
Number of times Omnara has tried to provision this machine.
Number of times Omnara has tried to delete this machine.
Key-value metadata attached to the machine.
When the machine record was created.
When the machine record last changed.
Changes
- info
added the optional property
current_digestto the response with the status - info
added the optional property
current_digestto the response with the status - info
added the optional property
current_digestto the response with the status
156 more changes in this revision
- info