Authorizations
Bearer token authentication. Get your API key from the dashboard.
Body
ID of the model to use
["gpt-4.1", "gpt-5"]
A list of messages comprising the conversation so far
1
The maximum number of tokens to generate in the chat completion
x >= 1
300
If set, partial message deltas will be sent as data-only server-sent events
A list of tools the model may call
Controls which (if any) tool is called by the model
none
, auto
Whether to return log probabilities of the output tokens
An integer between 0 and 20 specifying the number of most likely tokens to return at each token position
0 <= x <= 20
Response
Successful response
A unique identifier for the chat completion
chat.completion
The Unix timestamp (in seconds) of when the chat completion was created
The model used for the chat completion
This fingerprint represents the backend configuration that the model runs with