List Item Memory Threads
curl --request GET \
--url https://api.example.com/admin/v1/items/{itemId}/memory-threadsimport requests
url = "https://api.example.com/admin/v1/items/{itemId}/memory-threads"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/admin/v1/items/{itemId}/memory-threads', 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/items/{itemId}/memory-threads"
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>",
"itemId": 123,
"role": "<string>",
"primary": true,
"relevanceWeight": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
}Memory Items
List Item Memory Threads
GET
/
admin
/
v1
/
items
/
{itemId}
/
memory-threads
List Item Memory Threads
curl --request GET \
--url https://api.example.com/admin/v1/items/{itemId}/memory-threadsimport requests
url = "https://api.example.com/admin/v1/items/{itemId}/memory-threads"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/admin/v1/items/{itemId}/memory-threads', 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/items/{itemId}/memory-threads"
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>",
"itemId": 123,
"role": "<string>",
"primary": true,
"relevanceWeight": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
}
