model_not_enabled
- HTTP status
- 404 Not Found 409 Conflict
What happened
The model is not one you may use at this processing, or it is not offered there right now.
What to do
Choose a model from the operation's model list (GET /v1/models, GET /v1/access or GET /v1/coding/models), or leave the model out for the default.
Example
JSON
{
"error": "model_not_enabled",
"request_id": "0f8e2c4a-6b1d-4e3f-9a7c-5d2b8e1f4a60",
"doc_url": "https://developers.komplai.dk/errors/model_not_enabled"
}Every response carries a Request-Id header, and an error body repeats it as request_id. Quote it when you ask komplai about a call.
Endpoints that can return it
- POST
/v1/redactPseudonymise a text - POST
/v1/redact/jobsSubmit a text job - POST
/v1/redact/filePseudonymise the text of a PDF or Word file (beta) - POST
/v1/redact/file/jobsSubmit a PDF or Word file as a text job (beta) - POST
/v1/chat/completionsCreate a chat completion - POST
/v1/decideEvaluate one text - POST
/v1/decide/batchEvaluate several texts - POST
/v1/coding/chat/completionsStream a coding completion