v3
latestOpenAPI 3.1.02026-07-311,4541,5202.3 MBopenAiBatch
Create Batch
Handle POST requests (create batch or cancel batch).
Thin view: BatchAPIProxy owns the whole pipeline — preprocessing (built-in _preprocess), key-usage + billing enforcement, generation, and the gateway error policy. raw_payload is captured before the proxy mutates request.data during preprocessing.
post/api/v1/batches
Headers
Authorizationstring required
Use your Respan API key for Respan API authentication. Enter only the Respan API key value; clients send Authorization: Bearer <RESPAN_API_KEY>. For /api/responses, provider credentials such as Perplexity, OpenAI, or Azure OpenAI go in Settings -> Providers or respan_params.credential_override in the request body, not in this authentication field.
Response
No response body
OpenAIBatchCreateBatchResponse200 required
Empty response body