# Usage Logs

Source: https://docs.screenshotlens.com/docs/dashboard/usage-logs
Summary: Inspect request history, statuses, timings, assets, and credits.

Open **Usage logs** at [app.screenshotlens.com](https://app.screenshotlens.com) to see every request made with your account, newest first.

## What a log entry holds

Each entry records the request (operation code, endpoint, request ID, parameters, and target host), the outcome (API response status, target page status, start and completion timestamps, duration, error code and message), the billing result (credits charged and whether the request was free), and the stored asset (resource URL, size, and content type).

## Common checks

| Question                       | Where to look                                     |
| ------------------------------ | ------------------------------------------------- |
| Did the API reject my request? | API response status and error message             |
| Did the target page fail?      | Target page status                                |
| Was I charged?                 | Credits charged and the free flag                 |
| Which page did I capture?      | Request host and request parameters               |
| Did the render take too long?  | Duration, against the `timeout` in the parameters |

## Reading logs from the API

```http
GET /v1/api-usage-logs?page=1&pageSize=10
```

This endpoint needs a dashboard session rather than an API key. It returns `items`, `totalCount`, `page`, and `pageSize`, and it clamps out-of-range paging instead of rejecting it:

| Input            | Result         |
| ---------------- | -------------- |
| `page < 1`       | `page=1`       |
| `pageSize < 1`   | `pageSize=10`  |
| `pageSize > 100` | `pageSize=100` |

Pair the logs with [Responses and Errors](https://docs.screenshotlens.com/docs/api/responses-errors) when you are tracking down production behavior.
