Delete test executions
Bulk-deletes test executions from a test run.
POST
https://api.futureagi.com/simulate/run-tests/{run_test_id}/delete-test-executions/ Authentication
Path parameters
run_test_id
UUID of the test run containing the executions to delete.
Request body
testExecutionIds
Array of test execution UUIDs to delete. Required when selectAll is false. Executions in RUNNING, PENDING, or CANCELLING status cannot be deleted.
selectAll
When true, deletes all eligible executions, ignoring testExecutionIds. Defaults to false.
Response
200 OK message
Confirmation message with deletion count.
runTestId
UUID of the parent test run.
deletedCount
Number of executions deleted.
deletedIds
UUIDs of the deleted executions.
Errors
400
Invalid request, empty testExecutionIds, or targeted executions are still running/pending/cancelling.
401
Missing or invalid X-Api-Key or X-Secret-Key headers.
404
No test run found with the specified run_test_id.
500
Unexpected server error. Retry later or contact support.