Create a model response
Creates a model response using the OpenAI-compatible Responses API. The request accepts either a single text input or a list of input items (allowing batched, multi-turn input in one request), and the result can be streamed to the client as it is generated.
Not every provider implements the Responses API. Requests routed to a provider that does not support it return 400 Bad Request with an explanatory error message; use /chat/completions for those providers.
Query parameters
Specific provider to use (default determined by model)
Request body
Response
Successful response
Changes
Changed in 3 of the 55 revisions of this API.12
- ○
added the new enum value
llamacppto thequeryrequest parameterproviderrequest-parameter-enum-value-added
- ○
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 38 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲