Change the tag recommendation settings.
PATCH/api/v1/company/settings/tag-recommendationslookup_lists:write
注記
このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。
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.
バージョン 2026-12-01。 完全な応答には view_tag_recommendation_settings と view_tags の両方の権限が必要です。権限がない場合、応答は ID の受領情報になります。tag_denylist は常に配列です。
| スコープ | lookup_lists:write |
| 非同期 | いいえ |
| MCP ツール | update_company_settings_tag_recommendations |
| Portal の権限 | edit_tag_recommendation_settings |
パラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|---|---|---|---|
Docwize-Version | header | string (date) | 任意 | |
If-Match | header | string | 任意 |
リクエスト本文
| Content-Type | 型 |
|---|---|
application/json | TagRecommendationSettingsPatchInput |
application/merge-patch+json | TagRecommendationSettingsPatchInput |
応答
| ステータス | 説明 | 本文 |
|---|---|---|
200 | Success. | application/json TagRecommendationSettings または 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 |
エラー
この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。
スキーマ
TagRecommendationSettings
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
allow_cross_folder_history | boolean | 必須 | |
allow_cross_user_workspace_history | boolean | 必須 | |
confidence_threshold | string | 必須 | 0 to 1. |
enabled_globally | boolean | 必須 | |
max_recommendations | integer | 必須 | 1 to 5. ≥ -2147483648; ≤ 2147483647 |
similarity_distance_cap | string | 必須 | Above 0 and at most 100. |
tag_denylist | string の配列 または null | 必須 | Readable tags never recommended; null without View Tags. |
TagRecommendationSettingsPatchInput
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
allow_cross_folder_history | boolean または null | 任意 | |
allow_cross_user_workspace_history | boolean または null | 任意 | |
confidence_threshold | string または null | 任意 | |
enabled_globally | boolean または null | 任意 | |
max_recommendations | integer または null | 任意 | |
similarity_distance_cap | string または null | 任意 | |
tag_denylist | string の配列 または null | 任意 |