Skip to main content
POST
/
api
/
reports
/
forecast-accuracy
cURL
curl --request POST \
  --url https://sahabah-prod.devops.arabiaweather.com/api/reports/forecast-accuracy \
  --header 'Content-Type: application/json' \
  --data '
{
  "end_date": "2023-11-07T05:31:56Z",
  "parameters": [
    "<string>"
  ],
  "run_lag": 123,
  "start_date": "2023-11-07T05:31:56Z",
  "stations": [
    "<string>"
  ],
  "include_archives": true,
  "include_observations": true,
  "overrides": [
    {
      "datetime": "2023-11-07T05:31:56Z",
      "clouds.total_cover": 123,
      "surface.temperature": 123,
      "surface.visibility": 123,
      "surface.wind_direction": 123,
      "surface.wind_speed": 123
    }
  ],
  "thresholds": {}
}
'
{
  "build": "<string>",
  "data": {},
  "request_id": "<string>",
  "timestamp": "2023-11-07T05:31:56Z"
}

Body

application/json
end_date
string<date-time>
required
parameters
string[]
required
run_lag
integer<int32>
required
start_date
string<date-time>
required
stations
string[]
required
include_archives
boolean
include_observations
boolean
overrides
object[] | null

Optional overrides for specific hours. When provided, values here will replace the corresponding forecast parameters for matching hours in the archives before analysis.

thresholds
object

Response

Forecast accuracy analysis results

build
string
required
data
object
required
request_id
string
required
timestamp
string<date-time>
required