v1

latestOpenAPI 3.0.0CoreStack Inc License2026-07-248001,5071.7 MB
Automation

View Template Job

View Template job details

get/operation/automation/template/{tenant_id}/get/{job_id}

Path parameters

tenant_idstring required

Specify the tenant ID. This is a unique ID and can be retrieved using the List Tenants API.

job_idstring required

ID of the template_job. This can be fetched from listTemplateJobs API response

Response

Success

idstring

Unique ID of the Template Job

namestring

Name of the Template Job

status'CANCELED' | 'COMPLETED' | 'CREATE_FAILED' | 'CREATE_IN_PROGRESS' | 'DELETED' | 'DELETE_FAILED' | 'DELETE_IN_PROGRESS' | 'FAILED' | 'IN_PROGRESS' | 'SNAPSHOT_COMPLETED' | 'SNAPSHOT_FAILED' | 'SNAPSHOT_IN_PROGRESS' | 'UPDATED' | 'UPDATE_FAILED' | 'UPDATE_IN_PROGRESS'

Overall status of the template execution

status_reasonstring

Error message if failed

created_atstring date-time

Template Job start time in UTC

completed_atstring date-time

Template Job completion time in UTC

execution_type'on_demand' | 'scheduled' | 'event_driven' | 'system'

Template Job execution type

terraform_statestring

Terraform Template state

argsobject

Template Job execution template inputs arguments

outputstring

Template Job outputs

attachment_idstring

Terraform job log ID

Example response

{
  "status": "CANCELED",
  "execution_type": "on_demand",
  "resources": [
    {
      "status": "CANCELED"
    }
  ]
}