Module: Anthropic::Models::Beta::Organization::Analytics::UserCostReportListParams::BucketWidth
- Extended by:
- Internal::Type::Enum
- Defined in:
- lib/anthropic/models/beta/organization/analytics/user_cost_report_list_params.rb,
sig/anthropic/models/beta/organization/analytics/user_cost_report_list_params.rbs
Overview
Time-bucket granularity. When set, each row's starting_at and ending_at are
populated and one actor may span several rows (one per time bucket with usage).
The time bucket counts toward limit, so one page can return multiple rows for
the same actor. ending_at is required when bucket_width is set, and with
bucket_width="1m" the range may span at most 24 hours. When omitted, each row
aggregates the full [starting_at, ending_at) range.
Constant Summary collapse
- DAY =
:"1d"- HOUR =
:"1h"- MINUTE =
:"1m"
Instance Method Summary collapse
Methods included from Internal::Type::Enum
==, ===, coerce, dump, hash, inspect, to_sorbet_type, values, values
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Instance Method Details
#self?.values ⇒ ::Array[Anthropic::Models::Beta::Organization::Analytics::UserCostReportListParams::bucket_width]
139 |
# File 'sig/anthropic/models/beta/organization/analytics/user_cost_report_list_params.rbs', line 139
def self?.values: -> ::Array[Anthropic::Models::Beta::Organization::Analytics::UserCostReportListParams::bucket_width]
|