Authorization header using the bearer scheme.
Create an API Key
Create keys from Settings -> API Access. The full key is shown once after creation, so store it before closing the dialog. Keys start withdk_live_. Duckie stores only a hash and a display preview after creation.
Example Request
Scopes
Every key has one or more read scopes. A request fails with403 permission_denied when the key does not include the required scope.
| Scope | Allows |
|---|---|
api:runs:read | Read runs and run tool filter options |
api:tools:read | Read tools |
api:agents:read | Read agents |
api:guidelines:read | Read guidelines |
api:guardrails:read | Read guardrails |
api:runbooks:read | Read runbooks |
Invalid or Expired Keys
The API returns401 unauthenticated when a key is missing, malformed, unknown, expired, or revoked.