curl --location 'https://us-prod.notte.cc/functions/64f2c21e-2131-42f8-8ff2-c192c7bad8dd/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "64f2c21e-2131-42f8-8ff2-c192c7bad8dd",
"variables": {
"spot_id": "b928c36a-4ee7-49ea-b493-e642a828ac2f",
"hours": 48,
"timeout_seconds": 30
}
}'
{
"spot": {
"name": "<string>",
"latitude": 0,
"longitude": 0,
"identifier": "<string>",
"properties": {
"tags": {},
"osm_id": 0,
"address": {},
"osm_type": "<string>",
"coast_distance": 0,
"orientation_degrees": 0
},
"creation_date": "<string>"
},
"count": 0,
"hours": [
{
"time": "<string>",
"sunset": "<string>",
"sunrise": "<string>",
"swell_energy": 0,
"tide_height_m": 0,
"wave_height_m": 0,
"swell_height_m": 0,
"swell_period_s": 0,
"wind_gusts_kmh": 0,
"wind_speed_kmh": 0,
"water_temperature_c": 0,
"wind_direction_degrees": 0,
"additional_measurements": {},
"swell_direction_degrees": 0
}
],
"timezone": "<string>",
"available_hours": 0,
"source_start_time": "<string>",
"current_start_time": "<string>",
"forecast_point_latitude": 0,
"forecast_point_longitude": 0
}