Skip to main content
The PromptGuard dashboard provides programmatic access to security events, usage analytics, and configuration management. Access the dashboard at app.promptguard.co.

Available Metrics

The dashboard provides access to the following data:

Security Metrics

  • Total Interactions: All API requests processed
  • Interactions Flagged: Threats detected and blocked
  • Detection Rate: Percentage of requests flagged
  • Latency (p95): 95th percentile response time
  • Threat Breakdown: Distribution by threat type (Prompt Injection, PII Detection, Jailbreak Attempts, Toxic Content, etc.)

Usage Analytics

  • Request Counts: Total requests, blocked requests, block rate
  • Usage vs. Limits: Current usage against plan limits
  • Billing Period: Days remaining and estimated monthly usage
  • Daily Usage: Request volume over time

Project Management

  • Multiple Projects: Organize different applications or environments
  • Project-Specific: Each project has its own API keys, policies, and analytics
  • Project Statistics: Request counts and activity per project

Configuration Options

Security Policies

Configure security policies at the account or project level:
  • PII Detection: Automatically detect and redact personally identifiable information
  • Prompt Injection Protection: Block attempts to manipulate AI model behavior
  • Data Exfiltration Protection: Prevent unauthorized access to system prompts (Pro+ required)
  • Toxicity Filter: Filter harmful, offensive, or inappropriate content (Pro+ required)
  • Block Sensitive Data: Automatically block requests containing sensitive information
  • Log All Requests: Enable comprehensive request logging

Policy Presets

Choose from predefined security presets optimized for different use cases:
  • Default: Balanced security for general AI applications
  • Support Bot: Optimized for customer support chatbots
  • Code Assistant: Enhanced protection for coding tools
  • RAG System: Maximum security for document-based AI
  • Data Analysis: Strict PII protection for data processing
  • Creative Writing: Nuanced content filtering for creative applications

Notification Settings

Configure email alerts and notifications:
  • Email Alert Level: All alerts, Critical only, or Off
  • Threat Alerts: Enable/disable email notifications for security threats
  • Usage Alerts: Enable/disable email notifications for usage milestones

On-Demand Usage

Configure usage beyond plan limits:
  • Enable/Disable: Toggle on-demand usage to allow requests beyond plan limits
  • Billing: On-demand usage is billed in arrears (pay after use)
  • Spending Limits: Set monthly spending limits (up to $10,000/month or unlimited)
  • Enforcement: Limits are enforced - requests are blocked when limit is exceeded
Spending limits are enforced. If you set a limit and exceed it, requests will be blocked until the next billing period or until you increase the limit.

Feature Availability

Analytics Export

  • Scale tier: CSV export available
  • Free/Pro tiers: View analytics only (no export)

Security Testing

  • Available for: Pro, Scale, and Tester tiers
  • Capabilities: Run preset tests, custom tests, validate security configuration

Compliance

  • Available for: Scale tier and above
  • Features: Compliance framework status, coverage reports, audit dates, compliance reports

Data Exfiltration & Toxicity Filter

  • Available for: Pro tier and above
  • Free tier: Not available (upgrade required)

Developer Usage API

Developer API Endpoint: The usage stats endpoint below is part of the Developer API and is included in the OpenAPI spec. It uses API key authentication and is suitable for SDK usage.
Get usage statistics via developer API (requires API key):
import requests
import os

api_key = os.environ.get("PROMPTGUARD_API_KEY")
url = "https://api.promptguard.co/api/v1/usage/stats"

headers = {
    "X-API-Key": api_key
}

response = requests.get(url, headers=headers)

if response.status_code == 200:
    stats = response.json()
    print(f"Requests this month: {stats.get('requests_this_month', 0)}")
    print(f"Monthly limit: {stats.get('monthly_limit', 0)}")
    print(f"Requests remaining: {stats.get('requests_remaining', 0)}")
    print(f"Usage percentage: {stats.get('usage_percentage', 0):.1f}%")
else:
    print(f"Error: HTTP {response.status_code}")

Plan Tiers

Free

  • 10,000 requests/month
  • Basic protection
  • View analytics (no export)

Pro

  • $49/month
  • 100,000 requests/month
  • All 7 threat types
  • Security Testing
  • Analytics export not available

Scale

  • $149/month
  • 1M requests/month (soft limit)
  • Advanced features
  • Analytics CSV export
  • Compliance features

Data Updates

  • Security events: Real-time
  • Aggregated statistics: Refresh every 5-15 minutes
  • Data retention: Varies by plan tier

Next Steps