Automations
Re-run branch-review automations (a single one, or all) on demand
POST
/
ai
/
trigger
/
branch
/
rerun
Re-run branch-review automations (a single one, or all) on demand
curl --request POST \
--url https://backend.branch.flowengineering.com/ai/trigger/branch/rerun \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--header 'customer: <customer>' \
--data '
{
"branch_id": "<string>",
"automation_id": "<string>",
"project_id": "<string>"
}
'import requests
url = "https://backend.branch.flowengineering.com/ai/trigger/branch/rerun"
payload = {
"branch_id": "<string>",
"automation_id": "<string>",
"project_id": "<string>"
}
headers = {
"customer": "<customer>",
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
customer: '<customer>',
'X-API-Key': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({branch_id: '<string>', automation_id: '<string>', project_id: '<string>'})
};
fetch('https://backend.branch.flowengineering.com/ai/trigger/branch/rerun', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"results": [
{
"agent_id": "<string>",
"automation_id": "<string>",
"automation_name": "<string>",
"branches": [],
"error": "<string>",
"integration_grade": "<string>",
"integration_response": "<string>",
"project_id": "<string>",
"project_slug": "<string>",
"status": "running"
}
]
}⌘I
Re-run branch-review automations (a single one, or all) on demand
curl --request POST \
--url https://backend.branch.flowengineering.com/ai/trigger/branch/rerun \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--header 'customer: <customer>' \
--data '
{
"branch_id": "<string>",
"automation_id": "<string>",
"project_id": "<string>"
}
'import requests
url = "https://backend.branch.flowengineering.com/ai/trigger/branch/rerun"
payload = {
"branch_id": "<string>",
"automation_id": "<string>",
"project_id": "<string>"
}
headers = {
"customer": "<customer>",
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
customer: '<customer>',
'X-API-Key': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({branch_id: '<string>', automation_id: '<string>', project_id: '<string>'})
};
fetch('https://backend.branch.flowengineering.com/ai/trigger/branch/rerun', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"results": [
{
"agent_id": "<string>",
"automation_id": "<string>",
"automation_name": "<string>",
"branches": [],
"error": "<string>",
"integration_grade": "<string>",
"integration_response": "<string>",
"project_id": "<string>",
"project_slug": "<string>",
"status": "running"
}
]
}