curl --location 'https://us-prod.notte.cc/functions/28848981-8636-4f9c-9cb9-b27cb6c8374e/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "28848981-8636-4f9c-9cb9-b27cb6c8374e",
"variables": {
"spot_id": "5842041f4e65fad6a770883b",
"days": 2,
"interval_hours": 3
}
}'
{
"days": 0,
"spot_id": "<string>",
"forecasts": [
{
"surf": {
"max": 0,
"min": 0,
"raw": {
"max": 0,
"min": 0
},
"plus": true,
"humanRelation": "<string>"
},
"power": 0,
"swells": [
{
"power": 0,
"height": 0,
"impact": 0,
"period": 0,
"direction": 0,
"directionMin": 0,
"spectralPower": 0
}
],
"offshore": 0,
"nearshore": 0,
"timestamp": 0,
"utcOffset": 0,
"windSwell": 0,
"consistency": {
"waveCount": 0
},
"groundSwell": 0,
"probability": 0,
"partitionPower": [
0
]
}
],
"associated": {
"units": {},
"location": {
"lat": 0,
"lon": 0
},
"forecastLocation": {
"lat": 0,
"lon": 0
},
"runInitializationTimestamp": 0
},
"interval_hours": 0
}