curl --request POST \
--url http://localhost:8080/api/v2/memories/list \
--header 'Content-Type: application/json' \
--data '
{
"org_id": "universal",
"project_id": "universal",
"page_size": 100,
"page_num": 0,
"filter": "",
"set_metadata": {},
"type": "episodic"
}
'{
"content": {
"episodic_memory": [
{
"uid": "<string>",
"content": "<string>",
"session_key": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"producer_id": "<string>",
"producer_role": "<string>",
"produced_for_id": "<string>",
"sequence_num": 0,
"episode_type": "message",
"content_type": "string",
"filterable_metadata": {},
"metadata": {}
}
],
"semantic_memory": [
{
"category": "<string>",
"tag": "<string>",
"feature_name": "<string>",
"value": "<string>",
"set_id": "<string>",
"metadata": {
"citations": [
"<string>"
],
"id": "<string>",
"other": {}
}
}
]
},
"status": 0
}List memories within a project.
System returns a paginated list of memories stored in the project. The page_size and page_num fields control pagination.
The filter field allows for filtering based on metadata key-value pairs. The set_metadata field scopes semantic memories to matching semantic sets. The type field allows specifying which memory type to list.
curl --request POST \
--url http://localhost:8080/api/v2/memories/list \
--header 'Content-Type: application/json' \
--data '
{
"org_id": "universal",
"project_id": "universal",
"page_size": 100,
"page_num": 0,
"filter": "",
"set_metadata": {},
"type": "episodic"
}
'{
"content": {
"episodic_memory": [
{
"uid": "<string>",
"content": "<string>",
"session_key": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"producer_id": "<string>",
"producer_role": "<string>",
"produced_for_id": "<string>",
"sequence_num": 0,
"episode_type": "message",
"content_type": "string",
"filterable_metadata": {},
"metadata": {}
}
],
"semantic_memory": [
{
"category": "<string>",
"tag": "<string>",
"feature_name": "<string>",
"value": "<string>",
"set_id": "<string>",
"metadata": {
"citations": [
"<string>"
],
"id": "<string>",
"other": {}
}
}
]
},
"status": 0
}Specification model for listing memories.
The unique identifier of the organization.
- Must not contain slashes (`/`).
- Must contain only letters, numbers, underscores, hyphens, colon, and Unicode
characters (e.g., Chinese/Japanese/Korean). No slashes or other symbols
are allowed.
This value determines the namespace the project belongs to."MemVerge"
"AI_Labs"
The identifier of the project.
- Must be unique within the organization.
- Must not contain slashes (`/`).
- Must contain only letters, numbers, underscores, hyphens, colon, and Unicode
characters (e.g., Chinese/Japanese/Korean). No slashes or other symbols
are allowed.
This ID is used in API paths and resource locations."memmachine"
"research123"
"qa_pipeline"
The maximum number of memories to return per page. Use this for pagination.50
100
The zero-based page number to retrieve. Use this for pagination.0
1
5
10
An optional string filter applied to the memory metadata. This uses a
simple query language (e.g., 'metadata.user_id=123') for exact matches.
Multiple conditions can be combined using AND operators. The metadata
fields are prefixed with 'metadata.' to distinguish them from other fields."metadata.user_id=123 AND metadata.session_id=abc"
Optional metadata key-value pairs used to filter or identify semantic sets.Show child attributes
The specific memory type to list (e.g., episodic or semantic).semantic, episodic "episodic"
Successful Response