Forecasts

List Custom Files

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=.

get/file-uploads/

Request

  • Base URL
    https://api.modoenergy.com/pub/v1/forecasts
  • URL
    https://api.modoenergy.com/pub/v1/forecasts/file-uploads/
  • Auth
    API key in header X-token

Query parameters

file_type'degradation_curve' | 'grid_charges' | 'grid_curtailment' | 'mlf_forecast' | 'solar_profile' | 'wind_profile'

Filter to a single file type.

limitinteger

Number of results per page.

offsetinteger

Offset for pagination.

Response

Paginated list of your company's uploaded files.

countinteger

Total number of results.

nextstring uri nullable
previousstring uri nullable

Example response

{
  "results": [
    {
      "filename": "my_curve.csv"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.