Edit a node against its current revision
curl --request PATCH \
--url https://app.hookie.ai/admin/api/data-workspace/graph/nodes/{node_id} \
--header 'Content-Type: application/json' \
--data '
{
"expected_version": 1,
"properties": {},
"mutation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"display_name": "<string>",
"node_type": "<string>"
}
'const options = {
method: 'PATCH',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
expected_version: 1,
properties: {},
mutation_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
display_name: '<string>',
node_type: '<string>'
})
};
fetch('https://app.hookie.ai/admin/api/data-workspace/graph/nodes/{node_id}', 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/nodes/{node_id}"
payload = {
"expected_version": 1,
"properties": {},
"mutation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"display_name": "<string>",
"node_type": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){}Knowledge graph
Edit a node against its current revision
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. Saves immediately. A stale revision returns 409 with code graph_version_conflict and a saved mutation proposal. Table-backed edits update the table in the same transaction; their type and display name follow the table schema. System trace nodes are read-only.
PATCH
/
admin
/
api
/
data-workspace
/
graph
/
nodes
/
{node_id}
Edit a node against its current revision
curl --request PATCH \
--url https://app.hookie.ai/admin/api/data-workspace/graph/nodes/{node_id} \
--header 'Content-Type: application/json' \
--data '
{
"expected_version": 1,
"properties": {},
"mutation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"display_name": "<string>",
"node_type": "<string>"
}
'const options = {
method: 'PATCH',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
expected_version: 1,
properties: {},
mutation_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
display_name: '<string>',
node_type: '<string>'
})
};
fetch('https://app.hookie.ai/admin/api/data-workspace/graph/nodes/{node_id}', 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/nodes/{node_id}"
payload = {
"expected_version": 1,
"properties": {},
"mutation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"display_name": "<string>",
"node_type": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){}Body
application/json
Response
Successful operation
The response is of type object.