Skip to main content
POST
Create response (OpenAI Responses API)

Autorisations

Authorization
string
header
requis

Authenticate with a Bearer Token. Format: Authorization: Bearer sk-xxxxxx

Corps

application/json
model
string
requis
input

Input content, either 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>
Options disponibles:
auto,
disabled

Réponse

200 - application/json

Response created successfully

id
string
object
string
Exemple:

"response"

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