---
title: "Get Enhanced Usage Patterns"
method: GET
path: "/admin/analytics/patterns-enhanced"
tags: ["Admin"]
---

# Get Enhanced Usage Patterns

`GET /admin/analytics/patterns-enhanced`

## Request

- Base URL: `https://api.oxlo.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.oxlo.ai/admin/analytics/patterns-enhanced`
- Auth: HTTP bearer

Get enhanced usage patterns with actual dates.

- **period**: today, this_week, last_week, this_month

## Query parameters

- `period` string

## Response `200`

Successful Response

- EnhancedUsagePatterns
  - `peak_hour` integer, required
  - `hourly_distribution` integer[], required
  - `daily_usage` DailyUsagePoint[], required
    - `date` string, required
    - `label` string, required
    - `requests` integer, required
    - `tokens` integer, required
  - `period_label` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/oxlo/apis/oxlo-backend.md) - [All operations](https://skmtc.dev/oxlo/apis/oxlo-backend/llms.txt) - [OpenAPI document](https://skmtc.dev/oxlo/apis/oxlo-backend/revisions/bc2ecdc94f31?raw)
