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

# Get Batch Status

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

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.net/qomplement/apis/fastapi.md) · [All operations](https://skmtc.net/qomplement/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/qomplement/fastapi/versions/b6c76b02a94a/schema)
