Create Model Response

POST/v1/responses
Create a response using the OpenAI-compatible Responses API format.

Request Body

application/json
model:requiredstring

Model identifier used for this request.

Allowedgpt-5.5
input:requiredstring | array

Text, message, image, or file input supplied to the model.

instructions:optionalstring

System or developer instructions added to the model context.

ExampleYou are a helpful assistant.
max_output_tokens:optionalnumber

Maximum number of tokens allowed in the response.

Example1024
reasoning:optionalobject

Reasoning configuration for supported models.

stream:optionalboolean

Whether to stream partial results as they become available.

temperature:optionalnumber

Sampling temperature used to control response randomness.

Response

200

A successful request returns a JSON response. The complete example is shown in the code panel.