Safe AI Workbench Developer Docs

Analytics API

Gain insights into AI usage patterns, costs, and compliance metrics

Comprehensive Usage Analytics

The Analytics API provides detailed metrics on AI usage across your organization. Track consumption, monitor costs, and measure policy effectiveness with aggregated and time-series data.

Usage Trends

Visualize request volumes, token consumption, and user activity over customizable time periods.

Cost Breakdown

Track spending by model, task type, and department for accurate budget forecasting.

Policy Metrics

Monitor policy triggers, blocked requests, and PHI detections for compliance reporting.

Performance Metrics

Track response times and throughput to ensure optimal service levels.

Key Capabilities

  • Access aggregated usage statistics for dashboards
  • Query time-series data for trend analysis
  • Break down usage by task type, model, and user group
  • Track policy enforcement and compliance metrics
  • Compare periods for growth and efficiency analysis
  • Export data for external reporting systems

Ready to integrate?

Full API documentation with code samples, authentication details, and interactive examples is available to customers in the product documentation.

Request API Access