---
title: "Get Request Logs Stats"
method: GET
path: "/admin/request-logs/stats"
tags: ["internal", "Admin - Logging"]
---

# Get Request Logs Stats

`GET /admin/request-logs/stats`

## Request

- Base URL: `https://api.companydata.dk` (the document declares no server; this is the origin it was published from)
- URL: `https://api.companydata.dk/admin/request-logs/stats`
- Auth: none declared

Get statistics about request logs for the dashboard.

## Response `200`

Successful Response

- RequestLogStats: Statistics about request logs.
  - `total_requests` integer, required
  - `requests_today` integer, required
  - `requests_last_hour` integer, required
  - `error_count_today` integer, required
  - `avg_duration_ms` number, nullable
  - `top_endpoints` object[], required
  - `status_distribution` object, required

---

[API](https://skmtc.dev/companydata/apis/companydata-dk-api.md) · [All operations](https://skmtc.dev/companydata/apis/companydata-dk-api/llms.txt) · [OpenAPI document](https://skmtc.dev/companydata/apis/companydata-dk-api/revisions/1cc6c361ae64?raw)
