Get Spend Trend
Usage
Get Spend Trend
Return historical spend bucketed by the chosen granularity, plus a trailing 3-bucket moving average and the window’s total spend.
GET
Get Spend Trend
Authorizations
Enter your MeshAPI key (rsk_...) — sent as Authorization: Bearer <key>.
Query Parameters
Organisation UUID
Team UUID (optional filter)
Bucketing window: 'hourly' (last 24h, hourly), 'weekly' (last 12 weeks, weekly), 'monthly' (last 30 days, daily).
Available options:
hourly, weekly, monthly Skip the cache and recompute from the database.
Response
Successful Response