Assistants
Get assistant statistics
https://www.getrevox.com/api/assistants/{id}/statisticsRetrieve the "Statistiques" report for an assistant's inbound activity: total calls received with a 12-week activity chart, the weekday and hour distribution, and the duration breakdown of answered calls. The perimeter is invariant and matches the call-history page filtered on this agent and the inbound direction: calls with your organization id, this assistant id, direction 'inbound' and not soft-deleted — no status or date filter. All weekday/hour/week bucketing happens server-side in the assistant's reporting timezone (currently fixed to Europe/Paris). 'has_activity' is false when no inbound call exists yet (the UI then shows the empty state, never a zero-count test), and 'weekly_average' is null in that case. Durations cover answered calls only (last attempt with both answered_at and ended_at); the rest are counted as unanswered.
Path parameters
idstringrequired
Responses
statisticsobjectrequiredShow 4 fieldsHide 4 fields
assistantobjectrequiredShow 4 fieldsHide 4 fields
idstringrequirednamestringrequiredtimezonestringrequiredhas_activitybooleanrequired
activityobjectrequiredShow 3 fieldsHide 3 fields
calls_totalnumberrequiredweekly_averagenumberrequirednullableweeksarray of objectrequiredShow 2 fieldsHide 2 fields
week_startstringrequiredcountnumberrequired
weekdaysobjectrequiredShow 3 fieldsHide 3 fields
daysarray of numberrequiredbusiest_dayobjectrequirednullableShow 2 fieldsHide 2 fields
indexnumberrequiredcountnumberrequired
busiest_hourobjectrequirednullableShow 2 fieldsHide 2 fields
startnumberrequiredcountnumberrequired
durationsobjectrequiredShow 3 fieldsHide 3 fields
average_secondsnumberrequirednullablebucketsobjectrequiredShow 4 fieldsHide 4 fields
under_1numberrequiredfrom_1_to_2numberrequiredfrom_2_to_3numberrequiredover_3numberrequired
unanswerednumberrequired
404Not found in your organization
errorstringrequired