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 ignoresprevious_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
routingin the body and thex-naga-routing-strategyheader, see Routing.max_uses,allowed_domainsandblocked_domainson theweb_searchtool, see Web search.- NagaAI accepts chat-style tools,
{"type": "function", "function": {...}}, next to the flat Responses shape.
What NagaAI ignores
NagaAI accepts and dropsinclude, 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.