メインコンテンツまでスキップ

Say why a tag is recommended for a document.

GET/api/v1/documents/{document_id}/recommended-tags/{recommended_tag_id}/explanationdocuments:read
注記

このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。

The documents behind the recommendation, one group per signal: related (near-duplicates, attachments, cross-references), similar (text), recent (your own recent tagging), folder (tagging in the document's folders) and similar_details (similar metadata). Each group has its total and its first documents. 404 when the tag is not one you could be offered. Needs View Tag Recommendation Explanations, View Tag Recommendations, View Document Metadata, View Tags and read access to the document.

スコープdocuments:read
非同期いいえ
MCP ツールget_document_recommended_tag_explanation
Portal の権限view_tag_recommendation_explanations, view_tag_recommendations, view_document_metadata, view_tags

パラメーター​

名前場所型必須説明
document_idpathstring必須
recommended_tag_idpathstring必須
Docwize-Versionheaderstring (date)任意
If-None-Matchheaderstring任意Answers 304 when the representation is unchanged (resources that publish an ETag).

応答​

ステータス説明本文
200Success.application/json RecommendedTagExplanation
304Not modified (If-None-Match matched the ETag).
400invalid_versionapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

エラー​

この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。

スキーマ​

RecommendedTagExplanation​

フィールド型必須説明
document_embeddedboolean または null必須false when the document is not indexed yet; null when that could not be checked.
evidenceTagEvidenceGroup の配列必須Only the signals that found documents carrying the tag.
recommended_tag_idstring必須
tag_namestring必須

TagEvidenceDocument​

フィールド型必須説明
datestring または null必須The document's date as the Portal formats it.
descriptionstring または null必須
distancenumber または null必須Similar documents only: the embedding distance.
document_idstring必須
document_numberstring または null必須
document_typestring または null必須
folderstring または null必須The document's folder paths, separated by semicolons.
scorenumber または null必須Similar documents only: 1 / (1 + distance), higher is more alike.
tagged_atstring または null必須Recent and folder taggings only: when the tag was put on the document.

TagEvidenceGroup​

フィールド型必須説明
documentsTagEvidenceDocument の配列必須
kindstring必須related, similar, recent, folder or similar_details (an open enum).
totalinteger必須How many documents the signal found; documents holds the first of them. ≥ -2147483648; ≤ 2147483647