n8n merged trigger/cancel endpoints for evaluation test runs (n8n-io/n8n#33979, merged 2026-07-14): POST /workflows/{id}/test-runs and POST /workflows/{id}/test-runs/{runId}/cancel, with new API-key scopes testRun:create / testRun:cancel. They are not yet in any released n8n version (absent from 2.30.x and the 2.31.0 pre-release).
When they ship in a stable release, extend n8n_evaluations (added in #935) with run and cancel actions:
run: POST test-runs, 201 → persisted run. Requires workflow:execute. Error mapping to add: 403 evaluations unlicensed, 402 per-instance "workflows with evaluations" quota exhausted (new workflows only — re-running an already-counted workflow is always allowed), 409 workflow has no evaluation trigger.
cancel: POST cancel, 202 → { id, status: 'cancelled' }.
- Update tool description/doc (drop "triggering runs via API is not yet supported"),
DESTRUCTIVE_TOOL_OPERATIONS (run/cancel are write ops — annotations recompute), and the changelog note in 2.65.0 that promised this follow-up.
- The same n8n release gate applies: keys need re-creation to pick up the new scopes.
Conceived by Romuald Członkowski - www.aiadvisors.pl/en
n8n merged trigger/cancel endpoints for evaluation test runs (n8n-io/n8n#33979, merged 2026-07-14):
POST /workflows/{id}/test-runsandPOST /workflows/{id}/test-runs/{runId}/cancel, with new API-key scopestestRun:create/testRun:cancel. They are not yet in any released n8n version (absent from 2.30.x and the 2.31.0 pre-release).When they ship in a stable release, extend
n8n_evaluations(added in #935) withrunandcancelactions:run: POST test-runs, 201 → persisted run. Requiresworkflow:execute. Error mapping to add: 403 evaluations unlicensed, 402 per-instance "workflows with evaluations" quota exhausted (new workflows only — re-running an already-counted workflow is always allowed), 409 workflow has no evaluation trigger.cancel: POST cancel, 202 →{ id, status: 'cancelled' }.DESTRUCTIVE_TOOL_OPERATIONS(run/cancel are write ops — annotations recompute), and the changelog note in 2.65.0 that promised this follow-up.Conceived by Romuald Członkowski - www.aiadvisors.pl/en