Intelligence

Create Chat Completion

Forward chat completion request to inference-api and track usage.

post/v1/chat/completions

Headers

fi-sdk-typestring nullable
fi-sdk-versionstring nullable

Request body

modelstring required
temperaturenumber nullable
top_pnumber nullable
response_formatobject nullable
max_completion_tokensinteger nullable
streamboolean
encryptboolean
encryption_idstring nullable
confidentialboolean

Response

Successful Response

objectstring required
createdinteger required
modelstring required

Changes

No recorded changes to this endpoint across all 1 revision of this API.