Returns a single memory belonging to the authenticated user.
Bearer token obtained from the authenticate endpoint.
UUID of the memory to retrieve.
Response
Organization this memory belongs to.
Member this memory belongs to.
ISO 8601 timestamp when the memory was created.
ISO 8601 timestamp when the memory was last updated.
curl -X GET https://api.trellis.sh/v1/user-memories/a1b2c3d4-e5f6-7890-abcd-ef1234567890 \
-H "Authorization: Bearer YOUR_TOKEN"
import requests
memory_id = "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
response = requests.get(
f"https://api.trellis.sh/v1/user-memories/{memory_id}",
headers={"Authorization": "Bearer YOUR_TOKEN"},
)
memory = response.json()
const memoryId = "a1b2c3d4-e5f6-7890-abcd-ef1234567890";
const response = await fetch(
`https://api.trellis.sh/v1/user-memories/${memoryId}`,
{
headers: { Authorization: "Bearer YOUR_TOKEN" },
}
);
const memory = await response.json();
{
"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"
}
{
"detail": "Missing Authorization header"
}
{
"detail": "User memory not found"
}