Production forecast

We have a sonnen sonnenBatterie 10 performance.
In order to improve the distribution of periods of time of use, I would like to obtain solar production data with the API v2.
We can see the production forecast in the energy analysis tab.
How can I obtain the production forecast?