Generates a regression forecast and calculates forecast statistics using the provided @regression_template. It will generate forecast intervals for the skill profiles sids in @skill_profile_sids_to_forecast. It will use the client's saved forecasting test range as the start datetime and the forecast range as the end datetime of the forecasted data. It will use the client's saved interval width to divide the resulting forecast intervals. The first message received will be the forecast statistics while all subsequent ones will be the forecast intervals.Errors:
grpc.Invalid: no @skill_profile_sids_to_forecast are given or the @regression_template in the request is invalid.
grpc.Internal: error occurs either during the when building the forecast or calculating the stats.
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json
Example
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'https://api.cbf.tcn.com/api/v1alpha1/wfm/buildregressionforecastbyintervalwithstats' \
--header'Content-Type: application/json' \
--data-raw''