Create an API key
A key authenticates your code. It is shown once.
Create one
- Open API Keys.
- Give the key a label you will recognise later —
local-dev,staging-worker. - Optionally set a monthly spending limit, an expiry date, or a model restriction.
- Copy the key. It starts with
ak-.
The full key is displayed exactly once
Astrodyne stores only a hash and a short masked prefix. We cannot show it to you
again and we cannot recover it. If you lose it, revoke that key and create
another — there is no downside to doing so.
Use it
Shell
export ASTRODYNE_API_KEY="ak-your-key-here"
Send it as a Bearer token on every request. See Authentication.
Revoke it
Revoking is immediate: the next request using that key fails to authenticate. Revoking a key does not affect your balance, your other keys, or the history of requests that key already made.