API referenceInference API
Inference routes
OpenAI-compatible chat completions and audio transcriptions.
POST
Requires an API key that belongs to the team owning the endpoint.
apiKeyAuthheader
AuthorizationBearer <token>API key (csm_live_...) sent as Authorization: Bearer <key>.
endpoint_name*stringLength
1 <= lengthapplication/json- body
messages*array<>Items
1 <= itemsstream?booleanDefault
falsetemperature?numbermax_tokens?numbertop_p?numberfrequency_penalty?numberpresence_penalty?numberstop?string|array<string>mm_processor_kwargs?chat_template_kwargs?reasoning_effort?stringDefault Response
curl -X POST 'https://your-inference-url/v1/endpoints/string/v1/chat/completions' \ -H 'Authorization: Bearer csm_live_xxxxxxxxxxxxxxxxxxxxxxxx' \ -H 'Content-Type: application/json' \ -d '{ "messages": [ { "role": "string", "content": null } ]}'Example Response200
Empty
POST
Requires an API key that belongs to the team owning the endpoint.
apiKeyAuthheader
AuthorizationBearer <token>API key (csm_live_...) sent as Authorization: Bearer <key>.
endpoint_name*stringLength
1 <= lengthDefault Response
curl -X POST 'https://your-inference-url/v1/endpoints/string/v1/audio/transcriptions' \ -H 'Authorization: Bearer csm_live_xxxxxxxxxxxxxxxxxxxxxxxx'Example Response200
Empty