Create an API key

Create keys in the console with optional spending limit and expiration; the full key is shown only once.

You need an API key before calling the API. Keys are created and managed on the "API Keys" page in the console; one account can hold multiple keys for different purposes.

How to create a key

  1. Sign in and open the console, then choose API Keys in the left navigation.
  2. Click "Create key" and fill in:
FieldRequiredDescription
NameYesName it after its purpose so it is easy to tell apart, e.g. production, test.
Spending limit (USD)OptionalCumulative spending cap for this key. Leave empty for unlimited.
Expiration dateOptionalThe key stops working automatically after this date. Leave empty for no expiration.
  1. Submit to create. The dialog shows the full key exactly once — copy it and store it safely right away.

How keys are displayed

  • The full key is shown only once, at creation time. After closing the dialog it cannot be viewed again.
  • The key list always shows a masked form (prefix and last 4 characters) to protect against shoulder surfing.
  • Lost a key? Delete it and create a new one — the new key works immediately.

Security recommendations

  • Never put a key into frontend code, a public repository, or a chat message — anyone holding the key can spend your balance.
  • Split keys by environment (one for production, one for testing) and set a spending limit on the production key to keep the blast radius bounded.
  • If you suspect a leak, delete the key and create a new one immediately. Deletion takes effect at once — calls with the old key receive 401.
  • To grant someone temporary access, create a separate key with a small limit and delete it afterwards, instead of sharing your primary key.