> ## 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.

# Create batch

> Creates a new batch job for asynchronous processing.



## OpenAPI

````yaml /api-reference/openapi.json post /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:
    post:
      tags:
        - Batches
      summary: Create batch
      description: Creates a new batch job for asynchronous processing.
      operationId: postV1Batches
      responses:
        '200':
          description: Batch created
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  object:
                    type: string
                    const: batch
                  endpoint:
                    type: string
                  status:
                    type: string
                  created_at:
                    type: number
                  request_counts:
                    type: object
                    properties:
                      total:
                        type: number
                      completed:
                        type: number
                      failed:
                        type: number
                    required:
                      - total
                      - completed
                      - failed
                required:
                  - id
                  - object
                  - endpoint
                  - status
                  - created_at
                  - request_counts
        '403':
          description: Permission denied
      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.