Create insights for Box items
Computes aggregated metrics over Box items matching a query predicate. Filters are applied first, followed by optional grouping, after which the requested metrics (such as sum, avg, min, max, and count) are computed for each resulting group or over the entire filtered dataset.
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Headers
Version header.
2026.0 Body
Request body describing the filtering, grouping, and metrics for an insights computation.
The filtering and grouping definition. Filters are applied first, followed by grouping, before metrics are computed.
A map of user-defined metric aliases to their definitions. A maximum of 10 metrics may be defined. Each alias must be a unique, non-empty string of up to 256 characters, containing only letters, digits, _, -, or ., and must not start with a digit, _, -, or .. May be empty to request only a total count.
Response
Returns the computed insight entries.
The computed results of an insights request, as a list of insight entries.
The list of computed insight entries. Each entry corresponds to a group, the overall dataset, or the aggregate of groups outside the top results.
