---
title: "Get Query Analytics"
method: GET
path: "/analytics/admin/query"
tags: ["public"]
---

# Get Query Analytics

`GET /analytics/admin/query`

## Request

- Base URL: `https://cloud.onyx.app/api`
- URL: `https://cloud.onyx.app/api/analytics/admin/query`
- Auth: HTTP bearer

## Query parameters

- `start` string, date-time, nullable
- `end` string, date-time, nullable

## Response `200`

Successful Response

- QueryAnalyticsResponse[]
  - `total_queries` integer, required
  - `total_likes` integer, required
  - `total_dislikes` integer, required
  - `date` string, date, required

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-28** `76bc90bf55b6`: 1 info
  - endpoint added
- **2026-01-06** `2d941ea53eb3`: 1 breaking
  - api path removed without deprecation
- **2025-08-21** `9321c45d93b5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/onyx-dot-app/apis/onyx-api/changes/analytics/admin/query/get.md)

---

[API](https://skmtc.dev/onyx-dot-app/apis/onyx-api.md) - [All operations](https://skmtc.dev/onyx-dot-app/apis/onyx-api/llms.txt) - [OpenAPI document](https://skmtc.dev/onyx-dot-app/apis/onyx-api/revisions/76bc90bf55b6?raw)
