Mem0ManagedGetAll
Python template · sinapsis_mem0.templates.managed.get_all
Overview
Template to retrieve all scoped memories from managed Mem0.
Template attributes take precedence over packet identity when both are available. Packet-derived `agent_id` is intentionally excluded from the managed identity merge because Mem0 managed scopes stored memories by `user_id` and `run_id` in the tested flows.
Capabilities
Capabilities: not setInstallation
Install the published package using pip or uv.
pip install sinapsis-mem0==1.0.0uv pip install sinapsis-mem0==1.0.0uv add sinapsis-mem0==1.0.0Configuration
Effective fields from the inspector schema, including nested Pydantic model fields.
Explicit retrieval scope and filters. Template attributes take precedence over packet identity.
Optional
Default: null
Optional page number for pagination.
Optional
Default: null
Optional app scope.
Optional
Default: null
Optional fields to include in the response.
Optional
Default: null
Optional run scope.
Optional
Default: null
Optional Mem0 v2 filters. When not provided, explicit scope fields and packet identity are translated into this structure automatically.
Optional
Default: null
Optional user scope.
Optional
Default: null
Optional page size for pagination.
Optional
Default: null
Optional
Default: null
Optional
Default: null
The host address for the memory configuration. Defaults to None.
Optional
Default: null
The organization ID associated with the memory configuration. Defaults to None.
Optional
Default: null
The project ID associated with the memory configuration. Defaults to None.
Optional
Default: null
Configuration example
Example from the Python docstring:
agent:
name: my_test_agent
templates:
- template_name: InputTemplate
class_name: InputTemplate
attributes: {}
- template_name: Mem0ManagedGetAll
class_name: Mem0ManagedGetAll
template_input: InputTemplate
attributes:
memory_config:
host: null
org_id: null
project_id: null
get_args:
user_id: null
run_id: null
app_id: null
filters: null
fields: null
page: null
page_size: nullShow schema-based configuration skeleton
templates:
- template_name: "Mem0ManagedGetAll"
class_name: "Mem0ManagedGetAll"
attributes:
get_args:
page: null
app_id: null
fields: null
run_id: null
filters: null
user_id: null
page_size: null
memory_config:
host: null
org_id: null
project_id: null
Inheritance
sinapsis_mem0.templates.managed.base.Mem0ManagedBaseEnvironment variables
Environment definitions belong to their canonical Python modules.
No directly related environment variables listed.