---
title: "List Files"
method: GET
path: "/companies/{company_id}/files"
tags: ["files"]
---

# List Files

`GET /companies/{company_id}/files`

## Request

- Base URL: `https://api.nanocorp.so` (the document declares no server; this is the origin it was published from)
- URL: `https://api.nanocorp.so/companies/{company_id}/files`
- Auth: HTTP bearer

Flat file list ordered by path, plus usage totals and quota constants.

## Path parameters

- `company_id` string, uuid, required

## Response `200`

Successful Response

- FileListResponse
  - `files` CompanyFileResponse[], required
    - `id` string, required
    - `path` string, required
    - `size_bytes` integer, required
    - `content_type` string, nullable, required
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required
  - `total_size_bytes` integer, required
  - `file_count` integer, required
  - `quota` FilesQuota, required
    - `max_bytes` integer, required
    - `max_files` integer, required
    - `max_file_bytes` integer, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/nanocorp/apis/nanocorp-api.md) - [All operations](https://skmtc.dev/nanocorp/apis/nanocorp-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nanocorp/apis/nanocorp-api/revisions/291bb76b720b?raw)
