/ai/activity/overview
Headline usage, cost and failure figures for Spark chat and AI summaries in the period, with a daily series, failure reasons, the pages questions come from, and the top organisations and users. Only available to admins. Results cover the organisations your account can access.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Date range to report on. Preset ranges end yesterday and today is today so far. month_to_date is the current month so far and week_to_date is the current week so far. custom requires start and end (YYYY-MM-DD). Other values return a 400 error
custom, all_time, today, seven_days, fourteen_days, thirty_days, three_months, six_months, week_to_date, month_to_date, quarter_to_date, year_to_date, last_week, last_month, last_quarter, last_year, month_on_month, quarter_on_quarter, yesterday Start date when range=custom
End date when range=custom
Groups the daily series by day, month or quarter
day, month, quarter Only include one route: chat (Spark questions and chat naming) or summary (AI summaries)
chat, summary Comma-separated organisation IDs
Comma-separated user IDs
Only include successful or failed requests
success, failure Only include admins (admin) or everyone else (non_admin)
admin, non_admin Set to 1 to leave out internal organisations
0, 1 Response
The same figures per route, with tokens and cost split by token type; routes with no activity are left out
Figures across every route included
One row per day (or month or quarter, by date_group), with empty buckets as zeros
Failures grouped into categories, largest first
The ten pages with the most Spark questions
Pages outside the top ten rolled up, or null when there are none
Up to 100 organisations, by cost
Up to 100 users, by cost