Skip to main content

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.

Scopegraph:read
AsynchronousNo
MCP toolconnect_graph
Portal permissionsview_graph_document_links
Company capabilitygraph

Parameters​

NameInTypeRequiredDescription
Docwize-Versionheaderstring (date)Optional

Request body​

Content typeType
application/jsonGraphConnectInput

Responses​

StatusDescriptionBody
200Success.application/json object
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
422unsupported_for_tenant, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

200 body​

FieldTypeRequiredDescription
bodyanyRequired
formatstringRequired
format_versionintegerRequired

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

GraphConnectInput​

FieldTypeRequiredDescription
include_proposalsboolean or nullOptional
max_hopsintegerOptionalPath length, 1 to 4 (default 3). ≥ -2147483648; ≤ 2147483647
max_paths_per_pairintegerOptionalPaths kept per pair, 1 to 5 (default 3). ≥ -2147483648; ≤ 2147483647
min_confidenceinteger or nullOptional
nodesarray of stringRequiredTwo to fifty node keys.
relationsarray of stringOptionalRelation codes to walk; similarity arcs only when named.