Interface BillableUsageService


  • @Generated
    public interface BillableUsageService
    This API allows you to download billable usage logs for the specified account and date range. This feature works with all account types.

    This is the high-level interface, that contains generated methods.

    Evolving: this interface is under development. Method signatures may change.

    • Method Detail

      • download

        void download​(DownloadRequest downloadRequest)
        Return billable usage logs.

        Returns billable usage logs in CSV format for the specified account and date range. For the data schema, see [CSV file schema]. Note that this method might take multiple minutes to complete.

        **Warning**: Depending on the queried date range, the number of workspaces in the account, the size of the response and the internet speed of the caller, this API may hit a timeout after a few minutes. If you experience this, try to mitigate by calling the API with narrower date ranges.

        [CSV file schema]: https://docs.databricks.com/administration-guide/account-settings/usage-analysis.html#schema