Authorization header on every call.
Getting a key
Create and manage keys from your dashboard. Each key draws from the same account balance. You can:- Create multiple keys (e.g. one per app or environment).
- Set a spending limit and reset period per key.
- Set an expiry date.
- Revoke a key at any time.
Keys vs credit ID
Askr accounts have two identifiers:string
A secret token used to authenticate API calls (
Authorization: Bearer ...).string
A public identifier for your balance, used for reading balance and for
top-ups. It is not secret, but it cannot be used to make inference calls.
Test your key
200 response with a list of models means your key works.