Skip to main content
Check test run status and retrieve detailed results programmatically. This endpoint enables blocking mode in CI/CD pipelines, custom post-run automation, and integration with your existing tooling.

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.)
For detailed examples, see:

Quick Example: Polling Script

Basic polling example:
Variables:
  • $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

Base URL: https://api.qa.tech/v1

Query Parameters

Authentication

Bearer token authentication. Include your project’s API token in the Authorization header:
You can obtain your project’s API token from the QA.tech dashboard in Settings → Integrations → API.

Path Parameters

Response Format

Success Response (200)

With ?testCases=all or ?testCases=failed:
Without 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": "..." }.
  • 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