---
title: "Create a step runner"
slug: "create-a-step-runner"
updated: 2026-01-12T11:08:25Z
published: 2026-01-12T11:08:25Z
canonical: "developers.torq.io/create-a-step-runner"
---
> ## 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.
# Create a step runner
Post/v1alpha/step_runners
Returns an install command for deploying a self-hosted step runner. By default, a workspace has a limit of 10 step runners. To modify this quota, contact Torq support.
SecurityHTTPType bearer
Body parametersExpand Allobject display_namestring Required
The name of the step runner as it will appear in the Torq UI.
ExampleMy runner
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
docker_optionsobject (v1alphaDockerOptions) cpuobject (v1alphaResource) amountstring (int64)
unitsstring
memoryobject (v1alphaResource) amountstring (int64)
unitsstring
environment_variablesobject property*string additionalProperties
max_step_durationstring
Maximum amount of time the step can run before failing.
descriptionstring
A description of the step runner.
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