---
title: "Changes to Get sql history queries"
method: GET
path: "/api/v1/services/stats/queries/history"
---

# Changes to Get sql history queries

`GET /api/v1/services/stats/queries/history`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 13 of 70 revisions.

- **2025-10-21** `356252841f50`: 1 breaking, 2 warning, 3 info
- **2024-11-08** `dc03bb6c514d`: 3 info
- **2024-03-22** `dbd561304b3b`: 1 info
- **2023-12-26** `fc9bd368b423`: 1 warning, 2 info
- **2023-12-20** `f87ef13adb5f`: 3 info
- **2023-12-11** `e83620df7542`: 1 info
- **2023-12-04** `b179482c50fc`: 2 info
- **2023-12-01** `068f1873edc4`: 1 info
- **2023-11-22** `fd7dc5b14a12`: 1 info
- **2023-11-16** `e1eca95dfdb6`: 1 breaking, 1 info
- **2023-11-13** `fa4600c1538b`: 1 breaking, 6 info
- **2023-11-03** `63ab3b1bb9e8`: 1 info
- **2023-10-05** `e993643541ef`: 1 info

## Changes

- **2025-10-21** `356252841f50`: 1 breaking, 2 warning, 3 info
  - removed the required property `items/items/estimate/approximate_cost` from the response with the `200` status
  - removed the optional property `items/items/cost` from the response with the `200` status
  - removed the optional property `items/items/total_cost` from the response with the `200` status
  - added the optional property `items/items/total_usd_cost` to the response with the `200` status
  - added the optional property `items/items/usd_cost` to the response with the `200` status
  - added the required property `items/items/estimate/approximate_usd_cost` to the response with the `200` status
- **2024-11-08** `dc03bb6c514d`: 3 info
  - added the new optional `query` request parameter `chain`
  - added the optional property `items/items/name` to the response with the `200` status
  - added the optional property `items/items/query/name` to the response with the `200` status
- **2024-03-22** `dbd561304b3b`: 1 info
  - added the required property `items/items/testnet` to the response with the `200` status
- **2023-12-26** `fc9bd368b423`: 1 warning, 2 info
  - added the new `chat_gpt_query` enum value to the `items/items/type` response property for the response status `200`
  - added the new optional `query` request parameter `is_repetitive`
  - added the new optional `query` request parameter `type`
- **2023-12-20** `f87ef13adb5f`: 3 info
  - added the optional property `items/items/last_repeat_date` to the response with the `200` status
  - added the optional property `items/items/total_cost` to the response with the `200` status
  - added the optional property `items/items/total_repetitions` to the response with the `200` status
- **2023-12-11** `e83620df7542`: 1 info
  - added the optional property `items/items/estimate/explain` to the response with the `200` status
- **2023-12-04** `b179482c50fc`: 2 info
  - added the optional property `items/items/is_gpt` to the response with the `200` status
  - added the optional property `items/items/query/gpt_message` to the response with the `200` status
- **2023-12-01** `068f1873edc4`: 1 info
  - added the optional property `items/items/query/repeat_interval` to the response with the `200` status
- **2023-11-22** `fd7dc5b14a12`: 1 info
  - added the optional property `items/items/all_data_in_preview` to the response with the `200` status
- **2023-11-16** `e1eca95dfdb6`: 1 breaking, 1 info
  - the `items/items/spent_time` response's property format changed from `int32` to `int64` for status `200`
  - added the optional property `items/items/preview` to the response with the `200` status
- **2023-11-13** `fa4600c1538b`: 1 breaking, 6 info
  - removed the required property `items/items/success` from the response with the `200` status
  - added the optional property `items/items/cost` to the response with the `200` status
  - added the optional property `items/items/estimate` to the response with the `200` status
  - added the optional property `items/items/query` to the response with the `200` status
  - added the optional property `items/items/type` to the response with the `200` status
  - added the required property `items/items/date_create` to the response with the `200` status
  - added the required property `items/items/status` to the response with the `200` status
- **2023-11-03** `63ab3b1bb9e8`: 1 info
  - added the required property `count` to the response with the `200` status
- **2023-10-05** `e993643541ef`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/tonkeeper/apis/rest-api-to-ton-console/docs/api/v1/services/stats/queries/history/get.md) - [API](https://skmtc.dev/tonkeeper/apis/rest-api-to-ton-console.md) - [Page](https://skmtc.dev/tonkeeper/apis/rest-api-to-ton-console/changes/api/v1/services/stats/queries/history/get)
