Skip To Main Content
All modules

Memories

Fields marked * are required. Updates keep every field they are not given. An AI app can ask vritto_describe for the same details, filtered to what its connection may use.

Memorymemory

An autobiographical memory in the user's own words. The same operations add and remove the present-day reflections attached to a memory (type 'reflection').

memories_findFindthrough vritto_find

Read AI-visible Memories: search by text, place, person, tag, form, provenance or when it happened (occurredFrom/occurredTo), one memory by id, view 'related' with id for connected memories, or view 'themes' for recurring themes. Summary rows unless detail is 'full'.

FieldTypeDescription
idstringReturn just this memory.
memoryIdstringOlder name for id.
viewone of related, themes'related' with id: memories sharing people, place, time, subject or tags (reasons are deterministic); 'themes': recurring themes with their evidence (frequency is not importance).
querystringText to match in titles, recollections, places and tags.
statusone of active, archived, trashed, deleted
formone of episode, repeated, period, fragment, received_story, shared, collective, composite
lifeEventTypeone of first, last, turning_point, achievement, work, education, relationship, family, home, health, travel, birthday, wedding, memorial, personal, other
basisone of firsthand, co_remembered, told_to_me, media_anchored, document_anchored, inferred, mixed, unspecified
visibilityone of private, ai
sensitivityone of general, personal, intimate, grief, trauma_sensitive
personIdstringOnly memories with this person.
placeKeystringOnly memories at this Places key.
tagstring
sourceModuleIdstringOnly memories linked to a record of this module.
occurredFromstringEarliest time it happened (a year or a date). ALWAYS pass occurredFrom/occurredTo when the question concerns a period.
occurredTostringLatest time it happened.
undatedOnlyboolean
favoriteOnlyboolean
pinnedOnlyboolean
includeArchivedboolean
includeTrashedboolean
detailone of summary, full'summary' (default) compact rows; 'full' complete recollections.
limitintegerMax rows; keep it narrow.
cursorstring
Example input
{
  "query": "Goa"
}
memories_addCreatethrough vritto_create

Preserve a Memory from the user's own account (record: a title, recollection, transcript or asset; fuzzy dates, provenance, certainty and sensitivity kept; private unless told). type 'reflection' attaches a present-day reflection to a memory (memoryId, body); a draftId makes the Memory from that AI-visible draft after approval.

FieldTypeDescription
typeone of memory, reflection, draft'memory' (default); 'reflection' a later perspective on a memory; 'draft' a recoverable draft, not yet a Memory (the draft's fields at the top level).
recordobjectThe memory.
record.titlestring
record.recollectionstring
record.rawTranscriptstring
record.formone of episode, repeated, period, fragment, received_story, shared, collective, composite
record.lifeEventTypeone of first, last, turning_point, achievement, work, education, relationship, family, home, health, travel, birthday, wedding, memorial, personal, other
record.primaryAssetIdstring
record.assetIdslist of string
record.occurredobject
record.endedobject
record.recognizedAtobject
record.temporalNotestring
record.basisone of firsthand, co_remembered, told_to_me, media_anchored, document_anchored, inferred, mixed, unspecified
record.certaintyone of certain, likely, uncertain, conflicted
record.perspectiveone of first_person, observer, mixed, unclear
record.peopleIdslist of string
record.unresolvedPeoplelist of string
record.placeobject
record.subjectFacetslist of string
record.narrativeDynamicslist of string
record.sensoryCueslist of object
record.tagslist of string
record.emotionsThenlist of string
record.emotionsNowlist of string
record.whyItMattersstring
record.identityThemeslist of string
record.openQuestionslist of string
record.catalogRefslist of object
record.visibilityone of private, ai
record.rediscoveryone of inherit, allow, muted
record.sensitivityone of general, personal, intimate, grief, trauma_sensitive
record.pinnedboolean
record.favoriteboolean
record.idempotencyKeystring
memoryobjectOlder form of record (memories_createMemory); with draftId, the fields to set on the Memory made from the draft.
memory.titlestring
memoryIdstringType 'reflection': the memory it reflects on.
bodystringType 'reflection': the reflection in the user's words.
reflectedOnstringType 'reflection': when, YYYY-MM-DD.
meaningChangedbooleanType 'reflection': true when the memory's meaning changed for the user.
visibilityone of private, aiType 'reflection' or 'draft': defaults to private.
draftIdstringMake the Memory from this AI-visible draft (after the user approves).
captureModeone of text, voice, media, source, importType 'draft': how it was captured.
idempotencyKeystring
Example input
{
  "record": {
    "title": "First snow in Chicago",
    "recollection": "We ran outside at midnight in slippers.",
    "form": "episode",
    "visibility": "ai"
  }
}
memories_changeUpdatethrough vritto_update

Change one Memory by record.id: add detail, correct context, or update its meaning; omitted fields keep their values. archived true archives it (reversible). Do not change AI visibility without explicit consent.

FieldTypeDescription
recordobjectThe memory's id plus the fields to change.
record.titlestring
record.recollectionstring
record.rawTranscriptstring
record.formone of episode, repeated, period, fragment, received_story, shared, collective, composite
record.occurredobject
record.endedobject
record.recognizedAtobject
record.temporalNotestring
record.basisone of firsthand, co_remembered, told_to_me, media_anchored, document_anchored, inferred, mixed, unspecified
record.certaintyone of certain, likely, uncertain, conflicted
record.perspectiveone of first_person, observer, mixed, unclear
record.peopleIdslist of string
record.unresolvedPeoplelist of string
record.subjectFacetslist of string
record.narrativeDynamicslist of string
record.tagslist of string
record.emotionsThenlist of string
record.emotionsNowlist of string
record.whyItMattersstring
record.identityThemeslist of string
record.openQuestionslist of string
record.visibilityone of private, ai
record.rediscoveryone of inherit, allow, muted
record.sensitivityone of general, personal, intimate, grief, trauma_sensitive
record.pinnedboolean
record.favoriteboolean
record.id*stringMemory ID from memories_find, never invented.
record.archivedbooleantrue archives the memory (reversible); false restores it.
expectedRevisioninteger
memoryIdstringOlder name for record.id, with patch or archived.
patchobjectOlder form (memories_patchMemory), with memoryId: the fields to change.
patch.visibilityone of private, ai
archivedbooleanOlder form (memories_setMemoryArchived), with memoryId.
Example input
{
  "record": {
    "id": "mem_first_snow",
    "favorite": true
  }
}
memories_removeDeletethrough vritto_delete

Move a Memory to Trash, or (type 'reflection', with its memoryId) delete one reflection. Only when the user explicitly asks to remove it.

Note: type 'reflection' with the memoryId deletes one reflection instead.

FieldTypeDescription
typeone of memory, reflection'memory' (default) or 'reflection'.
idstringThe memory, or with type 'reflection' the reflection.
memoryIdstringType 'reflection': its memory. Older name for id otherwise.
reflectionIdstringOlder form (memories_deleteMemoryReflection), with memoryId.
expectedRevisioninteger

Kept in the Vritto app

  • memories_analyzeMemoryDraft: Runs Vritto's own AI; the calling assistant is already an AI.
  • memories_proposeMemoryNarrativePolish: Runs Vritto's own AI; the calling assistant is already an AI.
  • memories_queryMemorySemanticSearch: Runs Vritto's own AI; the calling assistant is already an AI.