DOCS
Workspace

API keys

Keys for CI, scripts and AI agents: what each kind may do, and how to create and revoke them.

Create a key#

Owners and admins: Settings → API keys → Create key. Give it a name for where it will be used (so you know which to revoke later) and choose what it may do:

API keys: what each key can do and when it was last used.
API keys: what each key can do and when it was last used.

The key (qa_…) is shown once. Store it as a secret named TESTSY_AI_API_KEY.

Revoke a key#

Revoke stops it straight away; anything using it stops working. The list shows each key's name, who made it, what it may do, when it was last used, and See its runs. Creating, revoking and using keys appears in the workspace's activity.

A key keeps working when the person who created it leaves the workspace; revoke it if it should stop. It stops working if that person deletes their Testsy account. Each key can make up to 300 requests a minute (see Errors and limits). An AI agent connected over MCP can sign in with your Testsy account instead of using a key: see MCP.

Good practice#