When to Use This API
- Test result analysis – Build dashboards or generate reports from test results
- Custom post-run automation – Trigger webhooks, custom alerting, or auto-create tickets
- CI/CD blocking mode – Wait for test completion before proceeding with deployments (GitLab, CircleCI, Jenkins, etc.)
- GitLab CI Blocking Mode – Complete GitLab CI/CD example
- CI/CD Integration – Advanced use cases including webhooks and custom automation
Quick Example: Polling Script
Basic polling example:$SHORT_ID– The run short ID (returned from Start Run API response:run.shortId)$QATECH_API_TOKEN– Your project’s API token (found in Settings → Integrations → API)
API Reference
Endpoint
https://api.qa.tech/v1
Query Parameters
Authentication
Bearer token authentication. Include your project’s API token in theAuthorization header:
Path Parameters
Response Format
Success Response (200)
With?testCases=all or ?testCases=failed:
testCases query param, the response has the same top-level fields but no runTestCases array (or it is empty).
Response Fields
Run Test Case Fields
Status Values
Result Values
Error Handling
Responses can include a body such as:
{ "message": "..." }.
Related Documentation
- Start Run API – Trigger test runs programmatically
- Rerun Tests – Rerun all or failed tests from a run
- CI/CD Integration – Overview of integration modes and advanced use cases
- GitLab CI – GitLab-specific integration examples with blocking mode