Usage and value
Get usage summary
Headline usage and value for the caller, or for their whole organisation: sessions, active users, hours saved and cost saved.
GET
Returns the headline figures from Wordsmith’s Usage and value dashboard for a period: how much work Wordsmith did and what it saved. Use it to show a user their own impact, or to report ROI for the organisation.
scope decides whose figures you get:
me: the caller’s own usage. Anyone can read it, unless the organisation turned personal figures off. When it hides cost figures, both cost figures read0.company: the whole organisation. Only people allowed to view company analytics, usually admins, can read it. Others get403 forbidden.
scope=company) apply the organisation’s calibration setting (conservative, balanced or ambitious), so they match the dashboard; personal figures are never calibrated, as on the dashboard. Credit and token consumption is not part of this API.
Authentication
Requires an API key, or an OAuth token withusage:read.
Query parameters
this_month, last_month, last_7_days, last_30_days, last_quarter, lifetime or custom. last_quarter is the last complete quarter of your organisation’s financial year.Response
Returns200. Each figure carries the value for the period (current) and for the period before it (previous), so you can show the trend. previous is null when there is no earlier period to compare, as for lifetime. active_users is null for scope=me.