Completion

POST

Send a completion request to a selected model (text-only format)

Request

This endpoint expects an object.
modelstringRequired

The model ID to use

promptstringRequired

The text prompt to complete

streambooleanOptional

Response

Successful completion

idstringOptional
choiceslist of objectsOptional
Built with