---
title: "list files in the file store"
method: PUT
path: "/mockserver/files/list"
tags: ["files"]
---

# list files in the file store

`PUT /mockserver/files/list`

## Request

- Base URL: `http://localhost:1080`
- URL: `http://localhost:1080/mockserver/files/list`
- Auth: none declared

returns the names of all files currently held in the in-memory file store

## Response `200`

list of file names returned

- string[]

## Other responses

- `400`: failed to list files

---

[API](https://skmtc.dev/mock-server/apis/mockserver-api.md) · [All operations](https://skmtc.dev/mock-server/apis/mockserver-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mock-server/apis/mockserver-api/revisions/9239b693996e?raw)
