Skip to main content
Returns all memories for a specific member within the organization, ordered by most recently updated first.
This endpoint requires admin privileges. To manage your own memories, use the self-service User Memories API.
Authorization
string
required
Bearer token obtained from the authenticate endpoint. The authenticated user must be an admin.
member_id
string
required
ID of the member whose memories to list.

Response

user_memories
array
List of memory objects for the specified member.
curl -X GET "https://api.trellis.sh/v1/admin/user-memories?member_id=member_01HX..." \
  -H "Authorization: Bearer YOUR_TOKEN"
{
  "user_memories": [
    {
      "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "organization_id": "org_01HX...",
      "member_id": "member_01HX...",
      "content": "Prefers responses in bullet points",
      "created_at": "2025-03-01T10:00:00+00:00",
      "updated_at": "2025-03-15T14:30:00+00:00"
    }
  ]
}