curl --request POST \
--url https://api.example.com/api/v1/memory/search \
--header 'Content-Type: application/json' \
--data '
{
"query": "<string>",
"user_id": "<string>",
"agent_id": "<string>",
"app_id": "default",
"project_id": "default",
"method": "hybrid",
"top_k": -1,
"radius": 0.5,
"min_score": 0.5,
"include_profile": false,
"enable_llm_rerank": false,
"filters": {
"AND": [
"<unknown>"
],
"OR": [
"<unknown>"
]
}
}
'import requests
url = "https://api.example.com/api/v1/memory/search"
payload = {
"query": "<string>",
"user_id": "<string>",
"agent_id": "<string>",
"app_id": "default",
"project_id": "default",
"method": "hybrid",
"top_k": -1,
"radius": 0.5,
"min_score": 0.5,
"include_profile": False,
"enable_llm_rerank": False,
"filters": {
"AND": ["<unknown>"],
"OR": ["<unknown>"]
}
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
query: '<string>',
user_id: '<string>',
agent_id: '<string>',
app_id: 'default',
project_id: 'default',
method: 'hybrid',
top_k: -1,
radius: 0.5,
min_score: 0.5,
include_profile: false,
enable_llm_rerank: false,
filters: {AND: ['<unknown>'], OR: ['<unknown>']}
})
};
fetch('https://api.example.com/api/v1/memory/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/api/v1/memory/search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'query' => '<string>',
'user_id' => '<string>',
'agent_id' => '<string>',
'app_id' => 'default',
'project_id' => 'default',
'method' => 'hybrid',
'top_k' => -1,
'radius' => 0.5,
'min_score' => 0.5,
'include_profile' => false,
'enable_llm_rerank' => false,
'filters' => [
'AND' => [
'<unknown>'
],
'OR' => [
'<unknown>'
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/api/v1/memory/search"
payload := strings.NewReader("{\n \"query\": \"<string>\",\n \"user_id\": \"<string>\",\n \"agent_id\": \"<string>\",\n \"app_id\": \"default\",\n \"project_id\": \"default\",\n \"method\": \"hybrid\",\n \"top_k\": -1,\n \"radius\": 0.5,\n \"min_score\": 0.5,\n \"include_profile\": false,\n \"enable_llm_rerank\": false,\n \"filters\": {\n \"AND\": [\n \"<unknown>\"\n ],\n \"OR\": [\n \"<unknown>\"\n ]\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.example.com/api/v1/memory/search")
.header("Content-Type", "application/json")
.body("{\n \"query\": \"<string>\",\n \"user_id\": \"<string>\",\n \"agent_id\": \"<string>\",\n \"app_id\": \"default\",\n \"project_id\": \"default\",\n \"method\": \"hybrid\",\n \"top_k\": -1,\n \"radius\": 0.5,\n \"min_score\": 0.5,\n \"include_profile\": false,\n \"enable_llm_rerank\": false,\n \"filters\": {\n \"AND\": [\n \"<unknown>\"\n ],\n \"OR\": [\n \"<unknown>\"\n ]\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/v1/memory/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"query\": \"<string>\",\n \"user_id\": \"<string>\",\n \"agent_id\": \"<string>\",\n \"app_id\": \"default\",\n \"project_id\": \"default\",\n \"method\": \"hybrid\",\n \"top_k\": -1,\n \"radius\": 0.5,\n \"min_score\": 0.5,\n \"include_profile\": false,\n \"enable_llm_rerank\": false,\n \"filters\": {\n \"AND\": [\n \"<unknown>\"\n ],\n \"OR\": [\n \"<unknown>\"\n ]\n }\n}"
response = http.request(request)
puts response.read_body{
"request_id": "<string>",
"data": {
"episodes": [
{
"id": "<string>",
"user_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"summary": "<string>",
"subject": "<string>",
"episode": "<string>",
"type": "<string>",
"score": 123,
"app_id": "default",
"project_id": "default",
"session_id": "<string>",
"sender_ids": [
"<string>"
],
"atomic_facts": [
{
"id": "<string>",
"content": "<string>",
"score": 123
}
]
}
],
"profiles": [
{
"id": "<string>",
"user_id": "<string>",
"profile_data": {},
"app_id": "default",
"project_id": "default",
"score": 123
}
],
"agent_cases": [
{
"id": "<string>",
"agent_id": "<string>",
"session_id": "<string>",
"task_intent": "<string>",
"approach": "<string>",
"quality_score": 123,
"timestamp": "2023-11-07T05:31:56Z",
"score": 123,
"app_id": "default",
"project_id": "default",
"key_insight": "<string>"
}
],
"agent_skills": [
{
"id": "<string>",
"agent_id": "<string>",
"name": "<string>",
"description": "<string>",
"content": "<string>",
"confidence": 123,
"maturity_score": 123,
"score": 123,
"app_id": "default",
"project_id": "default",
"source_case_ids": [
"<string>"
]
}
],
"unprocessed_messages": [
{
"id": "<string>",
"session_id": "<string>",
"sender_id": "<string>",
"content": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"app_id": "default",
"project_id": "default",
"sender_name": "<string>",
"tool_calls": [
{}
],
"tool_call_id": "<string>"
}
]
}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Search Memory
Hybrid retrieval across the configured memory backends.
curl --request POST \
--url https://api.example.com/api/v1/memory/search \
--header 'Content-Type: application/json' \
--data '
{
"query": "<string>",
"user_id": "<string>",
"agent_id": "<string>",
"app_id": "default",
"project_id": "default",
"method": "hybrid",
"top_k": -1,
"radius": 0.5,
"min_score": 0.5,
"include_profile": false,
"enable_llm_rerank": false,
"filters": {
"AND": [
"<unknown>"
],
"OR": [
"<unknown>"
]
}
}
'import requests
url = "https://api.example.com/api/v1/memory/search"
payload = {
"query": "<string>",
"user_id": "<string>",
"agent_id": "<string>",
"app_id": "default",
"project_id": "default",
"method": "hybrid",
"top_k": -1,
"radius": 0.5,
"min_score": 0.5,
"include_profile": False,
"enable_llm_rerank": False,
"filters": {
"AND": ["<unknown>"],
"OR": ["<unknown>"]
}
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
query: '<string>',
user_id: '<string>',
agent_id: '<string>',
app_id: 'default',
project_id: 'default',
method: 'hybrid',
top_k: -1,
radius: 0.5,
min_score: 0.5,
include_profile: false,
enable_llm_rerank: false,
filters: {AND: ['<unknown>'], OR: ['<unknown>']}
})
};
fetch('https://api.example.com/api/v1/memory/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/api/v1/memory/search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'query' => '<string>',
'user_id' => '<string>',
'agent_id' => '<string>',
'app_id' => 'default',
'project_id' => 'default',
'method' => 'hybrid',
'top_k' => -1,
'radius' => 0.5,
'min_score' => 0.5,
'include_profile' => false,
'enable_llm_rerank' => false,
'filters' => [
'AND' => [
'<unknown>'
],
'OR' => [
'<unknown>'
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/api/v1/memory/search"
payload := strings.NewReader("{\n \"query\": \"<string>\",\n \"user_id\": \"<string>\",\n \"agent_id\": \"<string>\",\n \"app_id\": \"default\",\n \"project_id\": \"default\",\n \"method\": \"hybrid\",\n \"top_k\": -1,\n \"radius\": 0.5,\n \"min_score\": 0.5,\n \"include_profile\": false,\n \"enable_llm_rerank\": false,\n \"filters\": {\n \"AND\": [\n \"<unknown>\"\n ],\n \"OR\": [\n \"<unknown>\"\n ]\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.example.com/api/v1/memory/search")
.header("Content-Type", "application/json")
.body("{\n \"query\": \"<string>\",\n \"user_id\": \"<string>\",\n \"agent_id\": \"<string>\",\n \"app_id\": \"default\",\n \"project_id\": \"default\",\n \"method\": \"hybrid\",\n \"top_k\": -1,\n \"radius\": 0.5,\n \"min_score\": 0.5,\n \"include_profile\": false,\n \"enable_llm_rerank\": false,\n \"filters\": {\n \"AND\": [\n \"<unknown>\"\n ],\n \"OR\": [\n \"<unknown>\"\n ]\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/v1/memory/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"query\": \"<string>\",\n \"user_id\": \"<string>\",\n \"agent_id\": \"<string>\",\n \"app_id\": \"default\",\n \"project_id\": \"default\",\n \"method\": \"hybrid\",\n \"top_k\": -1,\n \"radius\": 0.5,\n \"min_score\": 0.5,\n \"include_profile\": false,\n \"enable_llm_rerank\": false,\n \"filters\": {\n \"AND\": [\n \"<unknown>\"\n ],\n \"OR\": [\n \"<unknown>\"\n ]\n }\n}"
response = http.request(request)
puts response.read_body{
"request_id": "<string>",
"data": {
"episodes": [
{
"id": "<string>",
"user_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"summary": "<string>",
"subject": "<string>",
"episode": "<string>",
"type": "<string>",
"score": 123,
"app_id": "default",
"project_id": "default",
"session_id": "<string>",
"sender_ids": [
"<string>"
],
"atomic_facts": [
{
"id": "<string>",
"content": "<string>",
"score": 123
}
]
}
],
"profiles": [
{
"id": "<string>",
"user_id": "<string>",
"profile_data": {},
"app_id": "default",
"project_id": "default",
"score": 123
}
],
"agent_cases": [
{
"id": "<string>",
"agent_id": "<string>",
"session_id": "<string>",
"task_intent": "<string>",
"approach": "<string>",
"quality_score": 123,
"timestamp": "2023-11-07T05:31:56Z",
"score": 123,
"app_id": "default",
"project_id": "default",
"key_insight": "<string>"
}
],
"agent_skills": [
{
"id": "<string>",
"agent_id": "<string>",
"name": "<string>",
"description": "<string>",
"content": "<string>",
"confidence": 123,
"maturity_score": 123,
"score": 123,
"app_id": "default",
"project_id": "default",
"source_case_ids": [
"<string>"
]
}
],
"unprocessed_messages": [
{
"id": "<string>",
"session_id": "<string>",
"sender_id": "<string>",
"content": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"app_id": "default",
"project_id": "default",
"sender_name": "<string>",
"tool_calls": [
{}
],
"tool_call_id": "<string>"
}
]
}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Body
Request body for POST /api/v1/memory/search.
Callers identify the memory owner via user_id XOR agent_id —
exactly one must be set. Internally the manager + compile_filters keep
using owner_id / owner_type (the storage tables' columns);
those are exposed as derived properties so the rename only affects
the wire contract, not the internal recall plumbing.
111Public method enum. RRF / LR / vector_anchored are hidden under HYBRID.
keyword, vector, hybrid, agentic 0 <= x <= 10 <= x <= 1Opt-in LLM rerank pass for HYBRID. Applies to agent_case and agent_skill fusion only; the episode hierarchy path has built-in fact eviction and ignores this flag. Ignored by keyword / vector / agentic.
One Filters DSL node.
Recursive AND / OR arrays mix with arbitrary scalar fields at
the same level. Pydantic only checks the combinators; field-level
safety is enforced when compiling the node to a LanceDB where
string in :mod:everos.memory.search.filters.
Show child attributes
Show child attributes
Response
Successful Response
Top-level response envelope.
Body of response.data.
All five arrays are always present so client code can iterate without
branching on owner_type. Routes not applicable to the request's
owner type stay as []. unprocessed_messages is filled only
when filters.session_id is present as a top-level eq scalar —
in-flight buffer rows are scope-tagged but unattributed (no
user_id), so session is the only meaningful query dimension.
Show child attributes
Show child attributes
Was this page helpful?

