Cancelled Executions in REST API

The idea is:

Add cancelled status for executions to the n8n REST API API reference | n8n Docs

My use case:

For me any cancelled execution is a failed execution, which I need to get notified for. Currently the error workflow is not triggered for this. So I have a monitoring workflow where I check for cancelled executions. The problem is, that you cannot filter by cancelled status in the REST API, so I need to retrieve all executions. I emphasize all, because the page limit is 250 and there is also no filter by date (request already here N8n Executions api -> date filter - #5 by BramKn).

I think it would be beneficial to add this because:

Adds the existing UI functionality to the REST API.

Are you willing to work on this?

Yes