Trigger a test run
Triggers a new end-to-end test run for the scoped project against the given environment, resolving the branch/build and dispatching the run.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
The environment slug to run tests against (e.g., production, staging).
Build information to associate with the test run.
Custom key-value pairs to associate with the test run. Values must be strings or numbers.
Environment variables to override for this test run.
Tags to filter which tests to run (e.g., @smoke, @critical). Only tests matching these tags will be executed.
Test repo branch to run. Useful for running tests from a feature branch before merging. Cannot be used together with build — pick one.
Legacy project ID; must match the request's resolved project scope when set. The project scope itself comes from the bound principal or the x-project-id header, never from the body.
x >= 1Whether to send run notifications. Defaults to true.
Override the number of shards to split the run across.
x >= 1ID of the test run this run is a rerun of.
x >= 1When rerunning, only re-execute the previously failed tests.
GitHub username that triggered the run, for attribution.
Response
The triggered test run.