POST
yug.birlaailabs.com/v1/forecast-jobsSubmit Forecast Job
Queue a long-running forecast and receive a job identifier immediately. Use this endpoint when you want explicit asynchronous submission; the adaptive /forecast endpoint may also return HTTP 202 for deferred workloads.
View code & Try itRequest Schema
modelstringrequiredModel ID (yug or prism) or a supported alias such as yug-base.targetarray[number]requiredFinite values to forecast.indexarray[string]requiredStrictly ascending ISO dates or datetimes matching target length.hist_variablesobject<string, array[number]>optionalHistorical covariates; every array matches target length.future_variablesobject<string, array[number]>optionalFuture covariates; every array matches horizon.future_variables_indexarray[string]optionalFuture-covariate timestamps matching horizon.static_variablesobjectoptionalScalar covariates for the series.horizonintegerrequiredForecast steps, bounded by the selected model.freqfrequencyrequired5min, 15min, 30min, H, D, W, M, MS, Q, or Y.contextintegeroptionalHistory steps supplied to the model.quantilesarray[number]optionalValues strictly between 0 and 1. Defaults to every decile from 0.1 through 0.9.model_sizestringoptionalSize variant. Yug uses base and Prism uses default.modelstringModel implementation selected for the override.configobjectConfiguration values passed to the selected model.seedintegeroptionalReproducibility seed; default 42.allow_truncationbooleanoptionalAllow context-window trimming; default false.Response Schema
job_idstringrequiredstatusqueuedrequiredmodelstringrequiredpoll_urlstringrequiredSame-API URL used to poll the job.Response Example
{
"job_id": "e4ba080c-129a-4c48-8224-1b39a26ece9a",
"status": "queued",
"model": "yug",
"poll_url": "/v1/forecast-jobs/e4ba080c-129a-4c48-8224-1b39a26ece9a"
}Possible Errors
401UnauthorizedThe API key is missing, expired, revoked, or invalid.413Context too largeA series exceeds the selected model context and truncation is disabled.422Validation errorThe request or model configuration is invalid.429Limit exceededA request-rate or forecast quota was exceeded.503Dependency unavailableA quota, queue, storage, or inference dependency is temporarily unavailable.409Idempotency conflictThe key was already used for a different payload.