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

# List Files

`GET /api/storage/files`

## Request

- Base URL: `https://api.tintin-x.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.tintin-x.com/api/storage/files`
- Auth: HTTP bearer

List files in storage. Optionally filter by folder, agent, type, or search.

## Query parameters

- `folder_id` string, uuid, nullable
- `page` integer
- `per_page` integer
- `agent_id` string, uuid, nullable
- `content_type_prefix` string, nullable
- `search` string, nullable
- `all_folders` boolean: If true, list files across all folders

## Response `200`

Successful Response

- FileListResponse
  - `files` FileResponse[], required
    - `id` string, uuid, required
    - `filename` string, required
    - `content_type` string, required
    - `size_bytes` integer, required
    - `agent_id` string, uuid, nullable, required
    - `agent_name` string, nullable
    - `source` string, required
    - `folder_id` string, uuid, nullable, required
    - `description` string, nullable
    - `metadata` object, nullable
    - `share_mode` string, required
    - `share_token` string, uuid, nullable, required
    - `share_url` string, nullable
    - `cdn_url` string, nullable
    - `created_at` string, date-time, required
    - `download_url` string, nullable
    - `is_previewable` boolean
    - `s3_key` string, nullable
  - `folders` FolderResponse[]
    - `id` string, uuid, required
    - `name` string, required
    - `parent_id` string, uuid, nullable, required
    - `file_count` integer
    - `created_at` string, date-time, required
  - `total` integer, required
  - `page` integer, required
  - `per_page` integer, required
  - `current_folder_id` string, uuid, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/tintin-x/apis/tintin-api.md) · [All operations](https://skmtc.dev/tintin-x/apis/tintin-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tintin-x/apis/tintin-api/revisions/8839a8d0a66c?raw)
