v1

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

Describe Policy Job Details

Retrieve policy job details using the unique job id, this can be used to check the status of the policy execution or any failure :param tenant_id: :param job_id: :return:

get/governance/guardrails/{tenant_id}/policy_jobs/{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

Specify the job id to retrieve details of policy execution, job id is unique can be obtained from the execute policy response

Response

Success

job_idstring required

Job Id

namestring required

Name of the Job

status'COMPLETED' | 'FAILED' | 'IN_PROGRESS'

Status of policy job execution

status_reasonstring required

Reason for the job status

enginestring required

Policy engine used for job execution

argumentsstring required

arguments provided for job execution

cloud_accountsstring required

Cloud account used for job execution

execution_typestring required

Policy execution type can be on demand or scheduled

created_bystring required

Policy Job created by

created_atstring required

Policy Job create time in UTC

updated_bystring required

Policy Job updated by

updated_atstring required

Policy Job update time in UTC

tenant_namestring required

tenant name where job was created

tenant_idstring

Tenant ID

policy_idstring required

Policy id of the Policy executed

policy_namestring required

Policy id of the Policy executed

Example response

{
  "status": "COMPLETED"
}