To get a list of site’s models meta-data, use the following python code:

import requests

site_id = 'Put the site ID here'

url = f'https://api.rebase.energy/platform/platform/v2/sites/{site_id}/modelss'

model_type = ''

params={
	'model_type': model_type
}

response = requests.get(url=url, headers=headers, params=params)
response.raise_for_status()
response = response.json()

Response example

[
    {
        "display_name": null,
        "id": "0c456ecb-d245-4569-bc8e-4e67a566dcd72",
        "label": "Solar_MetOfficeGlobalHiRes_Physical-v1",
        "name": "Solar_MetOfficeGlobalHiRes_Physical",
        "output_types": null,
        "priority": 5,
        "state": [
            {
                "state": "complete",
                "timestamp_utc": "2024-06-27T11:44:40"
            }
        ],
        "version": 1
    },
    {
        "display_name": null,
        "id": "7e1d8712-849b-4a49-bc53-db951d7341a4",
        "label": "Solar_DWD_ICON_EU_Physical-v1",
        "name": "Solar_DWD_ICON_EU_Physical",
        "output_types": null,
        "priority": 7,
        "state": [
            {
                "state": "complete",
                "timestamp_utc": "2024-06-27T11:44:40"
            }
        ],
        "version": 1
    },
    {
        "display_name": null,
        "id": "914cfd78-91bb-4043-9345-245cf4cb4fba",
        "label": "Solar_NCEP_GFS_Physical-v1",
        "name": "Solar_NCEP_GFS_Physical",
        "output_types": null,
        "priority": 8,
        "state": [
            {
                "state": "complete",
                "timestamp_utc": "2024-06-27T11:44:40"
            }
        ],
        "version": 1
    },
    {
        "display_name": null,
        "id": "fd96d193-c6a8-4d95-ab98-d6bd6282c262",
        "label": "Solar_Rebase_AI_Physical-v1",
        "name": "Solar_Rebase_AI_Physical",
        "output_types": null,
        "priority": 6,
        "state": [
            {
                "state": "complete",
                "timestamp_utc": "2024-06-27T11:44:40"
            }
        ],
        "version": 1
    }
]