---
title: "Get Usage By Endpoint"
method: GET
path: "/api/v1/usage/by-endpoint"
tags: ["usage"]
---

# Get Usage By Endpoint

`GET /api/v1/usage/by-endpoint`

## Request

- Base URL: `https://polystrike.xyz` (the document declares no server; this is the origin it was published from)
- URL: `https://polystrike.xyz/api/v1/usage/by-endpoint`
- Auth: none declared

Get usage breakdown by endpoint for an API key.

**Authentication:** Required (INTERNAL tier only)

Returns per-endpoint statistics:
- Request count
- Error count and rate
- Average response time
- Bandwidth consumed

## Query parameters

- `start` integer, required: Start timestamp (Unix seconds)
- `end` integer, required: End timestamp (Unix seconds)

## Headers

- `x-api-key` string, nullable
- `x402` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/polystrike/apis/polystrike-api.md) · [All operations](https://skmtc.dev/polystrike/apis/polystrike-api/llms.txt) · [OpenAPI document](https://skmtc.dev/polystrike/apis/polystrike-api/revisions/1887a4a1be94?raw)
