Run OpenAI inference, or create a file, batch or job
Covers v1/responses, v1/embeddings, v1/chat/completions, and the free-but-rate-limited
v1/moderations, plus creating the stateful resources listed in the path parameter
(registered to your account on success) and minting a short-lived Realtime credential via
v1/realtime/client_secrets. The request model must be on the gateway’s catalog, and a
closed set of body fields is forced, denied, or passed through — see the OpenAI tag
description above.
Authentication
Your per-client bearer token — the API key the gateway issued to you. Present it in
Authorization: Bearer <token> form. A token that is missing, unknown, or revoked draws a
401. Before the call is sent upstream the token is removed (stripped, or swapped for the
upstream’s own credential); it never makes it past the gateway.
Path parameters
The path to call on OpenAI’s API, any further / segments included — all of it after
/openai/ is passed to https://api.openai.com/ when the gateway’s model catalog and
endpoint/field policy admit the request (see the OpenAI tag description and The four
model-inference routes are policed, not transparent above). Examples:
v1/chat/completions, v1/responses, v1/embeddings, v1/moderations, v1/models,
v1/models/{model}, v1/files, v1/files/{id}, v1/vector_stores,
v1/batches, v1/batches/{id}/cancel, v1/fine_tuning/jobs,
v1/fine_tuning/jobs/{id}/events.
Request
Response
Whatever the upstream answered, relayed as-is (status, headers, body). Rendered here as JSON; the true shape is the upstream provider’s to define.

