For backend code, see Bulk actions with the SDK.
Create a bulk action in the dashboard
1
Open the bulk action panel
Open the runs page and click Bulk action in the top right.

2
Choose the runs
Filter the runs table to target a group of runs, or select individual runs from the table.
3
Configure the action
Choose Replay or Cancel, add an optional name, then confirm the action.

4
Track progress
Open the bulk action page to see progress, view affected runs, or replay the action.

You can only cancel runs that are still cancelable, such as queued or executing runs. Runs that have already reached a final state cannot be canceled.
Create a bulk action from the SDK
Useruns.bulk.replay() or runs.bulk.cancel() when you want to create a bulk action from your backend code.
Your backend code

