v51

OpenAPI 3.1.0raw.githubusercontent.com2026-08-018486293.2 KB
responses

Create Response

OpenAI-compatible Responses endpoint.

Supports MCP tool-use loops, sandboxed code execution, and SearXNG web_search in both standalone mode and hybrid mode. Hybrid-mode requests resolve credentials via the platform service and get multi-attempt fallback across the resolved route, tool-loop requests included (fallback applies up to the pre-lock-in point, same as chat).

post/v1/responses

Request body

backgroundboolean nullable
frequency_penaltynumber nullable
includestring[] nullable
{"stackTrail":"components:schemas:ResponsesRequest:properties:input","oasType":"schema","type":"unknown","title":"Input"}
instructionsstring nullable
max_output_tokensinteger nullable
max_tool_callsinteger nullable
max_tool_iterationsinteger nullable
mcp_server_idsstring[] nullable
metadataobject nullable
modelstring required
parallel_tool_callsboolean nullable
presence_penaltynumber nullable
previous_response_idstring nullable
prompt_cache_keystring nullable
prompt_cache_retentionstring nullable
reasoningobject nullable
response_formatobject nullable
safety_identifierstring nullable
service_tierstring nullable
session_labelstring nullable

Optional caller-supplied label for cost attribution (per run, experiment, or conversation). In hybrid mode it is forwarded onto the platform usage report so spend can be sliced by session without standing up OpenTelemetry. Stripped before the request is forwarded upstream to the provider. Has no effect in standalone mode, where there is no platform to report it to.

storeboolean nullable
streamboolean
stream_optionsobject nullable
temperaturenumber nullable
{"stackTrail":"components:schemas:ResponsesRequest:properties:text:anyOf","oasType":"schema","type":"unknown","title":"Text","nullable":true}
toolsobject[] nullable
tools_headerstring nullable
top_logprobsinteger nullable
top_pnumber nullable
truncationstring nullable
userstring nullable

Response

Successful Response

{"stackTrail":"paths:/v1/responses:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}