Query Chart Endpoint
Run a chart's underlying dataset query.
Returns the chart descriptor plus a chart-shaped envelope (columns/rows/meta). timezone is threaded through exactly like apps.api.datasets.query_dataset_endpoint — see that endpoint's docstring.
ONE execution path, per-endpoint PROJECTION: this endpoint never runs its own query — it calls the exact same run_dataset_query a plain dataset query uses, then reshapes that result's DatasetEnvelope into a ChartEnvelope (chart_columns instead of columns_descriptors, ChartMeta instead of DatasetMeta). A chart and its dataset can never disagree about RBAC, filters, or row data — only presentation differs.
Path parameters
Headers
Request body
Response
Successful Response
Changes
Changed in 2 of the 28 revisions of this API.32
- ▲
response property
chart/reference/anyOf[subschema #1: ReferenceLineDescriptor]/oflist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
chart/reference/anyOf[subschema #1: ReferenceLineDescriptor]/percentilelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
meta/reference/anyOf[subschema #1: ReferenceValue]/oflist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ○
added the optional property
chart/reference/anyOf[subschema #1: ReferenceLineDescriptor]/valueto the response with the200statusresponse-optional-property-added
This revision also has 13 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
endpoint added
endpoint-added
- ○