Skip to main content

Drill Down Into Aggregated Row

POST 

/api/v2/report-builder/drill-down

Return the detail records behind one row of an aggregated report.

Required scope: reports:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Body:

  • definition (object, required): the same builder definition that produced the aggregated row (same rules as Run Ad-Hoc Report)
  • dimension_values (object, optional): the row's dimension values keyed by alias (entity__field, e.g. sales_orders__order_status). For a date dimension with a granularity, pass the bucketed value as it appears in the report (e.g. 2026-09). A null value matches records where the field is empty.
  • limit (integer, optional, default 100, max 1000)

Response: columns (every dimension of the base entity: key, label, type), rows (keyed by dimension key, newest first) and row_count. Returns 422 for an unknown base entity.

Authentication: Bearer token (Personal Access Token). Personal access tokens need the reports:write scope.

Request​

Responses​

OK

Response Headers
    Content-Type