v2

latestOpenAPI 3.1.02026-08-08556285514.3 KB
Batch Processing

Get Batch Status

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

get/api/batch/status/{batch_id}

Path parameters

batch_idstring required

Response

Successful Response

batch_idstring required
statusstring required
total_documentsinteger required
completed_documentsinteger required
failed_documentsinteger required
pending_documentsinteger required
documentsobject[] required
processing_notificationstring nullable
created_atstring required
started_atstring nullable required
completed_atstring nullable required