TESSEN Platform
Documentation
Docs/Get started
DEVELOPER GUIDE

API keys

Create a key in the Console, use it once, and revoke it when you are done.

An API key belongs to your account and is created in the Console. The Console shows the secret exactly once, in the response to the request that created it; afterwards the Keys page lists only a masked prefix, the permissions, the creation time, the last use and the status.

  1. Open Keys

    Sign in at https://console.tessen.ai and open Keys.

  2. Create the key

    Name it for its purpose (for example "CI" or "Development") and choose its permissions.

  3. Copy the secret

    It begins tes_. Store it in a secret manager or an environment variable now; it cannot be shown again.

  4. Use it

    Send it as a Bearer token.

    BASH
    curl https://api.tessen.ai/v1/zero/status \  -H "Authorization: Bearer $TESSEN_API_KEY"
  5. Revoke it

    Revoke the key from the same page. Requests with it answer 401 from that moment.

Things to know

  • A key cannot create another key. Key management needs a signed-in person.
  • One account can hold several keys, so each program and environment can have its own and be revoked on its own.
  • A key spends your account's entitlements and wallet. It cannot reach another account's data.
  • Revoke keys you no longer use.

A key reaches the models your account can call

Model idWho can call itPaid by
z1, z1-code, h1Accounts in the commercial pilot.Your prepaid wallet, at the published price per million tokens.
project-zeroDevelopers enrolled in ZERO Alpha.Nobody: a free daily allowance. It never debits the wallet.

A model your account may not call is refused; it is never served by a different model instead.

Search documentation

Titles, headings and guides↑ ↓ navigate · Enter open