latestOpenAPI 3.0.32026-08-10152216352.3 KB

eea119b4113f

Runners Workspaces

Deploy workspace

Deploys a workspace by running plan or apply tasks based on the provided task type

post/runners/workspaces/{workspaceId}

Path parameters

workspaceIdstring required

Unique identifier of the workspace

Request body

taskType'plan' | 'apply' required

The type of task to run (plan or apply)

cmdArgumentsstring

Additional command line arguments

Response

Workspace deployed successfully

statusinteger

Example response

{
  "status": 200,
  "data": {
    "message": "Workspace deployed successfully"
  }
}