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_at
error
Error information returned from the API
id
incomplete_details
instructions
metadata
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.
model
object
Allowed values:
parallel_tool_calls
temperature
tool_choice
tools
top_p
background
max_output_tokens
max_tool_calls
output
output_text
previous_response_id
prompt
prompt_cache_key
reasoning
safety_identifier
service_tier
Allowed values:
status
store
text
Text output configuration including format and verbosity
top_logprobs
truncation
Allowed values:
usage
Token usage information for the response
user