cURL
curl --request POST \ --url https://api.rebase.energy/platform/v2/sites/models/train \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data '{ "site_ids": [ "48302759-0371-4d54-9ba1-506708b576fe", "f02918ab-736b-409f-8f86-cbbeec1d6700" ], "output_backtest_data": false, "splits": [ { "end_date": "2023-08-01T00:00Z", "start_date": "2023-01-01T00:00Z" }, { "end_date": "2024-01-01T00:00Z", "start_date": "2023-10-01T00:00Z" } ] }'
{}
Train the models for one or more sites, specified by their site_id
Your API key. This is required to access our API programatically. You can view your API key in the Rebase dashboard.
Successful Response
The response is of type object.
object