Skip to main content
POST
OpenAI Responses API Compatible Endpoint

Authorizations

Authorization
string
header
required

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

Body

application/json
model
string
required

Model ID to use for the response

Example:

"model_01kmqm4nrn9fw6r"

input
required

Input text or array of message dicts

instructions
string | null

System-level instructions (maps to system message)

max_output_tokens
integer | null

Maximum tokens to generate

temperature
number | null
default:1

Sampling temperature

Required range: 0 <= x <= 2
top_p
number | null

Nucleus sampling parameter

stream
boolean | null
default:false

Whether to stream back partial progress

metadata
Metadata · object | null

Optional metadata, ignored by the model

updated_at
string<date-time> | null

Response

Successful Response