---
title: "Check query preview KPI"
method: GET
path: "/api/2.0/kpi/checkQueryPreview"
tags: ["KPI Management API"]
---

# Check query preview KPI

`GET /api/2.0/kpi/checkQueryPreview`

## Request

- Base URL: `https://app.agenticbi.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.agenticbi.com/api/2.0/kpi/checkQueryPreview`
- Auth: HTTP bearer

## Response `200`

Success

- KPI: KPI information
  - `name` string: KPI name
  - `status` 'GREEN' | 'YELLOW' | 'RED': KPI status
  - `time` integer: KPI execution time
  - `comment` string: KPI comment

## Other responses

- `401`: User is not authenticated
- `403`: User is not allowed to access this resource
- `500`: Error during processing

---

[API](https://skmtc.dev/agenticbi/apis/user-management-api.md) · [All operations](https://skmtc.dev/agenticbi/apis/user-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/agenticbi/apis/user-management-api/revisions/62c42a99830e?raw)
