Create a chat completion
Sends an OpenAI-compatible chat completion request through Panicly. Panicly authenticates the project key, evaluates controls, records a decision, and then forwards approved traffic upstream.
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.
model
Provider model identifier.
messages
max_tokens
Maximum tokens requested from the provider.
temperature
Response
Provider response returned through Panicly.
id
object
created
model
choices
Errors
401
Unauthorized Error
402
Payment Required Error
403
Forbidden Error