---
title: "Get Error Logs"
method: GET
path: "/api/v1/usage/errors"
tags: ["usage"]
---

# Get Error Logs

`GET /api/v1/usage/errors`

## 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/errors`
- Auth: none declared

Get recent error logs for an API key.

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

Returns detailed error information:
- Endpoint and method
- Timestamp
- Status code
- Response time
- Error message

## Query parameters

- `limit` integer: Maximum number of errors to return

## 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)
