/v1/responses is OpenAI’s current inference surface and the one the SDKs reach
for by default. ManyLayers implements it by translating requests onto chat
completions and translating the result back, so it runs the same pipeline —
RBAC, firewall, guardrails, PII, budgets, caching, routing, failover, metering,
audit — and works against every provider the gateway supports, including
providers whose own API has never implemented Responses.
Create a response
Response
status is completed, or incomplete with incomplete_details.reason set to
max_output_tokens or content_filter when generation was cut short.
Parameters
Input items
input accepts the single-turn shorthand or the full item array:
input_text and input_image content parts are translated to the chat text and
image_url parts. A part type the gateway cannot translate is rejected rather
than dropped.
Tool calling
Responses tools are flat where chat tools nest underfunction; the gateway
translates both directions.
function_call output item:
function_call_output item with the same call_id.
Streaming
Set"stream": true for the Responses event stream. Each event carries a
sequence_number and is framed with both an SSE event: name and a data:
payload.
Translation happens as each upstream chunk arrives — nothing is buffered waiting
for the stream to end.
Statelessness
previous_response_id is rejected:
input — the same thing the SDK does for chat
completions.
For conversation storage with history, sharing, folders and search, use the
Workspace chat API, which is a control-plane surface.
Errors
The error envelope is identical to chat completions, anderror.param names the
Responses field you sent — not the chat parameter it was translated into: