Skip to content

Every response below is delivered inside the universal {success, result} envelope; downloads and streams bypass it structurally. See Calling the HTTP API.

Snapshot: data-service.json · data-service 1.11.0 · 11 operations

GET /v1/entities/{entity}/statistic-queries

Section titled “GET /v1/entities/{entity}/statistic-queries”

find — List statistic queries that belongs to a specific entity

Parameters

NameInRequiredType
entitypathyesstring
filterqueryno—

Responses

StatusDescription
200Array of StatisticQuery model instances

POST /v1/entities/{entity}/statistic-queries

Section titled “POST /v1/entities/{entity}/statistic-queries”

create — Create new statistic query for specific entity

Parameters

NameInRequiredType
entitypathyesstring

Request body: NewStatisticQuery

Responses

StatusDescription
200StatisticQuery model instance

DELETE /v1/entities/{entity}/statistic-queries/{id}

Section titled “DELETE /v1/entities/{entity}/statistic-queries/{id}”

deleteById — Delete statistic query by id

Parameters

NameInRequiredType
entitypathyesstring
idpathyesstring

Responses

StatusDescription
200StatisticQuery DELETE success

GET /v1/entities/{entity}/statistic-queries/{id}

Section titled “GET /v1/entities/{entity}/statistic-queries/{id}”

findById — Get statistic query by id

Parameters

NameInRequiredType
entitypathyesstring
idpathyesstring
filterqueryno—

Responses

StatusDescription
200StatisticQuery model instance

PATCH /v1/entities/{entity}/statistic-queries/{id}

Section titled “PATCH /v1/entities/{entity}/statistic-queries/{id}”

updateById — Update statistic query by id

Parameters

NameInRequiredType
entitypathyesstring
idpathyesstring

Request body: StatisticQueryPartialExcluding_id_

Responses

StatusDescription
200StatisticQuery PATCH success

GET /v1/entities/{entity}/statistic-queries/count

Section titled “GET /v1/entities/{entity}/statistic-queries/count”

count — Count statistic queries that belongs to a specific entity

Parameters

NameInRequiredType
entitypathyesstring
wherequeryno—

Responses

StatusDescription
200StatisticQuery model count.

findAll — List all statistic queries in the system

Parameters

NameInRequiredType
filterqueryno—

Responses

StatusDescription
200Array of StatisticQuery model instances

findByIdWithoutEntity — Get statistic query by id without entity

Parameters

NameInRequiredType
idpathyesstring

Responses

StatusDescription
200StatisticQueryDTO model instance

GET /v1/statistic-queries/by-ids Since 1.10

Section titled “GET /v1/statistic-queries/by-ids Since 1.10”

findByIdsWithoutEntity — Get several statistic queries by id without entity

Parameters

NameInRequiredType
idsquerynoarray of string

Responses

StatusDescription
200Array of StatisticQueryDTO model instances

countAll — Count all statistic queries in the system

Parameters

NameInRequiredType
wherequeryno—

Responses

StatusDescription
200StatisticQuery model count.

GET /v2/entities/{entity}/statistic-queries/{id}/execute

Section titled “GET /v2/entities/{entity}/statistic-queries/{id}/execute”

executeStatisticQueryV2

Parameters

NameInRequiredType
entitypathyesstring
idpathyesstring
wherequeryno—

Responses

StatusDescription
200execute specific statistic query

Platform 1.10.0 · Backend 1.11.0-alpha.11 · Frontend 1.11.0-alpha.6 · Mobile 1.10.2 · Chart 1.11.8 · Gateway 2.6.11 · MCP 0.2.0 · Grafana DS 1.2.0Docs build 2026-11-27