Upload Custom File

Upload a custom CSV file to use in a forecast run, such as a battery degradation curve, a solar or wind generation profile, or grid charges/curtailment limits.

The file is validated on upload (CSV only, max 20 MB, and the column structure must match the selected file_type); invalid files are rejected with a 400 describing the problem.

How to use the result: take the filename from the response and reference it in your simulation_config when calling POST /runs/. For example, a degradation_curve upload goes in simulation_config.assets.battery.degradation.profile_filename.

Send the request as multipart/form-data.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
file
required

The CSV file to upload (max 20 MB).

string
enum
required

The kind of file being uploaded. Determines which column structure is required.

Allowed:
Responses

400

Invalid file — wrong extension, too large, unknown file_type, or failed CSV validation.

401

Missing or invalid X-token.

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json