Skip to main content

Moment Savor

@mgreten/moment-savorv2026.06.06.2· 10d agoMODELS
01README

Interact with the Moment Savor family memory app via its V1 REST API. Syncs memories, API tokens, and family membership to swamp resources for CEL queries. Supports full CRUD for memories, API token lifecycle (create/revoke/rotate), family member management, and sending invitations. Authenticate with a Bearer token from https://momentsavor.app/api_tokens.

02Models1
@mgreten/moment-savorv2026.06.06.2moment_savor_api.ts
fn sync()
Fetch current memories, tokens, and family members from the API and store as resources for CEL queries
fn createMemory(title?: string, notes?: string, transcript?: string, location_name?: string, pinned?: boolean, tags?: array)
Create a new memory
ArgumentTypeDescription
title?stringTitle of the memory
notes?stringFree-form notes or description
transcript?stringText transcript
location_name?stringLocation name
pinned?booleanWhether to pin this memory
tags?arrayTags for the memory
fn updateMemory(id: string, title?: string, notes?: string, recorded_at?: string, visibility?: enum, pinned?: boolean, tags?: array)
Update an existing memory's title, notes, visibility, pinned state, tags, or recorded_at
ArgumentTypeDescription
idstringMemory UUID
title?string
notes?string
recorded_at?stringISO 8601 datetime
visibility?enum
pinned?boolean
tags?array
fn deleteMemory(id: string)
Permanently delete a memory
ArgumentTypeDescription
idstringMemory UUID to delete
fn createToken(name: string)
Create a new API token. The raw token value is stored in the issued-token resource — read it immediately as it cannot be recovered later.
ArgumentTypeDescription
namestringDisplay name for the token
fn revokeToken(id: string)
Permanently revoke an API token by ID
ArgumentTypeDescription
idstringAPI token UUID to revoke
fn rotateToken(id: string)
Rotate an existing API token, generating a new secret. The new raw token value is stored in the issued-token resource.
ArgumentTypeDescription
idstringAPI token UUID to rotate
fn updateMemberRole(id: string)
Update a family member's role. Requires an owner or admin token. Only owners can assign the owner role.
ArgumentTypeDescription
idstringFamily membership UUID
fn removeMember(id: string)
Remove a family member. Requires an owner or admin token. Cannot remove yourself.
ArgumentTypeDescription
idstringFamily membership UUID to remove
fn sendInvitation(email: string)
Send a family invitation email. Requires a read_write token. Only owners can invite with the owner role.
ArgumentTypeDescription
emailstringEmail address to invite

Resources

memories(infinite)— Snapshot of all memories for the authenticated family, optionally filtered by search query
tokens(infinite)— Snapshot of active API tokens visible to the authenticated user
family-members(infinite)— Snapshot of current family membership
issued-token(infinite)— The most recently created or rotated API token, including the raw token value
03Previous Versions1
2026.06.06.1Jun 7, 2026
04Stats
A
100 / 100
Downloads
0
Archive size
9.6 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
05Platforms
06Labels