---
title: "Download usage logs as CSV"
method: GET
path: "/logs/download"
tags: ["billing"]
---

# Download usage logs as CSV

`GET /logs/download`

## Request

- Base URL: `https://api.mailly.site` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mailly.site/logs/download`
- Auth: HTTP bearer

## Response `200`

CSV file download

## Other responses

- `401`: Unauthenticated
- `500`: Failed to generate the download

---

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