Edges
List inter-class edges (relationships) between schema graph classes with relationship type and weight information.
GET
/v1/schema-graph/edgesResponse
Response fields
dataarrayArray of edge objects.
data[].idstringEdge UUID.
data[].source_schema_idstringUUID of the source schema class.
data[].target_schema_idstringUUID of the target schema class.
data[].edge_typestringRelationship type (e.g. references, extends).
data[].weightnumberEdge weight between 0 and 1 indicating relationship strength.
data[].computed_atstringISO 8601 timestamp when the edge was computed.
Response
{
"data": [
{
"id": "edge-uuid-1",
"source_schema_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"target_schema_id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"edge_type": "references",
"weight": 0.87,
"computed_at": "2024-09-14T00:00:00.000Z"
}
]
}Errors
Error responses
401unauthorizedMissing or invalid API key.
429rate_limitedToo many requests. Retry after the period indicated in the Retry-After header.