Skip to content
API explorerProductOpen console

Register a runner

POST
/runtime/v1/register
curl --request POST \
--url https://mw.omazy.ai/api/v1/runtime/v1/register \
--header 'Content-Type: application/json' \
--data '{ "enrollment_token": "example", "name": "example", "cli_version": "example", "runner_version": "example", "capacity": 1 }'

Exchanges a one-time enrolment token for a runner token (shown once). No bearer token.

Media typeapplication/json
object
enrollment_token
required

One-time token from the console (oren_…).

string
name
string
<= 120 characters
cli_version

Output of claude --version.

string
runner_version
string
capacity
integer
>= 1 <= 64
Examplegenerated
{
"enrollment_token": "example",
"name": "example",
"cli_version": "example",
"runner_version": "example",
"capacity": 1
}

OK

Media typeapplication/json
object
success
boolean
data
data
object
runner_id
required
string format: uuid
runner_token
required

Orun_…, shown once. Store it 0600.

string
pool_id
required
string format: uuid
workspace_id
required
string format: uuid
protocol_version
required
string
Examplegenerated
{
"success": true,
"data": {
"runner_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"runner_token": "example",
"pool_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"workspace_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"protocol_version": "example"
}
}

Runtime_version_unsupported: the Claude CLI is older than the minimum

Unauthorized

Forbidden

Not found

Omazy CX documentation. One voice. Every channel. Always on.

Founded by Mosthofa Imran · imran@omazy.ai