Getting Started
Generating an API Key
API keys are created and managed from the console, not from the /v1 API itself.
Create a key
- Sign in at dravenai.lat and go to Developers → API.
- Open API Keys.
- Select + Create API Key, give it a name, and choose an expiration.
- Complete the security check (Cloudflare Turnstile).
- Copy the key immediately — it's shown only once.
The full key value is never stored, only its hash — if you close the dialog without copying it, you'll need to create a new key. There's no way to reveal an old key again.
Key format
Keys look like sk-drv- followed by 64 hex characters. In lists (the console table, logs) only a short prefix is ever shown, e.g. sk-drv-a1b2c3..., so you can tell keys apart without exposing the secret.
Expiration options
Every key has an expiration — there's no option for a key that never expires. 90 days is the maximum.
| Value | Meaning |
|---|---|
| 7d | Expires 7 days after creation. |
| 30d | Expires 30 days after creation. |
| 90d | Expires 90 days after creation (default, and the maximum). |
Renaming and deleting
All key management happens on the same page. There's no "revoke" — a key is either active or gone:
- Rename — changes the label only; doesn't require the security check.
- Delete — permanently removes the key. Requires the security check. This is the only way to stop a key from authenticating before it expires on its own.
All keys on an account share one rate-limit and token budget — see Rate Limits. Use multiple keys to separate environments or apps, not to get more quota.