Cost Report Endpoint
GET
/cost/report
The tenant’s cloud spend, derived from the latest completed sync per AWS account. Reads stored rows, never calls Cost Explorer.
Every figure is scoped to the accounts the caller can see (ADR-0023), and
aws_account_id narrows to one of them, an out-of-scope value is the
unrevealing 404, not an empty report.
Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ”Cookie Parameters
Section titled “Cookie Parameters ”Responses
Section titled “ Responses ”Successful Response
CostReportResponse
object
anomalies
required
Anomalies
Array<object>
AnomalyRecordobject
account_name
required
Account Name
string
aws_account_id
required
Aws Account Id
string
external_id
required
External Id
string
id
required
Id
string format: uuid
max_impact
required
Max Impact
string
root_causes
required
Root Causes
Array<object>
object
key
additional properties
any
started_at
required
Started At
string format: date-time
total_expected
required
Total Expected
string
total_impact
required
Total Impact
string
asset_count
required
Asset Count
integer
attribution
required
Attribution
object
buckets
required
resource_level
required
Resource Level
string
top_unattributed_services
required
Top Unattributed Services
Array<object>
UnattributedServiceobject
amount
required
Amount
string
service
required
Service
string
window_end
required
Window End
string format: date
window_total
required
Window Total
string
budget
required
Any of:
BudgetPace
object
alert_threshold_percent
required
Alert Threshold Percent
integer
currency
required
Currency
string
monthly_amount
required
Monthly Amount
string
pace_percent
required
Pace Percent
string
projected_percent
required
Projected Percent
string
remaining
required
Remaining
string
spent
required
Spent
string
status
required
Status
string
updated_at
required
Updated At
string format: date-time
updated_by
required
Updated By
string
used_percent
required
Used Percent
string
null
by_account
required
By Account
Array<object>
AccountSpendobject
aws_account_id
required
Aws Account Id
string
delta_amount
required
Delta Amount
string
month_to_date
required
Month To Date
string
name
required
Name
string
prior_period
required
Prior Period
string
resource_level
required
Resource Level
string
stale
required
Stale
boolean
tenant_aws_account_id
required
Tenant Aws Account Id
string format: uuid
by_asset
required
By Asset
Array<object>
AssetSpendobject
amount
required
Amount
string
attribution
required
Attribution
string
aws_account_id
required
Aws Account Id
string
daily_average
required
Daily Average
string
name
required
Name
string
resource_id
required
Resource Id
string
resource_type
required
Resource Type
string
service
required
Service
string
by_region
required
by_service
required
By Service
Array<object>
ServiceSpend currency
required
Currency
string
daily_trend
required
Daily Trend
Array<object>
TrendPointobject
amount
required
Amount
string
date
required
Date
string format: date
degradations
required
Degradations
Array<object>
DegradationA capability the sync could not read, with the fix. Rendered where the missing panel would be, never swallowed.
object
account_name
required
Account Name
string
aws_account_id
required
Aws Account Id
string
capability
required
Capability
string
detail
required
Detail
string
month_comparison
required
mover_window_days
required
Mover Window Days
integer
movers
required
Movers
object
decreases
required
period
required
ReportPeriod
object
complete_days
required
Complete Days
integer
days_in_month
required
Days In Month
integer
month_start
required
Month Start
string format: date
prior_month_start
required
Prior Month Start
string format: date
prior_period_end
required
Prior Period End
string format: date
today
required
Today
string format: date
readiness
required
Readiness
Why the report is empty, when it is. detail is rendered verbatim.
object
detail
required
Detail
string
state
required
State
string
totals
required
ReportTotals
object
change_amount
required
Change Amount
string
complete_days
required
Complete Days
integer
daily_run_rate
required
Daily Run Rate
string
days_in_month
required
Days In Month
integer
month_to_date
required
Month To Date
string
prior_month_full
required
Prior Month Full
string
prior_month_same_period
required
Prior Month Same Period
string
projected_month_end
required
Projected Month End
string
projection_source
required
Projection Source
string
Validation Error
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string