Request Body
A list of input items comprising the conversation.Each item can be:
message: A conversation message with role and contentfunction_call: A function call requestfunction_call_output: Output from a function call
System instructions for the model (equivalent to system message).
Maximum number of tokens to generate.
Sampling temperature between 0 and 2.
A list of tools the model may call.
If true, returns a stream of events.
ID of a previous response to continue the conversation from.
Whether to store the response for later retrieval.
Metadata to attach to the response for tracking purposes.
Text generation configuration options.
Whether to allow multiple tool calls in parallel.
Nucleus sampling parameter (0-1).
Reasoning configuration for reasoning-enabled models such as GPT-5 family variants.
effort(string): Reasoning effort level (low,medium,high)
Response
Unique identifier for the response.
Always
response.Unix timestamp of when the response was created.
List of output items generated by the model.
Token usage statistics.