Get machine
Changed onReturns one active machine's full record: connection state, execution defaults (secret IDs only, never values), metadata, and the latest failure report. Machines in other lifecycle states, such as pool machines still provisioning, aren't returned.
Request
- Base URLhttps://api.omnara.com/v1
- Auth
- HTTP bearer
- or API key in cookie __Host-omnara_session
Path parameters
Organization ID (org_...).
Machine ID (mch_...).
Response
Machine.
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