The history: one row per series and step, with the target and any other inputs.
time_column
string
required
The date or time of each step.
Example:
"date"
target
string
required
The column to forecast.
Example:
"units"
horizon
integer
required
The number of steps to forecast.
Required range: x >= 1
Example:
28
series_column
stringstring[]
The column, or the columns, that identify a series (store and item). Leave out for one series.
Example:
["store", "sku"]
frequency
string | null
The step: H, D, W, M, Q, Y, or a multiple such as 15min. Default: inferred from the history.
column_types
Column Types · object
Override the inferred type of a column: number, category, date, text, image, audio or document (a link to a file), embedding (a list of numbers), id (never read) or ignore.
Inputs known in advance (price, promotion, holiday): one row per series and future step, without the target. A column here is read as known in advance.
target_range
Target Range · object | null
Regression: outputs are clipped to [low, high] (a share between 0 and 1, a price that cannot be negative: [0, null]). null = no bound on that side.
Show child attributes
as_of
string | null
Forecast from this date: the history after it is not read. Default: the last step of each series.
outputs
string[] | null
classification: label, probabilities. regression: mean, median, quantiles, interval. Default: all of them.
quantiles
number[]
Regression: the levels (between 0 and 1) of the quantiles returned.
coverage
number
default:0.8
Regression: the share of the predicted distribution the interval holds.
explain
boolean
default:false
Add to each prediction the contribution of each input to it. See Explanations.
explain_top
integer
default:10
The number of largest contributions returned per prediction.
Required range: 1 <= x <= 100
explain_class
string | null
Classification: the class whose probability is explained. Default: the predicted label.
Response
Successful Response
predictions
Predictions · object[]
required
One object per series and future step: series, time, step, and the outputs asked for.
report
Report · object
required
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"tabSutra","colors":{"primary":"#11615F","light":"#8FD5CC","dark":"#0A2E31"},"logo":{"light":"https://mintcdn.com/tab-sutra/Z7yuOxk3t3IM0hcg/logo/light.svg?fit=max\u0026auto=format\u0026n=Z7yuOxk3t3IM0hcg\u0026q=85\u0026s=0168ecb1ceb2f25773800b4258520303","dark":"https://mintcdn.com/tab-sutra/Z7yuOxk3t3IM0hcg/logo/dark.svg?fit=max\u0026auto=format\u0026n=Z7yuOxk3t3IM0hcg\u0026q=85\u0026s=e6c470a4b5a63b1edb278d5dde37b824","href":"https://tabsutra.com"},"favicon":"https://mintcdn.com/tab-sutra/Z7yuOxk3t3IM0hcg/favicon.svg?fit=max\u0026auto=format\u0026n=Z7yuOxk3t3IM0hcg\u0026q=85\u0026s=29a31a211c5bf9948007403a96dd6e56","navbar":{"links":[{"href":"https://tabsutra.com","label":"Website"},{"href":"https://tabsutra.com/case-studies/","label":"Case studies"}],"primary":{"type":"button","label":"Request access","href":"https://tabsutra.com/deployment/#access"}},"footer":{"socials":{"website":"https://tabsutra.com","github":"https://github.com/tabsutra"}},"fonts":{"family":"Inter"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"tab-sutra","hasAudioNarration":false,"actualSubdomain":"tab-sutra","customDomains":["docs.tabsutra.com"],"gitSource":{"type":"github","owner":"tabsutra","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6b0845b73e1a783e5c7aeb16"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b0849553e1a783e5c7b0dbb","clientVersion":"0.0.4340","searchFilterCounts":[{"language":"default","tag":"API reference","count":29},{"language":"default","tag":"Documentation","count":24},{"language":"default","tag":"Tables and sequences","count":10},{"language":"default","tag":"Databases","count":9},{"language":"default","tag":"Concepts","count":6},{"language":"default","tag":"Guides","count":6},{"language":"default","tag":"Use cases","count":6},{"language":"default","tag":"Getting started","count":4},{"language":"default","tag":"Forecasting","count":3},{"language":"default","tag":"Reference","count":2}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/forecast-one-or-many-series","slug":"/api-reference/forecast-one-or-many-series","pageMetadata":{"title":"Forecast one or many series","description":"Forecasts the next `horizon` steps of every series in `rows`. Inputs known in advance go in `future_rows`.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/forecast","href":"/api-reference/forecast-one-or-many-series","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Forecasts the next \", _jsx(_components.code, {\n children: \"horizon\"\n }), \" steps of every series in \", _jsx(_components.code, {\n children: \"rows\"\n }), \". Inputs known in advance go in \", _jsx(_components.code, {\n children: \"future_rows\"\n }), \".\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Forecast one or many series","description":"Forecasts the next `horizon` steps of every series in `rows`. Inputs known in advance go in `future_rows`.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/forecast","href":"/api-reference/forecast-one-or-many-series","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Forecast one or many series","description":"Forecasts the next `horizon` steps of every series in `rows`. Inputs known in advance go in `future_rows`.","requestBody":"519372aa-525a-470e-bc9c-96b233cd4241","responses":{"200":"f925ba42-052c-4663-9783-f1888187e7cb","400":"f0836f68-17cd-4de3-ac47-1842817edef9","422":"53f4ccb4-345a-4567-8b11-a3517599ec1e"},"method":"post","type":"path","servers":["9f1b2a16-53da-4013-83a5-2ce32755ba43"],"security":["bedd65e8-6b1d-46aa-bad6-445a7f7bd9e3"],"path":"/v1/forecast","baseUrlOptions":["https://api.tabsutra.com"],"title":"Forecast one or many series","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"ForecastRequest","required":["rows","time_column","target","horizon"],"properties":{"rows":{"type":"array","items":{"additionalProperties":true,"type":"object","uniqueKey":"rows.items.[INDEX]","typeLabel":"object"},"title":"Rows","description":"The history: one row per series and step, with the target and any other inputs.","isRequired":true,"uniqueKey":"rows","typeLabel":"Rows · object[]"},"time_column":{"type":"string","title":"Time Column","description":"The date or time of each step.","examples":["date"],"isRequired":true,"uniqueKey":"time_column","typeLabel":"string"},"target":{"type":"string","title":"Target","description":"The column to forecast.","examples":["units"],"isRequired":true,"uniqueKey":"target","typeLabel":"string"},"horizon":{"type":"integer","minimum":1,"title":"Horizon","description":"The number of steps to forecast.","examples":[28],"isRequired":true,"uniqueKey":"horizon","typeLabel":"integer"},"series_column":{"oneOf":[{"type":"string","title":"Series Column","description":"The column, or the columns, that identify a series (store and item). Leave out for one series.","example":["store","sku"],"uniqueKey":"series_column.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"string","uniqueKey":"series_column.oneOf.1.items.[INDEX]","typeLabel":"string"},"title":"Series Column","description":"The column, or the columns, that identify a series (store and item). Leave out for one series.","example":["store","sku"],"uniqueKey":"series_column.oneOf.1","typeLabel":"string[]"},{"type":"null","title":"Series Column","description":"The column, or the columns, that identify a series (store and item). Leave out for one series.","example":["store","sku"],"uniqueKey":"series_column.oneOf.2","typeLabel":"null"}],"uniqueKey":"series_column","typeLabel":"string | string[] | null"},"frequency":{"oneOf":[{"type":"string","title":"Frequency","description":"The step: H, D, W, M, Q, Y, or a multiple such as 15min. Default: inferred from the history.","uniqueKey":"frequency.oneOf.0","typeLabel":"string"},{"type":"null","title":"Frequency","description":"The step: H, D, W, M, Q, Y, or a multiple such as 15min. Default: inferred from the history.","uniqueKey":"frequency.oneOf.1","typeLabel":"null"}],"uniqueKey":"frequency","typeLabel":"string | null"},"column_types":{"additionalProperties":{"type":"string","enum":["number","category","date","text","image","audio","document","embedding","id","ignore"],"uniqueKey":"column_types.additionalProperties","typeLabel":"enum\u003cstring>"},"type":"object","title":"Column Types","description":"Override the inferred type of a column: number, category, date, text, image, audio or document (a link to a file), embedding (a list of numbers), id (never read) or ignore.","examples":[{"postcode":"category","remarks":"text","photo_url":"image"}],"uniqueKey":"column_types","typeLabel":"Column Types · object"},"future_rows":{"type":"array","items":{"additionalProperties":true,"type":"object","uniqueKey":"future_rows.items.[INDEX]","typeLabel":"object"},"title":"Future Rows","description":"Inputs known in advance (price, promotion, holiday): one row per series and future step, without the target. A column here is read as known in advance.","uniqueKey":"future_rows","typeLabel":"Future Rows · object[]"},"target_range":{"oneOf":[{"type":"object","title":"Target Range","description":"Regression: outputs are clipped to [low, high] (a share between 0 and 1, a price that cannot be negative: [0, null]). null = no bound on that side.","properties":{"[0]":{"oneOf":[{"type":"number","uniqueKey":"target_range.oneOf.0.[0].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"target_range.oneOf.0.[0].oneOf.1","typeLabel":"null"}],"uniqueKey":"target_range.oneOf.0.[0]","typeLabel":"number | null"},"[1]":{"oneOf":[{"type":"number","uniqueKey":"target_range.oneOf.0.[1].oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"target_range.oneOf.0.[1].oneOf.1","typeLabel":"null"}],"uniqueKey":"target_range.oneOf.0.[1]","typeLabel":"number | null"}},"uniqueKey":"target_range.oneOf.0","typeLabel":"Target Range · object"},{"type":"null","title":"Target Range","description":"Regression: outputs are clipped to [low, high] (a share between 0 and 1, a price that cannot be negative: [0, null]). null = no bound on that side.","uniqueKey":"target_range.oneOf.1","typeLabel":"null"}],"uniqueKey":"target_range","typeLabel":"Target Range · object | null"},"as_of":{"oneOf":[{"type":"string","title":"As Of","description":"Forecast from this date: the history after it is not read. Default: the last step of each series.","uniqueKey":"as_of.oneOf.0","typeLabel":"string"},{"type":"null","title":"As Of","description":"Forecast from this date: the history after it is not read. Default: the last step of each series.","uniqueKey":"as_of.oneOf.1","typeLabel":"null"}],"uniqueKey":"as_of","typeLabel":"string | null"},"outputs":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"outputs.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Outputs","description":"classification: label, probabilities. regression: mean, median, quantiles, interval. Default: all of them.","uniqueKey":"outputs.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Outputs","description":"classification: label, probabilities. regression: mean, median, quantiles, interval. Default: all of them.","uniqueKey":"outputs.oneOf.1","typeLabel":"null"}],"uniqueKey":"outputs","typeLabel":"string[] | null"},"quantiles":{"items":{"type":"number","uniqueKey":"quantiles.items.[INDEX]","typeLabel":"number"},"type":"array","title":"Quantiles","description":"Regression: the levels (between 0 and 1) of the quantiles returned.","default":[0.1,0.5,0.9],"uniqueKey":"quantiles","typeLabel":"number[]"},"coverage":{"type":"number","exclusiveMaximum":1,"exclusiveMinimum":0,"title":"Coverage","description":"Regression: the share of the predicted distribution the interval holds.","default":0.8,"uniqueKey":"coverage","typeLabel":"number"},"explain":{"type":"boolean","default":false,"title":"Explain","description":"Add to each prediction the contribution of each input to it. See Explanations.","uniqueKey":"explain","typeLabel":"boolean"},"explain_top":{"type":"integer","default":10,"minimum":1,"maximum":100,"title":"Explain Top","description":"The number of largest contributions returned per prediction.","uniqueKey":"explain_top","typeLabel":"integer"},"explain_class":{"oneOf":[{"type":"string","title":"Explain Class","description":"Classification: the class whose probability is explained. Default: the predicted label.","uniqueKey":"explain_class.oneOf.0","typeLabel":"string"},{"type":"null","title":"Explain Class","description":"Classification: the class whose probability is explained. Default: the predicted label.","uniqueKey":"explain_class.oneOf.1","typeLabel":"null"}],"uniqueKey":"explain_class","typeLabel":"string | null"}},"uniqueKey":"","typeLabel":"ForecastRequest · object"},"examples":{"Example":{"title":"Example","value":{"rows":[{}],"time_column":"date","target":"units","horizon":28,"series_column":["store","sku"],"frequency":"\u003cstring>","column_types":{"postcode":"category","remarks":"text","photo_url":"image"},"future_rows":[{}],"target_range":{"[0]":123,"[1]":123},"as_of":"\u003cstring>","outputs":["\u003cstring>"],"quantiles":[0.1,0.5,0.9],"coverage":0.8,"explain":false,"explain_top":10,"explain_class":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"f925ba42-052c-4663-9783-f1888187e7cb":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"ForecastResponse","required":["predictions","report"],"properties":{"predictions":{"type":"array","items":{"additionalProperties":true,"type":"object","uniqueKey":"predictions.items.[INDEX]","typeLabel":"object"},"title":"Predictions","description":"One object per series and future step: series, time, step, and the outputs asked for.","isRequired":true,"uniqueKey":"predictions","typeLabel":"Predictions · object[]"},"report":{"additionalProperties":true,"type":"object","title":"Report","isRequired":true,"uniqueKey":"report","typeLabel":"Report · object"}},"uniqueKey":"","typeLabel":"ForecastResponse · object"},"examples":{"Example":{"title":"Example","value":{"predictions":[{}],"report":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"f0836f68-17cd-4de3-ac47-1842817edef9":{"description":"An error","content":{"application/json":{"schema":{"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{}}},"exampleType":"generated"}},"exampleType":"generated"},"53f4ccb4-345a-4567-8b11-a3517599ec1e":{"description":"An error","content":{"application/json":{"schema":{"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"bedd65e8-6b1d-46aa-bad6-445a7f7bd9e3":{"bearerAuth":{"type":"http","scheme":"bearer","description":"Your API key, sent as 'Authorization: Bearer \u003ckey>'.","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"9f1b2a16-53da-4013-83a5-2ce32755ba43":{"url":"https://api.tabsutra.com"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Your API key, sent as 'Authorization: Bearer \u003ckey>'.","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Your API key, sent as 'Authorization: Bearer \u003ckey>'.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"tab-sutra","siteName":"tabSutra","title":"Forecast one or many series - tabSutra","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-26T14:59:36.801Z","originalFileLocation":"api-reference/forecast-one-or-many-series.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Forecasts the next horizon steps of every series in rows. Inputs known in advance go in future_rows.\">\u003cmeta data-mint-head name=\"application-name\" content=\"tabSutra\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/tab-sutra/UeyHDcYJZWkl6BEi/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/tab-sutra/UeyHDcYJZWkl6BEi/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/tab-sutra/UeyHDcYJZWkl6BEi/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/tab-sutra/UeyHDcYJZWkl6BEi/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/tab-sutra/UeyHDcYJZWkl6BEi/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/tab-sutra/UeyHDcYJZWkl6BEi/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/tab-sutra/UeyHDcYJZWkl6BEi/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/tab-sutra/UeyHDcYJZWkl6BEi/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/tab-sutra/UeyHDcYJZWkl6BEi/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Forecast one or many series - tabSutra\">\u003cmeta data-mint-head property=\"og:description\" content=\"Forecasts the next horizon steps of every series in rows. Inputs known in advance go in future_rows.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"tabSutra\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.tabsutra.com/api-reference/forecast-one-or-many-series\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://tab-sutra.mintlify.site/_mintlify/api/og/v2?division=Forecasting\u0026amp;title=Forecast+one+or+many+series\u0026amp;description=Forecasts+the+next+%60horizon%60+steps+of+every+series+in+%60rows%60.+Inputs+known+in+advance+go+in+%60future_rows%60.\u0026amp;theme=3fb2931f97df6c86807c5ccc\u0026amp;signature=b89c238e2de89cb8ad89642d837870f1d9e026ee321b1ce2e809fba8519bebd3\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Forecast one or many series - tabSutra\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Forecasts the next horizon steps of every series in rows. Inputs known in advance go in future_rows.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://tab-sutra.mintlify.site/_mintlify/api/og/v2?division=Forecasting\u0026amp;title=Forecast+one+or+many+series\u0026amp;description=Forecasts+the+next+%60horizon%60+steps+of+every+series+in+%60rows%60.+Inputs+known+in+advance+go+in+%60future_rows%60.\u0026amp;theme=3fb2931f97df6c86807c5ccc\u0026amp;signature=b89c238e2de89cb8ad89642d837870f1d9e026ee321b1ce2e809fba8519bebd3\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/tab-sutra/UeyHDcYJZWkl6BEi/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"tabSutra\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#11615F\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.tabsutra.com/api-reference/forecast-one-or-many-series\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/forecast-one-or-many-series.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.tabsutra.com/#organization\",\"name\":\"tabSutra\",\"url\":\"https://docs.tabsutra.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/tab-sutra/Z7yuOxk3t3IM0hcg/logo/light.svg?fit=max\u0026auto=format\u0026n=Z7yuOxk3t3IM0hcg\u0026q=85\u0026s=0168ecb1ceb2f25773800b4258520303\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.tabsutra.com#website\",\"name\":\"tabSutra\",\"url\":\"https://docs.tabsutra.com\",\"publisher\":{\"@id\":\"https://docs.tabsutra.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.tabsutra.com/api-reference/forecast-one-or-many-series#webpage\",\"url\":\"https://docs.tabsutra.com/api-reference/forecast-one-or-many-series\",\"name\":\"Forecast one or many series\",\"description\":\"Forecasts the next horizon steps of every series in rows. Inputs known in advance go in future_rows.\",\"dateModified\":\"2026-11-26T14:59:36.801Z\",\"isPartOf\":{\"@id\":\"https://docs.tabsutra.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.tabsutra.com/api-reference/forecast-one-or-many-series#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.tabsutra.com/api-reference/forecast-one-or-many-series#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"tabSutra\",\"item\":\"https://docs.tabsutra.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Forecast one or many series\",\"item\":\"https://docs.tabsutra.com/api-reference/forecast-one-or-many-series\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.tabsutra.com/api-reference/forecast-one-or-many-series#apireference\",\"headline\":\"Forecast one or many series\",\"name\":\"Forecast one or many series\",\"description\":\"Forecasts the next horizon steps of every series in rows. Inputs known in advance go in future_rows.\",\"url\":\"https://docs.tabsutra.com/api-reference/forecast-one-or-many-series\",\"mainEntityOfPage\":{\"@id\":\"https://docs.tabsutra.com/api-reference/forecast-one-or-many-series#webpage\"},\"dateModified\":\"2026-11-26T14:59:36.801Z\",\"publisher\":{\"@id\":\"https://docs.tabsutra.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.tabsutra.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"tabSutra\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"tabSutra\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/forecast-one-or-many-series.md","siteName":"tabSutra","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"API reference","groups":[{"group":"Overview","pages":[{"title":"Overview","href":"/api-reference/introduction"}]},{"group":"Service","pages":[{"title":"Is the server up, and is a model loaded","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /health","href":"/api-reference/is-the-server-up-and-is-a-model-loaded"},{"title":"The model, the device and the limits","description":null,"deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/capabilities","href":"/api-reference/the-model-the-device-and-the-limits"}]},{"group":"Forecasting","pages":[{"title":"Forecast one or many series","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/forecast","href":"/api-reference/forecast-one-or-many-series"},{"title":"Forecast, with the history and the future inputs as files","description":"The same as /v1/forecast, with CSV or Parquet files.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/forecast-file","href":"/api-reference/forecast-with-the-history-and-the-future-inputs-as-files"},{"title":"How good the forecasts are: hold out the last steps and score them","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/evaluate-forecast","href":"/api-reference/how-good-the-forecasts-are:-hold-out-the-last-steps-and-score-them"}]},{"group":"Tables and sequences","pages":[{"title":"Read the context rows once","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/fit","href":"/api-reference/read-the-context-rows-once"},{"title":"Read the context rows once, from a CSV or Parquet file","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/fit-file","href":"/api-reference/read-the-context-rows-once-from-a-csv-or-parquet-file"},{"title":"Predict rows against a context","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/predict","href":"/api-reference/predict-rows-against-a-context"},{"title":"Predict the rows of a CSV or Parquet file against a context","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/predict-file","href":"/api-reference/predict-the-rows-of-a-csv-or-parquet-file-against-a-context"},{"title":"Predict the rows whose target is empty, from the rows whose target is known","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/fill","href":"/api-reference/predict-the-rows-whose-target-is-empty-from-the-rows-whose-target-is-known"},{"title":"Fill the empty targets of a CSV or Parquet file","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/fill-file","href":"/api-reference/fill-the-empty-targets-of-a-csv-or-parquet-file"},{"title":"How good are the predictions: hold out a share of the rows and score them against a simple baseline","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/evaluate","href":"/api-reference/how-good-are-the-predictions:-hold-out-a-share-of-the-rows-and-score-them-against-a-simple-baseline"},{"title":"Evaluate on a CSV or Parquet file","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/evaluate-file","href":"/api-reference/evaluate-on-a-csv-or-parquet-file"},{"title":"The contexts held in memory","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/contexts","href":"/api-reference/the-contexts-held-in-memory"},{"title":"Free a context","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/contexts/{context_id}","href":"/api-reference/free-a-context"}]},{"group":"Databases","pages":[{"title":"Send the tables of a database once","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/databases","href":"/api-reference/send-the-tables-of-a-database-once"},{"title":"Send the tables of a database once, as CSV or Parquet files","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/databases-files","href":"/api-reference/send-the-tables-of-a-database-once-as-csv-or-parquet-files"},{"title":"The databases held in memory","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/databases","href":"/api-reference/the-databases-held-in-memory"},{"title":"A database's tables, keys, and which tables of events reach each table of things","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/databases/{database_id}","href":"/api-reference/a-databases-tables-keys-and-which-tables-of-events-reach-each-table-of-things"},{"title":"Free a database","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/databases/{database_id}","href":"/api-reference/free-a-database"},{"title":"Predict an answer per entity and date, from labelled examples","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/databases/{database_id}/predict","href":"/api-reference/predict-an-answer-per-entity-and-date-from-labelled-examples"},{"title":"The same, with the examples and the rows to predict as CSV or Parquet files","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/databases/{database_id}/predict-files","href":"/api-reference/the-same-with-the-examples-and-the-rows-to-predict-as-csv-or-parquet-files"},{"title":"How good are the predictions: hold out the latest examples and score them","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/databases/{database_id}/evaluate","href":"/api-reference/how-good-are-the-predictions:-hold-out-the-latest-examples-and-score-them"},{"title":"The same, with the examples as a CSV or Parquet file","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/databases/{database_id}/evaluate-file","href":"/api-reference/the-same-with-the-examples-as-a-csv-or-parquet-file"}]},{"group":"Recommendation","pages":[{"title":"For each source at a date, the k items it will most likely link to","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/databases/{database_id}/recommend","href":"/api-reference/for-each-source-at-a-date-the-k-items-it-will-most-likely-link-to"},{"title":"MAP@k of the lists of one date, against rankings that need no training","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/databases/{database_id}/evaluate-recommend","href":"/api-reference/map@k-of-the-lists-of-one-date-against-rankings-that-need-no-training"}]},{"group":"Tasks described in words","pages":[{"title":"Predict a task described in words","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/databases/{database_id}/tasks/predict","href":"/api-reference/predict-a-task-described-in-words"},{"title":"How good the predictions of a task described in words are","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/databases/{database_id}/tasks/evaluate","href":"/api-reference/how-good-the-predictions-of-a-task-described-in-words-are"}]}]}]},"basePath":"","title":"Forecast one or many series - tabSutra","deploymentId":"dpl_EtLmMeZHkKGqAjV1DiX4ZXCriDj3","buildId":"dpl_EtLmMeZHkKGqAjV1DiX4ZXCriDj3","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CWRF67qg.js","snippetPresets-BR8BoZAC.js","utils-D5WEoDBM.js","style-to-object-BY3JEAdk.js","utils-B79vXYXV.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-C59iNs-S.js","conditional-requirements-CFM0id0Q.js","cloneDeep-455jK_K_.js","_Uint8Array-BEecbuUl.js","isObject-FP1Yky1u.js","ApiExamples-CFRHL52q.js","usePlaygroundInputsStore-Caip2xMX.js","shallow-BS-qcxmX.js","isEqual-CEpbaqh9.js","CodeSnippets-B-R0FAqw.js","CodeSnippet-Bkkti1IB.js","use-playground-group-access-BLvLSz8w.js","Page-UFatEFaf.js","api-description-markdown-Cny85OC3.js","DynamicMarkdown-Czhs88Hc.js","SectionHeading-B08KBUKT.js","MethodPill-D8OvWg5y.js","getPastedJson-tB5m0_yh.js","Check2Icon-CeP__a4S.js","axios-CsQoIw0U.js","Markdown-LI7DSqeK.js","AssistantPageLink-bYxdsqKl.js","dist-DXTH2WLA.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}