---
title: "Register machine daemon runtime"
method: POST
path: "/daemon/runtimes"
tags: ["Machine Daemon"]
---

# Register machine daemon runtime

`POST /daemon/runtimes`

## Request

- Base URL: `https://api.omnara.com/v1`
- URL: `https://api.omnara.com/v1/daemon/runtimes`
- Auth: HTTP bearer

## Request body

- RegisterDaemonRuntimeRequest
  - `daemon_instance_id` string, uuid, required
  - `daemon_version` string, required
  - `capacity` object
  - `observed_platform` object
  - `processes` ProcessReconciliationClaim[], required
    - `process_id` string, required
    - `supervisor_instance_id` string, required
    - `phase` 'preparing' | 'prepared' | 'accepted' | 'terminal', required
    - `supervisor_live` boolean, required
    - `execution_committed` boolean, required
    - `action_admission_closed` boolean, required
    - `resolved_action_seq` integer, required
    - `actions` ProcessActionReconciliationClaim[], required
      - `process_action_id` string, required
      - `seq` integer, required
      - `action_kind` 'write' | 'interrupt' | 'terminate' | 'watch', required
      - `position` 'effect_committed' | 'terminal', required

## Response `201`

Machine daemon runtime registered.

- RegisterDaemonRuntimeResponse
  - `runtime` DaemonRuntime, 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
  - `reconciliation` DaemonRuntimeReconciliation, required
    - `processes` ProcessReconciliationDirective[], required
      - `process_id` string, required
      - `supervisor_instance_id` string, required
      - `disposition` 'close_preparation' | 'start' | 'retain' | 'release', required
      - `actions` ProcessActionReconciliationDirective[], required
        - `process_action_id` string, required
        - `seq` integer, required
        - `action_kind` 'write' | 'read' | 'interrupt' | 'terminate' | 'watch', required
        - `disposition` 'apply' | 'retain' | 'settle' | 'release', required
        - `payload` unknown

## Other responses

- `400`: The request was invalid.
- `401`: Authentication is required or invalid.
- `403`: The authenticated principal is not authorized.
- `404`: The requested resource was not found or is not visible.
- `409`: The request conflicts with current resource state or idempotency history.
- `410`: The requested resource is no longer available.
- `503`: The service dependency required to satisfy the request is unavailable.
- `4XX`: Any other client error. The body carries the shared Error envelope restricted to client error codes; statuses with a dedicated response above are documented precisely.
- `5XX`: Any other server error. The body carries the shared Error envelope restricted to server error codes.

## Changes

- **2026-10-30** `e3a32bf8f2d7`: 1 warning, 1 info
  - added the new `watch` enum value to the `reconciliation/processes/items/actions/items/action_kind` response property for the response status `201`
  - added the new `watch` enum value to the request property `processes/items/actions/items/action_kind`
- **2026-10-05** `3d9e2cf46e07`: 182 info
  - added the optional property `current_digest` to the response with the `400` status
  - added the optional property `current_digest` to the response with the `401` status
  - added the optional property `current_digest` to the response with the `403` status
  - added the optional property `current_digest` to the response with the `404` status
  - …178 more
  - …this revision’s changelog is incomplete
- **2026-09-28** `acddeb8fc6a5`: 8 warning, 8 info
  - added the new `upstream_unavailable` enum value to the `code` response property for the response status `400`
  - added the new `upstream_unavailable` enum value to the `code` response property for the response status `401`
  - added the new `upstream_unavailable` enum value to the `code` response property for the response status `403`
  - added the new `upstream_unavailable` enum value to the `code` response property for the response status `404`
  - …12 more
- **2026-09-01** `e4978b047d7a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/omnara/apis/omnara-api-2/changes/daemon/runtimes/post.md)

---

[API](https://skmtc.dev/omnara/apis/omnara-api-2.md) - [All operations](https://skmtc.dev/omnara/apis/omnara-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/omnara/apis/omnara-api-2/revisions/343aebb1dff1?raw)
