Skip to main content
GET
Cost Summary
string
Kubernetes namespace whose ledger to read. Empty aggregates every namespace’s ledger.
string
Start date in RFC3339 format
string
End date in RFC3339 format (default: now). The window defaults to 30 days.

Summary Fields

The ledger lives in one chatcli-cost-ledger ConfigMap per namespace; see Capacity, Noise and Cost for its format and the pricing override.

Authorizations

Authorization
string
header
required

Bearer token issued by the operator. Format: Authorization: Bearer <token>.

Query Parameters

namespace
string

Ledger to read. Empty aggregates every namespace.

from
string<date-time>

Start date (RFC3339).

to
string<date-time>

End date (RFC3339). Default: now. Default window: 30 days.

Response

Cost summary

apiVersion
string
Example:

"v1"

kind
string
Example:

"CostSummary"

spec
object