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

# List batches

> Returns a list of batch jobs belonging to the user.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/batches
openapi: 3.1.0
info:
  title: Neosantara AI API
  description: OpenAI-compatible LLM Gateway
  version: 1.0.0
servers:
  - url: https://api.neosantara.xyz
    description: Neosantara Production Gateway
security:
  - bearerAuth: []
paths:
  /v1/batches:
    get:
      tags:
        - Batches
      summary: List batches
      description: Returns a list of batch jobs belonging to the user.
      operationId: getV1Batches
      responses:
        '200':
          description: List of batches
          content:
            application/json:
              schema:
                type: object
                properties:
                  object:
                    type: string
                    const: list
                  data:
                    type: array
                    items: {}
                  has_more:
                    type: boolean
                required:
                  - object
                  - data
                  - has_more
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````

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