---
title: "Generates a csv of all file paths for a given extension"
method: GET
path: "/api/Stats/server/file-extension"
tags: ["Stats"]
---

# Generates a csv of all file paths for a given extension

`GET /api/Stats/server/file-extension`

## Request

- Base URL: `http://localhost:5000`
- URL: `http://localhost:5000/api/Stats/server/file-extension`
- Auth: API key in header `x-api-key`

## Query parameters

- `fileExtension` string

## Response `200`

OK

---

[API](https://skmtc.dev/kareadita/apis/kavita.md) - [All operations](https://skmtc.dev/kareadita/apis/kavita/llms.txt) - [OpenAPI document](https://skmtc.dev/kareadita/apis/kavita/revisions/d266465eeb67?raw)
