Create a response
OpenAI Responses API. Supported on OpenAI models and
xAI Grok models — xAI’s Agent Tools API uses the same
shape, so any Grok model accepts tools: [{"type": "web_search"}]
/ x_search / code_interpreter here. Anthropic and Gemini
targets return not_implemented because their native shapes
differ — for Anthropic call POST /v1/messages
(Native Formats / Anthropic),
for Gemini call POST /v1beta/models/{model}:generateContent
(Native Formats / Gemini).
Authorizations
OrcaRouter API keys look like sk-orca-.... Pass them in the
Authorization: Bearer sk-orca-... header.
Body
"openai/gpt-4.1"
ID of a prior response, to continue a multi-turn conversation without resending the full message history.
Free-form array of Responses-API tool entries. Each entry's
type selects the tool. Common values include function
(a custom function tool, same shape as Chat Completions),
web_search (built-in web grounding), mcp (Model Context
Protocol), and code_interpreter. Built-in tool calls
(web_search_call, etc.) are billed per call — see
Operations / Billing & Usage.
OpenAI Responses-API reasoning configuration.
Whether the upstream may store the request/response. Allowed
by default; channel setting disable_store can override.
Response
OK
