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-Version | header | string (date) | 任意 |
リクエスト本文
| Content-Type | 型 |
|---|---|
application/json | PassageAggregateInput |
応答
| ステータス | 説明 | 本文 |
|---|---|---|
200 | Success. | application/json PassageAggregateResult |
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 |
405 | method_not_allowed | application/problem+json Problem |
406 | not_acceptable | 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 のコードです。各コードからそのページに移動できます。
スキーマ
PassageAggregateInput
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
filter | object または null | 任意 | The filter of search_passages; without it every text the caller can read is counted. |
PassageAggregateResult
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
total_count | integer | 必須 | The document texts that have passages and match the filter. ≥ -2147483648; ≤ 2147483647 |