idx.
string
required
Bearer token obtained from the authenticate endpoint.
Response
array
List of memory objects.
Show Memory object
Show Memory object
string
Unique memory ID (UUID).
string
Organization this memory belongs to.
string
Member this memory belongs to.
string
The memory content.
integer
Zero-based position in the ordered list.
string
Memory tier:
identity, preference, terminology, or focus.string
ISO 8601 timestamp when the memory was created.
string
ISO 8601 timestamp when the memory was last updated.
curl -X GET https://api.trellis.sh/v1/user-memories \
-H "Authorization: Bearer YOUR_TOKEN"
import requests
response = requests.get(
"https://api.trellis.sh/v1/user-memories",
headers={"Authorization": "Bearer YOUR_TOKEN"},
)
memories = response.json()["user_memories"]
const response = await fetch("https://api.trellis.sh/v1/user-memories", {
headers: { Authorization: "Bearer YOUR_TOKEN" },
});
const { user_memories } = await response.json();
{
"user_memories": [
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"organization_id": "org_01HX...",
"member_id": "member_01HX...",
"content": "Prefers responses in bullet points",
"idx": 0,
"tier": "preference",
"created_at": "2025-03-01T10:00:00+00:00",
"updated_at": "2025-03-15T14:30:00+00:00"
}
]
}
{
"detail": "Missing Authorization header"
}