---
title: "Set statistics parameters"
method: POST
path: "/stats_config"
tags: ["stats"]
---

# Set statistics parameters

`POST /stats_config`

## Request body

- StatsConfig — Statistics configuration
  - `interval` 0 | 1 | 7 | 30 | 90 — Time period to keep the data. `0` means that the statistics is disabled.

## Response `200`

OK.

---

[API](https://skmtc.net/guardllamanet/apis/adguard-home.md) · [All operations](https://skmtc.net/guardllamanet/apis/adguard-home/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/guardllamanet/adguard-home/versions/14ff21aeb363/schema)
