patch
https://www.virustotal.com/api/v3/flows/
Update an existing Agentic Flow.
Partially updates a Flow. Send only the attributes you want to change inside data.attributes. Writable attributes: name, enabled, nodes, connections. Requires editor access. Supplying nodes or connections replaces the whole array (there is no per-node patch), and the resulting graph is validated with the same rules as on creation (2 to 20 nodes, 1 to 45 connections).
Toggling a Flow on or off:
{
"data": {
"type": "flow",
"attributes": {
"enabled": false
}
}
}Replacing the graph with a direct threat-feed alert (Schedule Time → Run Saved Search → Send Email) that emails the matched IOCs directly, one per line, with no AI reasoning in between:
{
"data": {
"type": "flow",
"attributes": {
"nodes": [
{
"id": "n1",
"type": "NODE_TYPE_SCHEDULE_TIME",
"name": "Hourly",
"schedule_node": {
"cron_expression": "0 * * * *",
"timezone": "UTC"
}
},
{
"id": "n2",
"type": "NODE_TYPE_RUN_SAVED_SEARCH",
"name": "New malicious URLs",
"run_saved_search_node": {
"saved_search_id": "ss-malicious-urls"
}
},
{
"id": "n3",
"type": "NODE_TYPE_SEND_EMAIL",
"name": "Alert the SOC",
"send_email_node": {
"notification_emails": ["[email protected]"],
"email_subject": "${string(nodes.n2.output.match_count)} new malicious URLs",
"message": "${nodes.n2.output.matched_items.join(\"\\n\")}"
}
}
],
"connections": [
{ "source_node_id": "n1", "target_node_id": "n2", "source_handle": "" },
{ "source_node_id": "n2", "target_node_id": "n3", "source_handle": "" }
]
}
}
}