bulk_delete_calls
Bulk delete up to 100 call IDs from your account to clean test data. Use dry run to preview count, then delete with approval.
Instructions
Bulk-delete the given call ids (max 100), scoped to your account (POST /v1/calls/bulk-delete). Useful for cleaning up garbage calls accumulated by dogfooding / dev tests. dryRun=true returns the matched count before deleting. The delete is one atomic SQL statement; a bulk_deleted event is recorded in the audit log. Per FK constraints, related traces / annotations / scores are cascade-deleted via ON DELETE.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | true returns only the matched count without deleting (confirmation UX) | |
| callIds | Yes | Array of call ids to delete (1-100 entries, each 1-128 chars) | |
| approvalId | No | Approval id granted via request_approval (apr_ + 32 hex; create with action 'bulk_delete_calls'). Server-side verification + atomic consumption on actual deletion (1 approval = 1 execution). dryRun only verifies |