Get Memory Thread
curl --request GET \
--url https://api.example.com/admin/v1/memory-threads/{threadKey}import requests
url = "https://api.example.com/admin/v1/memory-threads/{threadKey}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/admin/v1/memory-threads/{threadKey}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/admin/v1/memory-threads/{threadKey}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"data": {
"userId": "<string>",
"agentId": "<string>",
"memoryId": "<string>",
"threadKey": "<string>",
"threadType": "<string>",
"anchorKind": "<string>",
"anchorKey": "<string>",
"displayLabel": "<string>",
"lifecycleStatus": "<string>",
"objectState": "<string>",
"headline": "<string>",
"snapshotJson": {},
"snapshotVersion": 123,
"openedAt": "2023-11-07T05:31:56Z",
"lastEventAt": "2023-11-07T05:31:56Z",
"lastMeaningfulUpdateAt": "2023-11-07T05:31:56Z",
"closedAt": "2023-11-07T05:31:56Z",
"eventCount": 123,
"memberCount": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}Memory Threads
Get Memory Thread
GET
/
admin
/
v1
/
memory-threads
/
{threadKey}
Get Memory Thread
curl --request GET \
--url https://api.example.com/admin/v1/memory-threads/{threadKey}import requests
url = "https://api.example.com/admin/v1/memory-threads/{threadKey}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/admin/v1/memory-threads/{threadKey}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/admin/v1/memory-threads/{threadKey}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"data": {
"userId": "<string>",
"agentId": "<string>",
"memoryId": "<string>",
"threadKey": "<string>",
"threadType": "<string>",
"anchorKind": "<string>",
"anchorKey": "<string>",
"displayLabel": "<string>",
"lifecycleStatus": "<string>",
"objectState": "<string>",
"headline": "<string>",
"snapshotJson": {},
"snapshotVersion": 123,
"openedAt": "2023-11-07T05:31:56Z",
"lastEventAt": "2023-11-07T05:31:56Z",
"lastMeaningfulUpdateAt": "2023-11-07T05:31:56Z",
"closedAt": "2023-11-07T05:31:56Z",
"eventCount": 123,
"memberCount": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}
