/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 under function; the gateway translates both directions.
A tool call comes back as a function_call output item:
Send the result back as a 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.
Emitted events, in order: Translation happens as each upstream chunk arrives — nothing is buffered waiting for the stream to end.

Statelessness

previous_response_id is rejected:
Storing conversations would make the data plane stateful and put a database read on the request hot path, which is the property this architecture exists to avoid. Send the whole conversation in 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, and error.param names the Responses field you sent — not the chat parameter it was translated into:
See OpenAI Compatibility for the full status-code map.