curl -X PUT \ https://dash.empirical.run/api/test-runs \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $EMPIRICALRUN_KEY" \ -d '{ "environment": "production" }'
{ "data": { "trigger": { "success": true }, "test_run": { "id": 456, "state": "queued", "test_run_branch": "main", "created_at": "2024-01-15T10:30:00.000Z" } } }
Trigger a new test run
Bearer <your-api-key>
production
staging
Show properties
{ "deployed_by": "alice", "ticket": "JIRA-1234" }
Was this page helpful?