---
title: "CostPeriod"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ezghcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

Path: Billing API

## Fields

- `CostPeriod.start` (string, required)
  - format `date-time`
- `CostPeriod.end` (string, required) — Exclusive.
  - format `date-time`
- `CostPeriod.estimated` (boolean, required)
- `CostPeriod.groups` (array<object>, required)
  - `CostPeriod.groups.keys` (map<string>, required) — The group's values of the groupBy keys. project "" is organization-level usage.
  - `CostPeriod.groups.billedCost` (string, required) — Micros.
    - pattern `^-?[0-9]+(\.[0-9]+)?$`
  - `CostPeriod.groups.quantity` (string | null, required) — Set when grouped by meter or sku.
  - `CostPeriod.groups.unit` (string | null, required) — The quantity's unit; null for charges without a meter.


Source: https://docs.ezghcloud.com/billing-api/schemas/CostPeriod/index.md
