---
title: "Controller Chart Refresh"
method: POST
path: "/measurement/chart/refresh"
tags: ["measurement", "chat_explore"]
---

# Controller Chart Refresh

`POST /measurement/chart/refresh`

## Request body

- MeasurementChartRefreshPayload
  - `chart_id` integer, required
  - `measurementFilter` MeasurementFilters, required — Measurement filter with dynamic field support for hierarchy-based filtering
    - `timeframe` MeasurementTimeframe
      - `start_date` integer, nullable — start date of the query in unix epoch milliseconds
      - `end_date` integer, nullable — end date of the query in unix epoch milliseconds
    - `comparison_timeframe` MeasurementTimeframe
      - `start_date` integer, nullable — start date of the query in unix epoch milliseconds
      - `end_date` integer, nullable — end date of the query in unix epoch milliseconds
    - `drilldown` DrilldownConfig — Configuration for drill-down navigation in charts
      - `current_level` string — Current drill-down level
      - `next_level` string, nullable — Next drill-down level to navigate to
      - `drill_context` object — Context for drill-down (parent selections)
    - `raw_measurement_filter` object

## Response `200`

Successful Response

- ChartRefreshResult
  - `chart_id` integer, required
  - `chart_metadata_id` integer, required
  - `chart_data_id` integer, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/akk/apis/fastapi.md) · [All operations](https://skmtc.net/akk/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/akk/fastapi/revisions/6662a407c637/schema)
