---
title: "Regenerate a step runner install command"
slug: "regenerate-a-step-runner-install-command"
updated: 2026-01-12T11:08:39Z
published: 2026-01-12T11:08:39Z
canonical: "developers.torq.io/regenerate-a-step-runner-install-command"
---
> ## Documentation Index
> Fetch the complete documentation index at: https://developers.torq.io/llms.txt
> Use this file to discover all available pages before exploring further.
# Regenerate a step runner install command
Post/v1alpha/step_runners/{id}/install_command
Returns an install command to reinstall the runner (if unhealthy) or create an additional service that can execute the runner jobs.
SecurityHTTPType bearer
Path parametersidstring (uuid) Required
The ID of the step runner for which to regenerate the install command. To get a list of step runner IDs make a `List step runners` request.
Body parametersExpand Allobject platformstring Required
Runner deployment platform options.
Valid values[
"platform_status_unknown",
"kubernetes",
"docker"
]Default"platform_status_unknown"
kubernetes_optionsobject (v1alphaKubernetesOptions)
Kubernetes platform deployment options. Only applicable when the Kubernetes deployment platform is selected.
allow_cluster_managementboolean
Allow steps executed by this runner to perform actions on the Kubernetes cluster. Default is false.
Exampletrue
cpu_requestobject (v1alphaResource) amountstring (int64)
unitsstring
cpu_limitobject (v1alphaResource) amountstring (int64)
unitsstring
memory_requestobject (v1alphaResource) amountstring (int64)
unitsstring
memory_limitobject (v1alphaResource) amountstring (int64)
unitsstring
cpu_maxobject (v1alphaResource) amountstring (int64)
unitsstring
memory_maxobject (v1alphaResource) amountstring (int64)
unitsstring
labelsobject
Key-value pairs that attach identifying metadata to Kubernetes objects.
Example{
"env": "production"
}property*string additionalProperties
annotationsobject
Key-value pairs that attach arbitrary non-identifying metadata to Kubernetes objects.
Example{
"annotation_key": "annotation_value"
}property*string additionalProperties
update_to_latest_versionboolean Exampletrue
Responses200
A successful response.
Expand Allobject step_runnerobject (v1alphaStepRunner) namestring
The name of the step runner.
Examplemy_runner
idstring (uuid)
The unique identifier of the step runner.
Example74e19393-3e94-48d2-8b60-26f2d2665942
display_namestring
The name of the step runner as it appears in the Torq UI.
ExampleMy runner
created_timestring (date-time)
The timestamp when the step runner was created.
Example2022-09-12T10:52:06.385Z
last_seen_timestring (date-time)
The timestamp when the step runner was last active.
Example2022-09-12T10:52:06.385Z
descriptionstring
A description of the step runner.
environment_variablesobject
Environment variables to set in the step runner execution environment.
property*string additionalProperties
max_step_durationstring
The maximum duration a step executed by this runner can run.
kubernetes_optionsobject (v1alphaKubernetesOptions)
Kubernetes platform deployment options. Only applicable when the Kubernetes deployment platform is selected.
allow_cluster_managementboolean
Allow steps executed by this runner to perform actions on the Kubernetes cluster. Default is false.
Exampletrue
cpu_requestobject (v1alphaResource) amountstring (int64)
unitsstring
cpu_limitobject (v1alphaResource) amountstring (int64)
unitsstring
memory_requestobject (v1alphaResource) amountstring (int64)
unitsstring
memory_limitobject (v1alphaResource) amountstring (int64)
unitsstring
cpu_maxobject (v1alphaResource) amountstring (int64)
unitsstring
memory_maxobject (v1alphaResource) amountstring (int64)
unitsstring
labelsobject
Key-value pairs that attach identifying metadata to Kubernetes objects.
Example{
"env": "production"
}property*string additionalProperties
annotationsobject
Key-value pairs that attach arbitrary non-identifying metadata to Kubernetes objects.
Example{
"annotation_key": "annotation_value"
}property*string additionalProperties
docker_optionsobject (v1alphaDockerOptions) cpuobject (v1alphaResource) amountstring (int64)
unitsstring
memoryobject (v1alphaResource) amountstring (int64)
unitsstring
install_commandstring
The install command for deploying the step runner.
Examplecurl -H -s -L | kubectl apply -f -
401
Invalid bearer token. If you receive this message more than once try creating a new Client ID/Client Secret or generating a new bearer token.
object
403
You don't have permission to access this resource.
object