---
title: "Compute Kpi Route"
method: POST
path: "/api/kpi-library/{kpi_id}/compute"
---

# Compute Kpi Route

`POST /api/kpi-library/{kpi_id}/compute`

## Request

- Base URL: `https://fluxito.app` (the document declares no server; this is the origin it was published from)
- URL: `https://fluxito.app/api/kpi-library/{kpi_id}/compute`
- Auth: none declared

Preview a KPI's computed value for the given time range.

## Path parameters

- `kpi_id` string, required

## Request body

- KPIComputePayload
  - `date_range_start` string, nullable
  - `date_range_end` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/fluxito/apis/fluxito-platform.md) · [All operations](https://skmtc.dev/fluxito/apis/fluxito-platform/llms.txt) · [OpenAPI document](https://skmtc.dev/fluxito/apis/fluxito-platform/revisions/d558e1fe9a04?raw)
