Connect BYO machine
machines_createRegisters a machine you run yourself and returns its daemon token for installing omnarad on it; the token is shown only in this response. The machine stays offline until its daemon connects. project_ids grants it to those projects in the same call, and their agent configs reference it by display_name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Default working directory for processes started on the machine. | |
| env | No | Environment variables set for processes started on the machine. | |
| orgID | Yes | Organization ID (org_...). | |
| metadata | No | User-supplied metadata stored on a machine, provided directly or copied from the machine pool that provisions it. A restriction of Metadata that leaves room for one reserved pair - Omnara sets observed_platform on the machine to the platform reported by its daemon, so the key is reserved and at most 15 user pairs are accepted. | |
| secret_env | No | Environment variable names mapped to secret IDs (sec_...) whose values are set for processes started on the machine. | |
| token_name | No | Human-readable name. Spaces and punctuation are allowed; leading or trailing whitespace and invisible or control characters are not. | |
| description | No | Optional description of the machine. | |
| project_ids | No | Projects to grant the machine to in the same call (up to 100). | |
| display_name | Yes | Human-readable name. Spaces and punctuation are allowed; leading or trailing whitespace and invisible or control characters are not. |