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

# Get Live Batch Status (Detailed)

> Retrieves the live, individual status of every call within a batch from the memory cache (Redis). Data is available for 30 days.



## OpenAPI

````yaml get /api/v1/status/batch
openapi: 3.0.3
info:
  title: Dialgen API
  description: >-
    Dialgen API allows you to programmatically initiate and monitor AI-powered
    voice calls, either one at a time or in high-volume batches.
  version: 1.0.0
  contact:
    name: Dialgen Support
    url: https://sa.dialgen.ai
servers:
  - url: https://sa.dialgen.ai
    description: Production server
security:
  - bearerAuth: []
tags:
  - name: Agents
    description: Operations related to AI agents
  - name: Calls
    description: Operations related to individual calls
  - name: Batches
    description: Operations related to batch campaigns
paths:
  /api/v1/status/batch:
    get:
      tags:
        - Batches
      summary: Get Live Batch Status (Detailed)
      description: >-
        Retrieves the live, individual status of every call within a batch from
        the memory cache (Redis). Data is available for 30 days.
      operationId: getBatchStatus
      parameters:
        - name: batchId
          in: query
          description: The ID returned from POST /api/v1/batch
          required: true
          schema:
            type: string
            example: batch_1678886400_agent_clx123...
      responses:
        '200':
          description: Batch status retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BatchStatusResponse'
              example:
                batchId: batch_1678886400_agent_clx123...
                calls:
                  - callId: call_clxabc123...
                    status: COMPLETED
                    startTime: '2025-11-15T14:31:02.456Z'
                    phoneNumber: '+15551234567'
                    error: null
                    duration: 62
                    recordingUrl: https://s3...
                  - callId: call_clxdef456...
                    status: ONGOING
                    startTime: '2025-11-15T14:32:15.789Z'
                    phoneNumber: '+15557654321'
                    error: null
                    duration: null
                    recordingUrl: null
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalServerError'
components:
  schemas:
    BatchStatusResponse:
      type: object
      properties:
        batchId:
          type: string
        calls:
          type: array
          items:
            type: object
            properties:
              callId:
                type: string
              status:
                type: string
                enum:
                  - SCHEDULED
                  - ONGOING
                  - COMPLETED
                  - MISSED
                  - FAILED
              startTime:
                type: string
                format: date-time
              phoneNumber:
                type: string
              error:
                type: string
                nullable: true
              duration:
                type: number
                nullable: true
              recordingUrl:
                type: string
                nullable: true
    Error:
      type: object
      properties:
        error:
          type: string
        code:
          type: string
        message:
          type: string
        details:
          type: object
  responses:
    BadRequest:
      description: Missing or invalid fields/parameters
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: Bad Request
            message: Missing required parameter
    Unauthorized:
      description: Missing or invalid API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: Unauthorized
            message: Invalid or missing API key
    NotFound:
      description: The requested resource was not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: Not Found
            message: Resource not found
    InternalServerError:
      description: An unexpected server error occurred
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: Internal Server Error
            message: An unexpected error occurred
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Bearer token authentication. Obtain your API key from the Dialgen API
        Keys dashboard at https://sa.dialgen.ai/api-keys

````