GET
/
platform
/
v2
/
sites
curl --request GET \
  --url https://api.rebase.energy/platform/v2/sites \
  --header 'Authorization: <api-key>'
[
  {
    "id": "48302759-0371-4d54-9ba1-506708b576fe",
    "site_id": "48302759-0371-4d54-9ba1-506708b576fe",
    "name": "My site",
    "latitude": 52.5,
    "longitude": 13.4,
    "capacity_kw_array": [
      {}
    ],
    "creation_timestamp_utc": "2023-11-07T05:31:56Z",
    "settings": {
      "model_resolution": "1h",
      "additional_points": [],
      "trainLongTermModels": true,
      "trainNearTermModels": true,
      "usePhysicalModels": true,
      "weather_models": [],
      "create_params": {}
    },
    "type": "solar",
    "assets": [
      {
        "azimuth": 180,
        "tilt": 30,
        "capacity": 1000,
        "install_date": "2020-01-01"
      }
    ]
  }
]

Authorizations

Authorization
string
header
required

Your API key. This is required to access our API programatically. You can view your API key in the Rebase dashboard.

Response

200
application/json
Successful Response
id
string
required
Example:

"48302759-0371-4d54-9ba1-506708b576fe"

site_id
string
required
Example:

"48302759-0371-4d54-9ba1-506708b576fe"

name
string
required
Example:

"My site"

latitude
number
required
Example:

52.5

longitude
number
required
Example:

13.4

capacity_kw_array
object[]
required
creation_timestamp_utc
string
required
type
enum<string>
required
Available options:
solar
Example:

"solar"

settings
object
assets
object[] | null