University of Amsterdam Batch API

The batch API from University of Amsterdam — 9 operation(s) for batch.

Operations 12

POST /batches Create Batch #
GET /batches List Batches #
POST /v1/batches Create Batch #
GET /v1/batches List Batches #
POST /{provider}/v1/batches Create Batch #
GET /{provider}/v1/batches List Batches #
GET /batches/{batch_id} Retrieve Batch #
GET /v1/batches/{batch_id} Retrieve Batch #
GET /{provider}/v1/batches/{batch_id} Retrieve Batch #
POST /batches/{batch_id}/cancel Cancel Batch #
POST /v1/batches/{batch_id}/cancel Cancel Batch #
POST /{provider}/v1/batches/{batch_id}/cancel Cancel Batch #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/university-of-amsterdam-batch-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

university-of-amsterdam-batch-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: LiteLLM Batch API
  description: 'Enterprise Edition


    Proxy Server to call 100+ LLMs in the OpenAI format. **Customize Swagger Docs**


    👉 ```LiteLLM Admin Panel on /ui```. Create, Edit Keys with SSO. Having issues? Try ```Fallback Login```


    💸 ```LiteLLM Model Cost Map```.


    🔎 ```LiteLLM Model Hub```. See available models on the proxy. **Docs**'
  version: 1.95.0
tags:
- name: Batch
paths:
  /batches:
    post:
      tags:
      - Batch
      summary: Create Batch
      description: 'Create large batches of API requests for asynchronous processing.

        This is the equivalent of POST https://api.openai.com/v1/batch

        Supports Identical Params as: https://platform.openai.com/docs/api-reference/batch


        Example Curl

        ```

        curl http://localhost:4000/v1/batches -H "Authorization: Bearer sk-1234" -H "Content-Type: application/json" -d ''{

        "input_file_id": "file-abc123",

        "endpoint": "/v1/chat/completions",

        "completion_window": "24h"

        }''

        ```'
      operationId: create_batch_batches_post
      security:
      - APIKeyHeader: []
      parameters:
      - name: provider
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Provider
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    get:
      tags:
      - Batch
      summary: List Batches
      description: 'Lists

        This is the equivalent of GET https://api.openai.com/v1/batches/

        Supports Identical Params as: https://platform.openai.com/docs/api-reference/batch/list


        Example Curl

        ```

        curl http://localhost:4000/v1/batches?limit=2 -H "Authorization: Bearer sk-1234" -H "Content-Type: application/json"

        ```'
      operationId: list_batches_batches_get
      security:
      - APIKeyHeader: []
      parameters:
      - name: provider
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Provider
      - name: limit
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Limit
      - name: after
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: After
      - name: target_model_names
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Target Model Names
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/batches:
    post:
      tags:
      - Batch
      summary: Create Batch
      description: 'Create large batches of API requests for asynchronous processing.

        This is the equivalent of POST https://api.openai.com/v1/batch

        Supports Identical Params as: https://platform.openai.com/docs/api-reference/batch


        Example Curl

        ```

        curl http://localhost:4000/v1/batches -H "Authorization: Bearer sk-1234" -H "Content-Type: application/json" -d ''{

        "input_file_id": "file-abc123",

        "endpoint": "/v1/chat/completions",

        "completion_window": "24h"

        }''

        ```'
      operationId: create_batch_v1_batches_post
      security:
      - APIKeyHeader: []
      parameters:
      - name: provider
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Provider
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    get:
      tags:
      - Batch
      summary: List Batches
      description: 'Lists

        This is the equivalent of GET https://api.openai.com/v1/batches/

        Supports Identical Params as: https://platform.openai.com/docs/api-reference/batch/list


        Example Curl

        ```

        curl http://localhost:4000/v1/batches?limit=2 -H "Authorization: Bearer sk-1234" -H "Content-Type: application/json"

        ```'
      operationId: list_batches_v1_batches_get
      security:
      - APIKeyHeader: []
      parameters:
      - name: provider
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Provider
      - name: limit
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Limit
      - name: after
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: After
      - name: target_model_names
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Target Model Names
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /{provider}/v1/batches:
    post:
      tags:
      - Batch
      summary: Create Batch
      description: 'Create large batches of API requests for asynchronous processing.

        This is the equivalent of POST https://api.openai.com/v1/batch

        Supports Identical Params as: https://platform.openai.com/docs/api-reference/batch


        Example Curl

        ```

        curl http://localhost:4000/v1/batches -H "Authorization: Bearer sk-1234" -H "Content-Type: application/json" -d ''{

        "input_file_id": "file-abc123",

        "endpoint": "/v1/chat/completions",

        "completion_window": "24h"

        }''

        ```'
      operationId: create_batch__provider__v1_batches_post
      security:
      - APIKeyHeader: []
      parameters:
      - name: provider
        in: path
        required: true
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Provider
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    get:
      tags:
      - Batch
      summary: List Batches
      description: 'Lists

        This is the equivalent of GET https://api.openai.com/v1/batches/

        Supports Identical Params as: https://platform.openai.com/docs/api-reference/batch/list


        Example Curl

        ```

        curl http://localhost:4000/v1/batches?limit=2 -H "Authorization: Bearer sk-1234" -H "Content-Type: application/json"

        ```'
      operationId: list_batches__provider__v1_batches_get
      security:
      - APIKeyHeader: []
      parameters:
      - name: provider
        in: path
        required: true
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Provider
      - name: limit
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Limit
      - name: after
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: After
      - name: target_model_names
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Target Model Names
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /batches/{batch_id}:
    get:
      tags:
      - Batch
      summary: Retrieve Batch
      description: 'Retrieves a batch.

        This is the equivalent of GET https://api.openai.com/v1/batches/{batch_id}

        Supports Identical Params as: https://platform.openai.com/docs/api-reference/batch/retrieve


        Example Curl

        ```

        curl http://localhost:4000/v1/batches/batch_abc123 -H "Authorization: Bearer sk-1234" -H "Content-Type: application/json"

        ```'
      operationId: retrieve_batch_batches__batch_id__get
      security:
      - APIKeyHeader: []
      parameters:
      - name: batch_id
        in: path
        required: true
        schema:
          type: string
          title: Batch ID to retrieve
          description: The ID of the batch to retrieve
        description: The ID of the batch to retrieve
      - name: provider
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Provider
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/batches/{batch_id}:
    get:
      tags:
      - Batch
      summary: Retrieve Batch
      description: 'Retrieves a batch.

        This is the equivalent of GET https://api.openai.com/v1/batches/{batch_id}

        Supports Identical Params as: https://platform.openai.com/docs/api-reference/batch/retrieve


        Example Curl

        ```

        curl http://localhost:4000/v1/batches/batch_abc123 -H "Authorization: Bearer sk-1234" -H "Content-Type: application/json"

        ```'
      operationId: retrieve_batch_v1_batches__batch_id__get
      security:
      - APIKeyHeader: []
      parameters:
      - name: batch_id
        in: path
        required: true
        schema:
          type: string
          title: Batch ID to retrieve
          description: The ID of the batch to retrieve
        description: The ID of the batch to retrieve
      - name: provider
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Provider
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /{provider}/v1/batches/{batch_id}:
    get:
      tags:
      - Batch
      summary: Retrieve Batch
      description: 'Retrieves a batch.

        This is the equivalent of GET https://api.openai.com/v1/batches/{batch_id}

        Supports Identical Params as: https://platform.openai.com/docs/api-reference/batch/retrieve


        Example Curl

        ```

        curl http://localhost:4000/v1/batches/batch_abc123 -H "Authorization: Bearer sk-1234" -H "Content-Type: application/json"

        ```'
      operationId: retrieve_batch__provider__v1_batches__batch_id__get
      security:
      - APIKeyHeader: []
      parameters:
      - name: provider
        in: path
        required: true
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Provider
      - name: batch_id
        in: path
        required: true
        schema:
          type: string
          title: Batch ID to retrieve
          description: The ID of the batch to retrieve
        description: The ID of the batch to retrieve
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /batches/{batch_id}/cancel:
    post:
      tags:
      - Batch
      summary: Cancel Batch
      description: 'Cancel a batch.

        This is the equivalent of POST https://api.openai.com/v1/batches/{batch_id}/cancel


        Supports Identical Params as: https://platform.openai.com/docs/api-reference/batch/cancel


        Example Curl

        ```

        curl http://localhost:4000/v1/batches/batch_abc123/cancel -H "Authorization: Bearer sk-1234" -H "Content-Type: application/json" -X POST


        ```'
      operationId: cancel_batch_batches__batch_id__cancel_post
      security:
      - APIKeyHeader: []
      parameters:
      - name: batch_id
        in: path
        required: true
        schema:
          type: string
          title: Batch Id
      - name: provider
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Provider
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/batches/{batch_id}/cancel:
    post:
      tags:
      - Batch
      summary: Cancel Batch
      description: 'Cancel a batch.

        This is the equivalent of POST https://api.openai.com/v1/batches/{batch_id}/cancel


        Supports Identical Params as: https://platform.openai.com/docs/api-reference/batch/cancel


        Example Curl

        ```

        curl http://localhost:4000/v1/batches/batch_abc123/cancel -H "Authorization: Bearer sk-1234" -H "Content-Type: application/json" -X POST


        ```'
      operationId: cancel_batch_v1_batches__batch_id__cancel_post
      security:
      - APIKeyHeader: []
      parameters:
      - name: batch_id
        in: path
        required: true
        schema:
          type: string
          title: Batch Id
      - name: provider
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Provider
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /{provider}/v1/batches/{batch_id}/cancel:
    post:
      tags:
      - Batch
      summary: Cancel Batch
      description: 'Cancel a batch.

        This is the equivalent of POST https://api.openai.com/v1/batches/{batch_id}/cancel


        Supports Identical Params as: https://platform.openai.com/docs/api-reference/batch/cancel


        Example Curl

        ```

        curl http://localhost:4000/v1/batches/batch_abc123/cancel -H "Authorization: Bearer sk-1234" -H "Content-Type: application/json" -X POST


        ```'
      operationId: cancel_batch__provider__v1_batches__batch_id__cancel_post
      security:
      - APIKeyHeader: []
      parameters:
      - name: batch_id
        in: path
        required: true
        schema:
          type: string
          title: Batch Id
      - name: provider
        in: path
        required: true
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Provider
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      description: Bearer token
      in: header
      name: x-litellm-api-key