Overview
Sites represent the websites or applications that submit media for moderation. Each site belongs to a team and has its own configuration, rules, and webhook settings.Site Configuration
Basic Settings
Every site includes:- Name: Display name for the site
- URL: Primary website URL
- Description: Contextual description that helps AI understand your site’s purpose and content standards
- Site Key: Unique key for authentication
Site Description for AI Context
The description field is crucial for accurate AI moderation as it provides context about your site’s purpose and content standards. The AI uses this information to make appropriate moderation decisions. Example: A fitness and nutrition website would allow images of healthy meals, workout photos, and supplement bottles, while a children’s educational site would not allow the same supplement content but would welcome educational materials and child-friendly activities. Be descriptive about:- Your site’s target audience (adults, children, professionals, etc.)
- Content type and purpose (educational, entertainment, commerce, etc.)
- Industry or niche (fitness, education, gaming, etc.)
- Content standards and community guidelines
Webhook Configuration
Sites can receive moderation results via webhooks:- Webhook URL: Endpoint to receive notifications
- Webhook Secret: Shared secret for request verification
- Retry Logic: Automatic retry on failure
Site Hierarchy
API Integration
Sites submit media for moderation using their site key:Rule Assignment
Sites can have multiple rule groups:- Rule groups contain individual moderation rules
- Rules are evaluated in priority order
- First matching rule determines the action
Site Management
Creating a Site
- Navigate to the Sites page
- Click “Create Site”
- Enter site details
- Configure webhook settings (optional)
- Save and receive API credentials
Monitoring Site Activity
- View moderation statistics
- Check webhook delivery status
- Monitor API usage
- Review moderation history
Security
Site Key Security
- Store site keys securely
- Rotate keys periodically
- Never expose keys in client-side code
- Use environment variables
Webhook Security
- Verify webhook signatures
- Use HTTPS endpoints only
- Implement request timeouts
- Log webhook attempts
Best Practices
- Descriptive Naming: Use clear, identifiable site names
- Rule Organization: Group related rules logically
- Webhook Reliability: Implement proper error handling
- Regular Monitoring: Check webhook logs and delivery status
Related Concepts
- Rules - Moderation rules for sites
- Webhooks - Webhook notifications
- API Reference - Complete API documentation