Skip to main content
Rerun a previous run: either all tests again or only the tests that failed (or were skipped/errored). Useful for flaky test verification or re-running failed tests after a fix.
  • Endpoint: POST /run/{shortId}
  • Authentication: Bearer token required
  • Base URL: https://api.qa.tech/v1

Path Parameters

Request Body

You must provide either failedOnly or projectTestCaseIds, but not both. Sending both returns 400 Bad Request.
To rerun the entire run with no filters, send an empty JSON object {} as the request body.

Response

Success (200)

Use run.shortId to get run status or trigger another rerun.

Error Responses

Example: Rerun Failed Tests Only

Example: Rerun Specific Test Cases