run-chart-query
Execute a chart query against your data warehouse and retrieve results as CSV. Use it to export data, verify chart outputs, or feed data into other tools.
Instructions
Execute a chart query and return the data results in CSV format.
Runs the chart's configured query against the data warehouse and returns the results as CSV.
Returns:
CSV-formatted string with headers and data rows
Metadata comment line with row count (format:
# Metadata: {"row_count":N})
When to use:
To get actual data from a chart for analysis
To verify a chart is returning expected results
To export chart data programmatically
To preview data before creating a dashboard tile
Performance notes:
Large result sets may take time to execute
Use the
limitparameter to restrict rows returnedQuery execution happens in real-time against your warehouse
Optional limit parameter: Restricts the number of rows returned (useful for large datasets)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chart_uuid | Yes | UUID of the chart to execute | |
| limit | No | Optional: Limit number of rows returned. Useful for large datasets. Example: 100 will return max 100 rows |