Skip to main content

Where can I find the Thunders API documentation?

Where the Thunders public API documentation lives, what it covers, and how to call the API with an API token.

Written by Ines

The Thunders API documentation is at developers.thunders.ai. It lists the endpoints of the Thunders public API with the parameters of each one, and you can read it without signing in. To call the API, you need an API token from your organization.

What the API documentation covers

The documentation groups the endpoints by what they act on:

  • Branches

  • Test Assets

  • Test Cases

  • Test Runs

Select an endpoint in the Operations list to see its parameters. To use the definition in your own tools, pick a format under Download definition.

The endpoints that run your tests from a pipeline are described in CI/CD, with a complete GitHub Actions example.

Call the API

  1. Create an API token. See Create / Revoke an API token.

  2. Send your requests to https://api.thunders.ai with these two headers:

Authorization: Bearer YOUR_API_TOKEN
X-MS-API-ROLE: M2M

FAQ

Which token do I use for the API?

An API token of your organization. Tokens belong to the organization rather than to one Test Project, so one token works for every Test Project in it. You need the Admin role to create one.

How do I run my tests from a CI/CD pipeline?

Use the CI endpoints: one call queues the runs, a second one returns their status, and a third one returns a JUnit or JSON report. CI/CD describes the three calls and gives a GitHub Actions workflow you can copy.

How do I work with Thunders from an AI assistant without calling the API?

Connect your assistant to the Thunders MCP server. You then create, run and debug tests in plain language, with no token to manage. See Thunders MCP Server Overview.

Related articles on this topic that you might find helpful

Did this answer your question?