responses
Compact response input
post/v1/responses/compact
Request body
{"stackTrail":"components:schemas:core.ResponseCompactRequest:properties:context_management","oasType":"schema","type":"unknown"}
includestring[]
instructionsstring
max_output_tokensinteger
metadataobject
modelstring
parallel_tool_callsboolean
previous_response_idstring
{"stackTrail":"components:schemas:core.ResponseCompactRequest:properties:prompt","oasType":"schema","type":"unknown"}
prompt_cache_retentionstring
providerstring
Gateway routing hint; stripped before upstream execution.
safety_identifierstring
service_tierstring
storeboolean
temperaturenumber
{"stackTrail":"components:schemas:core.ResponseCompactRequest:properties:text","oasType":"schema","type":"unknown"}
{"stackTrail":"components:schemas:core.ResponseCompactRequest:properties:tool_choice","oasType":"schema","type":"unknown","description":"string or object"}
toolsobject[]
top_logprobsinteger
top_pnumber
truncationstring
userstring
Response
OK
created_atinteger
idstring
metadataobject
objectstring
providerstring