---
title: "Get analytics query timing"
method: POST
path: "/analytics/query/timing"
tags: ["Analytics"]
---

# Get analytics query timing

`POST /analytics/query/timing`

Returns CPU and wall-clock timing stats for a previously run analytics query.

## Request body

- object
  - `query_id` string, required — The query_id returned from POST /analytics/query.

## Response `200`

Successful response

- object
  - `stats` object, required
    - `cpu_time` number, required — ClickHouse CPU time in milliseconds.
    - `wall_clock_time` number, required — ClickHouse wall-clock time in milliseconds.

---

[API](https://skmtc.net/hexclave/apis/hexclave-rest-api-3.md) · [All operations](https://skmtc.net/hexclave/apis/hexclave-rest-api-3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hexclave/hexclave-rest-api-3/revisions/9b9326fe08a5/schema)
