cURL
curl --request POST \ --url https://api.rebase.energy/platform/v2/sites \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data '{ "name": "My site", "latitude": 52.5, "longitude": 13.4, "settings": { "model_resolution": "1h", "additional_points": [ { "name": "Berlin", "latitude": 52.5, "longitude": 13.4 } ], "trainLongTermModels": true, "trainNearTermModels": true, "usePhysicalModels": true, "weather_models": [ "<string>" ], "create_params": {} }, "type": "solar", "assets": [ { "azimuth": 180, "tilt": 30, "capacity": 1000, "install_date": "2020-01-01" } ] }'
"<any>"
Create a new site
You can create a site with the following types:
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 any.
any