cURL
curl --request GET \ --url https://control-plane.kubiya.ai/api/v1/environments/{environment_id}/worker-command
{ "worker_token": "<string>", "environment_name": "<string>", "command": "<string>", "command_parts": {}, "namespace_status": "<string>", "can_register": true, "provisioning_workflow_id": "<string>" }
Get the worker registration command for an environment.
Returns the kubiya worker start command with the worker token.
Successful Response
Response with worker registration command
Was this page helpful?