The idea is:
Use the n8n API to CANCEL (NOT DELETE) a currently running execution for a given workflow.
My use case:
I sometimes want to terminate executions earlier than expected, and this would allow me to create a watchdog workflow to perform these actions, out of band.
I think it would be beneficial to add this because:
I’m honestly flabbergasted that there still exists NO way to cancel a running execution via the n8n API. Yes, there is a concept of DELETE-ing an execution but: 1) that does NOT work for running executions and 2) does not PRESERVE evidence of the execution getting cancelled.
Literally, you can’t even currently QUERY for the list of currently RUNNING executions UNLESS you manually query the backend DB directly (which is another facepalm).
Any resources to support this?
Are you willing to work on this?
I mean, honestly, this work should be handled by the core team. I mean, it’s effectively already implemented in the UI – it’s just a matter of exposing that via the official n8n API. I really don’t understand why AI features are getting prioritized over this (in my opinion) tablestakes feature.