Skip to content

Create Response

POST
/v1/responses

Create one Responses API-compatible agent response.

X-Admin-Key
Any of:
string
X-Admin-API-Key
Any of:
string
X-Project-ID
Any of:
string
ResponsesRequest

Open Responses-compatible request body.

object
background
Background
boolean
conversation
Any of:
string
include
Any of:
Array<string>
input
Input
""
instructions
Any of:
string
max_output_tokens
Any of:
integer
>= 1 <= 8000
metadata
Metadata
object
key
additional properties
any
model
required
Model
string
parallel_tool_calls
Parallel Tool Calls
boolean
default: true
previous_response_id
Any of:
string
reasoning_effort
Any of:
string
Allowed values: low medium high
store
Store
boolean
default: true
stream
Stream
boolean
temperature
Any of:
number
<= 2
text
Any of:
object
key
additional properties
any
tool_choice
Any of:
tools
Any of:
Array<object>
object
key
additional properties
any
top_p
Any of:
number
<= 1
truncation
Any of:
string
Allowed values: disabled auto
user
Any of:
string
>= 1 characters <= 200 characters
key
additional properties
any

Successful Response

Validation Error

HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string