Read connections among selected nodes
curl --request GET \
--url https://app.hookie.ai/admin/api/data-workspace/graph/edgesconst options = {method: 'GET'};
fetch('https://app.hookie.ai/admin/api/data-workspace/graph/edges', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.hookie.ai/admin/api/data-workspace/graph/edges"
response = requests.get(url)
print(response.text){
"edges": [
{
"source_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"target_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"relation_type": "<string>",
"version": 2,
"edge_weight": 123,
"updated_at": 1,
"origin_dag_id": "<string>",
"system": 0
}
]
}Knowledge graph
Read connections among selected 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. Returns only connections whose endpoints are both included in the Brain.
GET
/
admin
/
api
/
data-workspace
/
graph
/
edges
Read connections among selected nodes
curl --request GET \
--url https://app.hookie.ai/admin/api/data-workspace/graph/edgesconst options = {method: 'GET'};
fetch('https://app.hookie.ai/admin/api/data-workspace/graph/edges', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.hookie.ai/admin/api/data-workspace/graph/edges"
response = requests.get(url)
print(response.text){
"edges": [
{
"source_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"target_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"relation_type": "<string>",
"version": 2,
"edge_weight": 123,
"updated_at": 1,
"origin_dag_id": "<string>",
"system": 0
}
]
}