Call Analytics API & Reporting Documentation

Access call metrics, conversation insights, reporting tools, analytics APIs, and performance measurement resources.

Endpoints

MethodPathDescription
GET/analytics/callsCall volume and duration metrics
GET/analytics/agents/{id}Agent performance metrics
GET/analytics/sentimentSentiment analysis across calls
GET/analytics/usageAPI and minute usage by period
GET/analytics/topicsMost common conversation topics

Call Analytics

curl "https://api.voxentis.com/v1/analytics/calls?from=2025-01-01&to=2025-01-31&granularity=day" \
  -H "Authorization: Bearer YOUR_API_KEY"

Response

{
  "period": { "from": "2025-01-01", "to": "2025-01-31" },
  "totals": {
    "total_calls": 4250,
    "completed": 3890,
    "failed": 120,
    "avg_duration_sec": 145,
    "total_minutes": 10271
  },
  "by_day": [
    { "date": "2025-01-01", "calls": 135, "avg_duration_sec": 142, "completion_rate": 0.92 },
    { "date": "2025-01-02", "calls": 148, "avg_duration_sec": 139, "completion_rate": 0.94 }
  ]
}

Agent Performance

{
  "agent_id": "agt_9f2k4h1a",
  "period": { "from": "2025-01-01", "to": "2025-01-31" },
  "metrics": {
    "total_calls": 1200,
    "resolution_rate": 0.87,
    "avg_handle_time_sec": 132,
    "transfer_rate": 0.08,
    "avg_sentiment": 0.82,
    "top_intents": ["order_status", "return_request", "billing_inquiry"],
    "tool_usage": {
      "api_order_lookup": 890,
      "twilio_send_sms": 245,
      "salesforce_update_case": 156
    }
  }
}

Usage & Billing

{
  "period": { "from": "2025-01-01", "to": "2025-01-31" },
  "usage": {
    "voice_minutes": 10271,
    "stt_minutes": 10271,
    "tts_characters": 2450000,
    "llm_tokens": 15600000,
    "api_calls": 89500,
    "storage_gb": 12.4
  }
}

For live metrics, use the WebSocket endpoint wss://api.voxentis.com/v1/agents/{id}/events to power real-time dashboards.