Register a runner
POST
/runtime/v1/register
const url = 'https://mw.omazy.ai/api/v1/runtime/v1/register';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"enrollment_token":"example","name":"example","cli_version":"example","runner_version":"example","capacity":1}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
enrollment_token
required
One-time token from the console (oren_…).
string
name
string
cli_version
Output of claude --version.
string
runner_version
string
capacity
integer
Examplegenerated
{ "enrollment_token": "example", "name": "example", "cli_version": "example", "runner_version": "example", "capacity": 1}Responses
Section titled “Responses”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
© 2026 Omazy CX