Skip to main content
Helicone OSS LLM Observability

Responses (Gateway)

Create responses via the AI Gateway
1 min read
post/v1/responses
Request example
post/v1/responses

This request schema applies when using the Helicone AI Gateway with pass‑through billing (credits). In BYOK mode, the standard OpenAI Responses API schema is allowed. The schema is defined based on fields that are stable across all provider-model mappings.

Learn more about pass‑through billing vs BYOK.

Body

application/json
top_logprobsinteger#

Range: 0–20

top_knumber · enum<string>#
Show child attributes
temperaturenumber · enum<string>#
Show child attributes
top_pnumber · enum<string>#
Show child attributes
userstring#
safety_identifierstring#
prompt_cache_keystring#
service_tierenum<string>#
Show child attributes
modelstring#
Show child attributes
reasoningobject · enum<string>#
Show child attributes
reasoning_optionsobject#
Show child attributes
budget_tokensinteger#

Range: -9007199254740991–9007199254740991

max_output_tokensnumber · enum<string>#
Show child attributes
max_tool_callsnumber · enum<string>#
Show child attributes
textobject#
Show child attributes
formatobject#
Show child attributes
verbosityenum<string>#
Show child attributes
toolsobject[]#
Show child attributes
tool_choiceenum<string> · object#
Show child attributes
truncationenum<string>#
Show child attributes
inputstring · object[]#
Show child attributes
includeenum<string>[] · enum<string>#
Show child attributes
parallel_tool_callsboolean · enum<string>#
Show child attributes
instructionsstring · enum<string>#
Show child attributes
streamboolean · enum<string>#
Show child attributes
stream_optionsobject · enum<string>#
Show child attributes
context_editingobject#
Show child attributes
enabledbooleanrequired#
clear_tool_usesobject#
Show child attributes
triggerinteger#

Range: -9007199254740991–9007199254740991

keepinteger#

Range: -9007199254740991–9007199254740991

clear_at_leastinteger#

Range: -9007199254740991–9007199254740991

exclude_toolsstring[]#
clear_tool_inputsboolean#
{key}any#
clear_thinkingobject#
Show child attributes
keepinteger · enum<string>#
Show child attributes
{key}any#
{key}any#
image_generationobject#
Show child attributes
aspect_ratiostringrequired#
image_sizestringrequired#

Responses

200
Request accepted