Keys
One key per app, agent or person, each with its own name and its own cap if you want one.
- Prefix
sk-nc-- Shown
- Once, when created
- Where
- Dashboard, API keys
How keys work
- A key is shown in full once, when you create it. After that the dashboard shows only its first characters, because only a hash of it is stored.
- Give each key a name you will recognise in Usage: the name is how spend is broken down.
- Turn a key off to stop it at once without deleting its history. Delete it when you are sure.
- Send the key as
Authorization: Bearer sk-nc-...or asx-api-key: sk-nc-.... If both are sent, Bearer is used.
If a key leaks
Turn it off in the dashboard, create a new one, and update the tool that used it. Your credit and your other keys are untouched. A cap on the key limits what a leak can cost before you notice: see Spend caps.