Discard or apply a reviewed conflict
curl --request POST \
--url https://app.hookie.ai/admin/api/data-workspace/graph/conflicts/{mutation_id}/resolve \
--header 'Content-Type: application/json' \
--data '
{
"expected_version": 1,
"mutation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"properties": {},
"display_name": "<string>",
"edge_weight": 500000
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
expected_version: 1,
mutation_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
properties: {},
display_name: '<string>',
edge_weight: 500000
})
};
fetch('https://app.hookie.ai/admin/api/data-workspace/graph/conflicts/{mutation_id}/resolve', 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/conflicts/{mutation_id}/resolve"
payload = {
"expected_version": 1,
"mutation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"properties": {},
"display_name": "<string>",
"edge_weight": 500000
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){}Knowledge graph
Discard or apply a reviewed conflict
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. Applying requires an explicit reviewed current expected_version and complete properties for node updates. A new collision is preserved as a new proposal. The old proposal is resolved only when the reviewed write commits.
POST
/
admin
/
api
/
data-workspace
/
graph
/
conflicts
/
{mutation_id}
/
resolve
Discard or apply a reviewed conflict
curl --request POST \
--url https://app.hookie.ai/admin/api/data-workspace/graph/conflicts/{mutation_id}/resolve \
--header 'Content-Type: application/json' \
--data '
{
"expected_version": 1,
"mutation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"properties": {},
"display_name": "<string>",
"edge_weight": 500000
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
expected_version: 1,
mutation_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
properties: {},
display_name: '<string>',
edge_weight: 500000
})
};
fetch('https://app.hookie.ai/admin/api/data-workspace/graph/conflicts/{mutation_id}/resolve', 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/conflicts/{mutation_id}/resolve"
payload = {
"expected_version": 1,
"mutation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"properties": {},
"display_name": "<string>",
"edge_weight": 500000
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){}Body
application/json
Response
Successful operation
The response is of type object.