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

# List Files

`GET /api-files/list`

Listing your files

## Query parameters

- `variant` 'all' | 'uploaded' | 'generated' — An array of file types you want to list, if not selected, all types will be listed.
- `mimeTypes` string[] — An array of file MIME types you want to list, if not selected, all types will be listed.
- `offset` union, required
  - string, numeric
  - number
- `limit` union, required
  - string, numeric
  - number

## Response `200`

Response for status 200

- object
  - `hasNextPage` boolean, required
  - `files` object[], required
    - `name` string, required — The file name, you can pass this name to generation endpoints
    - `id` string, required — The file ID, it is used for identification purposes only, it cannot be used as a file name in generation endpoints
    - `links` object, required
      - `private` string, required — Download link that requires an API key
      - `publicTemporary` string, required — Temporary download link (valid for 10-30 minutes), does not require an API key
    - `mimeType` 'image/png' | 'image/jpeg' | 'image/webp' | 'video/quicktime' | 'video/mp4' | 'audio/mp3' | 'audio/wav' | 'audio/x-wav' | 'audio/mpeg', required
    - `size` number, required
    - `type` 'ai_generated' | 'user_uploaded', required
    - `createdAt` integer, required — timestamp in milliseconds since epoch

## Other responses

- `400` — Response for status 400
- `401` — Response for status 401
- `403` — Response for status 403
- `500` — Response for status 500

---

[API](https://skmtc.dev/radinai/apis/api.md) · [All operations](https://skmtc.dev/radinai/apis/api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/radinai/api/revisions/ab972cf11ad1/schema)
