Costs REST endpoints
Generated2 endpoints under `/v1`.
Auto-generated from the MarBoba OpenAPI spec, published at
api.marboba.com/v1/openapi.json.
GET /costs
Get the per-project cost rollup
Returns the trailing-30-day cost rollup for one project, including MTD spend, prev-30d for MoM delta, top 5 services, and a 30-bucket daily series for the chart on Project Overview.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
appId | query | string | required |
Responses
- 200 — Cost rollup. Body: object
- 400 — . Body: (no body)
Auth: BearerPAT
Operation ID: get_costs
GET /costs/entries
List recent cost entries (admin scope)
Read-only listing of raw cost rows for forensic / audit purposes. Requires admin scope (PAT only).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
appId | query | string | optional | |
limit | query | integer | optional |
Responses
- 200 — Recent cost entries (most recent first). Body: object
- 403 — . Body: (no body)
Auth: BearerPAT
Operation ID: get_costs-entries