@s2-dev/streamstore - v0.30.0
    Preparing search index...

    Interface AccountMetricsInput

    Input for account-level metrics.

    interface AccountMetricsInput {
        end?: number | Date;
        interval?: TimeseriesInterval;
        set: AccountMetricSet;
        start?: number | Date;
    }
    Index

    Properties

    end?: number | Date

    End timestamp (Date, or milliseconds since Unix epoch), if applicable for the metric set.

    Interval to aggregate over for timeseries metric sets.

    Metric set to return. estimated-billable-usage returns estimated USD by billing dimension and as a total series. Supports hour (default) and day intervals, aggregating finalized hours. Daily points may be partial.

    start?: number | Date

    Start timestamp (Date, or milliseconds since Unix epoch), if applicable for the metric set.