Fields & validation
Response field dictionary for stats and activity. Neither endpoint accepts a body or validated query params.
overview
| Key | Meaning |
|---|---|
total_assistants | Count of assistants in scope |
total_calls | Count of call logs in scope |
calls_today | Calls with start_time on today |
calls_this_month | Calls with start_time ≥ start of month |
total_minutes | Sum of durations / 60, 1 decimal |
this_month_minutes | Same for this month only |
avg_duration | Average duration in seconds, 1 decimal |
recent_calls[]
Keys: id, call_id, phone_number, caller_number, duration, status, direction, start_time, end_time, cost, assistant_name, assistant_id. Limit 10, newest first.
call_trends · top_assistants · active_subscriptions
call_trends[]:date(SQL DATE of start_time),count— last 30 days, ordered by date ascending.top_assistants[]:id,vapi_assistant_id,name,phone_number,total_calls,type,status— top 5 by call-log count.active_subscriptions[]:id,package_name,package_id,status,amount,current_period_start,current_period_end,trial_ends_at,created_at.
activity item shapes
| type | Extra keys |
|---|---|
call | status, duration, cost |
transaction | status, amount |
assistant | assistant_name |
Every item also has id, type, title, description, time.
No request validation
Neither endpoint accepts query or body parameters. There are no Laravel validation rule strings and no 422 responses from these methods.