Summarise where entities lead.
POST/api/v1/graph/path-summaries/aggregategraph:read
Where the seeds lead: without path the first steps (relation by kind, with distinct readable counts) and the destinations within max_steps; with path the set it reaches and the next steps from it. Read through the caller's access.
| Scope | graph:read |
| Asynchronous | No |
| MCP tool | aggregate_graph_path_summaries |
| Portal permissions | execute_graph_queries |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
Docwize-Version | header | string (date) | Optional |
Request body
| Content type | Type |
|---|---|
application/json | GraphPathSummaryInput |
Responses
| Status | Description | Body |
|---|---|---|
200 | Success. | application/json GraphDocument |
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 |
404 | not_found | 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 |
Errors
The problem codes this operation can answer with. Each code links to its page.
Schemas
GraphDocument
| Field | Type | Required | Description |
|---|---|---|---|
document | object | Required | The Portal's own document; its format says which. |
GraphNodeRefInput
| Field | Type | Required | Description |
|---|---|---|---|
custom_field_template_id | string or null | Optional | The register, for a register row. |
document_id | string or null | Optional | The document, for a document. |
kind | string | Required | document or register_row. |
row_id | string or null | Optional | The row, for a register row. |
GraphPathSummaryInput
| Field | Type | Required | Description |
|---|---|---|---|
include_keys | boolean or null | Optional | Add the node keys of the set reached. |
max_steps | integer or null | Optional | 1 to 4; 3 when left out. |
path | array of GraphStepInput | Optional | The steps already taken, up to 4; none for the first steps. |
perspective | string or null | Optional | all (default) or executive. |
seeds | array of GraphNodeRefInput | Required | |
statuses | array of string | Optional | |
through_documents | boolean or null | Optional | Walk through documents. True when left out. |
GraphStepInput
| Field | Type | Required | Description |
|---|---|---|---|
custom_field_template_id | string or null | Optional | The register a register_row step arrives at. |
direction | string | Required | out follows the relation from its start, in follows it back. |
kind | string | Required | What the step arrives at: document or register_row. |
relation_type_id | string | Required | The relation type's code, or DOCUMENT for the step through a document. |