prune_executions
Bulk-delete finished execution records by status, workflow, or age to reclaim database space. Runs as dry run by default; set dryRun=false to permanently delete.
Instructions
Bulk-delete finished execution records by filter (status, workflow, older than N days) to reclaim database space. Runs as a dry run by default — set dryRun=false to actually delete. Deletion is permanent and cannot be undone. Running/waiting executions are never touched.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | Only prune executions with this terminal status | |
| workflowId | No | Only prune executions of this workflow | |
| olderThanDays | No | Only prune executions that stopped more than N days ago | |
| maxDelete | No | Safety cap per call | |
| dryRun | No | Preview what would be deleted without deleting |