Request
The system prompt. SERV requires a system prompt on every request except one that sets
previous_response_id: set instructions, or include a system or developer message in input.Maximum number of tokens to generate. SERV may lower it when your balance is low; see low balance.
service_tieris removed, since requests are billed at the standard rate.metadatais read for SERV options such asprompt_cacheand is not forwarded.storeis always sent asfalse, so responses are not stored for later retrieval or for OpenAI’s distillation and evals products. Unless zero data retention is enabled, OpenAI may still retain inputs and outputs for abuse monitoring for up to 30 days, or longer when required by law or reasonably necessary to protect its services or others from harm. See continuing a conversation.web_search_options,plugins,models,routeandmcp_serversare rejected with a400.toolsacceptsfunction,custom,web_search,local_shell,shell(local environment only) andapply_patch, with at most one web search tool. Other types, such asfile_search,code_interpreter,mcpandweb_search_preview, return a400.
Continuing a conversation
Becausestore is always false, OpenAI does not keep the response for later retrieval, so previous_response_id and GET /v1/responses/{id} usually fail upstream. Carry the conversation yourself instead: send the earlier output items back in input. SERV adds reasoning.encrypted_content to include so reasoning items can be replayed this way.
instructions again on every follow-up, because nothing carries it over and SERV requires a system prompt. You can leave it out only when the replayed input already contains a system or developer message. You don’t need to set include yourself: SERV adds reasoning.encrypted_content to any include you send, so the reasoning items in output can be replayed as they are.
A request that does set previous_response_id skips the system prompt check, and SERV does not apply its reasoning prompt, prompt guard, or shadow agent to it.
Response
OpenAI SDK convenience property that joins the text from
output. Raw HTTP responses may omit it, so read output when calling the API directly.
