curl --request GET \
--url https://app.hookie.ai/admin/api/projects/{project_id}/brain/graph/nodesconst options = {method: 'GET'};
fetch('https://app.hookie.ai/admin/api/projects/{project_id}/brain/graph/nodes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.hookie.ai/admin/api/projects/{project_id}/brain/graph/nodes"
response = requests.get(url)
print(response.text){
"nodes": [
{
"node_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"node_type": "<string>",
"display_name": "<string>",
"properties": {},
"version": 2,
"created_at": 1,
"updated_at": 1,
"table_id": "<string>",
"provenance": "<unknown>",
"origin_dag_id": "<string>",
"system": 0,
"deleted": 0,
"membership": {
"included": true,
"record_included": true,
"table_included": true,
"version": 1
}
}
],
"next": "<string>"
}List knowledge nodes
A project’s knowledge graph (#663), in the workspace database (Pro and above); a project hidden from the caller answers 404. It holds the nodes made through it (each carries project_id), and its reads add the workspace graph (nodes with no project) unless shared=0 or the caller has projects hidden from them. Writes touch only this project’s own nodes; an edge may point at any node the project can read. Never another project’s nodes. Pro or Team. Workspace-scoped credentials only. Reads require read access; mutations require write access and X-Requested-With for cookie sessions. The authenticated workspace registry selects the database. Included records only by default. Explicit curation can request excluded or all records. Table exclusions apply to future records as well as existing ones.
curl --request GET \
--url https://app.hookie.ai/admin/api/projects/{project_id}/brain/graph/nodesconst options = {method: 'GET'};
fetch('https://app.hookie.ai/admin/api/projects/{project_id}/brain/graph/nodes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.hookie.ai/admin/api/projects/{project_id}/brain/graph/nodes"
response = requests.get(url)
print(response.text){
"nodes": [
{
"node_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"node_type": "<string>",
"display_name": "<string>",
"properties": {},
"version": 2,
"created_at": 1,
"updated_at": 1,
"table_id": "<string>",
"provenance": "<unknown>",
"origin_dag_id": "<string>",
"system": 0,
"deleted": 0,
"membership": {
"included": true,
"record_included": true,
"table_included": true,
"version": 1
}
}
],
"next": "<string>"
}