scope says which. bucket_width=1d adds a per-day series; group_by=member adds a per-member breakdown and requires usage:view_all.
Permission required:
usage:view_all (whole team) or usage:view_self (your own only)- When you pass
group_by=member:usage:view_all
Query Parameters
First day to include, YYYY-MM-DD, in the timezone stated by period.timezone. Defaults to six days before end_date.
Last day to include, YYYY-MM-DD, in the timezone stated by period.timezone. Defaults to today.
Repeatable. by_model is always returned for the period; member adds by_member (requires usage:view_all). With bucket_width=1d, each bucket also carries the breakdowns listed here.
Response
Errors
Errors answer withsuccess: false, a message and an error_code. See Error Codes for every code.