---
title: "Changes to Get API key analytics"
method: GET
path: "/analytics/api_keys"
---

# Changes to Get API key analytics

`GET /analytics/api_keys`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 21 revisions.

- **2026-11-13** `d46bc3931b34`: 3 breaking, 17 warning, 40 info
- **2026-10-16** `d5b1beb33be5`: 1 info

## Changes

- **2026-11-13** `d46bc3931b34`: 3 breaking, 17 warning, 40 info
  - the `allOf[#/components/schemas/apiKeyAnalyticsResponse]/data/hourly_metrics` response's property type changed from `array, object` to `array` for status `200`
  - the `allOf[#/components/schemas/apiKeyAnalyticsResponse]/data/ip_metrics` response's property type changed from `array, object` to `array` for status `200`
  - removed the required property `allOf[#/components/schemas/apiKeyAnalyticsResponse]/data/api_key_metrics_30d` from the response with the `200` status
  - removed the optional property `allOf[#/components/schemas/apiKeyAnalyticsResponse]/data/core_metrics/pct_under_100ms` from the response with the `200` status
  - removed the optional property `allOf[#/components/schemas/apiKeyAnalyticsResponse]/data/core_metrics/pct_under_1s` from the response with the `200` status
  - removed the optional property `allOf[#/components/schemas/apiKeyAnalyticsResponse]/data/core_metrics/pct_under_500ms` from the response with the `200` status
  - removed the optional property `allOf[#/components/schemas/apiKeyAnalyticsResponse]/data/latency_breakdown/less_than_100ms` from the response with the `200` status
  - removed the optional property `allOf[#/components/schemas/apiKeyAnalyticsResponse]/data/latency_breakdown/less_than_1s` from the response with the `200` status
  - removed the optional property `allOf[#/components/schemas/apiKeyAnalyticsResponse]/data/latency_breakdown/less_than_500ms` from the response with the `200` status
  - removed the optional property `allOf[#/components/schemas/apiKeyAnalyticsResponse]/data/latency_breakdown/more_than_1s` from the response with the `200` status
  - removed the optional property `allOf[#/components/schemas/apiKeyAnalyticsResponse]/data/most_used_api_keys/items/auth` from the response with the `200` status
  - removed the optional property `allOf[#/components/schemas/apiKeyAnalyticsResponse]/data/prev_core_metrics/pct_under_100ms` from the response with the `200` status
  - removed the optional property `allOf[#/components/schemas/apiKeyAnalyticsResponse]/data/prev_core_metrics/pct_under_1s` from the response with the `200` status
  - removed the optional property `allOf[#/components/schemas/apiKeyAnalyticsResponse]/data/prev_core_metrics/pct_under_500ms` from the response with the `200` status
  - added the new `405.00` enum value to the `allOf[subschema #1]/status` response property for the response status `401`
  - added the new `405.00` enum value to the `allOf[subschema #1]/status` response property for the response status `403`
  - added the new `409.00` enum value to the `allOf[subschema #1]/status` response property for the response status `401`
  - added the new `409.00` enum value to the `allOf[subschema #1]/status` response property for the response status `403`
  - added the new `500.00` enum value to the `allOf[subschema #1]/status` response property for the response status `401`
  - added the new `500.00` enum value to the `allOf[subschema #1]/status` response property for the response status `403`
  - added the new optional `query` request parameter `api_key_id`
  - added the new optional `query` request parameter `period`
  - added the new optional `query` request parameter `timezone`
  - added the non-success response with the status `400`
  - added the non-success response with the status `429`
  - added the optional property `allOf[#/components/schemas/apiKeyAnalyticsResponse]/data/core_metrics/from_10_to_50ms` to the response with the `200` status
  - added the optional property `allOf[#/components/schemas/apiKeyAnalyticsResponse]/data/core_metrics/from_50_to_200ms` to the response with the `200` status
  - added the optional property `allOf[#/components/schemas/apiKeyAnalyticsResponse]/data/core_metrics/over_200ms` to the response with the `200` status
  - added the optional property `allOf[#/components/schemas/apiKeyAnalyticsResponse]/data/core_metrics/pct_under_10ms` to the response with the `200` status
  - added the optional property `allOf[#/components/schemas/apiKeyAnalyticsResponse]/data/core_metrics/pct_under_200ms` to the response with the `200` status
  - added the optional property `allOf[#/components/schemas/apiKeyAnalyticsResponse]/data/core_metrics/pct_under_50ms` to the response with the `200` status
  - added the optional property `allOf[#/components/schemas/apiKeyAnalyticsResponse]/data/core_metrics/under_10ms` to the response with the `200` status
  - added the optional property `allOf[#/components/schemas/apiKeyAnalyticsResponse]/data/hourly_metrics/items/distinct_api_keys` to the response with the `200` status
  - added the optional property `allOf[#/components/schemas/apiKeyAnalyticsResponse]/data/hourly_metrics/items/success_count` to the response with the `200` status
  - added the optional property `allOf[#/components/schemas/apiKeyAnalyticsResponse]/data/hourly_metrics/items/success_rate_pct` to the response with the `200` status
  - added the optional property `allOf[#/components/schemas/apiKeyAnalyticsResponse]/data/hourly_metrics/items/unique_endpoints` to the response with the `200` status
  - added the optional property `allOf[#/components/schemas/apiKeyAnalyticsResponse]/data/ip_metrics/items/city` to the response with the `200` status
  - added the optional property `allOf[#/components/schemas/apiKeyAnalyticsResponse]/data/ip_metrics/items/country_code` to the response with the `200` status
  - added the optional property `allOf[#/components/schemas/apiKeyAnalyticsResponse]/data/ip_metrics/items/isp` to the response with the `200` status
  - added the optional property `allOf[#/components/schemas/apiKeyAnalyticsResponse]/data/ip_metrics/items/success_rate` to the response with the `200` status
  - …20 more
- **2026-10-16** `d5b1beb33be5`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/premai-io/apis/prem-studio-api/docs/analytics/api_keys/get.md) - [API](https://skmtc.dev/premai-io/apis/prem-studio-api.md) - [Page](https://skmtc.dev/premai-io/apis/prem-studio-api/changes/analytics/api_keys/get)
