---
title: "Get batch jobs"
method: GET
path: "/v1/batch-jobs"
tags: ["Batch Processing"]
---

# Get batch jobs

`GET /v1/batch-jobs`

## Request

- Base URL: `https://gateway.app.clavata.ai:8443`
- URL: `https://gateway.app.clavata.ai:8443/v1/batch-jobs`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/clavata/apis/clavata-public-api-v1/docs/v1/batch-jobs/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieves batch jobs, optionally filtered by batch job IDs or states. If no filters are provided, all batch jobs will be returned. Policy-first endpoint: batch jobs are created from a `policy_id`.

## Query parameters

- `batchJobIds` string[]
- `states` string[]

## Response `200`

A successful response.

- V1GetBatchJobsResponse
  - `batchJobs` V1BatchJob[]
    - `batchJobId` string
    - `name` string
    - `state` 'BATCH_JOB_STATE_UNSPECIFIED' | 'BATCH_JOB_STATE_ERROR' | 'BATCH_JOB_STATE_INITIALIZED' | 'BATCH_JOB_STATE_QUEUED' | 'BATCH_JOB_STATE_PREPROCESSING' | 'BATCH_JOB_STATE_PREPROCESSED' | 'BATCH_JOB_STATE_SUBMITTED' | 'BATCH_JOB_STATE_POSTPROCESSING' | 'BATCH_JOB_STATE_POSTPROCESSED' | 'BATCH_JOB_STATE_COMPLETED' | 'BATCH_JOB_STATE_CANCELLED' | 'BATCH_JOB_STATE_EVALUATING'
    - `createdAt` string, date-time
    - `updatedAt` string, date-time
    - `policyId` string
    - `policyVersionId` string: The policy version ID used to evaluate the batch job. This is the version of the policy that was active at the time the batch job was started.
    - `outputFileUrl` string: The output file URL. This is only populated when the batch job is completed.

## Other responses

- `400`: Bad Request
- `429`: Too Many Requests
- `499`: Precheck Failures (Canceled)
- `default`: An unexpected error response.

## Changes

- **2026-08-26** `b7cf208dca32`: 1 warning, 1 info
  - added the new `BATCH_JOB_STATE_EVALUATING` enum value to the `batchJobs/items/state` response property for the response status `200`
  - added the enum value `BATCH_JOB_STATE_EVALUATING` to the property `items/` of the `query` request parameter `states`

[Operation history](https://skmtc.dev/clavata/apis/clavata-public-api-v1/changes/v1/batch-jobs/get.md)

---

[API](https://skmtc.dev/clavata/apis/clavata-public-api-v1.md) - [All operations](https://skmtc.dev/clavata/apis/clavata-public-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/clavata/apis/clavata-public-api-v1/revisions/d7a854b0070f?raw)
