Get Memory Item
curl --request GET \
--url https://api.example.com/admin/v1/items/{itemId}import requests
url = "https://api.example.com/admin/v1/items/{itemId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/admin/v1/items/{itemId}', 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}"
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": {
"itemId": 123,
"userId": "<string>",
"agentId": "<string>",
"memoryId": "<string>",
"content": "<string>",
"scope": "<string>",
"category": "<string>",
"vectorId": "<string>",
"rawDataId": "<string>",
"contentHash": "<string>",
"occurredAt": "2023-11-07T05:31:56Z",
"observedAt": "2023-11-07T05:31:56Z",
"metadata": {},
"type": "<string>",
"rawDataType": "<string>",
"sourceClient": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}Memory Items
Get Memory Item
GET
/
admin
/
v1
/
items
/
{itemId}
Get Memory Item
curl --request GET \
--url https://api.example.com/admin/v1/items/{itemId}import requests
url = "https://api.example.com/admin/v1/items/{itemId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/admin/v1/items/{itemId}', 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}"
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": {
"itemId": 123,
"userId": "<string>",
"agentId": "<string>",
"memoryId": "<string>",
"content": "<string>",
"scope": "<string>",
"category": "<string>",
"vectorId": "<string>",
"rawDataId": "<string>",
"contentHash": "<string>",
"occurredAt": "2023-11-07T05:31:56Z",
"observedAt": "2023-11-07T05:31:56Z",
"metadata": {},
"type": "<string>",
"rawDataType": "<string>",
"sourceClient": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}
