What a record looks like
How records are created
Your app usually creates memory records indirectly through EDN’s write endpoints:AI_INFERRED and AI_GENERATED records are never used as context until a user
confirms them.
The lifecycle of a record
- Active: the current version of the memory. It can be used in a SIP if its provenance is eligible.
- Replaced: a newer record has replaced it. EDN keeps the old record so the
history stays traceable, but never uses it as context.
- After a correction, the old record stays in lists, and its
superseded_bypoints to the new record. - After a confirmation, the old record is no longer listed, and the new
USER_CONFIRMEDrecord takes its place.
- After a correction, the old record stays in lists, and its
- Deleted: the record has been removed. It is no longer used as context or returned in lists.
Working with records
- List and filter records with
GET /api/v1/memory/records. - Delete a record with
DELETE /api/v1/memory/records/{record_id}. - Inspect your records in the Console’s Memory Store.
Next steps
Provenance
Understand what each source label means and which memories can be used as
context.
The SIP
See how EDN selects memory records and turns them into context for your AI.
Corrections
Learn how newer facts replace outdated memories while keeping the history
traceable.
