Generate an OpenAI-compatible Responses API object from text or structured input items, with optional tools and streaming events.
Primary authentication for inference endpoints. Send your Naga API key as Authorization: Bearer <api-key>.
Stateless gateway schema for OpenAI Responses API request body. Strict request surface: only parameters that map to the gateway's unified model.
Model identifier to route the request to.
"gpt-4.1-mini"
Text or structured input items to the model.
A system (or developer) message inserted into the model's context.
x >= 10 <= x <= 20 <= x <= 1Corresponds to FunctionTool.
auto, none, required auto, disabled Corresponds to Reasoning schema.
We keep this as the subset that maps to the gateway's unified
reasoning_effort control.
Corresponds to CreateResponse text parameter.
Return a Responses API SSE event stream instead of a single JSON response.
JSON response when stream=false, or Responses API Server-Sent Events when stream=true.
"response"auto, disabled