Get a folder's memory graph
curl --request GET \
--url https://nemonist.com/api/v1/folders/{id}/graph \
--header 'Authorization: Bearer <token>'import requests
url = "https://nemonist.com/api/v1/folders/{id}/graph"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://nemonist.com/api/v1/folders/{id}/graph', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"nodes": [
{
"id": "<string>",
"kind": "<string>",
"label": "<string>",
"deleted": true
}
],
"edges": [
{
"from": "<string>",
"to": "<string>",
"kind": "<string>",
"n": 123
}
]
}{
"error": {
"message": "<string>",
"code": 123,
"type": "<string>"
}
}{
"error": {
"message": "<string>",
"code": 123,
"type": "<string>"
}
}{
"error": {
"message": "<string>",
"code": 123,
"type": "<string>"
}
}{
"error": {
"message": "<string>",
"code": 123,
"type": "<string>"
}
}Folders
Get a folder's memory graph
The folder’s memory graph: notes, turns, judgments, work items and jobs, and the recorded relations between them.
GET
/
folders
/
{id}
/
graph
Get a folder's memory graph
curl --request GET \
--url https://nemonist.com/api/v1/folders/{id}/graph \
--header 'Authorization: Bearer <token>'import requests
url = "https://nemonist.com/api/v1/folders/{id}/graph"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://nemonist.com/api/v1/folders/{id}/graph', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"nodes": [
{
"id": "<string>",
"kind": "<string>",
"label": "<string>",
"deleted": true
}
],
"edges": [
{
"from": "<string>",
"to": "<string>",
"kind": "<string>",
"n": 123
}
]
}{
"error": {
"message": "<string>",
"code": 123,
"type": "<string>"
}
}{
"error": {
"message": "<string>",
"code": 123,
"type": "<string>"
}
}{
"error": {
"message": "<string>",
"code": 123,
"type": "<string>"
}
}{
"error": {
"message": "<string>",
"code": 123,
"type": "<string>"
}
}