Get Learned Memory
curl --request GET \
--url https://tavusapi.com/v2/memory-stores/{memory_store_id}/learned \
--header 'x-api-key: <api-key>'import requests
url = "https://tavusapi.com/v2/memory-stores/{memory_store_id}/learned"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://tavusapi.com/v2/memory-stores/{memory_store_id}/learned', 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://tavusapi.com/v2/memory-stores/{memory_store_id}/learned",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://tavusapi.com/v2/memory-stores/{memory_store_id}/learned"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://tavusapi.com/v2/memory-stores/{memory_store_id}/learned")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://tavusapi.com/v2/memory-stores/{memory_store_id}/learned")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"profile": {
"preferences": {
"communication_style": "concise"
}
},
"timeline": {
"recent_conversations": [
{
"timestamp": "2026-08-24T19:00:00Z",
"summary": "Discussed onboarding progress and next steps."
}
]
}
}Learned memory
Get Learned Memory
Returns the learned participant profile, timeline, or both.
GET
/
v2
/
memory-stores
/
{memory_store_id}
/
learned
Get Learned Memory
curl --request GET \
--url https://tavusapi.com/v2/memory-stores/{memory_store_id}/learned \
--header 'x-api-key: <api-key>'import requests
url = "https://tavusapi.com/v2/memory-stores/{memory_store_id}/learned"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://tavusapi.com/v2/memory-stores/{memory_store_id}/learned', 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://tavusapi.com/v2/memory-stores/{memory_store_id}/learned",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://tavusapi.com/v2/memory-stores/{memory_store_id}/learned"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://tavusapi.com/v2/memory-stores/{memory_store_id}/learned")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://tavusapi.com/v2/memory-stores/{memory_store_id}/learned")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"profile": {
"preferences": {
"communication_style": "concise"
}
},
"timeline": {
"recent_conversations": [
{
"timestamp": "2026-08-24T19:00:00Z",
"summary": "Discussed onboarding progress and next steps."
}
]
}
}Omit
type to return both learned-memory sections, or filter to profile or timeline.Authorizations
Path Parameters
Memory store identifier.
Required string length:
2 - 64Pattern:
^m[a-z0-9]+$Query Parameters
Return only one learned-memory type. Omit to return both.
Available options:
profile, timeline Response
Learned memory returned
Memory learned from prior conversations. A filtered request may return only profile or timeline.
Structured participant information learned across conversations, nested up to three levels.
Example:
{
"preferences": { "communication_style": "concise" }
}
Time-aware interaction history grouped into recent conversations, days, weeks, and months.
Example:
{
"recent_conversations": [
{
"timestamp": "2026-08-24T19:00:00Z",
"summary": "Discussed onboarding progress and next steps."
}
]
}

