Ephemeris Time-Series Forecasting is an MCP server published by industries.cascade, hosted at ephemeris.cascade.industries. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 7 tools, including get_version, describe_forecast, plot_forecast, forecast, list_models.
Probabilistic time-series forecasts from zero-shot foundation models: routed, single or ensembled.
882 connections through 5 shared values. Tap any node.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
Read this deployed MCP server's version, nullable build commit and supported saved forecast schema versions. Call with {}. No API key, account access, inference, charges or writes; network access to this server only. Returns component, version, build_commit (full source SHA or null when unavailable), artifact_schema_versions, and runtime_tls (Node release and certificate-trust status; metadata only, no probe connections). Unknown commit stays null. Server, CLI, npm bridge and artifact schema versions are independent; this tool cannot inspect local installations, check the latest registry release or establish model quality. Use list_models for live model capabilities. After a connection failure reconnect and retry; no forecast could have been submitted by this tool.
No parameters.
{
"name": "get_version",
"title": "Inspect the hosted Ephemeris version",
"description": "Read this deployed MCP server's version, nullable build commit and supported saved forecast schema versions. Call with {}. No API key, account access, inference, charges or writes; network access to this server only. Returns component, version, build_commit (full source SHA or null when unavailable), artifact_schema_versions, and runtime_tls (Node release and certificate-trust status; metadata only, no probe connections). Unknown commit stays null. Server, CLI, npm bridge and artifact schema versions are independent; this tool cannot inspect local installations, check the latest registry release or establish model quality. Use list_models for live model capabilities. After a connection failure reconnect and retry; no forecast could have been submitted by this tool.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"component",
"version",
"build_commit",
"runtime_tls",
"artifact_schema_versions"
],
"properties": {
"version": {
"type": "string"
},
"component": {
"type": "string",
"const": "ephemeris-mcp-server"
},
"runtime_tls": {
"type": "object",
"required": [
"node_version",
"patched_node",
"trust_store_replaced",
"effective_store_inspected",
"distrusted_roots",
"certificate_verification",
"safe"
],
"properties": {
"safe": {
"type": "boolean"
},
"node_version": {
"type": "string"
},
"patched_node": {
"type": "boolean"
},
"distrusted_roots": {
"type": "array",
"items": {
"type": "string"
}
},
"trust_store_replaced": {
"type": "boolean"
},
"certificate_verification": {
"type": "boolean"
},
"effective_store_inspected": {
"type": "boolean"
}
},
"additionalProperties": false
},
"build_commit": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-f0-9]{40}$"
},
{
"type": "null"
}
]
},
"artifact_schema_versions": {
"type": "object",
"required": [
"ephemeris.forecast"
],
"properties": {
"ephemeris.forecast": {
"type": "array",
"items": {
"type": "string",
"const": "1"
}
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"annotations": {
"title": "Inspect the hosted Ephemeris version",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Deterministic calculations from a complete ephemeris.forecast v1 artifact object, including CLI artifacts. No inference or forecast charge; this hosted tool still receives data over the network. Returns scope, result, basis, limitations and source pointers: last-observed baseline, median endpoint/change, marginal-median aggregates, and exact saved billing units. Missing medians/context remain unknown. Sum of medians only for period_total; it is not a cumulative-distribution interval or median. No calibrated coverage, causal explanation, path/peak probability, or business action is inferred. Example: pass {artifact: <forecast result artifact>}; choose series_index/variate_index for multiple results. Maximum 1 MiB; malformed/version/shape errors are recoverable by fixing the artifact or using CLI, never rerunning inference. Missing labels may be corrected in a COPY of context without changing request/response. No filesystem access, URL fetches, persistent storage, Gnomon import, or scoring.
| Parameter | Type | Description |
|---|---|---|
| artifact * | object | Complete ephemeris.forecast schema_version 1 JSON object returned by forecast or saved by Ephemeris CLI. Pass the object, not a filename, URL, resource URI, request ID, or bearer token. Maximum 1 MiB UTF-8 JSON. Contains submitted history; send only data you are authorized to process on this hosted … |
| series_index | integer | Zero-based series index; required when the artifact has multiple series, otherwise 0. |
| variate_index | integer | Zero-based variate index; required for multivariate results, otherwise 0. |
{
"name": "describe_forecast",
"title": "Describe a saved forecast",
"description": "Deterministic calculations from a complete ephemeris.forecast v1 artifact object, including CLI artifacts. No inference or forecast charge; this hosted tool still receives data over the network. Returns scope, result, basis, limitations and source pointers: last-observed baseline, median endpoint/change, marginal-median aggregates, and exact saved billing units. Missing medians/context remain unknown. Sum of medians only for period_total; it is not a cumulative-distribution interval or median. No calibrated coverage, causal explanation, path/peak probability, or business action is inferred. Example: pass {artifact: <forecast result artifact>}; choose series_index/variate_index for multiple results. Maximum 1 MiB; malformed/version/shape errors are recoverable by fixing the artifact or using CLI, never rerunning inference. Missing labels may be corrected in a COPY of context without changing request/response. No filesystem access, URL fetches, persistent storage, Gnomon import, or scoring.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"artifact"
],
"properties": {
"artifact": {
"type": "object",
"description": "Complete ephemeris.forecast schema_version 1 JSON object returned by forecast or saved by Ephemeris CLI. Pass the object, not a filename, URL, resource URI, request ID, or bearer token. Maximum 1 MiB UTF-8 JSON. Contains submitted history; send only data you are authorized to process on this hosted server.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"series_index": {
"type": "integer",
"maximum": 63,
"minimum": 0,
"description": "Zero-based series index; required when the artifact has multiple series, otherwise 0."
},
"variate_index": {
"type": "integer",
"maximum": 255,
"minimum": 0,
"description": "Zero-based variate index; required for multivariate results, otherwise 0."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {},
"additionalProperties": {}
},
"annotations": {
"title": "Describe a saved forecast",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Render a complete ephemeris.forecast v1 artifact object as PNG (default inline preview) or SVG (embedded resource to save). No inference or forecast charge; hosted processing receives the artifact over the network. Example: {artifact: <saved artifact>, format: png}. Requires returned q0.5; never invents a median. Observed history, forecast boundary, median and nominal quantile bands are labeled. Default history view is most recent max(24, 2*horizon) points, capped by available history; history: all shows all. Dates only when supported by recorded metadata, otherwise sampling steps. Bands do not establish calibrated coverage; missing/crossed points are omitted and counted. Maximum 1 MiB input. Select series_index/variate_index for multiple results. Fix argument/shape errors without rerunning inference. User-supplied labels can be corrected in a COPY of artifact context offline; no new forecast needed. Client decides preview/download UI. URNs identify attached bytes, not hosted URLs; no filesystem access, URL fetching or persistent storage.
| Parameter | Type | Description |
|---|---|---|
| lower | number | Existing lower quantile. Supply together with upper. Default pairs complementary available levels. |
| upper | number | Existing upper quantile, greater than lower. Supply together with lower. |
| format | string | png returns an inline image preview; svg returns an embedded text resource to save as .svg. Neither creates a hosted download URL. |
| history | any | Observed points to show: default min(available, max(24, 2*horizon)). all shows full history. View changes never change the artifact or inference. |
| artifact * | object | Complete ephemeris.forecast schema_version 1 JSON object returned by forecast or saved by Ephemeris CLI. Pass the object, not a filename, URL, resource URI, request ID, or bearer token. Maximum 1 MiB UTF-8 JSON. Contains submitted history; send only data you are authorized to process on this hosted … |
Submit numeric observations to forecast future sampling steps. Spends credits on successful calls. Choose and retain idempotency_key before submitting; no automatic retries, replay depends on server retention. Minimal example: {mode: route, series: [{values: [10,12,11], freq: D}], horizon: 2, quantiles: [0.1,0.5,0.9]}. Returns forecasts and meta as before, plus artifact by default for describe_forecast/plot_forecast. Save the embedded JSON attachment: it includes full input history and local context; no hosted storage is created. Context never becomes a model input. Billing is at meta.billing in millicredit strings (100 mc = 0.1 credits). Missing future inputs mean not supplied, not no events. Quantile bands do not establish coverage, cumulative intervals or peak probabilities. After uncertain completion, reuse the same key and API request; an expired key may cause a new charge.
| Parameter | Type | Description |
|---|---|---|
| mode * | string | "route": automatically select a model. "ensemble": blend compatible models and may cost more. Neither guarantees accuracy or calibration. "explicit": run the single model named in `model`. |
| model | string | Required when mode is "explicit". Must be a name returned by list_models. |
| top_k | integer | Ensemble only: cap on how many models participate. |
| series * | array | One to 64 series forecast in one request. All share horizon and quantiles. |
| combine | string | Ensemble only. "mixture" averages the predictive distributions (default); "vincentize" averages the quantiles. |
| context | object |
Discover the model panel: each model's availability right now (healthy), capabilities (multivariate, covariates, max_horizon, auto_max_horizon), its weight in an ensemble at each horizon, pinned and actually served weight revision, price in millicredits per series-slot per 64 forecast steps. History length has no billing multiplier. Call this before using forecast in explicit mode; the deployed panel can differ from any documentation.
No parameters.
{
"name": "list_models",
"title": "List forecasting models",
"description": "Discover the model panel: each model's availability right now (healthy), capabilities (multivariate, covariates, max_horizon, auto_max_horizon), its weight in an ensemble at each horizon, pinned and actually served weight revision, price in millicredits per series-slot per 64 forecast steps. History length has no billing multiplier. Call this before using forecast in explicit mode; the deployed panel can differ from any documentation.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"models": {
"type": "array",
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
},
"pools": {
"type": "array",
"items": {
"type": "string"
}
},
"detail": {
"type": [
"string",
"null"
]
},
"credits": {
"type": [
"number",
"null"
],
"description": "Credits per series-slot per 64 forecast steps (price_per_kslot_mc / 1000). Null when the model is not priced or not enabled."
},
"enabled": {
"type": "boolean"
},
"healthy": {
"type": "boolean",
"description": "Whether the model's worker is up and accepting forecasts right now."
},
"hf_repo": {
"type": [
"string",
"null"
]
},
"revision": {
"type": [
"string",
"null"
],
"description": "Revision pinned in the panel manifest, if any."
},
"covariates": {
"type": "boolean"
},
"max_horizon": {
"type": [
"number",
"null"
],
"description": "Longest horizon this model can forecast; null means no limit."
},
"billing_unit": {
"type": "string",
"const": "millicredits_per_series_slot_per_horizon_block"
},
"multivariate": {
"type": "boolean"
},
"skill_weight": {
"type": [
"number",
"null"
],
"description": "Diagnostic feedback score. Not the ensemble's weighting; see ensemble_weights."
},
"served_revision": {
"type": [
"string",
"null"
],
"description": "Commit hash of the weights the worker actually loaded."
},
"auto_max_horizon": {
"type": [
"number",
"null"
],
"description": "Longest horizon at which route and ensemble use this model; null means no limit beyond max_horizon. Explicit mode may still name it up to max_horizon."
},
"ensemble_weights": {
"anyOf": [
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "number"
}
},
{
"type": "null"
}
],
"description": "Weight this model carries in a full-panel ensemble, keyed by horizon in steps. Absent at horizons past max_horizon or auto_max_horizon."
},
"price_per_kslot_mc": {
"type": [
"string",
"null"
],
"description": "Millicredits per target series-slot per 64 forecast steps; no history multiplier. Null when unpriced."
},
"billing_context_cap": {
"type": [
"number",
"null"
],
"description": "Legacy compatibility field, now null. History length does not affect billing; model input limits still apply."
},
"billing_horizon_steps": {
"type": "number",
"const": 64
}
},
"additionalProperties": {}
}
}
},
"additionalProperties": {}
},
"annotations": {
"title": "List forecasting models",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Return the account's spendable credit balance in millicredits, excluding credits reserved by in-progress forecasts. 1000 millicredits equal one credit.
No parameters.
{
"name": "get_balance",
"title": "Get credit balance",
"description": "Return the account's spendable credit balance in millicredits, excluding credits reserved by in-progress forecasts. 1000 millicredits equal one credit.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"balance_mc": {
"type": "string",
"description": "Spendable millicredits (ledger minus active holds)."
},
"active_holds_mc": {
"type": "string",
"description": "Millicredits reserved by in-flight forecasts."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Get credit balance",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Return the account's forecast request log, newest first, with the mode, models used, series count, horizon, credits estimated and settled, HTTP status and latency of each request.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Rows per page, 1 to 200. Defaults to 50. |
| offset | integer | Rows to skip. Use `pagination.next_offset` from the previous page. |
{
"name": "get_usage",
"title": "Get recent usage",
"description": "Return the account's forecast request log, newest first, with the mode, models used, series count, horizon, credits estimated and settled, HTTP status and latency of each request.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"limit": {
"type": "integer",
"maximum": 200,
"minimum": 1,
"description": "Rows per page, 1 to 200. Defaults to 50."
},
"offset": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Rows to skip. Use `pagination.next_offset` from the previous page."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"requestId": {
"type": "string"
}
},
"additionalProperties": {}
},
"description": "Request log rows, newest first."
},
"limit": {
"type": "number"
},
"offset": {
"type": "number"
},
"pagination": {
"type": "object",
"properties": {
"limit": {
"type": "number"
},
"offset": {
"type": "number"
},
"has_more": {
"type": "boolean"
},
"returned": {
"type": "number"
},
"next_offset": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Get recent usage",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Ephemeris forecasts numeric time series with a panel of zero-shot foundation models (Chronos-2, TimesFM 2.5, Toto 2, TiRex-2, Mistral Timestral, IBM Granite PatchTST-FM and FlowState). Nothing is trained; send history, get quantile forecasts back. Use it whenever the user wants to predict, project or forecast a numeric series: sales, demand, inventory, web traffic, signups, revenue, energy load, prices, sensor readings, infrastructure metrics. Version diagnostics: get_version needs no credentials or inference and reports this hosted deployment, not the customer's CLI or bridge. Workflow: 1. Call list_models once per session before using mode "explicit"; the live panel is the ground truth for model names. In explicit mode the named model must support the request: check its covariates flag if you send covariates, and its max_horizon against your horizon. auto_max_horizon is softer: route and ensemble stop using a model past it, but explicit mode may still name it up to max_horizon. 2. Prefer mode "route" when unsure. "ensemble" blends compatible models and may cost more; no mode establishes accuracy or calibrated coverage. Use "explicit" with a model discovered through list_models. 3. Every forecast call spends credits. The result reports settled_mc (millicredits charged) and balance_mc (remaining). Do not call forecast speculatively, and never loop on it without the user's intent. 4. Choose and retain an idempotency_key BEFORE submission. Retry only with that key and identical API inputs after uncertain completion. Replay depends on server retention; an expired key may cause a new charge. There are no automatic retries. 5. Forecast returns an ephemeris.forecast v1 artifact by default, including full submitted history, response, billing, request IDs and local context. Save the embedded JSON client-side. The URN identifies inline bytes, not a permanent URL or server-stored artifact. If it exceeds the hosted 1 MiB attachment limit, the paid API response remains available and artifact_status explains the limit; do not rerun inference. 6. Pass the saved artifact object to describe_forecast for deterministic calculations or plot_forecast for PNG/SVG, without further inference or forecast charges. These hosted tools receive the artifact over the network; they cannot read your filesystem or fetch arbitrary URLs. PNG preview and file-saving support depend on the MCP client. 7. Billing _mc values are millicredits: 1000 mc = 1 credit; "100" mc is 0.1 credits. Missing units, measurement definitions, timestamps, and assumptions must stay unknown; ask the user. No future inputs means not supplied, not assumed zero or no events. Distinguish period totals, averages and point-in-time values. Horizon counts sampling steps, not necessarily days. 8. Quantile bands are marginal, nominal intervals, not established coverage or accuracy. Do not sum marginal quantiles into cumulative intervals or infer path/peak probabilities. Highest marginal median is not the actual peak distribution. Forecast jumps or narrow bands alone do not establish quality. Never invent causes or trading/inventory actions. Missing labels can be corrected in a COPY of local artifact context and redescribed/replotted without paid inference; keep request/response unchanged. Only the values you send are used. Do not pad, interpolate or invent history; ask the user for the series if you do not have it. Every tool needs an Ephemeris API key, sent as Authorization: Bearer pc_live_... If a call is rejected for a missing key, tell the user they can sign up at https://ephemeris.cascade.industries/sign-up (new accounts get a small free credit) and add the key to this MCP server's configuration.
Names, descriptions and schemas were written by the server and are shown as data.
Pattern matches on what the server declares. They show what it says it can do, not what it does.
None yet. Changes appear after a server's second daily check.
| series_index | integer | Zero-based series index; required when the artifact has multiple series, otherwise 0. |
| variate_index | integer | Zero-based variate index; required for multivariate results, otherwise 0. |
{
"name": "plot_forecast",
"title": "Plot a saved forecast",
"description": "Render a complete ephemeris.forecast v1 artifact object as PNG (default inline preview) or SVG (embedded resource to save). No inference or forecast charge; hosted processing receives the artifact over the network. Example: {artifact: <saved artifact>, format: png}. Requires returned q0.5; never invents a median. Observed history, forecast boundary, median and nominal quantile bands are labeled. Default history view is most recent max(24, 2*horizon) points, capped by available history; history: all shows all. Dates only when supported by recorded metadata, otherwise sampling steps. Bands do not establish calibrated coverage; missing/crossed points are omitted and counted. Maximum 1 MiB input. Select series_index/variate_index for multiple results. Fix argument/shape errors without rerunning inference. User-supplied labels can be corrected in a COPY of artifact context offline; no new forecast needed. Client decides preview/download UI. URNs identify attached bytes, not hosted URLs; no filesystem access, URL fetching or persistent storage.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"artifact"
],
"properties": {
"lower": {
"type": "number",
"description": "Existing lower quantile. Supply together with upper. Default pairs complementary available levels.",
"exclusiveMaximum": 1,
"exclusiveMinimum": 0
},
"upper": {
"type": "number",
"description": "Existing upper quantile, greater than lower. Supply together with lower.",
"exclusiveMaximum": 1,
"exclusiveMinimum": 0
},
"format": {
"enum": [
"png",
"svg"
],
"type": "string",
"default": "png",
"description": "png returns an inline image preview; svg returns an embedded text resource to save as .svg. Neither creates a hosted download URL."
},
"history": {
"anyOf": [
{
"type": "integer",
"maximum": 100000,
"minimum": 1
},
{
"type": "string",
"const": "all"
}
],
"description": "Observed points to show: default min(available, max(24, 2*horizon)). all shows full history. View changes never change the artifact or inference."
},
"artifact": {
"type": "object",
"description": "Complete ephemeris.forecast schema_version 1 JSON object returned by forecast or saved by Ephemeris CLI. Pass the object, not a filename, URL, resource URI, request ID, or bearer token. Maximum 1 MiB UTF-8 JSON. Contains submitted history; send only data you are authorized to process on this hosted server.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"series_index": {
"type": "integer",
"maximum": 63,
"minimum": 0,
"description": "Zero-based series index; required when the artifact has multiple series, otherwise 0."
},
"variate_index": {
"type": "integer",
"maximum": 255,
"minimum": 0,
"description": "Zero-based variate index; required for multivariate results, otherwise 0."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {},
"additionalProperties": {}
},
"annotations": {
"title": "Plot a saved forecast",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| Local artifact metadata, never sent as model inputs. series aligns with input series; timestamps align with history and future_timestamps with horizon. Units/target/measurement/timezone must come from the user; unknowns stay null. Future-input labels are caller assertions; narrative assumptions do n… |
| horizon | integer | Number of future steps to forecast, 1 to 4096. Defaults to 64. Some models stop short of this (max_horizon in list_models): route and ensemble skip them, explicit mode rejects the request. |
| quantiles | array | Up to 21 quantile levels strictly between 0 and 1, for example [0.1, 0.5, 0.9]. The response keys forecasts by these as decimal strings. |
| context_len | integer | Most recent points per variate to feed the model (history length does not affect pricing), 1 to 16384. Defaults to 256. Values beyond the model's context cap are truncated at the cap. |
| idempotency_key | string | Client-chosen key, 8 to 128 characters of letters, numbers, dot, underscore, colon or hyphen. A retry with the same key and identical API body replays while retained by the server. Retain the key before submission; expired keys may cause a new charge. |
| include_artifact | boolean | Default true: include a portable ephemeris.forecast v1 artifact and embedded JSON attachment (up to 1 MiB), with full input history. Save it client-side for describe_forecast/plot_forecast or the CLI. false returns the existing API response only. No persistent hosted storage is created. |
{
"name": "forecast",
"title": "Forecast a time series",
"description": "Submit numeric observations to forecast future sampling steps. Spends credits on successful calls. Choose and retain idempotency_key before submitting; no automatic retries, replay depends on server retention. Minimal example: {mode: route, series: [{values: [10,12,11], freq: D}], horizon: 2, quantiles: [0.1,0.5,0.9]}. Returns forecasts and meta as before, plus artifact by default for describe_forecast/plot_forecast. Save the embedded JSON attachment: it includes full input history and local context; no hosted storage is created. Context never becomes a model input. Billing is at meta.billing in millicredit strings (100 mc = 0.1 credits). Missing future inputs mean not supplied, not no events. Quantile bands do not establish coverage, cumulative intervals or peak probabilities. After uncertain completion, reuse the same key and API request; an expired key may cause a new charge.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"mode",
"series"
],
"properties": {
"mode": {
"enum": [
"route",
"ensemble",
"explicit"
],
"type": "string",
"description": "\"route\": automatically select a model. \"ensemble\": blend compatible models and may cost more. Neither guarantees accuracy or calibration. \"explicit\": run the single model named in `model`."
},
"model": {
"type": "string",
"minLength": 1,
"description": "Required when mode is \"explicit\". Must be a name returned by list_models."
},
"top_k": {
"type": "integer",
"maximum": 16,
"minimum": 1,
"description": "Ensemble only: cap on how many models participate."
},
"series": {
"type": "array",
"items": {
"type": "object",
"required": [
"values"
],
"properties": {
"freq": {
"type": "string",
"minLength": 1,
"description": "Pandas-style sampling frequency such as \"H\", \"D\", \"W\", \"15min\" or \"M\". Improves routing and seasonal handling; omit if unknown."
},
"values": {
"anyOf": [
{
"type": "array",
"items": {
"type": "number"
},
"minItems": 1
},
{
"type": "array",
"items": {
"type": "array",
"items": {
"type": "number"
},
"minItems": 1
},
"minItems": 1
}
],
"description": "Observed history, oldest first. A flat number array is one univariate series. A nested array is one multivariate series with one inner array per variate, all the same length."
},
"covariates": {
"type": "object",
"required": [
"past"
],
"properties": {
"past": {
"type": "object",
"description": "Named historical channels, each the same length as the series context.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "array",
"items": {
"type": "number"
}
}
},
"future": {
"type": "object",
"description": "Future numeric channels (known future or explicit scenario assumptions), each exactly `horizon` long. Every future channel must also appear in `past`.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "array",
"items": {
"type": "number"
}
}
}
},
"description": "Optional exogenous covariates. Only models with `covariates: true` in list_models can use them. In route and ensemble mode the panel narrows to those models; in explicit mode, naming a model without covariate support is an error."
}
}
},
"maxItems": 64,
"minItems": 1,
"description": "One to 64 series forecast in one request. All share horizon and quantiles."
},
"combine": {
"enum": [
"mixture",
"vincentize"
],
"type": "string",
"description": "Ensemble only. \"mixture\" averages the predictive distributions (default); \"vincentize\" averages the quantiles."
},
"context": {
"type": "object",
"required": [
"series"
],
"properties": {
"series": {
"type": "array",
"items": {
"type": "object",
"properties": {
"unit": {
"anyOf": [
{
"type": "string",
"maxLength": 2000
},
{
"type": "null"
}
]
},
"timezone": {
"anyOf": [
{
"type": "string",
"maxLength": 2000
},
{
"type": "null"
}
]
},
"series_id": {
"anyOf": [
{
"type": "string",
"maxLength": 2000
},
{
"type": "null"
}
]
},
"timestamps": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string",
"maxLength": 100
}
},
{
"type": "null"
}
]
},
"measurement": {
"anyOf": [
{
"enum": [
"period_total",
"period_average",
"point_in_time"
],
"type": "string"
},
{
"type": "null"
}
]
},
"recorded_as_of": {
"anyOf": [
{
"type": "string",
"maxLength": 2000
},
{
"type": "null"
}
]
},
"future_timestamps": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string",
"maxLength": 100
}
},
{
"type": "null"
}
]
},
"target_description": {
"anyOf": [
{
"type": "string",
"maxLength": 2000
},
{
"type": "null"
}
]
},
"source_available_at": {
"anyOf": [
{
"type": "string",
"maxLength": 2000
},
{
"type": "null"
}
]
},
"future_covariate_roles": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"enum": [
"known_future",
"scenario_assumption",
"unspecified"
],
"type": "string"
}
}
},
"additionalProperties": false
},
"maxItems": 64
},
"scenario_assumptions": {
"type": "array",
"items": {
"type": "string",
"maxLength": 2000
},
"maxItems": 100
}
},
"description": "Local artifact metadata, never sent as model inputs. series aligns with input series; timestamps align with history and future_timestamps with horizon. Units/target/measurement/timezone must come from the user; unknowns stay null. Future-input labels are caller assertions; narrative assumptions do not change inference.",
"additionalProperties": false
},
"horizon": {
"type": "integer",
"maximum": 4096,
"minimum": 1,
"description": "Number of future steps to forecast, 1 to 4096. Defaults to 64. Some models stop short of this (max_horizon in list_models): route and ensemble skip them, explicit mode rejects the request."
},
"quantiles": {
"type": "array",
"items": {
"type": "number",
"exclusiveMaximum": 1,
"exclusiveMinimum": 0
},
"maxItems": 21,
"description": "Up to 21 quantile levels strictly between 0 and 1, for example [0.1, 0.5, 0.9]. The response keys forecasts by these as decimal strings."
},
"context_len": {
"type": "integer",
"maximum": 16384,
"minimum": 1,
"description": "Most recent points per variate to feed the model (history length does not affect pricing), 1 to 16384. Defaults to 256. Values beyond the model's context cap are truncated at the cap."
},
"idempotency_key": {
"type": "string",
"pattern": "^[A-Za-z0-9._:-]{8,128}$",
"description": "Client-chosen key, 8 to 128 characters of letters, numbers, dot, underscore, colon or hyphen. A retry with the same key and identical API body replays while retained by the server. Retain the key before submission; expired keys may cause a new charge."
},
"include_artifact": {
"type": "boolean",
"description": "Default true: include a portable ephemeris.forecast v1 artifact and embedded JSON attachment (up to 1 MiB), with full input history. Save it client-side for describe_forecast/plot_forecast or the CLI. false returns the existing API response only. No persistent hosted storage is created."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"meta": {
"type": "object",
"properties": {
"mode": {
"type": "string"
},
"notes": {},
"billing": {
"type": "object",
"properties": {
"balance_mc": {
"type": "string",
"description": "Millicredits remaining after this call."
},
"settled_mc": {
"type": "string",
"description": "Millicredits charged for this call."
}
},
"additionalProperties": {}
},
"request_id": {
"type": [
"string",
"null"
],
"description": "Upstream model-panel request id for the forecast."
},
"models_used": {
"type": "array",
"items": {
"type": "string"
},
"description": "Models whose output is in this forecast."
},
"model_revisions": {
"anyOf": [
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string"
}
},
{
"type": "null"
}
],
"description": "Served weight revision (Hugging Face commit hash) per model in models_used. Identifies the exact weights, independent of this server's version."
},
"router_confidence": {},
"gateway_request_id": {
"type": "string",
"description": "Ephemeris request id. Quote this in support requests and usage lookups."
},
"per_model_latency_ms": {},
"upstream_request_ids": {
"type": "array",
"items": {
"type": "string"
},
"description": "All upstream ids when a mixed-frequency batch was split."
}
},
"additionalProperties": {}
},
"artifact": {
"type": "object",
"description": "Portable ephemeris.forecast v1 JSON including full history and local context. Save client-side and pass the object to describe_forecast/plot_forecast. Not a hosted URL.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"forecasts": {
"type": "array",
"items": {
"type": "object",
"properties": {
"quantiles": {
"type": "object",
"description": "Forecast values keyed by quantile level as a decimal string (\"0.5\"). A flat array of numbers for a univariate series, one inner array per variate for a multivariate one, each `horizon` long. A null marks a value the model could not produce.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "array",
"items": {}
}
}
},
"description": "One entry per input series, in request order.",
"additionalProperties": {}
},
"description": "One entry per input series, aligned with the request."
},
"artifact_error": {
"type": "string"
},
"artifact_status": {
"type": "string",
"description": "included or unavailable. A packaging/size failure never discards the paid forecasts/meta response."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Forecast a time series",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}