Include or exclude a table or record from the Brain
curl --request POST \
--url https://app.hookie.ai/admin/api/data-workspace/graph/inclusion \
--header 'Content-Type: application/json' \
--data '
{
"resource_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"included": true,
"expected_version": 1
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
resource_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
included: true,
expected_version: 1
})
};
fetch('https://app.hookie.ai/admin/api/data-workspace/graph/inclusion', 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/inclusion"
payload = {
"resource_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"included": True,
"expected_version": 1
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"membership": {
"kind": "table",
"resource_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"included": true,
"version": 1
}
}Knowledge graph
Include or exclude a table or record from the Brain
Pro or Team; workspace-scoped credentials required. Existing role, OAuth scope, suspension and project restrictions apply. Requires write access. Changes are audited and conditional on the inclusion revision. Read table revisions from overview and record revisions from nodes.membership.version; zero means no saved choice. A stale revision returns 409. Exclusion preserves source data and saved connections. Table exclusion includes future records, and individual choices survive edits and table toggles. Default inclusion is true. System execution nodes cannot be changed. This curates graph discovery and agent context, not source-table access permissions.
POST
/
admin
/
api
/
data-workspace
/
graph
/
inclusion
Include or exclude a table or record from the Brain
curl --request POST \
--url https://app.hookie.ai/admin/api/data-workspace/graph/inclusion \
--header 'Content-Type: application/json' \
--data '
{
"resource_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"included": true,
"expected_version": 1
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
resource_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
included: true,
expected_version: 1
})
};
fetch('https://app.hookie.ai/admin/api/data-workspace/graph/inclusion', 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/inclusion"
payload = {
"resource_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"included": True,
"expected_version": 1
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"membership": {
"kind": "table",
"resource_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"included": true,
"version": 1
}
}