export_edges
Flat edge enumeration. Returns every edge of the listed `types` (or all edges when `types` is omitted) as `{id, source, target, type}` with no parent-node payload. Right for migration and canonicalisation passes. Paginates via offset/limit.
Edgesatomic (read-only)
Arguments
typesarrayoptionalFilter by exact edge-type match. Omit to enumerate every edge in the document.
offsetnumberoptionalSkip N results (default 0)
limitnumberoptionalMax results (default 500, max 2000)
if_changed_sincestringoptionalHash from a previous response. Returns { changed: false } if graph unchanged.
Returns
Shape
{ edges, total, offset, limit, types?, _hash }Each edge carries { id, source, target, type, mapping_confidence? }.
Examples
Live call against the Notion example graph.
Output
{
"edges": [
{
"id": "44012ce7-99d5-4a96-b930-c8f7b1d6b45f",
"source": "3197ef3e-4ffc-48cf-9903-59db8eed94f8",
"target": "a719b36e-97a9-4927-b27c-f95f0da05d8c",
"type": "opportunity_drives_solution"
},
{
"id": "d7aaba50-cf2e-4a46-ac1b-15e61aa49212",
"source": "d8c4bbfb-669d-4e29-b75e-fba353455255",
"target": "d272290a-7006-4372-b4f4-0deb59161d39",
"type": "opportunity_drives_solution"
},
{
"id": "4c3e592e-61f3-4d7d-a7c9-486fa3a5cb6d",
"source": "88766ab4-a3e7-40be-bffa-469882937e47",
"target": "d8b467ef-9b3f-4d52-994e-ada00327f73e",
"type": "opportunity_drives_solution"
},
{
"id": "676dcc0e-7fa6-46c0-b0d3-0c4cc0e10982",
"source": "b5df3308-dc29-4958-aae7-123bc616217d",
"target": "425b4721-6c79-4da7-9b94-a66f97d308ed",
"type": "opportunity_drives_solution"
},
{
"id": "6e4b2226-2d47-4e3a-ba14-4291a2e8896b",
"source": "3197ef3e-4ffc-48cf-9903-59db8eed94f8",
"target": "b17e4f0e-5ed2-4170-a754-b17cafb42b21",
"type": "opportunity_assessed_by_feasibility_study"
},
{
"id": "5101bf03-3d91-4da1-b3e8-33363a117227",
"source": "87d8086c-ac51-4021-882a-7728c394f6ab",
"target": "dade8cd7-ffae-4800-9f72-c8767520a21c",
"type": "opportunity_assessed_by_feasibility_study"
},
{
"id":
… (truncated)