Get Insight
curl --request GET \
--url https://api.example.com/admin/v1/insights/{insightId}import requests
url = "https://api.example.com/admin/v1/insights/{insightId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/admin/v1/insights/{insightId}', 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/insights/{insightId}"
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": {
"insightId": 123,
"userId": "<string>",
"agentId": "<string>",
"memoryId": "<string>",
"type": "<string>",
"scope": "<string>",
"name": "<string>",
"categories": [
"<string>"
],
"content": "<string>",
"points": [
{
"pointId": "<string>",
"type": "SUMMARY",
"content": "<string>",
"sourceItemIds": [
"<string>"
],
"sourcePointRefs": [
{
"insightId": 123,
"pointId": "<string>"
}
],
"metadata": {}
}
],
"groupName": "<string>",
"lastReasonedAt": "2023-11-07T05:31:56Z",
"summaryEmbedding": [
123
],
"tier": "<string>",
"parentInsightId": 123,
"childInsightIds": [
123
],
"version": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}Insights
Get Insight
GET
/
admin
/
v1
/
insights
/
{insightId}
Get Insight
curl --request GET \
--url https://api.example.com/admin/v1/insights/{insightId}import requests
url = "https://api.example.com/admin/v1/insights/{insightId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/admin/v1/insights/{insightId}', 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/insights/{insightId}"
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": {
"insightId": 123,
"userId": "<string>",
"agentId": "<string>",
"memoryId": "<string>",
"type": "<string>",
"scope": "<string>",
"name": "<string>",
"categories": [
"<string>"
],
"content": "<string>",
"points": [
{
"pointId": "<string>",
"type": "SUMMARY",
"content": "<string>",
"sourceItemIds": [
"<string>"
],
"sourcePointRefs": [
{
"insightId": 123,
"pointId": "<string>"
}
],
"metadata": {}
}
],
"groupName": "<string>",
"lastReasonedAt": "2023-11-07T05:31:56Z",
"summaryEmbedding": [
123
],
"tier": "<string>",
"parentInsightId": 123,
"childInsightIds": [
123
],
"version": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}
