Sessions

Get session statistics

Get aggregated session statistics for a date range (default: last 30 days).

get/v1/sessions/stats

Request

  • Base URL: https://api.wave.co
  • URL: https://api.wave.co/v1/sessions/stats
  • Auth: HTTP bearer

Query parameters

sincestring

Start date (ISO 8601, default: 30 days ago)

Example:2025-03-22T00:00:00.000Z
untilstring

End date (ISO 8601, default: now)

Example:2025-04-21T00:00:00.000Z

Response

Session statistics

total_sessionsnumber required
total_duration_secondsnumber required
average_duration_secondsnumber required
sessions_by_typeobject required
sessions_by_platformobject required

Example response

{
  "total_sessions": 57,
  "total_duration_seconds": 89432,
  "average_duration_seconds": 1569,
  "sessions_by_type": {
    "meeting": 38,
    "phone": 11,
    "recording": 8
  },
  "sessions_by_platform": {
    "zoom": 22,
    "google_meet": 12,
    "phone": 11,
    "desktop": 8,
    "none": 4
  },
  "period": {
    "since": "2025-03-22T00:00:00.000Z",
    "until": "2025-04-21T00:00:00.000Z"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.