Machine Daemon
Sleep machine daemon runtime
Changed onGracefully ends the daemon runtime and marks the machine asleep so new work queues and triggers an automatic wake. Rejected with 409 code pending_work when the machine has queued or live daemon work, and 409 code not_wake_capable when the machine has no sandbox URL.
post/daemon/runtimes/{runtimeID}/sleep
Request
- Base URLhttps://api.omnara.com/v1
- AuthHTTP bearer
Path parameters
runtimeID, string required
Machine daemon runtime ID (drt_...).
Response
Machine daemon runtime ended for sleep; machine marked asleep.
Daemon Runtime required
id, string required
org_id, string required
machine_id, string required
Machine ID (mch_...).
daemon_instance_id, string uuid required
daemon_version, string required
state, 'active' | 'ended' required
state_reason_code, string required
state_reason_message, string required
created_at, string date-time required
last_seen_at, string date-time required
lease_expires_at, string date-time required
next_heartbeat_after_ms, integer required
ended_at, string date-time nullable required
capacity, object required
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
179 more changes in this revision
- info