Documentation Index
Fetch the complete documentation index at: https://docs.dograh.com/llms.txt
Use this file to discover all available pages before exploring further.
API key authentication
API keys are the recommended way to authenticate programmatic requests. Pass your key in theX-API-Key request header.
Create an API key
Create keys in the dashboard under Settings โ API Keys. The full key is shown only once at creation time โ store it immediately in a secrets manager or environment variable.For self-hosted deployments using local auth, sign up and log in via the dashboard first, then create an API key there before making API calls.
Manage API keys
| Action | Method | Path |
|---|---|---|
| List keys | GET | /user/api-keys |
| Create key | POST | /user/api-keys |
| Archive key | DELETE | /user/api-keys/{api_key_id} |
| Reactivate key | PUT | /user/api-keys/{api_key_id}/reactivate |
401.
Error responses
| Status | Cause |
|---|---|
401 Unauthorized | Missing, invalid, or expired credentials |
403 Forbidden | Valid credentials but insufficient permissions for the resource |