Skip to main content
POST /v1/responses takes an OpenAI Responses request. It uses the same Atlaso key, model list, saved provider key, memory, limits and call record as Chat Completions. Atlaso does not store conversations. Keep the same x-atlaso-user on every call; omitting it skips per-user memory, or returns user_id_required when the key requires memory.
Send the user on every request, as in the quickstart. Without x-atlaso-user, the call still succeeds but memory is skipped (status=skipped, reason=no_user_id in x-atlaso-memory).

How each provider is called

  • Models that OpenAI serves (provider openai) call OpenAI’s own /v1/responses. Fields such as store, previous_response_id, conversation, built-in tools and stream_options reach OpenAI as you sent them, and OpenAI keeps any state it stores. Fees OpenAI charges for built-in tools such as web_search, file_search and code_interpreter are not included in Atlaso’s cost. A shell tool counts as one of these when it runs in a container OpenAI hosts (environment of container_auto or container_reference); a shell you run yourself, a function, MCP, apply_patch and computer use add no fee. With a spending limit on the key, its account or the app user, a request with such a tool is refused with a 400 unsupported_parameter naming it. A stored prompt is refused the same way under a limit (param is prompt), because a stored prompt can carry built-in tools whose fees Atlaso cannot price. Without a limit, the call goes through, and a call in which OpenAI ran such a tool is recorded as not fully priced.
  • Other providers (OpenAI-made models served by other hosts included) get your request translated to their chat format and the answer translated back into a Responses object. Send the full input each time: previous_response_id, conversation and store: true are refused with a 400 that names the field, because Atlaso does not keep conversations. store: false is accepted and not sent on, since nothing is stored. Built-in tools, non-text media and fields the provider cannot take are refused the same way.
On other providers, the accepted top-level fields are model, input, instructions, stream, tools, tool_choice, parallel_tool_calls, max_output_tokens, temperature, top_p, reasoning, text, store, metadata, user and service_tier (OpenAI-made models also take OpenAI’s prompt cache options). Any other top-level field, including background with any value, is refused with a 400 that names it. reasoning.summary can only be auto, and providers that use the OpenAI chat format refuse it with any value. background: true is refused for every provider, OpenAI included: Atlaso could not record the final usage of a call that finishes later.

Mapping for translated providers

Replies come back as Responses output items: a message with output_text, a refusal part, a function_call item per tool call with its original call id, and a reasoning item with its summary. length and content_filter finishes return status: incomplete with the reason.

Memory

The memory note is added as its own input message after your leading system or developer messages, so instructions and the start of your input stay byte-for-byte the same. Tool outputs are never used as the memory query. A request that carries only a previous_response_id has no new text for Atlaso to recall against. On models that OpenAI serves, the note is part of the input OpenAI receives. When OpenAI stores the response (store is on by default at OpenAI) and a later call continues it with previous_response_id or conversation, OpenAI’s stored state keeps each earlier call’s note. Deleting a fact, or sending x-atlaso-memory: off, does not remove notes OpenAI already stored. To make a delete take effect, send store: false and the full input on each call. See memory notes stored by OpenAI.

Streaming

With stream: true, OpenAI’s content events keep their bytes. Provider error payloads are cleaned, and the final event gains Atlaso accounting. Translated providers stream typed Responses events (created, output item and content part events, text and function-argument deltas, and a final response.completed or response.incomplete with usage). No Chat Completions [DONE] line is sent. A stream that ends without a final event is recorded as failed.

Limits, stops and records

At $0.00 in Atlaso credit, the AI clean-up of saved messages waits, for Gateway calls and Plugin messages alike. Saving, recall, Ambient Memory, Ask and own-key model calls keep working. See Credits and learning. The key’s daily limit, the monthly budget stop, the per-user daily limit and Stop runaway loops apply exactly as on Chat Completions, with the same error codes. Usage, cache reads and writes and reasoning tokens go into the same content-free call record shown in Activity. Responses includes the same reply metadata headers as Chat Completions, with the same browser CORS exposure. For streams, cost and cache counts arrive in response.atlaso on response.completed, response.incomplete or response.failed. A bare error event has a top-level atlaso field. The real OpenAI Python and Node SDKs accept these extra fields. Google uses the Gemini adapter for plain replies, streaming and function tools. Unsupported features are refused before a provider call at $0.00, with the field and a fix. This includes settings the Gemini model ignores, such as temperature and top_p on models that no longer apply them. Send returned reasoning_details with function calls when replaying the full input so thought signatures survive. Other translated providers accept some settings and ignore them (for example temperature and top_p on MiniMax). Atlaso still sends them and names them in the x-atlaso-ignored-params reply header, using the Responses field you sent (for example reasoning, not reasoning_effort). See settings a model ignores.