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
Examplegpt-5.5
input:requiredstring

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

ExampleTell me a three sentence bedtime story about a unicorn.
instructions:requiredstring

System or developer instructions added to the model context.

AllowedYou are a helpful assistent.
max_output_tokens:requirednumber

Maximum number of tokens allowed in the response.

Allowed1024
reasoning:requiredobject

Reasoning configuration for supported models.

stream:requiredboolean

Whether to stream partial results as they become available.

temperature:requirednumber

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.

Compatibility References

Use these external references to review additional parameters supported by compatible provider formats.