Skip to main content
GET
/
nightly
/
memories
Get Memories
curl --request GET \
  --url https://api.example.com/nightly/memories \
  --header 'Authorization: <authorization>'
{
  "group": "<string>",
  "memories": [
    {
      "id": "<string>",
      "content": "<string>",
      "labels": [
        {}
      ]
    }
  ]
}

GET /nightly/memories

Get all memories for a specific memory group. Returns memories with their IDs, content, and labels.

Authentication

Authorization
string
required
Bearer token from login. Format: Bearer ACCESS_TOKEN

Query Parameters

group
string
required
The memory group name to retrieve memories from

Response

group
string
The memory group name
memories
array
Array of memory objects

Example

import requests

response = requests.get(
    "https://rkdune--symmetry.modal.run/nightly/memories",
    headers={"Authorization": f"Bearer {access_token}"},
    params={"group": "my_math_agent"}
)

data = response.json()
print(f"Memory Group: {data['group']}")
for memory in data["memories"]:
    print(f"[{memory['id']}] {memory['content']}")
    print(f"  Labels: {', '.join(memory['labels'])}")

Errors

StatusDescription
400Missing required query parameter: group
401Invalid or missing authorization
404Account not found