Page cover

history

Retrieves the billing history for a specific project, showing records of past charges and usage. This command helps users track historical expenses, monitor cost trends over time, and better understand spending patterns for project resources.

Usage

cldkctl billing history [project id] [flags]
cldkctl billing history [command]

Available Commands

Command
Description

detail

View detailed billing history for a specific service.

  1. Run the following command in your terminal:

Follow the steps below to run and view the result of this command:

./cldkctl billing history

or specify a date range using flags:

./cldkctl billing history --start --end
  1. The command will display the billing history table for the selected project.

Command
Description

Project Name

The name of the project associated with the billing records.

Date

The date when the billing was recorded (displayed in DD Month YYYY format).

Billed

The total billed amount for the project on that date (in IDR).

Flags

This command supports global flags. Refer to the Global Flags section for details

Flag
Description

--start string

Specify the start date for the billing history (format: YYYY-MM-DD).

--end string

Specify the end date for the billing history (format: YYYY-MM-DD).

-h, --help

Help for the billing history subcommand.

Last updated