Skip to main content
Every request sends an API key as a bearer token:
  • You create keys in the Klint dashboard.
  • Store the key in the KLINT_API_KEY environment variable. Never store it in code, prompts, or repositories.
  • In agent contexts, provide the key through the environment. Klint never requires an interactive login mid-task.
The key format and the account-free onboarding flow (trial token → npx klint setup → claim) are planned, not final contract.

If you get a 401

A missing, malformed, or revoked key returns 401 authentication-required as a problem object:
Check these items in order:
  1. The Authorization: Bearer prefix is present.
  2. The key has no surrounding quotes or whitespace.
  3. The key is active in the dashboard.
A 401 is never retryable with the same credentials.

Key safety

  • Treat keys as secrets.
  • Rotate a key on suspicion of exposure.
  • Scope one key per integration.
  • Revoke unused keys.
  • Klint keys will appear in secret-scanning feeds at launch. Treat a key that lands in a public repository as compromised.