Skip to main content

GET /v1/snapshot/

Returns the latest hourly snapshot for a user.

Path parameters

FieldTypeRequiredNotes
user_idstringYesUser identity whose latest snapshot should be returned.

Response

{
  "status": "ok",
  "user_id": "user-123",
  "generated_at": "2026-03-16T10:00:00.000000",
  "snapshot": {
    "summary": "The user prefers pytest, is working on repository X, and has an active goal to improve automated testing coverage.",
    "memory_refs": [
      "mem-123",
      "mem-456"
    ],
    "health_note": "No major contradiction clusters affected the selected snapshot."
  }
}

Notes

  • Snapshots include only user and global memories.
  • Container-only memories are excluded.
  • The latest snapshot is overwritten during hourly maintenance.

Response field notes

FieldTypeAlways presentNotes
statusstringYesUsually ok.
user_idstringYesEchoes the requested user id.
generated_atdatetime | nullYesNull when no snapshot exists yet.
snapshotSnapshotPayload | nullYesNull when no snapshot exists yet.