query_relationships
Query relationships for a specific document. Find related documents by type and direction.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
database_id | string | Yes | Target database ID |
collection | string | Yes | Collection of the source/target document |
document_id | string | Yes | Document ID to find relationships for |
rel_type | string | No | Filter by relationship type |
direction | enum | No | Direction: source (outgoing), target (incoming), both |
limit | number | No | |
offset | number | No |