Memory APIs
Search Memories (v2)
Search memories based on a query and filters.
POST
The v2 search API is powerful and flexible, allowing for more precise memory retrieval. It supports complex logical operations (AND, OR, NOT) and comparison operators for advanced filtering capabilities. The comparison operators include:
-
in
: Matches any of the values specified -
gte
: Greater than or equal to -
lte
: Less than or equal to -
gt
: Greater than -
lt
: Less than -
ne
: Not equal to -
icontains
: Case-insensitive containment check
Authorizations
API key authentication. Prefix your Mem0 API key with 'Token '. Example: 'Token your_api_key'
Body
application/json
Response
200 - application/json
The response is of type object[]
.