rows, one per pivot row. Each
row holds the row groups, then the column groups, then the displayed measures,
aligned on columns. pivot says which column is which.
Needs a report configured as a pivot table (pivot_table_configuration in
get_report); for any other report, use
get_report_data. To read the
values displayed by its configured chart, use
get_report_chart_data. You
can read a report granted to you directly, or one shown as a pivot_table tile
on a dashboard shared with you.
Values
Values are machine values, as inget_report_data:
- A date is
YYYY-MM-DD. - An amount is unrounded, in its column’s
currency(the report’scalculation_currency). - A percentage is the stored ratio, 0.8 for 80%.
- A user is
{id, email, name}. - A cell whose computation failed is listed in
error_cells.
Subtotals and grand totals
__total__ in a group cell marks a subtotal or a grand total. Its measures are
computed and typed as that measure’s totals in pivot says:
operatoris the aggregation applied to the total, such assumoraverage.scopesays what the operator runs on:source_rows(the report rows under the total) orpivot_cells(the pivot cells under the total). It is null for a formula measure.field_type,value_typeandcurrencytype the total, which can differ from the measure’s own column (a count of a string field yields a number).
Grouped dates
A grouped date is the last day of its period, at the column’sdate_granularity (2026-06-30 for a quarter that ends in June). Name the
period with the column’s period_labels, which maps each date to its label on
the company fiscal calendar, in your language ({"2026-06-30": "Q1 2026"}).
Never derive the period name from the date itself.
Paging
Pages count pivot rows: a page holdslimit rows from offset. Pass
next_offset as offset for the following page; it is null on the last page.
total_row_count is the full size. A pivot too large to compute is refused:
change its filters or pivot configuration in the web app.
Freshness
The data comes from a computation of the report stored for you, andcomputed_at says when it was made. A deal or a statement changed since then
shows up only once the report is recomputed: call
refresh_report when computed_at is
older than the data you need.
Example
A pivot withowner on rows, close_date grouped by quarter on columns, and
the sum of amount as its measure:
Parameters
Body
Body
Response
Body
Body
Which columns are the row groups, the column groups and the measures, and
how each measure’s totals are computed.
One row per pivot row, aligned on
columns; __total__ in a group cell
marks a subtotal or grand total.When the data served here was computed for you (UTC), the date the report
page in Qobra shows.
null when no stored computation was up to date and
this call computed the data on the spot, so it is current. A stored
computation reflects the records as they stood then: a deal or a statement
changed since shows up only once the report is recomputed. Call
refresh_report, then read again
until this date is later than the requested_at it returned.