---
title: "List all files"
method: GET
path: "/files"
tags: ["files"]
---

# List all files

`GET /files`

Returns list of files and descriptions.

## Response `200`

Successfully returns a list of files

- File[]
  - `id` string
  - `filename` string
  - `filepath` string — only specified if user is serveradmin, and storage is DiskByteStorageService
  - `service-endpoint` string — only specified if user is serveradmin, and storage is S3ByteStorageService
  - `bucket-name` string — only specified if user is serveradmin, and storage is S3ByteStorageService
  - `object-key` string — only specified if user is serveradmin, and storage is S3ByteStorageService
  - `filedescription` string
  - `content-type` string
  - `date-created` string
  - `size` string, int64
  - `authorId` string — id of user who uploaded the file
  - `thumbnail` string — optinal id of the thumbnail image of this file
  - `status` string — status of the file, this can be one of the following: - CREATED file is created, but blob is not in final place yes - PROCESSING blob is in final place, final processing is done such as sending messagess to RabbitMQ - PROCESSED file is fully procesed by clowder

## Other responses

- `401` — Access to this resource is disabled

---

[API](https://skmtc.net/clowder-framework/apis/clowder.md) · [All operations](https://skmtc.net/clowder-framework/apis/clowder/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/clowder-framework/clowder/versions/bcd187478e0d/schema)
