Skip to main content
API keys authenticate Calibrate in the GitHub Action or the REST API. You can create multiple keys per workspace.

Creating an API key

1

Open the API keys tab

Click the workspace name at the top of the sidebar, then click API keys.
The workspace menu open under the workspace name, with API keys between Workspace settings and Create workspace
You can also click your profile picture in the top right and click API keys.
The profile menu open in the top right, with API keys below the Theme choice
Both open the API keys tab of Workspace settings.
The API keys tab of Workspace settings with no keys yet and a Create key button
2

Click Create key

Click Create key. It is in the middle of the tab when you have no keys yet, and in the top right once you have some.
3

Name your key

Enter a Name for the key (for example, GitHub Action CI).
4

Save your key

Click Create key. Your API key will be displayed once.
Copy the key immediately. You will not be able to view the full key again after closing the dialog.

Using your API key

Include the key in the X-API-Key header with every request:
For using it with the Calibrate GitHub Action, store the key as a GitHub secret named CALIBRATE_API_KEY.

Rate limits

Requests made with an API key follow your workspace’s rate limits. You can remove some of them by bringing your own provider keys (BYOK).

Managing keys

The API keys table lists every key with three columns: To permanently disable a key, click Revoke. Any app or script using that key stops working straight away.

Best practices

Use descriptive names

Name keys after their purpose (for example, GitHub Action CI or Staging automation) so you can identify them in the table later.

Rotate keys regularly

Create a new key, put it in every app or script that uses the old one, then Revoke the old one. Do this most of all for keys that run your tests automatically, such as in a GitHub Action.

Revoke unused keys

Promptly revoke keys that are no longer in use.

Store keys as secrets

Never paste an API key into code that you save or share, such as a file in a GitHub repository. Keep it somewhere private, such as a GitHub secret or the place your team keeps passwords.

Next steps

API reference

Explore the full API documentation

GitHub Action

Run your tests automatically on GitHub with an API key