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

List my saved searches.

GET/api/v1/saved-searchesdocuments:search
注記

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

Needs View Saved Document Searches. The caller's own saved searches, newest first, each with its search, its status (pending while the background task caches the result set, completed, failed, needs_rerun for a search saved before result sets were cached, needs_resaving for one that cannot be run as it was stored), the number of documents it matched and a plain-language summary.

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

パラメーター​

名前場所型必須説明
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
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/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 の本文​

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

エラー​

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

スキーマ​

SavedSearch​

フィールド型必須説明
cached_hit_countinteger必須The documents cached so far while the run is pending. ≥ -2147483648; ≤ 2147483647
created_atstring (date-time) または null必須
descriptionstring必須
namestring必須
needs_rerunboolean必須Saved before result sets were cached: run it again to read its result.
needs_resavingboolean必須The stored search cannot be run as it was stored: save it again.
reasonstring または null必須Why the search needs re-saving.
saved_search_idstring必須
searchSavedSearchSpec または null必須The search; null when it needs re-saving.
statusstring必須pending, completed, failed, needs_rerun or needs_resaving.
summarystring または null必須The plain-language summary written when the search was saved.
total_hit_countinteger必須The documents the last run matched. ≥ -2147483648; ≤ 2147483647

SavedSearchSpec​

フィールド型必須説明
date_rangesSearchDateRange の配列必須Keep the documents whose dates fall in every range.
document_number_prefixesstring の配列必須Keep the documents whose number starts with one of these, ignoring case.
exclude_duplicatesboolean または null必須Hide the documents that duplicate another document's number.
facet_filtersSearchFacetFilter の配列必須Keep the documents whose folder, tag, location, file author and so on hold one of the values. The values are the ones POST /documents/aggregate lists.
querystring または null必須Full text, as in POST /documents/search.
reference_numbersstring の配列必須Keep the documents whose reference number contains one of these, ignoring case.
weightsSearchWeights または null必須How much each field counts towards the score of a match of the query. 0 leaves a field out.

SearchDateRange​

フィールド型必須説明
fieldstring必須One of document_date, created_at, file_created_at, file_modified_at.
fromstring (date) または null必須The first day; open when left out.
tostring (date) または null必須The last day; open when left out.

SearchFacetFilter​

フィールド型必須説明
facetstring必須One of document_type, document_sub_type, from, to, project, folder, location, tag, created_by, file_content_type, file_author, file_last_author, file_producer, file_title.
valuesSearchFacetValue の配列必須Alternatives: a document is kept when its facet holds any of them.

SearchFacetValue​

フィールド型必須説明
include_childrenboolean必須With match exact, also select the values under this one in a hierarchy (a folder's subfolders): the facet starts with the value, ignoring case.
matchstring または null必須exact (the default: the facet equals the value) or contains (the facet contains the text, ignoring case).
valuestring必須A value as the facet lists it. An empty string selects the documents with no value.

SearchWeights​

フィールド型必須説明
ccsinteger または null必須
contentinteger または null必須
descriptioninteger または null必須
document_numberinteger または null必須
foldersinteger または null必須
frominteger または null必須
other_numberinteger または null必須
reference_numberinteger または null必須
tointeger または null必須