Get a histogram of session durations.
GEThttps://api.aitronos.com/v1/meeting-buddy/analytics/duration-distribution
Returns a histogram showing the distribution of Meeting Buddy session durations across predefined time buckets (e.g., 0-5 min, 5-15 min, 15-30 min, etc.). Useful for understanding typical meeting lengths. Defaults to the last 30 days.
start_date string optional
Start of date range (UTC, ISO 8601 format). Defaults to 30 days before end_date.
end_date string optional
End of date range (UTC, ISO 8601 format). Defaults to current time.
Returns a distribution object:
| Field | Type | Description |
|---|---|---|
total | integer | Total sessions included in the distribution |
buckets | array | Duration buckets with counts |
Each bucket contains:
| Field | Type | Description |
|---|---|---|
label | string | Human-readable label (e.g., "0-5 min", "30-60 min") |
min_seconds | number | Minimum duration in seconds for this bucket |
max_seconds | number | Maximum duration in seconds for this bucket |
count | integer | Number of sessions in this bucket |
percentage | number | Percentage of total sessions |
cURL
- Bash
- Python
- Python
- JavaScript
curl -s -X GET "https://api.aitronos.com/v1/meeting-buddy/analytics/duration-distribution" \
-H "Authorization: Bearer $ACCESS_TOKEN" | python3 -m json.tool