Clear Memory
import requests
url = "https://api.parallel.ai/v1beta/memory/clear"
payload = { "memory_scope_key": "<string>" }
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({memory_scope_key: '<string>'})
};
fetch('https://api.parallel.ai/v1beta/memory/clear', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.post("https://api.parallel.ai/v1beta/memory/clear")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"memory_scope_key\": \"<string>\"\n}")
.asString();curl --request POST \
--url https://api.parallel.ai/v1beta/memory/clear \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"memory_scope_key": "<string>"
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Memory
Clear Memory
Clears all entries from the selected memory without deleting the underlying tasks, monitors, or FindAll runs.
POST
/
v1beta
/
memory
/
clear
Clear Memory
import requests
url = "https://api.parallel.ai/v1beta/memory/clear"
payload = { "memory_scope_key": "<string>" }
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({memory_scope_key: '<string>'})
};
fetch('https://api.parallel.ai/v1beta/memory/clear', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.post("https://api.parallel.ai/v1beta/memory/clear")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"memory_scope_key\": \"<string>\"\n}")
.asString();curl --request POST \
--url https://api.parallel.ai/v1beta/memory/clear \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"memory_scope_key": "<string>"
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}