Skip to main content
POST https://api.naga.ac/v1/responses accepts the OpenAI Responses format and serves every chat model in the catalog.
output_text is a helper of the SDK. In raw JSON the text is in the output array, in the message item’s output_text part. output can also hold reasoning, function_call, web_search_call and image_generation_call items, so find the item by type rather than by position.

No state between calls

NagaAI stores nothing. It ignores previous_response_id, store, conversation, background and prompt, and there is no GET /v1/responses/{id}. Send the full conversation in input on every call. See Conversation state.

What NagaAI adds

  • routing in the body and the x-naga-routing-strategy header, see Routing.
  • max_uses, allowed_domains and blocked_domains on the web_search tool, see Web search.
  • NagaAI accepts chat-style tools, {"type": "function", "function": {...}}, next to the flat Responses shape.

What NagaAI ignores

NagaAI accepts and drops include, metadata, user, service_tier, prompt_cache_key, top_logprobs, max_tool_calls and stream_options. It also drops server-side tools other than web search. More differences are in Differences from OpenAI and Anthropic.