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.
Authentication
AuthorizationBearer
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, OpenAI or Azure OpenAI provider credentials go in Settings -> Providers or the request body credential_override field, not in this auth field.
Response
No response body