Create a response
Generate an OpenAI-compatible Responses API object from text or structured input items, with optional tools and streaming events.
Documentation Index
Fetch the complete documentation index at: https://docs.naga.ac/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Primary authentication for inference endpoints. Send your Naga API key as Authorization: Bearer <api-key>.
Body
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.
- FunctionTool
- WebSearchTool
- WebSearchPreviewTool
- FileSearchTool
- ComputerUseTool
- CodeInterpreterTool
- McpTool
- ImageGenerationTool
- LocalShellTool
- ShellTool
- ApplyPatchTool
- CustomTool
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.
Response
JSON response when stream=false, or Responses API Server-Sent Events when stream=true.
- ResponseMessageItem
- ResponseFunctionCallItem
- ResponseReasoningItem
- ResponseImageGenerationCallItem
"response"- ResponseFunctionTool
- ResponseWebSearchTool
- ResponseWebSearchPreviewTool
- ResponseFileSearchTool
- ResponseComputerUseTool
- ResponseCodeInterpreterTool
- ResponseMcpTool
- ResponseImageGenerationTool
- ResponseLocalShellTool
- ResponseShellTool
- ResponseApplyPatchTool
- ResponseCustomTool
auto, disabled - Metadata
- Metadata