Skip to main content

Authentication

To authenticate, you need to add an Authorization header with your API key using the Bearer scheme.
Authorization: Bearer $YOUR-API-KEY
You can obtain your API key from the API Key Dashboard.
If you do not see the “Team API Keys” setting, please ensure you have admin or owner permissions for your org

Run Tests

The Stably API allows you to programmatically trigger and monitor test suite runs. A typical workflow looks like:
  • Classic
  • Agents
1

Trigger a test suite run

Use POST /v1/testSuite/{testSuiteId}/run to start a test suite execution.
2

Poll for status

Use GET /v1/testSuiteRun/{testSuiteRunId}/status to check if the run is still in progress.
3

Retrieve results

Once complete, use GET /v1/testSuiteRun/{testSuiteRunId}/result to get detailed test results.