v1

latestOpenAPI 3.1.02026-07-1387366.9 KB

Legacy API Inference Chat

Calls an Inflection model using the legacy chat API.

post/external/api/inference

Query parameters

origin_endpointstring nullable

Request body

configstring
temperaturenumber nullable
stop_tokensstring[] nullable
max_tokensinteger nullable
top_pnumber nullable
web_searchboolean
server_targetstring nullable
schemasstring[] nullable

Response

Returns the chat response with text and optional tool calls

creatednumber required
textstring required
reasoning_contentstring nullable