All endpoints are under the Deployer (/api/v1/deployer). People authenticate with a personal access token or console session; requests pass authentication → organization scope → Deployer entitlement → Deployer access → permission. Every lookup is scoped to your organization, so another organization’s node or command answers 404. Errors use the standard envelope: {"error":{"message","type","code"}}.

Nodes

GET /nodes query parameters: Response: {"nodes":[…],"total","limit","offset"}.

Registration tokens

Body (all optional): {"name":"rack-3","max_uses":5,"expires_in_hours":48}. The plaintext token is returned once.

Device approval

Commands

See Commands for types and payloads.

Agent endpoints

Used by the compute agent; documented for reference.

Register

201 → {"node_id","name","status":"online","credential":"mlnode_…"}. Errors: 401 invalid_registration_token, 400 invalid_node, 409 node_exists, 403 product_not_entitled | org_suspended | org_pending.

Heartbeat

200 → {"node_id","status","server_time"}. Errors: 401 invalid_node_credential, 403 node_disabled, 404, 400 invalid_heartbeat.