Skip to main content
POST
Generate
Retired: this endpoint no longer exists. To generate a response from a model, use Completions V2 instead.

Authorizations

Authorization
string
header
default:Bearer <api-key>
required

Bearer authentication header of the form Bearer <api-key>, where <api-key> is your API key.

Body

application/json
prompt
string
required

Prompt to generate a response

Response

Successful Response