API Documentation
GET/ api / model
AI BESS ScheduleGenerate an optimal schedule for your Battery Energy Storage System(BESS) based on day - ahead prices and system parameters.
Query - Parameter
| Attribut | Typ | Description | Example |
|---|---|---|---|
| date | string | date(YYYY-MM-DD) | 2025 - 04 - 23 |
| location | string | country | Austria |
| power | string | power(MW) | 10 |
| capacity | string | capacity(MWh) | 100 |
| efficiency | string | efficiency(0-1) | 0.8 |
Example - Request
curl -G http://https://bess-optimizer-backend.app-nest.cloud/api/model \ --data-urlencode 'date=2025-04-23' \ --data-urlencode 'location=Austria' \ --data-urlencode 'power=10' \ --data-urlencode 'capacity=100' \ --data-urlencode 'efficiency=0.8'
Example - Response
{
"date": "2025-04-23",
"prices": [45.2, 44.8, ...],
"policies": ["charge", "idle", ...],
"soc": [50.0, 55.0, ...],
"in_out": [0.0, 10.0, ...],
"profit": 1234.56
}Error Codes
| Status | Description |
|---|---|
| 400 | Invalid parameters |
| 401 | API key missing or invalid |
| 415 | Content - Type not supported |
| 500 | Internal server error |