Skip to main content
This page documents all 5 public types in the Costs family in source order. Use the table of contents to jump to a type.

MonthModelCost

A project’s model spend in one UTC month. Costs model · 2 fields Fields
required · str
required · float

CostsByProjectResponse

Spend grouped by month, vendor and project over a time window, with the runs behind it. Costs model · 4 fields Fields
required · datetime
required · datetime
required · list[ProjectCostRow]
required · list[ProjectRun]

ProjectCostRow

Spend in one month for one vendor and project, with the number of runs that incurred it. Costs model · 9 fields Fields
required · str
required · str
required · str | None
required · str | None
required · str | None
required · str | None
required · str | None
required · float
required · int

ProjectModelCosts

A project’s model spend per UTC month, with its key’s spend on no project’s run. Costs model · 5 fields Fields
required · datetime
required · datetime
required · list[MonthModelCost]
required · float
required · datetime

ProjectRun

One run that incurred spend in the window, with the project it ran in. Costs model · 3 fields Fields
required · str | None
required · UUID
required · datetime