Create a legacy completion

View as Markdown

Authentication

AuthorizationBearer

Panicly project key supplied as Authorization: Bearer pk_live_....

OR
x-panicly-keystring

Panicly project key supplied directly in the x-panicly-key header.

Request

This endpoint expects an object.
modelstringRequired
promptstringRequired
max_tokensintegerOptional

Response

Provider completion response.