---
title: "List of policy job details"
method: POST
path: "/v1/policies/policy_jobs/batch"
tags: ["Guardrails"]
---

# List of policy job details

`POST /v1/policies/policy_jobs/batch`

Returns a list of job execution details for given policy job ids

## Request body

- PolicyJobBatchRequest
  - `policy_job_ids` string[], required — Unique IDs of Policy Jobs

## Response `200`

Success

- JobExecutionDetailsResponse[]
  - `job_id` string, required — Job Id
  - `name` string, required — Name of the Job
  - `status` 'COMPLETED' | 'FAILED' | 'IN_PROGRESS' — Status of policy job execution
  - `status_reason` string, required — Reason for the job status
  - `engine` string, required — Policy engine used for job execution
  - `arguments` string, required — arguments provided for job execution
  - `cloud_accounts` string, required — Cloud account used for job execution
  - `execution_type` string, required — Policy execution type can be on demand or scheduled
  - `created_by` string, required — Policy Job created by
  - `created_at` string, required — Policy Job create time in UTC
  - `updated_by` string, required — Policy Job updated by
  - `updated_at` string, required — Policy Job update time in UTC
  - `tenant_name` string, required — tenant name where job was created
  - `tenant_id` string — Tenant ID
  - `policy_id` string, required — Policy id of the Policy executed
  - `policy_name` string, required — Policy id of the Policy executed
  - `output` JobExecutionOutputDetails[] — Job output details
    - `resource_id` string — Resource Id
    - `resource_name` string — Resource Name
    - `category` string — Resource Category
    - `resource_type` string — Resource Type
    - `resource` string — Resource
    - `location` string — Location
    - `evidence` string — Evidence

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.dev/corestack/apis/corestack-external-api.md) · [All operations](https://skmtc.dev/corestack/apis/corestack-external-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/corestack/corestack-external-api/revisions/bf2cdf20826d/schema)
