Run a workflow
curl --request POST \
--url https://aquila.attaxr.com/api/workflows/{id}/run \
--header 'Content-Type: application/json' \
--cookie better-auth.session_token= \
--data '
{
"goals": "<string>"
}
'const options = {
method: 'POST',
headers: {cookie: 'better-auth.session_token=', 'Content-Type': 'application/json'},
body: JSON.stringify({goals: '<string>'})
};
fetch('https://aquila.attaxr.com/api/workflows/{id}/run', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://aquila.attaxr.com/api/workflows/{id}/run"
payload = { "goals": "<string>" }
headers = {
"cookie": "better-auth.session_token=",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"error": "<string>",
"details": "<unknown>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Workflows
Run a workflow
Queues a scan run for the workflow. The body may override the workflow’s goals.
POST
/
api
/
workflows
/
{id}
/
run
Run a workflow
curl --request POST \
--url https://aquila.attaxr.com/api/workflows/{id}/run \
--header 'Content-Type: application/json' \
--cookie better-auth.session_token= \
--data '
{
"goals": "<string>"
}
'const options = {
method: 'POST',
headers: {cookie: 'better-auth.session_token=', 'Content-Type': 'application/json'},
body: JSON.stringify({goals: '<string>'})
};
fetch('https://aquila.attaxr.com/api/workflows/{id}/run', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://aquila.attaxr.com/api/workflows/{id}/run"
payload = { "goals": "<string>" }
headers = {
"cookie": "better-auth.session_token=",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"error": "<string>",
"details": "<unknown>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}
