Create a response

Creates a streaming or non-streaming response using OpenResponses API format

Authentication

AuthorizationBearer
API key as bearer token in Authorization header

Request

This endpoint expects an object.

Response

Successful response
created_atdouble
errorobject
Error information returned from the API
idstring
incomplete_detailsobject
instructionsstring or list of objects or any
metadatamap from strings to strings

Metadata key-value pairs for the request. Keys must be ≤64 characters and cannot contain brackets. Values must be ≤512 characters. Maximum 16 pairs allowed.

modelstring
objectenum
Allowed values:
parallel_tool_callsboolean
temperaturedouble or null
tool_choiceenum or object
toolslist of maps from strings to any or objects
top_pdouble or null
backgroundboolean or null
max_output_tokensdouble or null
max_tool_callsdouble or null
outputlist of objects or null
output_textstring or null
previous_response_idstring or null
promptobject or null
prompt_cache_keystring or null
reasoningobject or null
safety_identifierstring or null
service_tierenum or null
Allowed values:
statusenum or null
storeboolean or null
textobject or null
Text output configuration including format and verbosity
top_logprobsdouble or null
truncationenum or null
Allowed values:
usageobject or null
Token usage information for the response
userstring or null