Change the tag recommendation settings.
PATCH/api/v1/company/settings/tag-recommendationslookup_lists:write
Changes supplied settings; an omitted or null denylist retains the stored exclusions. Visible-list replacements preserve unseen entries. Every nonempty supplied denylist needs View Tags and current access to all supplied tags. A full response needs View Tag Recommendation Settings; the denylist is null without View Tags.
Version 2026-12-01. A full response needs the view_tag_recommendation_settings and view_tags permissions; otherwise the response is a write receipt. tag_denylist is always an array.
| Scope | lookup_lists:write |
| Asynchronous | No |
| MCP tool | update_company_settings_tag_recommendations |
| Portal permissions | edit_tag_recommendation_settings |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
Docwize-Version | header | string (date) | Optional | |
If-Match | header | string | Optional |
Request body
| Content type | Type |
|---|---|
application/json | TagRecommendationSettingsPatchInput |
application/merge-patch+json | TagRecommendationSettingsPatchInput |
Responses
| Status | Description | Body |
|---|---|---|
200 | Success. | application/json TagRecommendationSettings or object |
400 | invalid_version, malformed_json | application/problem+json Problem |
401 | token_expired, unauthenticated | application/problem+json Problem |
403 | forbidden, insufficient_scope, token_owner_inactive | application/problem+json Problem |
404 | not_found | application/problem+json Problem |
405 | method_not_allowed | application/problem+json Problem |
406 | not_acceptable | application/problem+json Problem |
412 | precondition_failed | application/problem+json Problem |
413 | payload_too_large | application/problem+json Problem |
415 | unsupported_media_type | application/problem+json Problem |
421 | wrong_region | application/problem+json Problem |
422 | validation_failed | application/problem+json Problem |
500 | internal_error | application/problem+json Problem |
503 | tenant_unavailable, unavailable | application/problem+json Problem |
504 | timeout | application/problem+json Problem |
Errors
The problem codes this operation can answer with. Each code links to its page.
Schemas
TagRecommendationSettings
| Field | Type | Required | Description |
|---|---|---|---|
allow_cross_folder_history | boolean | Required | |
allow_cross_user_workspace_history | boolean | Required | |
confidence_threshold | string | Required | 0 to 1. |
enabled_globally | boolean | Required | |
max_recommendations | integer | Required | 1 to 5. ≥ -2147483648; ≤ 2147483647 |
similarity_distance_cap | string | Required | Above 0 and at most 100. |
tag_denylist | array of string or null | Required | Readable tags never recommended; null without View Tags. |
TagRecommendationSettingsPatchInput
| Field | Type | Required | Description |
|---|---|---|---|
allow_cross_folder_history | boolean or null | Optional | |
allow_cross_user_workspace_history | boolean or null | Optional | |
confidence_threshold | string or null | Optional | |
enabled_globally | boolean or null | Optional | |
max_recommendations | integer or null | Optional | |
similarity_distance_cap | string or null | Optional | |
tag_denylist | array of string or null | Optional |