Skip to Content
AuthenticationAPI keys

API keys

An API key lets your code call the REST API and the MCP server as you, in one organization.

Create a key

In the TeroAI app , open Dashboard → API Keys and choose Create API Key:

  • Name it after where it will run, such as “Nightly report job”.
  • Choose its permissions. Give it only the scopes it needs.
  • Set an expiry date if it should stop working on its own. Without one, it works until you revoke it.

The key is shown once. TeroAI stores only a hash of it, so a lost key cannot be recovered: revoke it and create another.

The key

A key is tero_ followed by 64 hexadecimal characters. The list of keys shows the first characters of each, so you can tell them apart.

Send it

Send the key in the Authorization header of every request:

curl https://platform.teroatlas.ai/v1/me \ -H "Authorization: Bearer $TERO_API_KEY"

x-api-key: tero_YOUR_API_KEY works too. Never put a key in a URL.

The MCP server accepts the same header, for clients that let you set one. Assistants that connect with a sign-in use OAuth instead.

What a key acts as

A key belongs to the person who created it and to one organization. Its requests:

  • see only that person’s conversations in that organization,
  • count toward the organization’s monthly token quota, shared with the app,
  • stop working when the key is revoked or expires, when the person leaves the organization or loses access to TeroAI, or when the organization’s API access is switched off.
Last updated on