Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

AI Gateway Batches API

The Batches API from AI Gateway — 2 operation(s) for batches.

AI Gateway Batches API is one of 38 APIs that AI Gateway publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Batches. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 4 operations across 2 paths. It is described by OpenAPI 3.1.0, at version 1.0.0.

Requests are made against a single base URL, https://api.portkey.ai/v1.

4 operations 2 paths 0 schemas 1 DELETE2 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.0.0
Base URL
https://api.portkey.ai
Authentication
API Key, API Key
Contact
Resource Areas
1

Authentication & Security 2

AI Gateway Batches API declares 2 security schemes for authenticating requests. An API key is passed in the header as x-portkey-api-key (PortkeyApiKey). An API key is passed in the header as x-portkey-provider (PortkeyProvider). By default, every request must be authenticated.

  • PortkeyApiKey — Portkey API key header.
  • PortkeyProvider — Upstream provider selector header.

Paths & Operations 4

Across 2 paths, the API surfaces 4 operations — 1 DELETE, 2 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Batches 4
POST
/batches
Create a batch job
→ 200
GET
/batches
List batches
→ 200
GET
/batches/{id}
Retrieve a batch
1 param → 200
DELETE
/batches/{id}
Cancel a batch
1 param → 200

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

ai-gateway-batches-api-openapi.yml Raw ↑

Other APIs AI Gateway publishes across the network.

OpenRouter
Helicone
Cloudflare AI Gateway
Kong AI Gateway
Apache APISIX AI Proxy
Tetrate Agent Router Service
NVIDIA NIM
Traefik AI Gateway
Together AI
Anyscale