Creating Tags
Tags can be created and managed through two interfaces:Dashboard
The TypeAuth dashboard provides an intuitive interface for tag management:- Navigate to the Tags section
- Click “Create New Tag”
- Enter your tag name
- Save your changes
API
Create tags programmatically using the Tags API endpoint:Tagging Resources
Applications
Tag your applications to organize them by:- Environment (production, staging, development)
- Business unit
- Customer segment
- Geographic region
API Keys
Add tags to your API keys to:- Track feature-specific usage
- Monitor integrations
- Analyze customer behavior
Filtering
Filter your resources using tag-based queries:Usage Analysis
Tags enable powerful usage analysis capabilities:- Customer Segmentation: Track API usage across different customer segments
- Feature Adoption: Monitor which features are being used most frequently
- Environment Analysis: Compare usage patterns across different environments
- Billing Support: Generate accurate usage-based billing reports
- Custom Reporting: Create filtered reports based on specific tags
Best Practices
- Consistent Naming: Use standardized naming conventions for your tags
- Descriptive Keys: Keep tag keys short but meaningful
- Tag Limits: Maintain a manageable number of unique tags
- Documentation: Keep your team aligned by documenting your tagging strategy
- Regular Reviews: Periodically audit and clean up unused tags
Sample Tag Structure
Here are some common tag structures:Resource Type | Tag Key | Example Values |
---|---|---|
Application | environment | production, staging, development |
Application | customer_tier | enterprise, pro, starter |
API Key | feature | auth, admin, analytics |
API Key | region | us-east, eu-west, asia-pacific |
Tag Constraints
- Name must be between 3 and 50 characters
- Maximum of 5 tags per resource
- Names can only contain alphanumeric characters and underscores