POST
/exportExport works for both in-memory and persistent (redb) backends. For persistent backends, a snapshot is built by iterating all nodes and edges.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Export the graph in canonical binary format.
/export{
"success": true,
"data": "S1JFWA...",
"checksum": 12345678,
"error": null
}
{
"success": false,
"data": null,
"checksum": null,
"error": "Failed to build graph snapshot: ..."
}
| Field | Type | Description |
|---|---|---|
success | boolean | Whether export succeeded. |
data | string or null | Base64-encoded graph data. |
checksum | integer (u64) or null | Deterministic checksum for verification. |
error | string or null | Error message (if failed). |
curl -X POST http://localhost:8080/export \
-H "Authorization: Bearer your-api-key"
Was this page helpful?