Skip to main content
POST
Chat Completion

Autorisations

Authorization
string
header
requis

Fanify API key.

En-têtes

Idempotency-Key
string

Optional idempotency key, from 1 to 255 characters.

Corps

application/json

OpenAI-compatible chat completion request. Additional top-level fields are forwarded. The stream field must be omitted or false; n is not supported and must be omitted.

model
string
requis
messages
object[]
requis

Réponse

OpenAI-compatible chat completion.

The response is of type object.