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

# List files

`GET /files/`

Endpoint for retrieving a list of files.

## Query parameters

- `created_ts_after` string, date-time
- `created_ts_before` string, date-time
- `file_size_max` integer, nullable
- `file_size_min` integer, nullable
- `mime_type` string
- `modified_ts_after` string, date-time
- `modified_ts_before` string, date-time
- `original_filename` string
- `page` integer
- `page_size` integer

## Response `200`

- PaginatedapiV1ExternalFileReadList
  - `count` integer, required
  - `next` string, uri, nullable
  - `previous` string, uri, nullable
  - `results` ApiV1ExternalFileRead[], required
    - `created_ts` string, date-time, required — The timestamp in UTC when the file created
    - `file` string, uri — The actual file content.
    - `file_size` integer, nullable — The size of the file in bytes.
    - `id` string, required — The unique identifier of the file object.
    - `mime_type` string, required — The MIME type of the file.
    - `modified_ts` string, date-time, required — The timestamp in UTC when the file was last modified
    - `original_filename` string — The original filename of the uploaded file.

---

[API](https://skmtc.net/wafeq/apis/wafeq-public-api.md) · [All operations](https://skmtc.net/wafeq/apis/wafeq-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/wafeq/wafeq-public-api/revisions/36816b4fce7f/schema)
