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

# Get Batch



## OpenAPI

````yaml GET /batches/{batch_id}
openapi: 3.1.0
info:
  title: Tetryx Lynx Coordinator API
  description: HTTP API for Lynx job submission, batch inspection, and runner coordination.
  license:
    name: ''
  version: 0.1.0
servers: []
security: []
paths:
  /batches/{batch_id}:
    get:
      tags:
        - batches
      operationId: get_batch
      parameters:
        - name: batch_id
          in: path
          description: Batch identifier
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Fetch batch status summary
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JobBatchStatusResponse'
        '404':
          description: Batch not found
components:
  schemas:
    JobBatchStatusResponse:
      type: object
      required:
        - batch
        - jobs_by_status
        - throughput_jobs_per_minute
      properties:
        batch:
          $ref: '#/components/schemas/JobBatch'
        estimated_completion_time_mins:
          type:
            - integer
            - 'null'
          format: int32
          minimum: 0
        jobs_by_status:
          type: object
          additionalProperties:
            type: integer
            format: int32
            minimum: 0
          propertyNames:
            type: string
            enum:
              - Pending
              - Claimed
              - Running
              - Completed
              - Failed
              - Timeout
              - Cancelled
        throughput_jobs_per_minute:
          type: number
          format: double
    JobBatch:
      type: object
      required:
        - id
        - name
        - created_at
        - config_hash
        - total_jobs
        - completed_jobs
        - failed_jobs
        - status
      properties:
        completed_jobs:
          type: integer
          format: int32
          minimum: 0
        config_hash:
          type: string
        created_at:
          type: string
          format: date-time
        failed_jobs:
          type: integer
          format: int32
          minimum: 0
        id:
          type: string
          format: uuid
        name:
          type: string
        status:
          $ref: '#/components/schemas/JobBatchStatus'
        total_jobs:
          type: integer
          format: int32
          minimum: 0
    JobBatchStatus:
      type: string
      enum:
        - Pending
        - Running
        - Completed
        - Failed
        - Cancelled

````