---
title: "Get Batch Job"
method: GET
path: "/v1/batch/jobs/{job_id}"
tags: ["batch"]
---

# Get Batch Job

`GET /v1/batch/jobs/{job_id}`

Get a batch job details by its UUID.

Args:
    inline: If True, return results inline in the response.

## Path parameters

- `job_id` string, uuid, required

## Query parameters

- `inline` boolean, nullable

## Response `200`

OK

- BatchJob
  - `id` string, required
  - `object` 'batch'
  - `input_files` string[], required
  - `metadata` object, nullable
  - `endpoint` string, required
  - `model` string, nullable
  - `agent_id` string, nullable
  - `output_file` string, uuid, nullable
  - `error_file` string, uuid, nullable
  - `errors` BatchError[], required
    - `message` string, required
    - `count` integer
  - `outputs` object[], nullable
  - `status` 'QUEUED' | 'RUNNING' | 'SUCCESS' | 'FAILED' | 'TIMEOUT_EXCEEDED' | 'CANCELLATION_REQUESTED' | 'CANCELLED', required
  - `created_at` integer, required
  - `total_requests` integer, required
  - `completed_requests` integer, required
  - `succeeded_requests` integer, required
  - `failed_requests` integer, required
  - `started_at` integer, nullable
  - `completed_at` integer, nullable

---

[API](https://skmtc.net/mistral/apis/mistral-ai-api.md) · [All operations](https://skmtc.net/mistral/apis/mistral-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mistral/mistral-ai-api/revisions/61436a496404/schema)
