get() lists all memories matching a scope with pagination support, and get_memory() fetches a single memory record by its ID.
List all memories
Method signature
owner_id, agent_id, or session_id must be provided.
Parameters
Response
get() returns a CognisMemoryList object. It is iterable, supports len(), and supports index access.
CognisMemoryRecord with the following fields:
Basic usage
- Hosted (lyzr-adk)
- Open Source (lyzr-cognis)
Pagination
Uselimit and offset to page through large result sets.
Include historical versions
Setinclude_historical=True to retrieve previous versions of memories that have been updated.