latestOpenAPI 3.0.32026-08-10152216352.3 KB

eea119b4113f

Runners Workspaces

Manually trigger a apply on a task

Manually triggers a terraform apply for the specified task within the workspace

post/runners/workspaces/{workspaceId}/tasks/{taskId}/apply

Path parameters

workspaceIdstring required

Unique identifier of the workspace

taskIdstring required

Unique identifier of the task

Request body

taskType'apply' required

The type of task to run apply

cmdArgumentsstring

Additional command line arguments

Response

Manual apply triggered successfully

statusinteger

Example response

{
  "status": 200,
  "data": {
    "message": "Manual apply triggered successfully"
  }
}