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

Count the document texts a passage filter matches.

POST/api/v1/passages/aggregatedocuments:search
注記

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

Needs Search Document Metadata and View Document Metadata. The clustering app's row count for a filter: the number of document texts (one per document, or per page or image of one) that have passages and match filter, among the documents the caller can read. filter is the one of search_passages; without it every text the caller can read is counted.

スコープdocuments:search
非同期いいえ
MCP ツールaggregate_passages
Portal の権限search_document_metadata, view_document_metadata

パラメーター​

名前場所型必須説明
Docwize-Versionheaderstring (date)任意

リクエスト本文​

Content-Type型
application/jsonPassageAggregateInput

応答​

ステータス説明本文
200Success.application/json PassageAggregateResult
400invalid_version, malformed_jsonapplication/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
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/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 のコードです。各コードからそのページに移動できます。

スキーマ​

PassageAggregateInput​

フィールド型必須説明
filterobject または null任意The filter of search_passages; without it every text the caller can read is counted.

PassageAggregateResult​

フィールド型必須説明
total_countinteger必須The document texts that have passages and match the filter. ≥ -2147483648; ≤ 2147483647