---
title: "Get Batch Status"
method: GET
path: "/api/batch/status/{batch_id}"
tags: ["Batch Processing"]
---

# Get Batch Status

`GET /api/batch/status/{batch_id}`

## Request

- Base URL: `https://api.qomplement.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.qomplement.com/api/batch/status/{batch_id}`
- Auth: HTTP bearer

Get status of a batch and all its documents.
Uses Redis caching with 2-second TTL to reduce database load.
Supports both authenticated users and guest mode.

Args:
    batch_id: UUID of the batch
    current_user: Authenticated user (optional for guest mode)

Returns:
    BatchStatusResponse with batch status and document details

## Path parameters

- `batch_id` string, required

## Response `200`

Successful Response

- BatchStatusResponse: Response model for batch status
  - `batch_id` string, required
  - `status` string, required
  - `total_documents` integer, required
  - `completed_documents` integer, required
  - `failed_documents` integer, required
  - `pending_documents` integer, required
  - `documents` object[], required
  - `processing_notification` string, nullable
  - `created_at` string, required
  - `started_at` string, nullable, required
  - `completed_at` string, nullable, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/qomplement/apis/qomplement-api.md) - [All operations](https://skmtc.dev/qomplement/apis/qomplement-api/llms.txt) - [OpenAPI document](https://skmtc.dev/qomplement/apis/qomplement-api/revisions/6fe617c112ef?raw)
