---
title: "GET /forecast/statistics/{ForecastModelId}"
method: GET
path: "/forecast/statistics/{ForecastModelId}"
tags: ["ForecastModel"]
---

# GET /forecast/statistics/{ForecastModelId}

`GET /forecast/statistics/{ForecastModelId}`

Retrieves model statistics

## Path parameters

- `ForecastModelId` string, uuid, required

## Query parameters

- `AsOfDate` string
- `UseCalculation` boolean

## Response `200`

OK

- StatisticsResult[]
  - `rootMeanSquare` number, double
  - `rootMeanSquareInModelCalculation` number, double
  - `durbinWatson` number, double
  - `durbinWatsonInModelCalculation` number, double
  - `inSampleMeanAbsolutePercentError` number, double
  - `inSampleMeanAbsoluteError` number, double
  - `rawResiduals` Point[], nullable
    - `value` number, double
    - `date` string, date-time
    - `annotation` string, nullable
    - `manuallyAdjusted` boolean
    - `isForecasted` boolean, nullable
  - `residualsInModelCalculation` Point[], nullable
    - `value` number, double
    - `date` string, date-time
    - `annotation` string, nullable
    - `manuallyAdjusted` boolean
    - `isForecasted` boolean, nullable
  - `rawResidualFitLine` FitLine
    - `points` Point[], nullable
      - `value` number, double
      - `date` string, date-time
      - `annotation` string, nullable
      - `manuallyAdjusted` boolean
      - `isForecasted` boolean, nullable
    - `slope` number, double
    - `intercept` number, double
  - `modelCalculationResidualFitLine` FitLine
    - `points` Point[], nullable
      - `value` number, double
      - `date` string, date-time
      - `annotation` string, nullable
      - `manuallyAdjusted` boolean
      - `isForecasted` boolean, nullable
    - `slope` number, double
    - `intercept` number, double
  - `holdoutMape` number, double
  - `holdoutMapeInModelCalculation` number, double
  - `rawHoldoutMape` number, double

## Other responses

- `422` — Model is expired or in a non-production state
- `429` — If the user has sent too many requests

---

[API](https://skmtc.net/prevedere/apis/board-foresight-api-v1.md) · [All operations](https://skmtc.net/prevedere/apis/board-foresight-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/prevedere/board-foresight-api-v1/revisions/c5ac8232e334/schema)
