---
title: "Export Traffic Csv"
method: POST
path: "/cabinet/admin/traffic/export-csv"
tags: ["Admin Traffic"]
---

# Export Traffic Csv

`POST /cabinet/admin/traffic/export-csv`

Generate CSV with traffic usage and send to admin's Telegram DM.

## Request body

- ExportCsvRequest
  - `period` integer
  - `start_date` string, nullable
  - `end_date` string, nullable
  - `tariffs` string, nullable
  - `statuses` string, nullable
  - `nodes` string, nullable
  - `total_threshold_gb` number, nullable — Total GB/day threshold for risk column
  - `node_threshold_gb` number, nullable — Per-node GB/day threshold for risk column

## Response `200`

Successful Response

- ExportCsvResponse
  - `success` boolean, required
  - `message` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/bedolagam/apis/remnawave-bot-admin-api.md) · [All operations](https://skmtc.net/bedolagam/apis/remnawave-bot-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bedolagam/remnawave-bot-admin-api/versions/45956d1b13ec/schema)
