curl --request GET \
--url https://app.hookie.ai/admin/api/data-workspace/graph/contextconst options = {method: 'GET'};
fetch('https://app.hookie.ai/admin/api/data-workspace/graph/context', 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/context"
response = requests.get(url)
print(response.text){
"roots": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"nodes": [
{
"node_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"node_type": "<string>",
"display_name": "<string>",
"version": 2,
"updated_at": 1,
"depth": 2,
"properties": {},
"properties_omitted": true,
"table_id": "<string>",
"system": 0
}
],
"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
}
],
"truncated": {
"nodes": true,
"edges": true,
"properties": true,
"expansion": true
},
"budget": {
"max_depth": 1,
"max_nodes": 1,
"max_edges": 1,
"max_bytes": 1
},
"serialized_bytes": 1
}Fetch bounded deterministic agent context
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. Recursive traversal expands at most 1,001 node/depth pairs, then hydrates selected payloads. Stable depth/ID ordering, bounded hops/nodes/edges/serialized bytes, explicit truncation flags. A live multi-query read is not a historical snapshot; revisions accompany every returned node. Excluded records and tables are omitted at roots, every traversal hop, payload hydration and edge retrieval. An excluded node cannot serve as a bridge, and include_system does not override inclusion. The console uses one-hop, both-direction, metadata-only queries for bounded neighborhood exploration.
curl --request GET \
--url https://app.hookie.ai/admin/api/data-workspace/graph/contextconst options = {method: 'GET'};
fetch('https://app.hookie.ai/admin/api/data-workspace/graph/context', 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/context"
response = requests.get(url)
print(response.text){
"roots": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"nodes": [
{
"node_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"node_type": "<string>",
"display_name": "<string>",
"version": 2,
"updated_at": 1,
"depth": 2,
"properties": {},
"properties_omitted": true,
"table_id": "<string>",
"system": 0
}
],
"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
}
],
"truncated": {
"nodes": true,
"edges": true,
"properties": true,
"expansion": true
},
"budget": {
"max_depth": 1,
"max_nodes": 1,
"max_edges": 1,
"max_bytes": 1
},
"serialized_bytes": 1
}Query Parameters
Response
Successful operation