Documentation Index
Fetch the complete documentation index at: https://ansdevcloud.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Authentication
Every request to the Ansdev API authenticates with an API key in thex-ansdev-key HTTP header. Keys are managed from your dashboard at /dashboard/api-keys.
Key format
ak_live_7c1b1865ed225cf47377e7d21fdec972
The full key is shown once, at creation time. After that the dashboard only displays the 12-char prefix (ak_live_7c1b) for identification.
Scopes
Each key carries a set of scopes; today onlyvideo:read is generally available. Future-roadmap scopes are accepted by the API but hidden from the dashboard until their services ship.
| Scope | Purpose |
|---|---|
video:read | List, get, and mint playback tokens. |
vault:read | (Coming soon) Cloud Vault file listing. |
vault:write | (Coming soon) Cloud Vault uploads. |
ai:compute | (Coming soon) AI agent runtime. |
billing:read | (Coming soon) Read wallet balance. |
INSUFFICIENT_SCOPE.
Limits
- 10 active keys per user (revoke older ones to free a slot).
- 1,000 playback tokens per key per UTC day (default; configurable per key in future tiers).
- 5-minute TTL on every playback token.
Revocation
Click Revoke on the key’s card in the dashboard. Revoked keys return 401INVALID_API_KEY on the very next request — there is no cache to flush. Revocation is a soft-delete (the row stays for audit), so the prefix and creation date remain visible.