Budget & Spend Tracking
Internal User management

Get User Daily Activity Aggregated

Aggregated analytics for a user's daily activity without pagination. Returns the same response shape as the paginated endpoint with page metadata set to single-page.

Reads daily spend records that only ever accumulate and are never affected by budget resets. Their total can legitimately exceed the spend field returned by /v2/user/info, which is a running budget counter that every budget reset sets back to zero (or to the overage above max_budget when budget_rollover is enabled).

get/user/daily/activity/aggregated

Query parameters

start_datestring nullable

Start date in YYYY-MM-DD format

Start date in YYYY-MM-DD format

end_datestring nullable

End date in YYYY-MM-DD format

End date in YYYY-MM-DD format

modelstring nullable

Filter by specific model

Filter by specific model

api_keystring nullable

Filter by specific API key

Filter by specific API key

user_idstring nullable

Filter by specific user ID. Admins can filter by any user or omit for global view. Non-admins must provide their own user_id.

Filter by specific user ID. Admins can filter by any user or omit for global view. Non-admins must provide their own user_id.

timezoneinteger nullable

Timezone offset in minutes from UTC (e.g., 480 for PST). Matches JavaScript's Date.getTimezoneOffset() convention.

Timezone offset in minutes from UTC (e.g., 480 for PST). Matches JavaScript's Date.getTimezoneOffset() convention.

include_current_utc_dayboolean

When the range ends on the caller's current local day, extend it to today's UTC bucket so spend written after the caller's local midnight (in UTC terms) is included. Requires the timezone parameter. Historical ranges are never extended.

When the range ends on the caller's current local day, extend it to today's UTC bucket so spend written after the caller's local midnight (in UTC terms) is included. Requires the timezone parameter. Historical ranges are never extended.

Response

Successful Response

Changes