---
title: "List Custom Files"
method: GET
path: "/file-uploads/"
tags: ["Forecasts"]
---

# List Custom Files

`GET /file-uploads/`

Returns the custom files your company has uploaded, newest first.

Use a file's `filename` to reference it in your `simulation_config` when creating a run via `POST /runs/`. Filter with `?file_type=`.

## Query parameters

- `file_type` 'degradation_curve' | 'grid_charges' | 'grid_curtailment' | 'solar_profile' | 'wind_profile'
- `limit` integer
- `offset` integer

## Response `200`

Paginated list of your company's uploaded files.

- PaginatedCustomFileResponse
  - `count` integer — Total number of results.
  - `next` unknown
  - `previous` unknown
  - `results` CustomFile[]
    - `file` string, uri — Short-lived presigned URL to download the file.
    - `file_type` 'degradation_curve' | 'grid_charges' | 'grid_curtailment' | 'solar_profile' | 'wind_profile' — The file type.
    - `filename` string — The value to reference from your `simulation_config` when creating a run (e.g. `assets.battery.degradation.profile_filename`).
    - `id` string, uuid — Unique ID of the uploaded file.
    - `uploaded_by` string, email — Email of the user who uploaded the file.

## Other responses

- `401` — Missing or invalid X-token.

---

[API](https://skmtc.net/modoenergy/apis/modo-energy-api.md) · [All operations](https://skmtc.net/modoenergy/apis/modo-energy-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/modoenergy/modo-energy-api/revisions/6c4b83d3fc12/schema)
