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

# List Batch Calls

> List batch call jobs for your workspace and filter by draft, waiting, scheduled, running, paused, completed, cancelled, deleted, or compatibility active status.

Read only
Returns every batch call job in your workspace, paginated and sorted by creation date with the newest first. The current list handler returns each batch's ID, title, status, and creation time to API-key callers. Use List Calls for call-level progress; do not expect recipient totals, From numbers, or scheduling-conflict warnings in this list. Use List Batch Calls to power a batch history dashboard, build automation that watches for new batches, or audit which jobs have run in a given period.

## When to use this

* **Operational dashboards**: render a batch history view with each batch's status.
* **Compliance audits**: list every batch run in a quarter for review.
* **Reporting pipelines**: sync batch metadata into a data warehouse alongside call logs.
* **Automation triggers**: detect newly created batches and start downstream reporting jobs.

## Query parameters

| Parameter | Description |
| - | - |
| `page` | Page number, starting from 1. |
| `limit` | Results per page. Minimum `1`. Default: `30`. |
| `sortBy` | Field to sort by. One of `created_at`, `updated_at`, `createdAt`, `updatedAt`, `title`, `status`, `id`. Default: `created_at`. |
| `sortOrder` | Sort direction, `ASC` or `DESC` (case-insensitive). Default: `DESC`. |
| `status` | Filter by one batch status or comma-separated statuses. Supported values include `draft`, `waiting`, `scheduled`, `running`, `paused`, `completed`, `cancelled`, `deleted`, and compatibility `active`. |

## List Batch Calls response

The API-key response is a root JSON array. Pagination metadata and dashboard counters such as `attempt_stages`, `picked_up_calls`, and `last_call_sent_at` are not included. Request successive pages until a page contains fewer records than your requested limit.

## Verify the result

Locate the expected batch ID and check its `status`. For call-level evidence, use [List Calls](https://dialnexa.com/docs/api-reference/v1/calls/list.md) with `batch_call_id`.

## Errors

* `400 Bad Request` is returned for a `status` value outside the batch statuses (the message lists the allowed ones), a `sortBy` or `sortOrder` value outside its list, or a `page` or `limit` below `1`.

## Related endpoints

* [Get Batch Call](https://dialnexa.com/docs/api-reference/v1/batches/get.md): fetch a single batch's detail.
* [Create Batch Call](https://dialnexa.com/docs/api-reference/v1/batches/create.md): start a new batch.
* [API pagination](https://dialnexa.com/docs/api-reference/api-fundamentals.md#paginate-dialnexa-list-responses): how DialNexa list endpoints paginate.
* [Batch calling](https://dialnexa.com/docs/batch-calls/overview.md): guidance on designing a batch.


## OpenAPI

````yaml GET /v1/batch-calls
openapi: 3.0.0
info:
  title: DialNexa API
  description: Public `/v1` REST API for the DialNexa voice AI platform.
  version: 1.0.0
servers:
  - url: https://api.dialnexa.com
    description: DialNexa production API
security:
  - bearer: []
tags:
  - name: Agents
  - name: Batch Calls
  - name: Calls
  - name: Knowledge Base
  - name: Languages
  - name: LLMs
  - name: Phone Numbers
  - name: Organization Folders
  - name: Transcribers
  - name: Webhooks
  - name: Voices
  - name: Workflows
  - name: Workflow Leads
  - name: Authentication
  - name: Agent Builder
  - name: Agent Evaluations
paths:
  /v1/batch-calls:
    get:
      tags:
        - Batch Calls
      summary: List Batch Calls
      description: >-
        Returns a page of batch jobs, newest first by default, as a root JSON
        array of ID, title, status, and creation time.
      operationId: listBatchCalls
      parameters:
        - name: page
          required: false
          in: query
          description: Page number, starting from 1.
          schema:
            minimum: 1
            default: 1
            type: integer
        - name: limit
          required: false
          in: query
          description: Results per page.
          schema:
            minimum: 1
            default: 30
            type: integer
        - name: sortBy
          required: false
          in: query
          description: Field to sort by.
          schema:
            default: created_at
            type: string
            enum:
              - created_at
              - updated_at
              - createdAt
              - updatedAt
              - title
              - status
              - id
        - name: sortOrder
          required: false
          in: query
          description: Sort direction.
          schema:
            default: DESC
            type: string
            enum:
              - ASC
              - DESC
        - name: status
          required: false
          in: query
          description: >-
            Filter by batch status. One value or a comma-separated list of:
            draft, active, running, paused, completed, cancelled, deleted,
            scheduled, waiting.
          schema:
            example: running,paused
            type: string
      responses:
        '200':
          description: Batch calls returned successfully.
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    id:
                      type: string
                      example: batch_abc123
                    status:
                      type: string
                      description: >-
                        Current batch status, for example waiting, scheduled,
                        running, paused, completed or cancelled.
                    title:
                      type: string
                    created_at:
                      type: string
                      format: date-time
                      description: When the batch was created.
              examples:
                success:
                  summary: Successful response
                  value:
                    - id: batch_abc123
                      status: waiting
                      title: Q3 Follow-up Batch
        '400':
          description: Invalid query parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FilteredErrorResponse'
              examples:
                error:
                  summary: 400 Bad Request
                  value:
                    message: 'Request validation failed: page must not be less than 1'
                invalidStatus:
                  summary: Unknown status filter
                  value:
                    message: >-
                      Request validation failed: Error fetching campaigns:
                      Invalid campaign status filter: done. Allowed values:
                      draft, active, running, paused, completed, cancelled,
                      deleted, scheduled, waiting.
        '401':
          description: Unauthorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FilteredErrorResponse'
              examples:
                error:
                  summary: 401 Unauthorized
                  value:
                    message: >-
                      API key is missing or invalid. You can generate this by
                      logging in into dashboard
        '500':
          description: Internal server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FilteredErrorResponse'
              examples:
                error:
                  summary: 500 Internal Server Error
                  value:
                    message: An unexpected error occurred. Please try again later.
      security:
        - bearer: []
components:
  schemas:
    FilteredErrorResponse:
      type: object
      description: >-
        Error body on calls, batch calls, voices, languages and LLMs, which
        return only the message (and data for a coded refusal).
      properties:
        message:
          type: string
        data:
          type: object
          properties:
            code:
              type: string
              description: Machine-readable refusal code.
          description: >-
            Present for a coded refusal: code and the details listed for that
            code.
        validation_errors:
          type: array
          description: >-
            Present when uploaded rows fail number validation (batch and
            workflow lead uploads): one group per distinct error.
          items:
            type: object
            properties:
              error:
                type: string
              rows:
                type: array
                items:
                  type: integer
                description: Row numbers with this error.
              phone_numbers:
                type: array
                items:
                  type: string
        invalid_row_count:
          type: integer
          description: 'Present with validation_errors: how many rows failed.'
      required:
        - message
  securitySchemes:
    bearer:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.