Search Archival Memory
Deprecated
/v1/agents/{agent_id}/archival-memory/search
Search archival memory using semantic (embedding-based) search with optional temporal filtering.
This endpoint allows manual triggering of archival memory searches, enabling users to query an agent's archival memory store directly via the API. The search uses the same functionality as the agent's archival_memory_search tool but is accessible for external API usage.
Path Parameters
Query Parameters
Returns
Search Archival Memory
curl https://api.letta.com/v1/agents/$AGENT_ID/archival-memory/search \
-H "Authorization: Bearer $LETTA_API_KEY" \
-d '{}'
{
"count": 0,
"results": [
{
"content": "content",
"timestamp": "timestamp",
"tags": [
"string"
]
}
]
}Returns Examples
{
"count": 0,
"results": [
{
"content": "content",
"timestamp": "timestamp",
"tags": [
"string"
]
}
]
}