Set project workflow access to the entire workspace graph
curl --request POST \
--url https://app.hookie.ai/admin/api/data-workspace/graph/grants \
--header 'Content-Type: application/json' \
--data '
{
"project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"can_read": true,
"can_write": true
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
project_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
can_read: true,
can_write: true
})
};
fetch('https://app.hookie.ai/admin/api/data-workspace/graph/grants', 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/grants"
payload = {
"project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"can_read": True,
"can_write": True
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){}Knowledge graph
Set project workflow access to the entire workspace graph
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. Graph traversal can reach records from other projects. Grants are workspace-wide and distinct from table input grants. Queued workflow writes recheck the grant before flushing.
POST
/
admin
/
api
/
data-workspace
/
graph
/
grants
Set project workflow access to the entire workspace graph
curl --request POST \
--url https://app.hookie.ai/admin/api/data-workspace/graph/grants \
--header 'Content-Type: application/json' \
--data '
{
"project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"can_read": true,
"can_write": true
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
project_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
can_read: true,
can_write: true
})
};
fetch('https://app.hookie.ai/admin/api/data-workspace/graph/grants', 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/grants"
payload = {
"project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"can_read": True,
"can_write": True
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){}