---
title: "Calculate total from saved chart"
method: POST
path: "/api/v1/saved/{chartUuid}/calculate-total"
tags: ["Charts"]
deprecated: true
---

# Calculate total from saved chart

`POST /api/v1/saved/{chartUuid}/calculate-total`

> **Deprecated.**

Calculate metric totals from a saved chart

## Path parameters

- `chartUuid` string, required

## Request body

- object
  - `parameters` ParametersValuesMap — Construct a type with a set of properties K of type T
  - `invalidateCache` boolean
  - `dashboardFilters` unknown

## Response `200`

Success

- ApiCalculateTotalResponse
  - `results` RecordStringNumber, required — Construct a type with a set of properties K of type T
  - `status` 'ok', required

## Other responses

- `default` — Error

---

[API](https://skmtc.net/lightdash/apis/lightdash-api.md) · [All operations](https://skmtc.net/lightdash/apis/lightdash-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lightdash/lightdash-api/revisions/40c933755c9a/schema)
