Documentation Index
Fetch the complete documentation index at: https://docs.dbhost.app/llms.txt
Use this file to discover all available pages before exploring further.
Creating an API key
- Go to Settings in the sidebar
- Click Create Key
- Enter a label (e.g., “CI/CD pipeline”, “Monitoring script”)
- Choose a scope
- Copy the key immediately
API key creation requires a Pro or Business plan. Free users will see an upgrade prompt instead of the create form.
Key scopes
Selected databases (Recommended)limits the key to only the databases you choose. It can list and manage only those databases.Full account accesscan create and manage every database in your account.
GET /api/v1/databasesreturns only the selected databases- Database-specific routes outside scope return
DATABASE_NOT_FOUND - Full-account-only routes like database creation return
KEY_SCOPE_DENIED
Replacing a key
Click Replace key next to an existing key if you need a fresh secret without changing the label or scope bindings.- The old secret stops working immediately
- The new secret is shown once right after replacement
- The key keeps the same label and scope configuration
Using API keys
Include the key in theAuthorization header:
Key format
API keys have a visible prefix (e.g.,dbh_abc1) for identification and a secret portion. In the settings page, you’ll see the prefix, label, scope, and last-used timestamp.