Skip to main content

API Keys

All requests to api.wardin.ai/v1/ use Bearer token authentication:
The same wardin_sk_ keys used to authenticate with the gateway also work with the management API. The key’s permissions determine what operations are allowed.

Key prefixes

Register the wardin_sk_ prefix with your secret scanner (GitHub Advanced Security, truffleHog, Gitleaks) to prevent accidental commits.

Key permissions

Example request

Error responses

Missing key:
Insufficient permissions:

Rotating keys

There is no in-place rotation — create a new key, update your environment, then revoke the old one: