To get a model’s inputs/features time series at reference time, use the following python code:

import requests
import pandas as pd

model_id = 'Put the model ID here'

url = f'https://api.rebase.energy/platform/v2/models/{model_id}/input'

ref_time = pd.to_datetime('2024-09-03T06:00').strftime('%Y-%m-%d %H:%M')

params={
	'ref_time': ref_time
}    

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

Response example

{
    "dataframe": {
        "MOGHR_SolarDownwardRadiation": [
            51.427734375,
            93.0453338623047,
            134.662933349609,
            176.280532836914,
            217.898132324219
        ],
        "valid_time": [
            "2024-09-03T06:00Z",
            "2024-09-03T06:15Z",
            "2024-09-03T06:30Z",
            "2024-09-03T06:45Z",
            "2024-09-03T07:00Z"
        ]
    },
    "metadata": {
        "MOGHR_SolarDownwardRadiation": {
            "type": "numeric"
        }
    }
}