Overview
API keys are scoped to the current user and account. When you create a key,
store it securely - the full key value is shown only once.
List API Keys
Get all API keys for the current user:Get an API Key
Get details for a specific API key:Create an API Key
Create a new API key:Revoke an API Key
Revoke (delete) an API key:Using API Keys
Initialize a client with an API key:X-API-Key header.
Complete Example
API key management component:Best Practices
- Store keys securely: Use environment variables or secret management systems
- Use descriptive names: Name your keys to identify their purpose
- Rotate regularly: Create new keys and revoke old ones periodically
- Monitor usage: Check
last_usedto identify inactive keys - Revoke unused keys: Remove keys that are no longer needed
Next Steps
- Auth API Keys - Authenticate with API keys
- Users Service - Manage user accounts
- Audit Logs - Track API key usage