Retrieve Memory
import requests
url = "https://api.parallel.ai/v1beta/memory/retrieve"
payload = {
"query": "<string>",
"limit": 10,
"since": "2026-07-15T17:30:00Z",
"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({
query: '<string>',
limit: 10,
since: '2026-07-15T17:30:00Z',
memory_scope_key: '<string>'
})
};
fetch('https://api.parallel.ai/v1beta/memory/retrieve', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request POST \
--url https://api.parallel.ai/v1beta/memory/retrieve \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"query": "<string>",
"limit": 10,
"since": "2026-07-15T17:30:00Z",
"memory_scope_key": "<string>"
}
'{
"results": [
{
"id": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"input_excerpt": "<string>",
"output_excerpt": "<string>",
"kind": "task"
}
]
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Memory
Retrieve Memory
Retrieves relevant or recent runs from the selected memory. Provide a query to rank results by relevance; leave it empty to return the most recent runs.
POST
/
v1beta
/
memory
/
retrieve
Retrieve Memory
import requests
url = "https://api.parallel.ai/v1beta/memory/retrieve"
payload = {
"query": "<string>",
"limit": 10,
"since": "2026-07-15T17:30:00Z",
"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({
query: '<string>',
limit: 10,
since: '2026-07-15T17:30:00Z',
memory_scope_key: '<string>'
})
};
fetch('https://api.parallel.ai/v1beta/memory/retrieve', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request POST \
--url https://api.parallel.ai/v1beta/memory/retrieve \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"query": "<string>",
"limit": 10,
"since": "2026-07-15T17:30:00Z",
"memory_scope_key": "<string>"
}
'{
"results": [
{
"id": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"input_excerpt": "<string>",
"output_excerpt": "<string>",
"kind": "task"
}
]
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Body
application/json