List Edges
Returns edges (relationships) connected to the specified entity IDs. Use IDs obtained from/graph/entities.
Request
Headers
| Header | Required | Description |
|---|---|---|
Authorization | Yes | API key in Bearer snorbe_... format |
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
entityIds | string | Yes | Comma-separated entity IDs (1–100) |
type | string | No | Filter by relationship type |
Response
Response Fields
| Field | Type | Description |
|---|---|---|
edges | object[] | Edge array (weight descending) |
edges[].id | string | Edge ID |
edges[].sourceEntityId | string | Source entity ID |
edges[].targetEntityId | string | Target entity ID |
edges[].type | string | Relationship type |
edges[].weight | number | Weight score |
edges[].createdAt | string | Created timestamp |
edges[].updatedAt | string | Updated timestamp |
Examples
Error Responses
| HTTP Status | Code | Description |
|---|---|---|
| 400 | BAD_REQUEST | entityIds is empty or contains more than 100 IDs |
| 401 | UNAUTHORIZED | Invalid, expired, or missing API key |
| 429 | TOO_MANY_REQUESTS | Rate limit exceeded |