Skip to main content
POST
Generate response answer stream
Retired: this endpoint no longer exists. To generate an answer grounded in your own content, use Grounded Completions 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
compiledPrompt
string
required

Prompt to generate a response

forceGenerate
boolean
default:false

Force generation of a new response

Response

Successfully generated response answer

The response is of type string.