Preview Analytics Panel Drill-Down
See what a drill-down panel shows for one click: pass the clicked row's values its SQL reads as $params.
Path
The page id, from List Analytics Pages.
The drill-down panel id, from Get Analytics Page.
Headers
Optional. The id of the organization to act in. Leave it out to act in the API key's own organization. Here a key acts in another organization only as one of its members: with "Use this key across all of your organizations" on, in an organization its creator belongs to with a role. Child organizations and MindCloud staff access do not reach this endpoint. Every response's X-Company-Id header names the organization it acted in. See Organizations.
Body
The clicked row's values.
The clicked row's values the panel's SQL reads as $params, keyed by param: { "userId": "u_81Kq2" }.
Page variable values.
Page variable values to run it under, keyed by variable. Left out, the page's defaults apply.
draft or published.
Which version of the page to run. Left out: the published version when there is one, otherwise the draft.
draftThe draft, with the changes not yet published. Editors and owners only.publishedThe version viewers see.
How many rows to answer, 1-1000.
How many rows to answer, 1-1000. Defaults to 100.
Default: 100
How many rows to skip.
How many rows to skip. Defaults to 0.
Default: 0
Response fields
statusstringHow the drill-down view came out.
readyIt ran and has rows.emptyIt ran and returned no rows.failedIt did not run; message says why.pendingIt is taking longer than usual; try again.
messagestringWhy the view failed or is waiting. Null when it ran.
columnsarray of stringThe column names the rows carry, in order.
rowsarray of objectsThe rows in this window, as objects keyed by column.
rowCountnumberHow many rows there are in all.
offsetnumberWhere this window starts.
nextOffsetnumberThe offset of the next window, or null when this is the last.
versionobjectWhich version of the page this answer reads.
modestringdraft or published.
draftThe draft, with changes not yet published.publishedThe version viewers see.
publishedVersionIdstringThe published version read, from List Analytics Page Versions, or null when the draft is read.