The Runtype API uses API keys for authentication. Include your API key in the Authorization header of every request.
Keep your API keys secure. Never expose them in client-side code or commit them to version control.
Include the API key in the Authorization header with the Bearer scheme:
API keys can be scoped to specific permissions:
Default rate limits per API key:
Rate limit headers are included in every response:
Store API keys in environment variables, not in code:
Create API keys with only the permissions they need. A key that only reads data shouldn’t have write permissions.
Regenerate API keys periodically and update them in your applications.
Check the API Keys section in your dashboard to monitor usage and detect unusual activity.