Find how a set of nodes is related.
POST/api/v1/graph/connectgraph:read
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.
| Scope | graph:read |
| Asynchronous | No |
| MCP tool | connect_graph |
| Portal permissions | view_graph_document_links |
| Company capability | graph |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
Docwize-Version | header | string (date) | Optional |
Request body
| Content type | Type |
|---|---|
application/json | GraphConnectInput |
Responses
| Status | Description | Body |
|---|---|---|
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
| Field | Type | Required | Description |
|---|---|---|---|
body | any | Required | |
format | string | Required | |
format_version | integer | Required |
Errors
The problem codes this operation can answer with. Each code links to its page.
Schemas
GraphConnectInput
| Field | Type | Required | Description |
|---|---|---|---|
include_proposals | boolean or null | Optional | |
max_hops | integer | Optional | Path length, 1 to 4 (default 3). ≥ -2147483648; ≤ 2147483647 |
max_paths_per_pair | integer | Optional | Paths kept per pair, 1 to 5 (default 3). ≥ -2147483648; ≤ 2147483647 |
min_confidence | integer or null | Optional | |
nodes | array of string | Required | Two to fifty node keys. |
relations | array of string | Optional | Relation codes to walk; similarity arcs only when named. |