Skip to content

Get a single cost-forecast by id

GET
/cost-forecasts/{id}
id
required
string

DocumentId

OK

object
data
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

Missing or invalid authentication

Not authorized (tenant scope or capability)

Not found