Skip to main content
Exports the whole knowledge graph of a dataset as JSON: every entity and every edge. Use it to inspect, visualize, back up or migrate what remember has built. It reads the database only and makes no LLM call, so it works even when no LLM is configured.

Request

Only the owner’s live dataset can be exported. Datasets of other users, and soft-deleted ones, are not visible.

Response

200 with content-type: application/json:

Entities (nodes)

Models

The models that the entities and edges refer to by model_id.

Edges

All timestamps are RFC 3339 in UTC. See Temporal facts for the meaning of the temporal fields.

Notes

  • entities and edges are ordered by id.
  • All edges are exported, including superseded ones. To get only the facts that are currently true, keep edges without invalid_at and expired_at.
  • Entities with no edges are included.
  • The graph of an empty dataset is {"dataset": "...", "entities": [], "edges": []}. The lists are never null.
  • The export is not paginated; it contains the full graph in one response.

Errors

Errors are {"error": "..."}.

Example