---
title: "The daily usage table as a CSV download"
method: GET
path: "/v1/admin/cockpit/teams/{tenant_id}/usage/export"
tags: ["admin"]
---

# The daily usage table as a CSV download

`GET /v1/admin/cockpit/teams/{tenant_id}/usage/export`

## Request

- Base URL: `https://api.patricia.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.patricia.app/v1/admin/cockpit/teams/{tenant_id}/usage/export`
- Auth: HTTP bearer

## Path parameters

- `tenant_id` string, uuid, required

## Query parameters

- `days` integer

## Response `200`

The daily usage table as CSV, newest window first.

- unknown

## Other responses

- `401`: Unauthorized
- `403`: Permission denied (PERMISSION_DENIED) or email not verified (EMAIL_NOT_VERIFIED)
- `404`: Not found
- `422`: Validation error

---

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