Reference
Updated
Compatibility
Which parts of the Responses API the helping.io API does not implement, and where it differs.
Which parts of the Responses API this API does not implement, and where it
behaves differently. Which clients work, and how to point them here, is on
Clients and SDKs; what may change under /v1
is on Versioning.
Coding apps such as Cline, Kilo and opencode connect at a separate base URL, which takes the whole conversation on every request. What it accepts and refuses is on Set up a coding app.
Not implemented
Section titled “Not implemented”Anything not listed as available on these pages is not on the wire. The items below are the ones a Responses API client is most likely to reach for.
Request fields that are refused
Section titled “Request fields that are refused”Each is a 400 naming the field, so nothing is silently dropped. The wait
window a background request would have outlived is
90 seconds, and a stored response is
removed by deleting it: Retrieve and delete.
| Field | What happens instead |
|---|---|
background | Not accepted. Send the request without it: a non-streaming request that outlives its wait window returns the response in progress, and you retrieve it later with GET /v1/responses/{id}. |
include | Each value either returns its data or is refused. reasoning.encrypted_content adds each reasoning item's encrypted content to the response. message.output_text.logprobs returns log probabilities on a model that produces them and is refused, naming the model, on one that does not; no current model produces them. file_search_call.results, web_search_call.results, web_search_call.action.sources and code_interpreter_call.outputs name hosted tools this API does not offer, and computer_call_output.output.image_url names the computer tool, which is not offered either, so each is refused. message.input_image.image_url is refused for the reason image input is: image input is not accepted, because only text reaches the model. |
service_tier | Only the default tier is served. Send auto or default, or leave the field out, and the response reports default. Any other tier is refused with a 400 that names it. |
store | Not accepted. Every response is stored, which is what makes continuing a conversation and retrieving a response work. To remove one, delete it with DELETE /v1/responses/{id}: it can no longer be retrieved, and later turns no longer send it to the model or count it against the context window. |
Two more things are refused that are not request fields, so they are not in the
table above. An input_image or input_file part is accepted in a user
message, sent either as a base64 data URL or as an https URL. A data URL holds
a PNG, JPEG, GIF, WebP, HEIC or HEIF image, or a PDF, whose bytes must be the
type it declares. An https URL is passed to the model’s provider, which
fetches it. A model that does not read the type, or does not take a URL,
refuses the request with a 400 naming the model, before the response
starts. So does a part larger than the model’s provider accepts, parts that
together pass the provider’s limit for one request (counting the images and
files already stored in the conversation, which are sent again with each
turn), or a PDF with more pages than the provider reads: the 400 names the
model and the limit. A request carrying images or files inline can be at most
20,000,000 bytes, counting its whole body; a larger
request is a 413. A part given by URL is measured by the provider when it
fetches it.
| What | Status |
|---|---|
input_video parts, input_audio parts, an input_image or input_file given by a URL that is not https, and summary_text, reasoning_text or refusal parts in a message |
A 400 naming the part, on a response’s input and on items you add to a conversation |
message items with role assistant, system, or developer |
On POST /v1/responses only: send the user turn only. See How input becomes a turn. The Conversations API accepts all four roles, which is how you seed a history that started elsewhere |
Values the specification allows that are refused
Section titled “Values the specification allows that are refused”The Open Responses schema allows each of these, and this API refuses it with
a 400 naming the problem, before anything is created or charged.
| What | Why |
|---|---|
Two function tools with the same name in one request |
A call names its tool, so two definitions of one name would leave the call ambiguous |
A function tool whose name is a built-in platform tool’s |
Every built-in tool counts, whether or not your request would use it. Rename yours |
A tool_choice that names a function the request does not define, directly or in allowed_tools |
The model cannot be made to call a tool it was not given |
allowed_tools with mode set to none |
To offer no tool, send tool_choice: "none" |
A metadata key longer than 64 characters |
The specification states the limit in its description; its schema does not enforce it |
On a new conversation, a function_call without its function_call_output in the same input, an output without its call, or two calls with one call_id |
Half an exchange cannot be carried in as history. To answer a call on a conversation that made it, continue that conversation: see Function calling |
Generation settings depend on the model
Section titled “Generation settings depend on the model”The fields below are applied when the model supports them. Support
differs from model to model, so a setting the model does not support, or a
value outside the range it supports, is a 400 that names the model and the
field, before the response starts. For example, a model that reasons by effort
does not support temperature or top_p. None of these settings is accepted
and then dropped.
| Field | What happens |
|---|---|
frequency_penalty | Applied when the model supports it. The response reports the value it was generated with, and 0 when none was applied. |
parallel_tool_calls | Applied when the model supports it: false asks for at most one tool call per turn. The response reports the value it was generated with, and true when none was set. |
presence_penalty | Applied when the model supports it. The response reports the value it was generated with, and 0 when none was applied. |
reasoning | Its effort is applied when the model takes that exact level, and is a 400 naming the model and the levels it takes otherwise. The response reports the effort it was generated with, and null when none was set. |
temperature | Applied when the model supports it, within the model's range. A model that reasons by effort does not support it. The response reports the value it was generated with, and 1 when none was set. |
text | Its format sets the output shape, and a json_schema format constrains the output to the schema it carries, which it must include. Its verbosity sets how much detail to aim for. Each is applied when the model supports it, and the response reports the format and verbosity it was generated under. |
top_logprobs | No current model returns log probabilities, so a request that sets it is a 400 naming the model and the field. The response reports 0. |
top_p | Applied when the model supports it, within the model's range. A model that reasons by effort does not support it. The response reports the value it was generated with, and 1 when none was set. |
On a Claude model that thinks within a token budget, temperature or top_p
is also a 400 before the response starts when thinking is on.
Any other condition belongs to the model provider: when it refuses, the
response fails, its status is failed, and error carries the provider’s
reason.
The response reports each value it was generated with. Where no value was
set, it reports the specification’s default: 1 for temperature and
top_p, true for parallel_tool_calls, 0 for both penalties, and
text for text.format.type. reasoning always carries both effort and
summary, null when unset. A json_schema format always carries
description, null when unset, and strict, false when unset. Its
schema is the one your request sent, which differs from the specification’s
response type, where that field is always null.
A text.format of type json_schema constrains the output to the schema you
supply, and must carry one: a json_schema format without a schema is a
400. The finished reply is also checked against your schema on every
model. A reply that is not JSON, or does not match, is never returned as
completed: the response fails with the code output_schema_mismatch, and
its error carries "helpingio:schema_source": "text.format", naming your
schema as the one the reply did not match.
A text.format of type json_object asks for any JSON object, with no
schema. On OpenAI and Gemini models the provider constrains the reply to
JSON. On Claude models the JSON is requested in the model’s instructions and
checked, not constrained. On every model, a reply that is not a JSON object
fails with output_schema_mismatch, as above.
What each model accepts
Section titled “What each model accepts”Which of the settings above each model accepts, and the range it accepts
them in. A setting a model’s row does not list is a 400 for that model,
before the response starts. The table is generated from the models this API
serves, by the same check a request meets, so it changes when a model’s
support does.
| Model | Settings it accepts |
|---|---|
anthropic/claude-fable-5 | parallel_tool_calls, text.format |
anthropic/claude-fable-5-1 | parallel_tool_calls, text.format |
anthropic/claude-fable-5-2 | parallel_tool_calls, text.format |
anthropic/claude-haiku-4-5-20251001 | temperature (between 0 and 1), top_p (between 0 and 1), parallel_tool_calls, text.format |
anthropic/claude-haiku-5-5 | parallel_tool_calls, text.format |
anthropic/claude-opus-4-7 | parallel_tool_calls, text.format |
anthropic/claude-opus-4-8 | parallel_tool_calls, text.format |
anthropic/claude-opus-5 | parallel_tool_calls, text.format |
anthropic/claude-opus-5-5 | parallel_tool_calls, text.format |
anthropic/claude-sonnet-4-6 | parallel_tool_calls, text.format |
anthropic/claude-sonnet-5 | parallel_tool_calls, text.format |
anthropic/claude-sonnet-5-5 | parallel_tool_calls, text.format |
google/gemini-3.1-flash-lite | temperature (between 0 and 2), top_p (between 0 and 1), presence_penalty, frequency_penalty, text.format |
google/gemini-3.1-pro-preview | temperature (between 0 and 2), top_p (between 0 and 1), presence_penalty, frequency_penalty, text.format |
google/gemini-3.5-flash | temperature (between 0 and 2), top_p (between 0 and 1), presence_penalty, frequency_penalty, text.format |
google/gemini-3.5-flash-lite | temperature (between 0 and 2), top_p (between 0 and 1), presence_penalty, frequency_penalty, text.format |
google/gemini-3.6-flash | temperature (between 0 and 2), top_p (between 0 and 1), presence_penalty, frequency_penalty, text.format |
google/gemini-3.7-flash | temperature (between 0 and 2), top_p (between 0 and 1), presence_penalty, frequency_penalty, text.format |
google/gemini-3.8-flash | temperature (between 0 and 2), top_p (between 0 and 1), presence_penalty, frequency_penalty, text.format |
google/gemini-4-argon | temperature (between 0 and 2), top_p (between 0 and 1), presence_penalty, frequency_penalty, text.format |
google/gemini-4-carbon | temperature (between 0 and 2), top_p (between 0 and 1), presence_penalty, frequency_penalty, text.format |
google/gemini-4-hydrogen | temperature (between 0 and 2), top_p (between 0 and 1), presence_penalty, frequency_penalty, text.format |
google/gemini-4-neon | temperature (between 0 and 2), top_p (between 0 and 1), presence_penalty, frequency_penalty, text.format |
openai/gpt-4.1-mini | temperature (between 0 and 2), top_p (between 0 and 1), parallel_tool_calls, text.format, text.verbosity (one of low, medium, high) |
openai/gpt-4o-mini | temperature (between 0 and 2), top_p (between 0 and 1), parallel_tool_calls, text.format, text.verbosity (one of low, medium, high) |
openai/gpt-5.1 | parallel_tool_calls, text.format, text.verbosity (one of low, medium, high) |
openai/gpt-5.2 | parallel_tool_calls, text.format, text.verbosity (one of low, medium, high) |
openai/gpt-5.2-pro | parallel_tool_calls, text.format, text.verbosity (one of low, medium, high) |
openai/gpt-5.3-codex | parallel_tool_calls, text.format, text.verbosity (one of low, medium, high) |
openai/gpt-5.4 | parallel_tool_calls, text.format, text.verbosity (one of low, medium, high) |
openai/gpt-5.4-mini | parallel_tool_calls, text.format, text.verbosity (one of low, medium, high) |
openai/gpt-5.4-nano | parallel_tool_calls, text.format, text.verbosity (one of low, medium, high) |
openai/gpt-5.4-pro | parallel_tool_calls, text.format, text.verbosity (one of low, medium, high) |
openai/gpt-5.5 | parallel_tool_calls, text.format, text.verbosity (one of low, medium, high) |
openai/gpt-5.5-pro | parallel_tool_calls, text.format, text.verbosity (one of low, medium, high) |
openai/gpt-5.6-luna | parallel_tool_calls, text.format, text.verbosity (one of low, medium, high) |
openai/gpt-5.6-sol | parallel_tool_calls, text.format, text.verbosity (one of low, medium, high) |
openai/gpt-5.6-terra | parallel_tool_calls, text.format, text.verbosity (one of low, medium, high) |
openai/gpt-6-astra | parallel_tool_calls, text.format, text.verbosity (one of low, medium, high) |
openai/gpt-6-luna | parallel_tool_calls, text.format, text.verbosity (one of low, medium, high) |
openai/gpt-6-sol | parallel_tool_calls, text.format, text.verbosity (one of low, medium, high) |
openai/gpt-6.1-sol | parallel_tool_calls, text.format, text.verbosity (one of low, medium, high) |
openai/gpt-6.1-terra | parallel_tool_calls, text.format, text.verbosity (one of low, medium, high) |
openai/gpt-6.2-astra | parallel_tool_calls, text.format, text.verbosity (one of low, medium, high) |
openai/gpt-6.2-sol | parallel_tool_calls, text.format, text.verbosity (one of low, medium, high) |
Request fields that are advisory
Section titled “Request fields that are advisory”These are accepted and never refused, because ignoring one of them changes nothing about the answer you get back. What each asks for is not done here yet, and the response says so rather than repeating your value: it reports what was applied. That report is a fact about the response, not a missing field. It is how you tell that the setting did not take effect, and the day one of them does take effect the same field is how you will tell that too.
| Field | What happens, and what the response reports |
|---|---|
prompt_cache_key | Your key does not route the provider cache, and the response reports it as null. Caching still happens, keyed by the conversation, so a continued conversation keeps its cached prefix without you sending anything. |
Endpoints that do not exist
Section titled “Endpoints that do not exist”| Path | Status |
|---|---|
POST /v1/chat/completions |
Not available. The API speaks the Responses API, which OpenAI introduced in 2025 as the successor to Chat Completions. If your app uses Chat Completions today, OpenAI’s guide on moving to Responses covers the changes, and the same code works against this API once migrated. A coding app connects at its own base URL, which serves Chat Completions: Set up a coding app |
GET /v1/responses/{id}/input_items |
Not available. Read the conversation’s items instead: Conversations |
/v1/embeddings, /v1/completions, /v1/files |
Not available. This API serves the Responses API only. Use your provider directly for embeddings, and send file content as text in your input |
| WebSocket transport | Not available. The API is HTTP and server-sent events only. For token-by-token output, set stream: true and read the SSE body: Streaming |
How truncation differs
Section titled “How truncation differs”truncation is applied, and it behaves as the Responses API describes:
disabled, the default, refuses a turn that does not fit the model’s context
window, and auto drops the oldest turns so the turn can proceed. Five
differences are worth knowing before you rely on either value.
| Difference | What it means for you |
|---|---|
| The size of a turn is estimated, not tokenized | The estimate reads about four characters per token. To stay safe, a turn must fit in the window left after the reply’s max_output_tokens, less 15 percent of it, less 2,000 tokens for the platform’s own instructions and the estimated size of your tools. So a turn near the model’s real limit can be refused although a token count would have fit it |
auto drops whole turns from the oldest end, never part of one |
The oldest end is the end the Responses API documents dropping from, so that much is the same |
| The turn you just sent is never dropped | If it alone does not fit, the request fails rather than being emptied. This is our guarantee, not a shared one: the Responses API documents nothing about which items auto may keep |
auto trims further than it strictly needs to |
It frees 10 percent of the usable budget beyond what the turn requires, so the next few turns fit without dropping anything more. Trimming to the line would drop a turn on every turn after the first, and each drop costs you the cached prefix |
| A refused turn is not stored | The conversation is left exactly as it was, so you can send a shorter turn against the same previous_response_id |
The refusal is a 400 with the type invalid_request_error and the code
context_length_exceeded, which is the code OpenAI’s own clients branch on.
Its message is OpenAI’s, with our estimate of your input and your tools as the
count of the messages, and the reply’s max_output_tokens as the completion.
For a turn with no tools: “This model’s maximum context length is 200000
tokens, of which 30771 are kept back for the platform’s instructions and a
safety margin on our token estimate. However, you requested 176810 tokens
(168618 in the messages, 8192 in the completion).”, followed by a pointer to
truncation: "auto". What is kept back is the platform’s own instructions and
the safety margin from the first row above; your tools are counted in the
messages, as OpenAI counts them. So the tokens requested plus what is kept back
is always more than the window. If our estimate lets a turn through and the model
provider then refuses it as too long, the response fails with the same code, as
a failed response rather than a 400, and its message names the window: “This
model’s maximum context length is 200000 tokens. Please reduce the length of
the input.” Match the code rather than the message. If a provider accepts a
turn and then refuses it as too long, you’re billed for the tokens the provider
charged, including with truncation: "auto", where the trimmed retry is billed
as well. A turn we refuse before sending it isn’t billed. Retrieving a stored
response reports the truncation the turn actually ran under.
To keep a long conversation from reaching either answer, send
helpingio:context_management: it summarizes older turns and clears old tool
results, and reports both. POST /v1/responses/compact summarizes on request.
Both work under either truncation value. See
Context management.
Behavior that differs from what you might expect
Section titled “Behavior that differs from what you might expect”- A provider failure’s
502can carry usage. When the model provider fails partway through its reply to a non-streaming request, the answer is still a502with anerror, and the failed reply is not billed. If the same response made earlier model calls that completed, what they were billed is inhelpingio:usagebeside it, in the shape of a response’susage, and what that cost inhelpingio:cost. A client that reads onlyerroris unaffected. See Errors. - No stream resume.
Last-Event-IDis not honored, andstarting_afteris refused with a400rather than ignored, so a client that asks to resume learns that it cannot. If a stream drops, retrieve the response by id or retry the request with the sameIdempotency-Key. - Some declared stream events are never sent, among them the reasoning summary ladders. Each one, and what arrives in its place, is listed under Events you will not receive.
- Where a refusal’s words arrive depends on the model’s provider. When a
model declines, its message gains a
refusalcontent part after any text it already produced, and the response completes, as OpenAI reports a refusal. For Anthropic models, the part’srefusaltext is the model’s explanation when it gives one. For OpenAI models, the words of the refusal arrive first as ordinaryoutput_text, and the part’srefusaltext is empty. For Google models, the part’srefusaltext is empty. max_tool_callscounts every tool call. OpenAI applies it to built-in tools only. Here it counts every call the model makes while generating the response, your own function tools included. Your organization’s policy also limits how many calls one turn may make. Calls past either limit are neither returned nor run, andhelpingio:tool_calls_droppedon the response says how many were cut. When you send function call outputs, the response that continues from them starts a new count. A value below1is a400.- A long tool result reaches the model in part. Every output is stored
whole. The model reads the first 16 KB and can ask for up to 128 KB more,
including under
truncation: disabled, andhelpingio:context_omissionson the response reports it. The namefetch_tool_outputis reserved. See Long tool results. safety_identifierreaches the provider as a keyed hash. It is sent to the model’s provider as a keyed hash of your value, never the value itself. The response still reports the value you sent. The deprecateduseris used in its place when it is absent, and takes the same length limit.- A conversation runs one response at a time. A new turn while one is live
returns
409 conversation_in_progress: see One response at a time. - Cancel works on any response your key created, not only one created
with
background: true. See Cancel a response. - Retrieval is live, not a snapshot.
GET /v1/responses/{id}reflects the response’s current state. - When you answer a tool call, resent history is ignored rather than
appended. Client libraries usually resend the whole transcript alongside
the
function_call_output. Those items are already in the conversation, so this API acts on the tool output and ignores the rest, where OpenAI appends what you send. The result is the same conversation without a second copy of the same exchange. On a new conversation there is nothing to duplicate, so afunction_callsent with its matchingfunction_call_outputis carried in as real history. - A retrieve reports what the response ran under, not what you sent.
metadata,previous_response_id,truncationandinstructionscome back as you sent them.modelcomes back as the model that ran, andmax_output_tokensas the limit that applied, which is lower than you asked for when the model’s own maximum is lower.toolsandtool_choicecome back as the first turn of the conversation set them, because a turn that answers a tool call runs with the settings of the turn that asked: this API ignorestools,tool_choice,max_tool_callsandsafety_identifierwhen you send tool output, as the standard function-calling loop does when it re-sends your request body. So if you changed any of them while answering a tool call, the retrieve reports the earlier values, which are the ones the model actually had. The response that continues from your tool output counts its tool calls from zero against that samemax_tool_calls. previous_response_idnames the turn a response continues, not always its immediate predecessor. Answering a tool call produces a new response without starting a new turn, so every response of one turn reports the sameprevious_response_id: the response that turn continued. Walking the chain backwards therefore steps over the tool-answer responses in between. Use the conversation’s item list to read a turn’s full history in order.- There is no way to change a response’s
metadataafter it is created. That is not a limitation of this API: the Responses API has no update-response route at all, so metadata is set once with the response. A conversation’s labels can be replaced, throughPOST /v1/conversations/{id}. metadatais never sent to a model, on a response as on a conversation. It is storage and labeling, not instruction.- A response reports
conversationonly when you named one. Sendconversationand the response carries that id, on the create, on the stream and on a later retrieve. Send none and it isnull, even though your history is still kept for you, because a conversation you did not ask for is not one you can use. - Deleting is a tombstone, and it keeps your billing records. Both
DELETE /v1/responses/{id}andDELETE /v1/conversations/{id}stop the data being readable at once, and erase its content 30 days after the delete, without destroying what you were charged or the record of the calls that produced it. Deleting the same thing twice is not an error. There is no undelete. - A deleted response also disappears from its conversation’s items. It stops
being readable, stops being continuable through
previous_response_id, and its messages and tool calls drop out ofGET /v1/conversations/{id}/items. The rest of the conversation is untouched. The model is told where a turn was deleted from between later turns, and the responses of one function calling round trip are deleted together. - A response still running has
usage: null. The field holds the counts once the response finishes. usagecounts the whole exchange, not one turn. A conversation that runs through several tool rounds reports the running total every time, so the figure grows as you go and the last one is what the exchange cost. It is not a per-turn breakdown, and subtracting two of them is not one either.- Every finished response says what it cost, in
helpingio:cost, with the same running-total rule asusage. It is the amount charged, so a model call that was not charged adds nothing to it. See Extensions. - Error codes are this API’s own, not OpenAI’s.
response.error.codeand thecodein an error envelope come from this API’s own catalog, such asprovider_overloadedorinsufficient_credits. Match on the HTTP status and the errortypewhen you need behavior that works against both APIs. One code is shared on purpose:insufficient_quota, with OpenAI’s own type and code, for an organization that cannot pay for the request. The full list is on the Errors page. created_aton a conversation is Unix seconds, matching the Responses API’s own convention for the field.- Only items you added can be removed from a conversation. Removing an item
a response produced is a
400; delete the conversation instead. - Two kinds of history never appear in a conversation’s item list: a server-side tool failure, and response lifecycle. A response reports its own tool failures as items; the conversation’s list does not. See What the item list does not show.
stricton function tools depends on the model’s provider. On OpenAI models it is sent as you give it; on Anthropic models it is sent when it istrue. On Google models a function tool withstrict: trueis refused with a 400.strict: trueneeds a strict-compatible schema, otherwise the provider refuses the request. Where it is not enforced or not set, check eachfunction_call’s arguments against your schema before you run the tool.function_call_output.statusis ignored, and a failure you report in a tool output counts as a completed tool call. Say that the tool failed in theoutputtext, which the model does read.