Skip to main content
OpenAI-compatible responses (stateless)

Authorizations

Authorization
string
header
required

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

Headers

x-gateway-cache
string | null
x-gateway-cache-ttl
integer<int32> | null
Required range: x >= 0
x-gateway-model-regions
string | null

Body

application/json
input
object
required
model
string
required
instructions
string | null
max_output_tokens
integer<int32> | null
Required range: x >= 0
metadata
object | null
parallel_tool_calls
boolean | null
prompt_cache_key
string | null
reasoning
object | null
store
boolean | null
stream
boolean
text
object | null
tool_choice
any
tools
object[] | null

Response

HTTP 200 response.

created_at
integer<int64>
required
id
string
required
model
string
required
object
string
required
output
object[]
required
status
string
required
store
boolean
required
usage
object
required