curl --request GET \
--url https://control-plane.kubiya.ai/api/v1/environments/{environment_id}/worker-command \
--header 'Authorization: Bearer <token>'{
"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.
curl --request GET \
--url https://control-plane.kubiya.ai/api/v1/environments/{environment_id}/worker-command \
--header 'Authorization: Bearer <token>'{
"worker_token": "<string>",
"environment_name": "<string>",
"command": "<string>",
"command_parts": {},
"namespace_status": "<string>",
"can_register": true,
"provisioning_workflow_id": "<string>"
}Enter your Kubiya API token (format: Bearer
Was this page helpful?