GETPro+
/api/v1/models/{model_id}/relationshipsList Relationships
Paginated list of relationships with filtering by type, source, or target node. Returns x-total-count header for pagination.
AuthentifizierungBearer mpt_... or OAuth JWT
Plan-AnforderungPro+
Parameter
| Name | Typ | Pflichtfeld | Standard | Beschreibung |
|---|---|---|---|---|
source_node_id | String | — | [List Relationships] Filter to relationships originating from this node ID. Query parameter. | |
model_id | String | ✓ | [List Relationships] UUID of the model. Path parameter. | |
relationship_type | String | — | [List Relationships] Filter by relationship type name. Query parameter. | |
target_node_id | String | — | [List Relationships] Filter to relationships pointing to this node ID. Query parameter. | |
limit | Number | — | 50 | [List Relationships] Page size. Default: 50. Query parameter. |
offset | Number | — | 0 | [List Relationships] Number of results to skip. Default: 0. Query parameter. |
Beispielantwort
{"relationships": [{"id": "rel-uuid", "type": "depends_on", "source_id": "uuid-1", "target_id": "uuid-2"}]} // x-total-count: 23