Skip to content

List cost-forecasts

GET
/cost-forecasts

Rule-based 3-month cost forecast per organisation (F2.AISTACK.09). Generováno z historických cost-record dat; model_version identifikuje verzi algoritmu.

pagination[page]
integer
pagination[pageSize]
integer
filters

Strapi REST filter syntax

object
sort
string
populate
string

OK

object
data
Array
object
forecast_month
required

ISO year-month string (YYYY-MM) pro který je forecast platný.

string
predicted_usd

Predikovaný měsíční výdaj v USD.

number
actual_usd

Skutečný výdaj v USD (vyplní se retrospektivně po uzavření měsíce).

number
confidence

Spolehlivost forecastu — low < 4 měsíce dat, medium 4–6, high 6+ měsíců.

string
Allowed values: high medium low
model_version

Identifikátor verze algoritmu (např. rule-based-v1).

string
ai_reasoning

Lidsky čitelné vysvětlení forecastu vygenerované algoritmem.

string
trend

Směr trendu výdajů detekovaný z historických dat.

string
Allowed values: increasing stable decreasing
breakdown

Volitelný breakdown forecastu per provider/kategorie.

organisation
One of:

DocumentId reference to api::organisation.organisation

string
documentId
string
id
integer
createdAt
string format: date-time
updatedAt
string format: date-time
publishedAt
string format: date-time
nullable
meta
object
pagination
object
page
integer
pageSize
integer
pageCount
integer
total
integer

Missing or invalid authentication

Not authorized (tenant scope or capability)