Skip to main content
POST
Create a Responses response

Authorizations

Authorization
string
header
required

API key (sk-xxx)

Body

application/json
model
string
required
input

Input content. Can be a string or an array of messages.

instructions
string
max_output_tokens
integer
temperature
number
top_p
number
stream
boolean
tools
object[]
tool_choice
reasoning
object
previous_response_id
string
truncation
enum<string>
Available options:
auto,
disabled

Response

200 - application/json

Response created successfully

id
string
object
string
Example:

"response"

created_at
integer
status
enum<string>
Available options:
completed,
failed,
in_progress,
incomplete
model
string
output
object[]
usage
object