grith.aidocs

Analytics

pro

Pro analytics: summary, cost, activity, and compliance bundles.

Pro
MethodPathSummaryFlags
GET/analytics/summaryTop-line stats: call volume, decisions split, cost.
Pro
GET/analytics/costProvider cost breakdown by model and user.
Pro
GET/analytics/activityCall volume trends and per-session timelines.
Pro
GET/analytics/complianceCompliance-ready reporting bundles.
Ent

Pro analytics roll up the audit data and reputation table into team-friendly shapes. Requires a valid Pro license; without one, the routes return 403 PLAN_REQUIRED.

GET /analytics/summary

Top-line stats over a window.

{
  "window": "24h",
  "calls": 9482,
  "decisions": { "allow": 8920, "queue": 487, "deny": 75 },
  "sessions": 14,
  "cost_estimate_usd": 4.22
}

GET /analytics/cost

Provider cost breakdown by model and user.

{
  "by_provider": [
    { "provider": "anthropic", "model": "claude-sonnet-4-5", "tokens": 1_240_000, "cost_usd": 3.41 }
  ],
  "by_user": [...]
}

GET /analytics/activity

Call volume trends, per-session timelines, decision splits over time.

GET /analytics/compliance Enterprise

Compliance-ready bundles for export. Returns SOC 2 / ISO 27001 / GDPR-flavoured report shapes. See Compliance reporting.

See also

Last updated: 2026-05-14Edit this page on GitHub →
© 2026 grith. All rights reserved.