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

Read the cached result of a saved search.

GET/api/v1/saved-searches/{saved_search_id}/hitsdocuments:search
注記

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

Needs View Saved Document Search Results and View Document Metadata. The documents the saved search matched when it last ran, in the order it found them, each read again through the caller's live access: a document the caller can no longer read is left out, and the score is the one of the run. Highlights are not kept. 409 conflict while the saved search is pending or failed.

スコープdocuments:search
非同期いいえ
MCP ツールlist_saved_search_hits
Portal の権限view_saved_document_search_results, view_document_metadata
会社に必要な機能search
ページングsnapshot
既定の並び順position
並べ替えに使えるフィールドposition

パラメーター​

名前場所型必須説明
saved_search_idpathstring必須
limitqueryinteger任意既定値: 50; ≥ 1
cursorquerystring任意
sortquerystring任意Comma-separated sort fields, - for descending.
Docwize-Versionheaderstring (date)任意
If-None-Matchheaderstring任意Answers 304 when the representation is unchanged (resources that publish an ETag).

応答​

ステータス説明本文
200Success.application/json object
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
409conflictapplication/problem+json Problem
410cursor_expiredapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422invalid_cursor, unsupported_for_tenant, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

200 の本文​

フィールド型必須説明
itemsDocumentSearchHit の配列必須
next_cursorstring または null必須
warningsobject の配列必須

エラー​

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

スキーマ​

AdditionalField​

フィールド型必須説明
labelstring または null必須
valuestring または null必須

AdditionalFields​

フィールド型必須説明
additional_field_3AdditionalField必須
additional_field_4AdditionalField必須
additional_field_5AdditionalField必須
additional_field_6AdditionalField必須

CarbonCopy​

フィールド型必須説明
cc_idstring必須
contactobject または null必須The contact of the organisation the copy names; null for the organisation on its own.
organisationobject または null必須

DocumentFile​

フィールド型必須説明
content_typestring または null必須
file_hashstring または null必須The hash the Portal stored for the file's content; null when none was recorded.
file_namestring必須
has_pdfboolean必須Whether a PDF rendition of the file is ready (an Office file converts on demand, so false only means not yet).
is_indexedboolean必須Whether the file's text has been indexed for search.
page_countinteger または null必須The pages the file has, once the Portal has counted them; null before.
size_bytesstring または null必須
version_idstring必須

DocumentFolder​

フィールド型必須説明
folder_idstring必須
pathstring または null必須

DocumentSearchHit​

フィールド型必須説明
actual_submission_datestring または null必須
additional_fieldsAdditionalFields必須
attachment_statestring または null必須none, has_attachments or is_attachment (the document is an attachment of another); null unless include names attachment_state.
carbon_copiesCarbonCopy の配列必須The organisations and contacts the document is copied to; empty unless include names carbon_copies.
created_atstring (date-time) または null必須
created_byUserRef または null必須
descriptionstring または null必須
document_datestring または null必須
document_idstring必須
document_numberstring または null必須
document_statusobject または null必須The status shown as Status in the Portal (lookup_actionstatus).
document_sub_typeobject または null必須
document_typeobject または null必須
duplicate_ofstring または null必須The number of the document this one duplicates (the Portal's Duplicate Of).
fileDocumentFile または null必須The current file (name, type, size), as GET /documents/{document_id} shows it; null when the document has none or include leaves file out.
foldersDocumentFolder の配列必須The folders the document is filed in that the caller can see, as GET /documents/{document_id} lists them; empty unless include names folders.
from_contactobject または null必須
from_organisationobject または null必須
highlightsSearchHighlight の配列必須Passages that matched the query, with their pages; empty unless the search asked for highlight, and for the precise engine (filter, meaning).
is_latest_revisionboolean必須
is_lockedboolean必須
is_privilegedboolean必須
locationsSearchHitLocation の配列必須The locations the document is filed in; empty unless include names locations.
main_document_datestring または null必須
ownerUserRef または null必須
page_endnumber または null必須Last page of the range this document covers in its file.
page_startnumber または null必須First page of the range this document covers in its file.
post_review_statusobject または null必須
projectobject または null必須The stored project number text, with the project's ID when one matches.
project_organisationobject または null必須
reference_numberstring または null必須
relevancenumber または null必須1 is relevant (the default), 0 is irrelevant (the Portal's Irrelevant switch).
responded_withstring または null必須The reference of the document that responded to this one (the Portal's Responded With).
response_datestring または null必須
response_due_datestring または null必須
revision_numberstring または null必須
scorenumber必須How well the document matches the query, higher first. 0 when the search has no query.
tagsSearchHitTag の配列必須The document's tags that are open to the caller; empty unless include names tags.
to_contactobject または null必須
to_organisationobject または null必須

SearchHighlight​

フィールド型必須説明
fieldstring必須The field the passage comes from: content, document_number, description, reference_number, from, to, ccs, other_number or folders.
htmlstring必須The passage with the matched words in <b>; everything else is HTML-escaped.
pageinteger または null必須The 1-based page of the document the passage is on; null when the text has no pages.

SearchHitLocation​

フィールド型必須説明
location_idstring必須
pathstring または null必須

SearchHitTag​

フィールド型必須説明
namestring必須
tag_idstring必須

UserRef​

フィールド型必須説明
display_namestring必須
kindstring: user, system, integration または string必須
user_idstring または null必須