> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kiriku.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Batch Status

> Retrieve the current progress of a specific batch, along with all associated document extractions.



## OpenAPI

````yaml GET /v1/batches/{id}
openapi: 3.1.0
info:
  title: Kiriku API
  description: >-
    Intelligent Document Processing API for West Africa. Extract structured data
    from ID cards, passports, and more.
  version: 1.0.0
  contact:
    email: contact@kiriku.sn
servers:
  - url: https://api.kiriku.app
    description: Production API
security:
  - bearerAuth: []
paths:
  /v1/batches/{id}:
    get:
      summary: Get Batch Status
      description: >-
        Retrieve the current progress of a specific batch, along with all
        associated document extractions.
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Batch details and extraction list
          content:
            application/json:
              schema:
                type: object
                properties:
                  batch:
                    $ref: '#/components/schemas/Batch'
                  extractions:
                    type: array
                    items:
                      $ref: '#/components/schemas/ExtractionResult'
components:
  schemas:
    Batch:
      type: object
      properties:
        batchId:
          type: string
        status:
          type: string
          enum:
            - queued
            - processing
            - completed
            - partial_failure
        totalDocuments:
          type: number
        completedCount:
          type: number
        failedCount:
          type: number
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
    ExtractionResult:
      type: object
      properties:
        referenceId:
          type: string
        status:
          type: string
          enum:
            - completed
            - failed
        documentType:
          type: string
        result:
          type: object
          properties:
            extractedData:
              type: object
            globalConfidence:
              type: number
        creditsUsed:
          type: number
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT/API Key

````