Preview Object Report Api
POST /reports/preview
Run an unsaved report with this credential’s own access and a 10 second budget (nothing partial is returned).
Authorizations
Parameters
Header Parameters
Request Body required
Run an unsaved report with the caller’s own access (the builder’s live preview). No drilldown.
object
What a report computes. timezone (an IANA name) fixes how dates are bucketed and what “end of day” means;
when absent the organization’s time zone applies (never the server’s).
object
One filter on a field of the source, or (with relationship_slug) on a field of the contact, company or deal
the source points at: the record passes when a linked record it may see matches. in is “is any of” and takes a
list of values.
One group-by. attribute: a field of the source (a date or timestamp field needs a grain);
related_attribute: a field of the ONE record a single-valued relationship points at; created_at: the
record’s creation time, bucketed by grain.
One measure. count counts each record once (COUNT DISTINCT record id); sum / avg / min / max
read a numeric field’s value; related_count counts the live records a relationship links each record to.
The calendar range a stage-over-time report snapshots, one column per grain period end (in the report’s
time zone).
object
The stage field and the ORDERED stages a funnel, stage-over-time or time-in-stage report walks.
object
Responses
200
Successful Response
object
object
What the chart folds into “Other”: every group beyond chart_limit. Only additive measures (count, sum,
related_count) are filled in; an average, minimum or maximum cannot be folded and is None.
object
How one measure counts, so a screen can say it in words under the measure (UI-23, PR 3.9). Only for a measure the
viewer may see (a restricted one has none). grain: what one unit is, the source’s singular noun (“deployment”)
or, for a linked count, the far records’ (“stakeholder”). time_basis: value_at_date a field’s current value,
or its value on the as-of day; records_at_date each record that existed then, once; links_today linked
records as linked today (links keep no history). unit: a currency field’s ISO code (“USD”); named unit so a
result never spells a hidden measure’s type for a viewer who may not see it.
visible_to: who may see the measure’s field, told only to an admin AUTHORING the report (a preview), so they
learn before sharing that some members will see the measure restricted.
A part of a report the viewer may not see. Hidden means ABSENT: it carries no title, no object name, no type and
no reason, only its position id (m0 the first measure, g0 the first group-by, f0 the first filter,
stage the stage field), so a client can lock that slot in place.
object
object
One row of a table, bar or line report: the group values in dimension order. gaps[i] is
"no_history" when dimension i is the history-gap group of an as-of report. A numeric value a JSON number
cannot carry exactly (past 15 significant digits) is its exact decimal text here; echo the target unchanged.
object
One stage of a funnel or time-in-stage report.
object
One cell of a stage-over-time report, on the last day of the period that ends on bucket_end: every record
live then (all), the records in stage (stage), those with no stage (unstaged) or those with no
recorded stage history (no_history).
Every record behind the report (the totals row).
object
object
object
object
Whether there are more pages
Items per page
Current page number (1-indexed)
Total number of items
422
Validation Error