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

# Get Usage Patterns

`GET /admin/analytics/patterns`

## 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`
- Auth: HTTP bearer

Get usage patterns including peak hours and daily distributions.

- **period**: Filter period - 'week' or 'month'

## Query parameters

- `period` string

## Response `200`

Successful Response

- UsagePatterns
  - `peak_hour` integer, required
  - `hourly_distribution` integer[], required
  - `daily_distribution` integer[], 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)
