Get a passage clustering with its topics.
GET/api/v1/passage-clusterings/{passage_clustering_id}documents:search
注記
このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。
Needs View Own Clustering Sessions, Reload Own Clustering Sessions, View Clustering Topics and View Clustering Fragments. A clustering and, once it has completed, its topic tree: each topic's keyword label, its place in the tree (kind topic is a leaf the model found, cluster a node that merges topics; topic_id -1 is the model's outlier topic), how many passages are at or under it and the passages that stand for it (read them with list_passages). The tree is empty while the clustering is pending or running. Another user's clustering is 404.
| スコープ | documents:search |
| 非同期 | いいえ |
| MCP ツール | get_passage_clustering |
| Portal の権限 | view_own_clustering_sessions, reload_own_clustering_sessions, view_clustering_topics, view_clustering_fragments |
パラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|---|---|---|---|
passage_clustering_id | path | string | 必須 | |
Docwize-Version | header | string (date) | 任意 | |
If-None-Match | header | string | 任意 | Answers 304 when the representation is unchanged (resources that publish an ETag). |
応答
| ステータス | 説明 | 本文 |
|---|---|---|
200 | Success. | application/json PassageClustering |
304 | Not modified (If-None-Match matched the ETag). | |
400 | invalid_version | application/problem+json Problem |
401 | token_expired, unauthenticated | application/problem+json Problem |
403 | forbidden, insufficient_scope, token_owner_inactive | application/problem+json Problem |
404 | not_found | application/problem+json Problem |
405 | method_not_allowed | application/problem+json Problem |
406 | not_acceptable | 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 のコードです。各コードからそのページに移動できます。
| コード | ステータス |
|---|---|
invalid_version | 400 |
token_expired | 401 |
unauthenticated | 401 |
forbidden | 403 |
insufficient_scope | 403 |
token_owner_inactive | 403 |
not_found | 404 |
method_not_allowed | 405 |
not_acceptable | 406 |
wrong_region | 421 |
validation_failed | 422 |
internal_error | 500 |
tenant_unavailable | 503 |
unavailable | 503 |
timeout | 504 |
スキーマ
PassageClustering
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
completed_at | string (date-time) または null | 必須 | Null until the clustering has completed. |
created_at | string (date-time) または null | 必須 | |
name | string | 必須 | The query it clustered, up to 120 characters. |
passage_clustering_id | string | 必須 | |
passage_count | integer | 必須 | The passages clustered; 0 until completed. ≥ -2147483648; ≤ 2147483647 |
query | string または null | 必須 | The search that was clustered; null until completed, and for an Oliver search result without a query. |
search_mode | string または null | 必須 | meaning or exact; null until completed. |
status | string | 必須 | pending, running, completed or failed. failed means the clustering ended without topics (the model found nothing to cluster, or the job raised); make another. A clustering still pending or running long after it was made was lost with its worker. |
topics | PassageTopic の配列 | 必須 | The topic tree; empty until completed. |
PassageTopic
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
kind | string | 必須 | topic (a leaf the model found) or cluster (a node that merges topics). |
label | string の配列 | 必須 | The topic's keywords. |
parent_topic_id | string または null | 必須 | The node above it; null for a root. |
passage_count | integer | 必須 | The passages at or under the node. ≥ -2147483648; ≤ 2147483647 |
representative_passage_ids | string の配列 | 必須 | The passages that stand for the topic; read them with list_passages. |
topic_id | string | 必須 | Names the topic within its clustering; -1 is the model's outlier topic. |