Class: Anthropic::Models::Beta::Organization::Analytics::CostListParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::Organization::Analytics::CostListParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/anthropic/models/beta/organization/analytics/cost_list_params.rb,
sig/anthropic/models/beta/organization/analytics/cost_list_params.rbs
Overview
Instance Attribute Summary collapse
-
#actor_ids ⇒ Array<String>?
Filter to usage attributed to specific identities, by tagged ID: a
user_...,svac_...(service account), orapikey_...ID. -
#actor_types ⇒ Array<Symbol, Anthropic::Models::Beta::Organization::BetaAnalyticsActorType>?
Filter to usage attributed to specific kinds of identity.
-
#agent_ids ⇒ Array<String>?
Filter to usage incurred by sessions of specific Claude Managed Agents agents.
-
#api_key_ids ⇒ Array<String>?
Filter to usage authenticated by specific API keys, by tagged API key ID (
apikey_...), whichever identity the usage is attributed to. -
#betas ⇒ Array<Symbol, String, Anthropic::Models::AnthropicBeta>?
This endpoint is in beta: requests must send
analytics-usage-cost-2026-08-24in this header. -
#claude_tag_categories ⇒ Array<Symbol, Anthropic::Models::Beta::Organization::BetaAnalyticsClaudeTagCategory>?
Filter to Claude Tag (Claude in Slack) usage in specific spend categories.
-
#claude_tag_user_ids ⇒ Array<String>?
Filter to Claude Tag (Claude in Slack) usage attributed to specific Slack users, by Slack user ID (for example
U0123ABCDEF), not claude.ai user ID. -
#context_windows ⇒ Array<Symbol, Anthropic::Models::Beta::Organization::BetaAnalyticsContextWindow>?
Filter to specific context-window pricing tiers.
-
#deployment_ids ⇒ Array<String>?
Filter to usage incurred by Claude Managed Agents sessions that specific deployments started.
-
#ending_at ⇒ Time?
End of range, exclusive.
-
#environment_ids ⇒ Array<String>?
Filter to usage incurred by Claude Managed Agents sessions that ran in specific environments.
-
#exclude_deleted_users ⇒ Boolean?
If true, omit rows whose
actoris auser_actorwithdeleted: true. -
#group_by ⇒ Array<Symbol, Anthropic::Models::Beta::Organization::Analytics::BetaAnalyticsCostGroupBy>?
Dimensions to break cost out by (at most 5, not counting
cost_typeandtoken_type): one row per combination of their values with cost in the range (and per time bucket, whentime_bucket_widthis set), every combination returned across pages rather than a capped top set. -
#inference_geos ⇒ Array<Symbol, Anthropic::Models::Beta::Organization::BetaAnalyticsInferenceGeoFilter>?
Filter to specific inference regions.
-
#limit ⇒ Integer?
Number of rows per page (1-1000, default 20).
-
#models ⇒ Array<String>?
Models to include.
-
#order ⇒ Symbol, ...
Sort direction of the
order_bymetric, or of the time buckets whenorder_byistimeandtime_bucket_widthis set. -
#order_by ⇒ Symbol, ...
Row order.
-
#organization_ids ⇒ Array<String>?
Filter a parent organization's report to specific child organizations, by organization UUID or
org_ID; an ID that is not one of its child organizations matches nothing. -
#page ⇒ String?
Opaque cursor from a previous response's
next_pagefield. -
#products ⇒ Array<Symbol, Anthropic::Models::Beta::Organization::BetaAnalyticsUsageCostProductFilter>?
Product surfaces to include.
-
#rbac_group_ids ⇒ Array<String>?
Filter to usage attributed to specific RBAC groups.
-
#service_tiers ⇒ Array<Symbol, Anthropic::Models::Beta::Organization::BetaAnalyticsServiceTier>?
Filter to specific service tiers.
-
#session_ids ⇒ Array<String>?
Filter to usage incurred by specific Claude Managed Agents sessions, by tagged session ID (
sesn_...). -
#slack_channel_ids ⇒ Array<String>?
Filter to usage originating from specific Slack channels.
-
#speeds ⇒ Array<Symbol, Anthropic::Models::Beta::Organization::BetaAnalyticsSpeed>?
Filter to fast or standard inference mode.
-
#starting_at ⇒ Time
Start of range, inclusive.
-
#time_bucket_width ⇒ Symbol, ...
Time-bucket granularity.
-
#user_profile_ids ⇒ Array<String>?
Filter to usage attributed to specific user profiles, by tagged user profile ID (
uprof_...). -
#workspace_ids ⇒ Array<String>?
Filter to usage in specific workspaces, by tagged workspace ID (
wrkspc_...).
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(starting_at:, actor_ids: nil, actor_types: nil, agent_ids: nil, api_key_ids: nil, claude_tag_categories: nil, claude_tag_user_ids: nil, context_windows: nil, deployment_ids: nil, ending_at: nil, environment_ids: nil, exclude_deleted_users: nil, group_by: nil, inference_geos: nil, limit: nil, models: nil, order: nil, order_by: nil, organization_ids: nil, page: nil, products: nil, rbac_group_ids: nil, service_tiers: nil, session_ids: nil, slack_channel_ids: nil, speeds: nil, time_bucket_width: nil, user_profile_ids: nil, workspace_ids: nil, betas: nil, request_options: {}) ⇒ CostListParams
constructor
Some parameter documentations has been truncated, see CostListParams for more details.
- #to_hash ⇒ { starting_at: Time, actor_ids: ::Array[String]?, actor_types: ::Array[Anthropic::Models::Beta::Organization::beta_analytics_actor_type]?, agent_ids: ::Array[String]?, api_key_ids: ::Array[String]?, claude_tag_categories: ::Array[Anthropic::Models::Beta::Organization::beta_analytics_claude_tag_category]?, claude_tag_user_ids: ::Array[String]?, context_windows: ::Array[Anthropic::Models::Beta::Organization::beta_analytics_context_window]?, deployment_ids: ::Array[String]?, ending_at: Time?, environment_ids: ::Array[String]?, exclude_deleted_users: bool, group_by: ::Array[Anthropic::Models::Beta::Organization::Analytics::beta_analytics_cost_group_by]?, inference_geos: ::Array[Anthropic::Models::Beta::Organization::beta_analytics_inference_geo_filter]?, limit: Integer, models: ::Array[String]?, order: Anthropic::Models::Beta::Organization::beta_analytics_usage_cost_sort_order, order_by: Anthropic::Models::Beta::Organization::Analytics::beta_analytics_cost_order_by, organization_ids: ::Array[String]?, page: String?, products: ::Array[Anthropic::Models::Beta::Organization::beta_analytics_usage_cost_product_filter]?, rbac_group_ids: ::Array[String]?, service_tiers: ::Array[Anthropic::Models::Beta::Organization::beta_analytics_service_tier]?, session_ids: ::Array[String]?, slack_channel_ids: ::Array[String]?, speeds: ::Array[Anthropic::Models::Beta::Organization::beta_analytics_speed]?, time_bucket_width: Anthropic::Models::Beta::Organization::beta_analytics_time_bucket_width?, user_profile_ids: ::Array[String]?, workspace_ids: ::Array[String]?, betas: ::Array[Anthropic::Models::anthropic_beta], request_options: Anthropic::RequestOptions }
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(starting_at:, actor_ids: nil, actor_types: nil, agent_ids: nil, api_key_ids: nil, claude_tag_categories: nil, claude_tag_user_ids: nil, context_windows: nil, deployment_ids: nil, ending_at: nil, environment_ids: nil, exclude_deleted_users: nil, group_by: nil, inference_geos: nil, limit: nil, models: nil, order: nil, order_by: nil, organization_ids: nil, page: nil, products: nil, rbac_group_ids: nil, service_tiers: nil, session_ids: nil, slack_channel_ids: nil, speeds: nil, time_bucket_width: nil, user_profile_ids: nil, workspace_ids: nil, betas: nil, request_options: {}) ⇒ CostListParams
Some parameter documentations has been truncated, see Anthropic::Models::Beta::Organization::Analytics::CostListParams for more details.
|
|
# File 'lib/anthropic/models/beta/organization/analytics/cost_list_params.rb', line 294
|
Instance Attribute Details
#actor_ids ⇒ Array<String>?
Filter to usage attributed to specific identities, by tagged ID: a user_...,
svac_... (service account), or apikey_... ID. An apikey_ entry matches
only usage attributed to the key itself, not usage on that key attributed to a
user or service account (use api_key_ids[] for every request a key
authenticated). Federated identities have no tagged ID; select them with
actor_types[]. Use group_by[]=actor to break out per-identity values.
29 |
# File 'lib/anthropic/models/beta/organization/analytics/cost_list_params.rb', line 29 optional :actor_ids, Anthropic::Internal::Type::ArrayOf[String], nil?: true |
#actor_types ⇒ Array<Symbol, Anthropic::Models::Beta::Organization::BetaAnalyticsActorType>?
Filter to usage attributed to specific kinds of identity. Use
group_by[]=actor_type to break out per-kind values.
36 37 38 39 40 |
# File 'lib/anthropic/models/beta/organization/analytics/cost_list_params.rb', line 36 optional :actor_types, -> { Anthropic::Internal::Type::ArrayOf[enum: Anthropic::Beta::Organization::BetaAnalyticsActorType] }, nil?: true |
#agent_ids ⇒ Array<String>?
Filter to usage incurred by sessions of specific Claude Managed Agents agents.
Use group_by[]=agent_id to break out per-agent values.
47 |
# File 'lib/anthropic/models/beta/organization/analytics/cost_list_params.rb', line 47 optional :agent_ids, Anthropic::Internal::Type::ArrayOf[String], nil?: true |
#api_key_ids ⇒ Array<String>?
Filter to usage authenticated by specific API keys, by tagged API key ID
(apikey_...), whichever identity the usage is attributed to. Include an empty
entry (api_key_ids[]=) to also match usage that no API key authenticated. Use
group_by[]=api_key_id to break out per-key values; usage without a key has a
null api_key_id.
57 |
# File 'lib/anthropic/models/beta/organization/analytics/cost_list_params.rb', line 57 optional :api_key_ids, Anthropic::Internal::Type::ArrayOf[String], nil?: true |
#betas ⇒ Array<Symbol, String, Anthropic::Models::AnthropicBeta>?
This endpoint is in beta: requests must send analytics-usage-cost-2026-08-24
in this header.
292 |
# File 'lib/anthropic/models/beta/organization/analytics/cost_list_params.rb', line 292 optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] } |
#claude_tag_categories ⇒ Array<Symbol, Anthropic::Models::Beta::Organization::BetaAnalyticsClaudeTagCategory>?
Filter to Claude Tag (Claude in Slack) usage in specific spend categories. Usage
with no category never matches. Use group_by[]=claude_tag_category to break
out per-category values.
65 66 67 68 69 |
# File 'lib/anthropic/models/beta/organization/analytics/cost_list_params.rb', line 65 optional :claude_tag_categories, -> { Anthropic::Internal::Type::ArrayOf[enum: Anthropic::Beta::Organization::BetaAnalyticsClaudeTagCategory] }, nil?: true |
#claude_tag_user_ids ⇒ Array<String>?
Filter to Claude Tag (Claude in Slack) usage attributed to specific Slack users,
by Slack user ID (for example U0123ABCDEF), not claude.ai user ID. Usage that
is not Claude Tag, and Claude Tag usage not attributed to a single user, never
matches. Use group_by[]=claude_tag_user_id to break out per-user values.
78 |
# File 'lib/anthropic/models/beta/organization/analytics/cost_list_params.rb', line 78 optional :claude_tag_user_ids, Anthropic::Internal::Type::ArrayOf[String], nil?: true |
#context_windows ⇒ Array<Symbol, Anthropic::Models::Beta::Organization::BetaAnalyticsContextWindow>?
Filter to specific context-window pricing tiers. Use group_by[]=context_window
to break out per-tier values.
85 86 87 88 89 |
# File 'lib/anthropic/models/beta/organization/analytics/cost_list_params.rb', line 85 optional :context_windows, -> { Anthropic::Internal::Type::ArrayOf[enum: Anthropic::Beta::Organization::BetaAnalyticsContextWindow] }, nil?: true |
#deployment_ids ⇒ Array<String>?
Filter to usage incurred by Claude Managed Agents sessions that specific
deployments started. Use group_by[]=deployment_id to break out per-deployment
values.
97 |
# File 'lib/anthropic/models/beta/organization/analytics/cost_list_params.rb', line 97 optional :deployment_ids, Anthropic::Internal::Type::ArrayOf[String], nil?: true |
#ending_at ⇒ Time?
End of range, exclusive. Required when time_bucket_width is set. Without
time_bucket_width, defaults to the earlier of now and starting_at + 31 days.
The range may span at most 31 days.
105 |
# File 'lib/anthropic/models/beta/organization/analytics/cost_list_params.rb', line 105 optional :ending_at, Time, nil?: true |
#environment_ids ⇒ Array<String>?
Filter to usage incurred by Claude Managed Agents sessions that ran in specific
environments. Use group_by[]=environment_id to break out per-environment
values.
113 |
# File 'lib/anthropic/models/beta/organization/analytics/cost_list_params.rb', line 113 optional :environment_ids, Anthropic::Internal::Type::ArrayOf[String], nil?: true |
#exclude_deleted_users ⇒ Boolean?
If true, omit rows whose actor is a user_actor with deleted: true.
Requires group_by[]=actor. Rows for other actor types, and rows whose actor
is null, are always kept. A page may contain fewer than limit rows; use
has_more and next_page to paginate as usual.
122 |
# File 'lib/anthropic/models/beta/organization/analytics/cost_list_params.rb', line 122 optional :exclude_deleted_users, Anthropic::Internal::Type::Boolean |
#group_by ⇒ Array<Symbol, Anthropic::Models::Beta::Organization::Analytics::BetaAnalyticsCostGroupBy>?
Dimensions to break cost out by (at most 5, not counting cost_type and
token_type): one row per combination of their values with cost in the range
(and per time bucket, when time_bucket_width is set), every combination
returned across pages rather than a capped top set. cost_type and token_type
do not count toward limit: cost_type returns one row per cost component
(tokens, web search, code execution, and session_usage, Claude Managed Agents
session time); token_type returns one row per token type, each with
cost_type: "tokens"; combining both returns the per-token-type rows plus the
web-search, code-execution and session-usage rows. When omitted, a single row
aggregates the whole range.
137 138 139 140 141 |
# File 'lib/anthropic/models/beta/organization/analytics/cost_list_params.rb', line 137 optional :group_by, -> { Anthropic::Internal::Type::ArrayOf[enum: Anthropic::Beta::Organization::Analytics::BetaAnalyticsCostGroupBy] }, nil?: true |
#inference_geos ⇒ Array<Symbol, Anthropic::Models::Beta::Organization::BetaAnalyticsInferenceGeoFilter>?
Filter to specific inference regions. not_available matches rows where the
region is unset. Use group_by[]=inference_geo to break out per-region values.
148 149 150 151 152 |
# File 'lib/anthropic/models/beta/organization/analytics/cost_list_params.rb', line 148 optional :inference_geos, -> { Anthropic::Internal::Type::ArrayOf[enum: Anthropic::Beta::Organization::BetaAnalyticsInferenceGeoFilter] }, nil?: true |
#limit ⇒ Integer?
Number of rows per page (1-1000, default 20). cost_type/token_type fan-out
rows (cost endpoint only) do not count toward this limit, so data can exceed
it.
160 |
# File 'lib/anthropic/models/beta/organization/analytics/cost_list_params.rb', line 160 optional :limit, Integer |
#models ⇒ Array<String>?
Models to include. Defaults to all models. Use group_by[]=model to break out
per-model values.
167 |
# File 'lib/anthropic/models/beta/organization/analytics/cost_list_params.rb', line 167 optional :models, Anthropic::Internal::Type::ArrayOf[String], nil?: true |
#order ⇒ Symbol, ...
Sort direction of the order_by metric, or of the time buckets when order_by
is time and time_bucket_width is set. Defaults to desc.
174 |
# File 'lib/anthropic/models/beta/organization/analytics/cost_list_params.rb', line 174 optional :order, enum: -> { Anthropic::Beta::Organization::BetaAnalyticsUsageCostSortOrder } |
#order_by ⇒ Symbol, ...
Row order. A metric ranks rows by that metric in the order direction. time
orders rows by time bucket in the order direction (newest first by default)
and, within a bucket, by amount, highest first. time takes effect only with
time_bucket_width; without it, time is the same as amount. Defaults to
amount.
184 |
# File 'lib/anthropic/models/beta/organization/analytics/cost_list_params.rb', line 184 optional :order_by, enum: -> { Anthropic::Beta::Organization::Analytics::BetaAnalyticsCostOrderBy } |
#organization_ids ⇒ Array<String>?
Filter a parent organization's report to specific child organizations, by
organization UUID or org_ ID; an ID that is not one of its child organizations
matches nothing. The report leaves out child organizations with HIPAA readiness
enabled, and naming one returns a 400 error. Requires an API key created at the
parent organization level. Use group_by[]=organization_id to break out
per-organization values.
195 |
# File 'lib/anthropic/models/beta/organization/analytics/cost_list_params.rb', line 195 optional :organization_ids, Anthropic::Internal::Type::ArrayOf[String], nil?: true |
#page ⇒ String?
Opaque cursor from a previous response's next_page field.
201 |
# File 'lib/anthropic/models/beta/organization/analytics/cost_list_params.rb', line 201 optional :page, String, nil?: true |
#products ⇒ Array<Symbol, Anthropic::Models::Beta::Organization::BetaAnalyticsUsageCostProductFilter>?
Product surfaces to include. Defaults to all products.
207 208 209 210 211 |
# File 'lib/anthropic/models/beta/organization/analytics/cost_list_params.rb', line 207 optional :products, -> { Anthropic::Internal::Type::ArrayOf[enum: Anthropic::Beta::Organization::BetaAnalyticsUsageCostProductFilter] }, nil?: true |
#rbac_group_ids ⇒ Array<String>?
Filter to usage attributed to specific RBAC groups. Accepts tagged RBAC group
IDs (rbac_group_...) or bare group UUIDs. A row matches when the user belonged
to any of the listed groups on the (UTC) day the usage occurred; usage with no
group attribution never matches.
220 |
# File 'lib/anthropic/models/beta/organization/analytics/cost_list_params.rb', line 220 optional :rbac_group_ids, Anthropic::Internal::Type::ArrayOf[String], nil?: true |
#service_tiers ⇒ Array<Symbol, Anthropic::Models::Beta::Organization::BetaAnalyticsServiceTier>?
Filter to specific service tiers. Use group_by[]=service_tier to break out
per-tier values.
227 228 229 230 231 |
# File 'lib/anthropic/models/beta/organization/analytics/cost_list_params.rb', line 227 optional :service_tiers, -> { Anthropic::Internal::Type::ArrayOf[enum: Anthropic::Beta::Organization::BetaAnalyticsServiceTier] }, nil?: true |
#session_ids ⇒ Array<String>?
Filter to usage incurred by specific Claude Managed Agents sessions, by tagged
session ID (sesn_...). Use group_by[]=session_id to break out per-session
values.
239 |
# File 'lib/anthropic/models/beta/organization/analytics/cost_list_params.rb', line 239 optional :session_ids, Anthropic::Internal::Type::ArrayOf[String], nil?: true |
#slack_channel_ids ⇒ Array<String>?
Filter to usage originating from specific Slack channels. Use
group_by[]=slack_channel_id to break out per-channel values.
246 |
# File 'lib/anthropic/models/beta/organization/analytics/cost_list_params.rb', line 246 optional :slack_channel_ids, Anthropic::Internal::Type::ArrayOf[String], nil?: true |
#speeds ⇒ Array<Symbol, Anthropic::Models::Beta::Organization::BetaAnalyticsSpeed>?
Filter to fast or standard inference mode. Use group_by[]=speed to break out
per-mode values.
253 254 255 256 257 |
# File 'lib/anthropic/models/beta/organization/analytics/cost_list_params.rb', line 253 optional :speeds, -> { Anthropic::Internal::Type::ArrayOf[enum: Anthropic::Beta::Organization::BetaAnalyticsSpeed] }, nil?: true |
#starting_at ⇒ Time
Start of range, inclusive. RFC 3339 tz-aware. Must be within the last 365 days and no earlier than 2026-01-01T00:00:00Z.
18 |
# File 'lib/anthropic/models/beta/organization/analytics/cost_list_params.rb', line 18 required :starting_at, Time |
#time_bucket_width ⇒ Symbol, ...
Time-bucket granularity. When set, rows are returned per time bucket (one per
bucket and dimension combination with usage) and each row's starting_at and
ending_at are that bucket's bounds; the time bucket counts toward limit.
ending_at is required when time_bucket_width is set, and with
time_bucket_width="1m" the range may span at most 24 hours. When omitted, each
row aggregates the requested range with starting_at and ending_at each
rounded down to the hour.
269 270 271 |
# File 'lib/anthropic/models/beta/organization/analytics/cost_list_params.rb', line 269 optional :time_bucket_width, enum: -> { Anthropic::Beta::Organization::BetaAnalyticsTimeBucketWidth }, nil?: true |
#user_profile_ids ⇒ Array<String>?
Filter to usage attributed to specific user profiles, by tagged user profile ID
(uprof_...). Use group_by[]=user_profile_id to break out per-profile values.
278 |
# File 'lib/anthropic/models/beta/organization/analytics/cost_list_params.rb', line 278 optional :user_profile_ids, Anthropic::Internal::Type::ArrayOf[String], nil?: true |
#workspace_ids ⇒ Array<String>?
Filter to usage in specific workspaces, by tagged workspace ID (wrkspc_...).
Use group_by[]=workspace_id to break out per-workspace values.
285 |
# File 'lib/anthropic/models/beta/organization/analytics/cost_list_params.rb', line 285 optional :workspace_ids, Anthropic::Internal::Type::ArrayOf[String], nil?: true |
Instance Method Details
#to_hash ⇒ { starting_at: Time, actor_ids: ::Array[String]?, actor_types: ::Array[Anthropic::Models::Beta::Organization::beta_analytics_actor_type]?, agent_ids: ::Array[String]?, api_key_ids: ::Array[String]?, claude_tag_categories: ::Array[Anthropic::Models::Beta::Organization::beta_analytics_claude_tag_category]?, claude_tag_user_ids: ::Array[String]?, context_windows: ::Array[Anthropic::Models::Beta::Organization::beta_analytics_context_window]?, deployment_ids: ::Array[String]?, ending_at: Time?, environment_ids: ::Array[String]?, exclude_deleted_users: bool, group_by: ::Array[Anthropic::Models::Beta::Organization::Analytics::beta_analytics_cost_group_by]?, inference_geos: ::Array[Anthropic::Models::Beta::Organization::beta_analytics_inference_geo_filter]?, limit: Integer, models: ::Array[String]?, order: Anthropic::Models::Beta::Organization::beta_analytics_usage_cost_sort_order, order_by: Anthropic::Models::Beta::Organization::Analytics::beta_analytics_cost_order_by, organization_ids: ::Array[String]?, page: String?, products: ::Array[Anthropic::Models::Beta::Organization::beta_analytics_usage_cost_product_filter]?, rbac_group_ids: ::Array[String]?, service_tiers: ::Array[Anthropic::Models::Beta::Organization::beta_analytics_service_tier]?, session_ids: ::Array[String]?, slack_channel_ids: ::Array[String]?, speeds: ::Array[Anthropic::Models::Beta::Organization::beta_analytics_speed]?, time_bucket_width: Anthropic::Models::Beta::Organization::beta_analytics_time_bucket_width?, user_profile_ids: ::Array[String]?, workspace_ids: ::Array[String]?, betas: ::Array[Anthropic::Models::anthropic_beta], request_options: Anthropic::RequestOptions }
155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 |
# File 'sig/anthropic/models/beta/organization/analytics/cost_list_params.rbs', line 155
def to_hash: -> {
starting_at: Time,
actor_ids: ::Array[String]?,
actor_types: ::Array[Anthropic::Models::Beta::Organization::beta_analytics_actor_type]?,
agent_ids: ::Array[String]?,
api_key_ids: ::Array[String]?,
claude_tag_categories: ::Array[Anthropic::Models::Beta::Organization::beta_analytics_claude_tag_category]?,
claude_tag_user_ids: ::Array[String]?,
context_windows: ::Array[Anthropic::Models::Beta::Organization::beta_analytics_context_window]?,
deployment_ids: ::Array[String]?,
ending_at: Time?,
environment_ids: ::Array[String]?,
exclude_deleted_users: bool,
group_by: ::Array[Anthropic::Models::Beta::Organization::Analytics::beta_analytics_cost_group_by]?,
inference_geos: ::Array[Anthropic::Models::Beta::Organization::beta_analytics_inference_geo_filter]?,
limit: Integer,
models: ::Array[String]?,
order: Anthropic::Models::Beta::Organization::beta_analytics_usage_cost_sort_order,
order_by: Anthropic::Models::Beta::Organization::Analytics::beta_analytics_cost_order_by,
organization_ids: ::Array[String]?,
page: String?,
products: ::Array[Anthropic::Models::Beta::Organization::beta_analytics_usage_cost_product_filter]?,
rbac_group_ids: ::Array[String]?,
service_tiers: ::Array[Anthropic::Models::Beta::Organization::beta_analytics_service_tier]?,
session_ids: ::Array[String]?,
slack_channel_ids: ::Array[String]?,
speeds: ::Array[Anthropic::Models::Beta::Organization::beta_analytics_speed]?,
time_bucket_width: Anthropic::Models::Beta::Organization::beta_analytics_time_bucket_width?,
user_profile_ids: ::Array[String]?,
workspace_ids: ::Array[String]?,
betas: ::Array[Anthropic::Models::anthropic_beta],
request_options: Anthropic::RequestOptions
}
|