Find how a set of nodes is related.
POST/api/v1/graph/connectgraph:read
注記
このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。
Paths joining the selected nodes (keys D:<document_id> or F:<custom_field_template_id>:<row_id>). The engine returns only what the caller can see.
| スコープ | graph:read |
| 非同期 | いいえ |
| MCP ツール | connect_graph |
| Portal の権限 | view_graph_document_links |
| 会社に必要な機能 | graph |
パラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|---|---|---|---|
Docwize-Version | header | string (date) | 任意 |
リクエスト本文
| Content-Type | 型 |
|---|---|
application/json | GraphConnectInput |
応答
| ステータス | 説明 | 本文 |
|---|---|---|
200 | Success. | application/json object |
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 | unsupported_for_tenant, 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 |
200 の本文
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
body | any | 必須 | |
format | string | 必須 | |
format_version | integer | 必須 |
エラー
この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。
スキーマ
GraphConnectInput
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
include_proposals | boolean または null | 任意 | |
max_hops | integer | 任意 | Path length, 1 to 4 (default 3). ≥ -2147483648; ≤ 2147483647 |
max_paths_per_pair | integer | 任意 | Paths kept per pair, 1 to 5 (default 3). ≥ -2147483648; ≤ 2147483647 |
min_confidence | integer または null | 任意 | |
nodes | string の配列 | 必須 | Two to fifty node keys. |
relations | string の配列 | 任意 | Relation codes to walk; similarity arcs only when named. |