Lakuna · docs

Getting an API key

Keys belong to your signed-in account, not minted anonymously:

  1. 1Sign in (or sign up) and open /dashboard.
  2. 2The dashboard calls GET /api/keys, authenticated by your browser session (Clerk), not the key itself. It returns your existing key or mints one on first visit.
  3. 3Give the key to the agent as LAKUNA_API_KEY (sent as Authorization: Bearer <key> or x-api-key).

POST /api/keys (same session auth) regenerates the key and retires the old one immediately.