Listing Cost Reports

List cost reports in Billing and Cost Management.

A cost report is a file stored as an object in a bucket. For general information about listing objects, see Listing Object Storage Objects in a Bucket.

    1. Select the tenancy's home region.

      Cost reports are stored in an Object Storage bucket in the tenancy's home region.

      For instructions on switching regions, see Switching Regions.

    2. Open the navigation menu  and select Billing & Cost Management. Under Cost Management, select Cost and Usage Reports.

      The Cost and Usage Reports list page opens. All cost reports in the tenancy are displayed in a table, indicating report name, created date, and size. FOCUS reports are initially collapsed at the top of the table, followed by individual OCI proprietary cost reports.

    3. To browse FOCUS cost reports, expand FOCUS Reports and then expand the year, month, and day that you want.

    Actions

    To download a cost report directly from the list table, select Download report from the Actions menu (Actions Menu) in the row for that report.

  • Note

    Cost reports are stored in the tenancy's home region. The Object Storage namespace used for the reports is bling. The bucket name is the tenancy OCID.

    Use the oci os object list command and required parameters to list cost reports in the tenancy:

    oci os object list --bucket-name bucket-name

    Examples (reference the Python SDK code example shown in the API task for Downloading a Cost Report):

    List all cost reports from the Oracle managed namespace "bling" and bucket (customer tenancy OCID):

    oci os object list --namespace-name bling --bucket-name {customer_tenancy_ocid} --all

    List two cost reports from the Oracle managed namespace "bling" and bucket (customer tenancy OCID):

    oci os object list --namespace-name bling --bucket-name {customer_tenancy_ocid} --limit 2

    List all cost reports from the Oracle managed namespace "bling" and bucket (customer tenancy OCID) with the prefix "reports/cost-csv":

    oci os object list --namespace-name bling --bucket-name {customer_tenancy_ocid} --prefix reports/cost-csv --all

    List all cost reports from the Oracle managed namespace "bling" and bucket (customer tenancy OCID) with the prefix "FOCUS Reports":

    oci os object list --namespace-name bling --bucket-name {customer_tenancy_ocid} --prefix FOCUS Reports --all

    For a complete list of parameters and values for CLI commands, see the CLI Command Reference.

  • Note

    Cost reports are stored in the tenancy's home region. The Object Storage namespace used for the reports is bling. The bucket name is the tenancy OCID.

    Run the ListObjects operation to list cost reports.

    See also the Python SDK code example shown in the API task for Downloading a Cost Report.