Search memories
curl --request POST \
--url https://chatatp-agent-builder-backend.onrender.com/v1/agents/{agent_id}/memories/search/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"agent_user_id": 123,
"query": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({agent_user_id: 123, query: '<string>'})
};
fetch('https://chatatp-agent-builder-backend.onrender.com/v1/agents/{agent_id}/memories/search/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://chatatp-agent-builder-backend.onrender.com/v1/agents/{agent_id}/memories/search/"
payload = {
"agent_user_id": 123,
"query": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)Memories
Search memories
Retrieve relevant memories for a user query
POST
/
v1
/
agents
/
{agent_id}
/
memories
/
search
/
Search memories
curl --request POST \
--url https://chatatp-agent-builder-backend.onrender.com/v1/agents/{agent_id}/memories/search/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"agent_user_id": 123,
"query": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({agent_user_id: 123, query: '<string>'})
};
fetch('https://chatatp-agent-builder-backend.onrender.com/v1/agents/{agent_id}/memories/search/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://chatatp-agent-builder-backend.onrender.com/v1/agents/{agent_id}/memories/search/"
payload = {
"agent_user_id": 123,
"query": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)
