Skip to main content
POST

Otorisasi

Authorization
string
header
wajib

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
model
string | null
input
previous_response_id
string | null
include
string[]
tools
object[] | null
tool_choice
null
mcp_servers
object[]
metadata
object | null
text
object | null
temperature
number | null
top_p
number | null
presence_penalty
number | null
frequency_penalty
number | null
parallel_tool_calls
boolean | null
stream
boolean
stream_options
null
background
boolean
max_output_tokens
integer | null
max_tool_calls
integer | null
reasoning
object | null
user
string | null
safety_identifier
string | null
prompt_cache_key
string | null
prompt_cache_retention
null
truncation
enum<string>
Opsi yang tersedia:
auto,
disabled
instructions
string | null
store
boolean
service_tier
any
top_logprobs
integer | null
conversation
null

Respons

Successful response

id
string
wajib
object
string
wajib
Allowed value: "response"
created_at
number
wajib
status
enum<string>
wajib
Opsi yang tersedia:
queued,
in_progress,
completed,
failed
model
string
wajib
output
object[]
wajib
usage
null