Get a key
Sign in at app.westkite.com/developers. Your first key, named Default, is ready. Make one key per app, agent or environment. You can then see each one’s usage and revoke one without touching the rest. Keys look likewk_live_ and 32 letters and digits. The dashboard shows the first 12 characters so you can tell keys apart, when each was last used and what it has spent this month.
A coding agent can also get a key for you with your email: see the agent quickstart.
Send the key
X-API-Key: <key> works too, for clients that can’t set Authorization. Keep keys on a server or in your agent’s environment, never in a browser or a mobile app.
Scopes
A key can do what its scopes allow. New keys have all three.
Give an agent that only reads records a
data key, so it can never start paid research. A call outside a key’s scopes gets scope_missing.
Spend caps
A spend cap is the most a key can spend in a month. Calls that would pass it getspend_limit_exceeded until the month turns or you raise the cap; your other keys keep working. Owner research through the API runs without an approval step, so set a cap on any key that can research.
Roll, expire or revoke
- Roll a key to get a new secret at once. The old one keeps working for the grace period you pick: none if it leaked, or 1 hour, 24 hours or 7 days while you deploy the new one. Name, scopes, cap and history stay.
- Expire a key on a date you set.
- Revoke a key to stop it immediately. This can’t be undone.
invalid_key, with a reason that says which.