anthropic 2.6.0 → 2.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +23 -0
- data/README.md +1 -1
- data/lib/anthropic/error_classes.rb +1 -1
- data/lib/anthropic/helpers/aws/client.rb +6 -0
- data/lib/anthropic/helpers/bedrock/mantle_client.rb +6 -0
- data/lib/anthropic/helpers/streaming/message_stream.rb +6 -4
- data/lib/anthropic/models/beta/beta_managed_agents_model.rb +5 -0
- data/lib/anthropic/models/beta/beta_webhook_event.rb +2 -2
- data/lib/anthropic/models/beta/beta_webhook_event_data.rb +8 -2
- data/lib/anthropic/models/beta/beta_webhook_user_profile_program_status_updated_event_data.rb +35 -0
- data/lib/anthropic/models/beta/environments/work_heartbeat_params.rb +2 -1
- data/lib/anthropic/models/beta/organization/analytics/beta_analytics_cost_group.rb +10 -1
- data/lib/anthropic/models/beta/organization/analytics/beta_analytics_cost_group_by.rb +1 -0
- data/lib/anthropic/models/beta/organization/analytics/beta_analytics_usage_group.rb +10 -1
- data/lib/anthropic/models/beta/organization/analytics/beta_analytics_usage_group_by.rb +1 -0
- data/lib/anthropic/models/beta/organization/analytics/cost_list_params.rb +12 -1
- data/lib/anthropic/models/beta/organization/analytics/usage_list_params.rb +12 -1
- data/lib/anthropic/models/beta/organization/beta_cannot_sign_out_managed_member_error.rb +2 -2
- data/lib/anthropic/models/beta/organization/beta_cannot_sign_out_managed_member_error_details.rb +2 -2
- data/lib/anthropic/models/beta/organization/beta_new_organization_webhook_endpoint.rb +1 -0
- data/lib/anthropic/models/beta/organization/beta_organization_webhook_endpoint.rb +1 -0
- data/lib/anthropic/models/beta/organization/webhook_create_params.rb +1 -0
- data/lib/anthropic/models/beta/organization/webhook_update_params.rb +1 -0
- data/lib/anthropic/models/error_details.rb +9 -9
- data/lib/anthropic/models/model.rb +10 -0
- data/lib/anthropic/models/sandbox_egress_restricted_error.rb +21 -0
- data/lib/anthropic/models/sandbox_egress_restricted_error_details.rb +19 -0
- data/lib/anthropic/models/thread_unsupported_feature_name.rb +0 -1
- data/lib/anthropic/models.rb +4 -0
- data/lib/anthropic/resources/beta/organization/analytics/cost.rb +5 -1
- data/lib/anthropic/resources/beta/organization/analytics/usage.rb +5 -1
- data/lib/anthropic/resources/beta/organization/api_keys.rb +1 -0
- data/lib/anthropic/resources/beta/organization/compliance_settings.rb +2 -0
- data/lib/anthropic/resources/beta/organization/external_keys.rb +5 -0
- data/lib/anthropic/resources/beta/organization/federation/issuers.rb +6 -0
- data/lib/anthropic/resources/beta/organization/federation/rules/workspaces.rb +4 -0
- data/lib/anthropic/resources/beta/organization/federation/rules.rb +6 -0
- data/lib/anthropic/resources/beta/organization/invites.rb +3 -0
- data/lib/anthropic/resources/beta/organization/rbac_groups/members.rb +2 -0
- data/lib/anthropic/resources/beta/organization/rbac_groups.rb +5 -0
- data/lib/anthropic/resources/beta/organization/service_accounts/workspaces.rb +4 -0
- data/lib/anthropic/resources/beta/organization/service_accounts.rb +6 -0
- data/lib/anthropic/resources/beta/organization/spend_limits/increase_requests.rb +4 -0
- data/lib/anthropic/resources/beta/organization/spend_limits.rb +2 -2
- data/lib/anthropic/resources/beta/organization/users.rb +8 -4
- data/lib/anthropic/resources/beta/organization/webhooks.rb +4 -0
- data/lib/anthropic/resources/beta/organization/workspaces/members.rb +4 -0
- data/lib/anthropic/resources/beta/organization/workspaces/rate_limits.rb +2 -0
- data/lib/anthropic/resources/beta/organization/workspaces/service_accounts.rb +6 -0
- data/lib/anthropic/resources/beta/organization/workspaces.rb +4 -0
- data/lib/anthropic/resources/organization/api_keys.rb +1 -0
- data/lib/anthropic/resources/organization/compliance_settings.rb +2 -0
- data/lib/anthropic/resources/organization/external_keys.rb +5 -0
- data/lib/anthropic/resources/organization/federation/issuers.rb +6 -0
- data/lib/anthropic/resources/organization/federation/rules/workspaces.rb +4 -0
- data/lib/anthropic/resources/organization/federation/rules.rb +6 -0
- data/lib/anthropic/resources/organization/invites.rb +3 -0
- data/lib/anthropic/resources/organization/rbac_groups/members.rb +2 -0
- data/lib/anthropic/resources/organization/rbac_groups.rb +5 -0
- data/lib/anthropic/resources/organization/service_accounts/workspaces.rb +4 -0
- data/lib/anthropic/resources/organization/service_accounts.rb +6 -0
- data/lib/anthropic/resources/organization/spend_limits/increase_requests.rb +4 -0
- data/lib/anthropic/resources/organization/users.rb +3 -0
- data/lib/anthropic/resources/organization/workspaces/members.rb +4 -0
- data/lib/anthropic/resources/organization/workspaces/rate_limits.rb +2 -0
- data/lib/anthropic/resources/organization/workspaces/service_accounts.rb +6 -0
- data/lib/anthropic/resources/organization/workspaces.rb +4 -0
- data/lib/anthropic/version.rb +1 -1
- data/lib/anthropic.rb +3 -2
- data/rbi/anthropic/helpers/aws/client.rbi +5 -0
- data/rbi/anthropic/helpers/bedrock/mantle_client.rbi +5 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_model.rbi +7 -0
- data/rbi/anthropic/models/beta/beta_webhook_event.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_webhook_event_data.rbi +7 -1
- data/rbi/anthropic/models/beta/beta_webhook_user_profile_program_status_updated_event_data.rbi +51 -0
- data/rbi/anthropic/models/beta/environments/work_heartbeat_params.rbi +4 -2
- data/rbi/anthropic/models/beta/organization/analytics/beta_analytics_cost_group.rbi +10 -0
- data/rbi/anthropic/models/beta/organization/analytics/beta_analytics_cost_group_by.rbi +5 -0
- data/rbi/anthropic/models/beta/organization/analytics/beta_analytics_usage_group.rbi +10 -0
- data/rbi/anthropic/models/beta/organization/analytics/beta_analytics_usage_group_by.rbi +5 -0
- data/rbi/anthropic/models/beta/organization/analytics/cost_list_params.rbi +14 -0
- data/rbi/anthropic/models/beta/organization/analytics/usage_list_params.rbi +14 -0
- data/rbi/anthropic/models/beta/organization/beta_cannot_sign_out_managed_member_error.rbi +2 -2
- data/rbi/anthropic/models/beta/organization/beta_cannot_sign_out_managed_member_error_details.rbi +2 -2
- data/rbi/anthropic/models/beta/organization/beta_new_organization_webhook_endpoint.rbi +5 -0
- data/rbi/anthropic/models/beta/organization/beta_organization_webhook_endpoint.rbi +5 -0
- data/rbi/anthropic/models/beta/organization/webhook_create_params.rbi +5 -0
- data/rbi/anthropic/models/beta/organization/webhook_update_params.rbi +5 -0
- data/rbi/anthropic/models/error_details.rbi +6 -6
- data/rbi/anthropic/models/model.rbi +8 -0
- data/rbi/anthropic/models/sandbox_egress_restricted_error.rbi +18 -0
- data/rbi/anthropic/models/sandbox_egress_restricted_error_details.rbi +29 -0
- data/rbi/anthropic/models/thread_unsupported_feature_name.rbi +0 -1
- data/rbi/anthropic/models.rbi +5 -0
- data/rbi/anthropic/resources/beta/environments/work.rbi +2 -1
- data/rbi/anthropic/resources/beta/organization/analytics/cost.rbi +7 -0
- data/rbi/anthropic/resources/beta/organization/analytics/usage.rbi +7 -0
- data/rbi/anthropic/resources/beta/organization/users.rbi +4 -4
- data/sig/anthropic/models/beta/beta_managed_agents_model.rbs +5 -1
- data/sig/anthropic/models/beta/beta_webhook_event_data.rbs +9 -0
- data/sig/anthropic/models/beta/beta_webhook_user_profile_program_status_updated_event_data.rbs +34 -0
- data/sig/anthropic/models/beta/organization/analytics/beta_analytics_cost_group.rbs +5 -0
- data/sig/anthropic/models/beta/organization/analytics/beta_analytics_cost_group_by.rbs +2 -0
- data/sig/anthropic/models/beta/organization/analytics/beta_analytics_usage_group.rbs +5 -0
- data/sig/anthropic/models/beta/organization/analytics/beta_analytics_usage_group_by.rbs +2 -0
- data/sig/anthropic/models/beta/organization/analytics/cost_list_params.rbs +5 -0
- data/sig/anthropic/models/beta/organization/analytics/usage_list_params.rbs +5 -0
- data/sig/anthropic/models/beta/organization/beta_new_organization_webhook_endpoint.rbs +2 -0
- data/sig/anthropic/models/beta/organization/beta_organization_webhook_endpoint.rbs +2 -0
- data/sig/anthropic/models/beta/organization/webhook_create_params.rbs +2 -0
- data/sig/anthropic/models/beta/organization/webhook_update_params.rbs +2 -0
- data/sig/anthropic/models/error_details.rbs +6 -6
- data/sig/anthropic/models/model.rbs +9 -1
- data/sig/anthropic/models/sandbox_egress_restricted_error.rbs +9 -0
- data/sig/anthropic/models/sandbox_egress_restricted_error_details.rbs +14 -0
- data/sig/anthropic/models/thread_unsupported_feature_name.rbs +0 -2
- data/sig/anthropic/models.rbs +4 -0
- data/sig/anthropic/resources/beta/organization/analytics/cost.rbs +1 -0
- data/sig/anthropic/resources/beta/organization/analytics/usage.rbs +1 -0
- metadata +11 -8
- data/lib/anthropic/models/beta/beta_billing_frozen_error.rb +0 -22
- data/lib/anthropic/models/beta/beta_billing_frozen_error_details.rb +0 -22
- data/rbi/anthropic/models/beta/beta_billing_frozen_error.rbi +0 -19
- data/rbi/anthropic/models/beta/beta_billing_frozen_error_details.rbi +0 -32
- data/sig/anthropic/models/beta/beta_billing_frozen_error.rbs +0 -11
- data/sig/anthropic/models/beta/beta_billing_frozen_error_details.rbs +0 -17
|
@@ -128,6 +128,11 @@ module Anthropic
|
|
|
128
128
|
sig { returns(T.nilable(String)) }
|
|
129
129
|
attr_accessor :model
|
|
130
130
|
|
|
131
|
+
# UUID of the child organization the usage belongs to, on a parent organization's
|
|
132
|
+
# report across its children. Null unless `organization_id` is in `group_by[]`.
|
|
133
|
+
sig { returns(T.nilable(String)) }
|
|
134
|
+
attr_accessor :organization_id
|
|
135
|
+
|
|
131
136
|
# Product surface that produced the usage or cost. Null unless product is in
|
|
132
137
|
# `group_by[]`; it can also be null on grouped rows whose usage cannot be
|
|
133
138
|
# attributed to a known surface. Values include `chat`, `claude_code`, `cowork`,
|
|
@@ -249,6 +254,7 @@ module Anthropic
|
|
|
249
254
|
Anthropic::Beta::Organization::BetaAnalyticsUsageCostInferenceGeo::OrSymbol
|
|
250
255
|
),
|
|
251
256
|
model: T.nilable(String),
|
|
257
|
+
organization_id: T.nilable(String),
|
|
252
258
|
product: T.nilable(String),
|
|
253
259
|
rbac_group_id: T.nilable(String),
|
|
254
260
|
service_tier:
|
|
@@ -324,6 +330,9 @@ module Anthropic
|
|
|
324
330
|
# is in `group_by[]`; it can also be null on grouped rows whose usage or cost is
|
|
325
331
|
# not attributed to a specific model, such as code execution.
|
|
326
332
|
model:,
|
|
333
|
+
# UUID of the child organization the usage belongs to, on a parent organization's
|
|
334
|
+
# report across its children. Null unless `organization_id` is in `group_by[]`.
|
|
335
|
+
organization_id:,
|
|
327
336
|
# Product surface that produced the usage or cost. Null unless product is in
|
|
328
337
|
# `group_by[]`; it can also be null on grouped rows whose usage cannot be
|
|
329
338
|
# attributed to a known surface. Values include `chat`, `claude_code`, `cowork`,
|
|
@@ -406,6 +415,7 @@ module Anthropic
|
|
|
406
415
|
Anthropic::Beta::Organization::BetaAnalyticsUsageCostInferenceGeo::TaggedSymbol
|
|
407
416
|
),
|
|
408
417
|
model: T.nilable(String),
|
|
418
|
+
organization_id: T.nilable(String),
|
|
409
419
|
product: T.nilable(String),
|
|
410
420
|
rbac_group_id: T.nilable(String),
|
|
411
421
|
service_tier:
|
|
@@ -77,6 +77,11 @@ module Anthropic
|
|
|
77
77
|
:model,
|
|
78
78
|
Anthropic::Beta::Organization::Analytics::BetaAnalyticsCostGroupBy::TaggedSymbol
|
|
79
79
|
)
|
|
80
|
+
ORGANIZATION_ID =
|
|
81
|
+
T.let(
|
|
82
|
+
:organization_id,
|
|
83
|
+
Anthropic::Beta::Organization::Analytics::BetaAnalyticsCostGroupBy::TaggedSymbol
|
|
84
|
+
)
|
|
80
85
|
PRODUCT =
|
|
81
86
|
T.let(
|
|
82
87
|
:product,
|
|
@@ -118,6 +118,11 @@ module Anthropic
|
|
|
118
118
|
sig { returns(T.nilable(String)) }
|
|
119
119
|
attr_accessor :model
|
|
120
120
|
|
|
121
|
+
# UUID of the child organization the usage belongs to, on a parent organization's
|
|
122
|
+
# report across its children. Null unless `organization_id` is in `group_by[]`.
|
|
123
|
+
sig { returns(T.nilable(String)) }
|
|
124
|
+
attr_accessor :organization_id
|
|
125
|
+
|
|
121
126
|
# Product surface that produced the usage or cost. Null unless product is in
|
|
122
127
|
# `group_by[]`; it can also be null on grouped rows whose usage cannot be
|
|
123
128
|
# attributed to a known surface. Values include `chat`, `claude_code`, `cowork`,
|
|
@@ -225,6 +230,7 @@ module Anthropic
|
|
|
225
230
|
Anthropic::Beta::Organization::BetaAnalyticsUsageCostInferenceGeo::OrSymbol
|
|
226
231
|
),
|
|
227
232
|
model: T.nilable(String),
|
|
233
|
+
organization_id: T.nilable(String),
|
|
228
234
|
product: T.nilable(String),
|
|
229
235
|
rbac_group_id: T.nilable(String),
|
|
230
236
|
service_tier:
|
|
@@ -294,6 +300,9 @@ module Anthropic
|
|
|
294
300
|
# is in `group_by[]`; it can also be null on grouped rows whose usage or cost is
|
|
295
301
|
# not attributed to a specific model, such as code execution.
|
|
296
302
|
model:,
|
|
303
|
+
# UUID of the child organization the usage belongs to, on a parent organization's
|
|
304
|
+
# report across its children. Null unless `organization_id` is in `group_by[]`.
|
|
305
|
+
organization_id:,
|
|
297
306
|
# Product surface that produced the usage or cost. Null unless product is in
|
|
298
307
|
# `group_by[]`; it can also be null on grouped rows whose usage cannot be
|
|
299
308
|
# attributed to a known surface. Values include `chat`, `claude_code`, `cowork`,
|
|
@@ -370,6 +379,7 @@ module Anthropic
|
|
|
370
379
|
Anthropic::Beta::Organization::BetaAnalyticsUsageCostInferenceGeo::TaggedSymbol
|
|
371
380
|
),
|
|
372
381
|
model: T.nilable(String),
|
|
382
|
+
organization_id: T.nilable(String),
|
|
373
383
|
product: T.nilable(String),
|
|
374
384
|
rbac_group_id: T.nilable(String),
|
|
375
385
|
service_tier:
|
|
@@ -72,6 +72,11 @@ module Anthropic
|
|
|
72
72
|
:model,
|
|
73
73
|
Anthropic::Beta::Organization::Analytics::BetaAnalyticsUsageGroupBy::TaggedSymbol
|
|
74
74
|
)
|
|
75
|
+
ORGANIZATION_ID =
|
|
76
|
+
T.let(
|
|
77
|
+
:organization_id,
|
|
78
|
+
Anthropic::Beta::Organization::Analytics::BetaAnalyticsUsageGroupBy::TaggedSymbol
|
|
79
|
+
)
|
|
75
80
|
PRODUCT =
|
|
76
81
|
T.let(
|
|
77
82
|
:product,
|
|
@@ -209,6 +209,13 @@ module Anthropic
|
|
|
209
209
|
end
|
|
210
210
|
attr_writer :order_by
|
|
211
211
|
|
|
212
|
+
# Filter a parent organization's report to specific child organizations, by
|
|
213
|
+
# organization UUID or `org_` ID; an ID that is not one of its child organizations
|
|
214
|
+
# matches nothing. Requires an API key created at the parent organization level.
|
|
215
|
+
# Use `group_by[]=organization_id` to break out per-organization values.
|
|
216
|
+
sig { returns(T.nilable(T::Array[String])) }
|
|
217
|
+
attr_accessor :organization_ids
|
|
218
|
+
|
|
212
219
|
# Opaque cursor from a previous response's `next_page` field.
|
|
213
220
|
sig { returns(T.nilable(String)) }
|
|
214
221
|
attr_accessor :page
|
|
@@ -364,6 +371,7 @@ module Anthropic
|
|
|
364
371
|
Anthropic::Beta::Organization::BetaAnalyticsUsageCostSortOrder::OrSymbol,
|
|
365
372
|
order_by:
|
|
366
373
|
Anthropic::Beta::Organization::Analytics::BetaAnalyticsCostOrderBy::OrSymbol,
|
|
374
|
+
organization_ids: T.nilable(T::Array[String]),
|
|
367
375
|
page: T.nilable(String),
|
|
368
376
|
products:
|
|
369
377
|
T.nilable(
|
|
@@ -480,6 +488,11 @@ module Anthropic
|
|
|
480
488
|
# `time_bucket_width`; without it, `time` is the same as `amount`. Defaults to
|
|
481
489
|
# `amount`.
|
|
482
490
|
order_by: nil,
|
|
491
|
+
# Filter a parent organization's report to specific child organizations, by
|
|
492
|
+
# organization UUID or `org_` ID; an ID that is not one of its child organizations
|
|
493
|
+
# matches nothing. Requires an API key created at the parent organization level.
|
|
494
|
+
# Use `group_by[]=organization_id` to break out per-organization values.
|
|
495
|
+
organization_ids: nil,
|
|
483
496
|
# Opaque cursor from a previous response's `next_page` field.
|
|
484
497
|
page: nil,
|
|
485
498
|
# Product surfaces to include. Defaults to all products.
|
|
@@ -574,6 +587,7 @@ module Anthropic
|
|
|
574
587
|
Anthropic::Beta::Organization::BetaAnalyticsUsageCostSortOrder::OrSymbol,
|
|
575
588
|
order_by:
|
|
576
589
|
Anthropic::Beta::Organization::Analytics::BetaAnalyticsCostOrderBy::OrSymbol,
|
|
590
|
+
organization_ids: T.nilable(T::Array[String]),
|
|
577
591
|
page: T.nilable(String),
|
|
578
592
|
products:
|
|
579
593
|
T.nilable(
|
|
@@ -203,6 +203,13 @@ module Anthropic
|
|
|
203
203
|
end
|
|
204
204
|
attr_writer :order_by
|
|
205
205
|
|
|
206
|
+
# Filter a parent organization's report to specific child organizations, by
|
|
207
|
+
# organization UUID or `org_` ID; an ID that is not one of its child organizations
|
|
208
|
+
# matches nothing. Requires an API key created at the parent organization level.
|
|
209
|
+
# Use `group_by[]=organization_id` to break out per-organization values.
|
|
210
|
+
sig { returns(T.nilable(T::Array[String])) }
|
|
211
|
+
attr_accessor :organization_ids
|
|
212
|
+
|
|
206
213
|
# Opaque cursor from a previous response's `next_page` field.
|
|
207
214
|
sig { returns(T.nilable(String)) }
|
|
208
215
|
attr_accessor :page
|
|
@@ -358,6 +365,7 @@ module Anthropic
|
|
|
358
365
|
Anthropic::Beta::Organization::BetaAnalyticsUsageCostSortOrder::OrSymbol,
|
|
359
366
|
order_by:
|
|
360
367
|
Anthropic::Beta::Organization::Analytics::BetaAnalyticsUsageOrderBy::OrSymbol,
|
|
368
|
+
organization_ids: T.nilable(T::Array[String]),
|
|
361
369
|
page: T.nilable(String),
|
|
362
370
|
products:
|
|
363
371
|
T.nilable(
|
|
@@ -468,6 +476,11 @@ module Anthropic
|
|
|
468
476
|
# with `time_bucket_width`; without it, `time` is the same as `total_tokens`.
|
|
469
477
|
# Defaults to `total_tokens`.
|
|
470
478
|
order_by: nil,
|
|
479
|
+
# Filter a parent organization's report to specific child organizations, by
|
|
480
|
+
# organization UUID or `org_` ID; an ID that is not one of its child organizations
|
|
481
|
+
# matches nothing. Requires an API key created at the parent organization level.
|
|
482
|
+
# Use `group_by[]=organization_id` to break out per-organization values.
|
|
483
|
+
organization_ids: nil,
|
|
471
484
|
# Opaque cursor from a previous response's `next_page` field.
|
|
472
485
|
page: nil,
|
|
473
486
|
# Product surfaces to include. Defaults to all products.
|
|
@@ -562,6 +575,7 @@ module Anthropic
|
|
|
562
575
|
Anthropic::Beta::Organization::BetaAnalyticsUsageCostSortOrder::OrSymbol,
|
|
563
576
|
order_by:
|
|
564
577
|
Anthropic::Beta::Organization::Analytics::BetaAnalyticsUsageOrderBy::OrSymbol,
|
|
578
|
+
organization_ids: T.nilable(T::Array[String]),
|
|
565
579
|
page: T.nilable(String),
|
|
566
580
|
products:
|
|
567
581
|
T.nilable(
|
|
@@ -4,8 +4,8 @@ module Anthropic
|
|
|
4
4
|
module Models
|
|
5
5
|
module Beta
|
|
6
6
|
module Organization
|
|
7
|
-
#
|
|
8
|
-
#
|
|
7
|
+
# The member has the `managed` role, and this API key or token cannot sign them
|
|
8
|
+
# out. The error message says which keys and tokens can.
|
|
9
9
|
class BetaCannotSignOutManagedMemberError < Anthropic::Errors::PermissionDeniedError
|
|
10
10
|
sig { returns(Symbol) }
|
|
11
11
|
def error_code
|
data/rbi/anthropic/models/beta/organization/beta_cannot_sign_out_managed_member_error_details.rbi
CHANGED
|
@@ -16,8 +16,8 @@ module Anthropic
|
|
|
16
16
|
sig { returns(Symbol) }
|
|
17
17
|
attr_accessor :error_code
|
|
18
18
|
|
|
19
|
-
#
|
|
20
|
-
#
|
|
19
|
+
# The member has the `managed` role, and this API key or token cannot sign them
|
|
20
|
+
# out. The error message says which keys and tokens can.
|
|
21
21
|
sig { params(error_code: Symbol).returns(T.attached_class) }
|
|
22
22
|
def self.new(error_code: :cannot_sign_out_managed_member)
|
|
23
23
|
end
|
|
@@ -157,6 +157,11 @@ module Anthropic
|
|
|
157
157
|
:"user_profile.enforcement_action_resolved",
|
|
158
158
|
Anthropic::Beta::Organization::BetaNewOrganizationWebhookEndpoint::EnabledEvent::TaggedSymbol
|
|
159
159
|
)
|
|
160
|
+
USER_PROFILE_PROGRAM_STATUS_UPDATED =
|
|
161
|
+
T.let(
|
|
162
|
+
:"user_profile.program_status_updated",
|
|
163
|
+
Anthropic::Beta::Organization::BetaNewOrganizationWebhookEndpoint::EnabledEvent::TaggedSymbol
|
|
164
|
+
)
|
|
160
165
|
|
|
161
166
|
sig do
|
|
162
167
|
override.returns(
|
|
@@ -146,6 +146,11 @@ module Anthropic
|
|
|
146
146
|
:"user_profile.enforcement_action_resolved",
|
|
147
147
|
Anthropic::Beta::Organization::BetaOrganizationWebhookEndpoint::EnabledEvent::TaggedSymbol
|
|
148
148
|
)
|
|
149
|
+
USER_PROFILE_PROGRAM_STATUS_UPDATED =
|
|
150
|
+
T.let(
|
|
151
|
+
:"user_profile.program_status_updated",
|
|
152
|
+
Anthropic::Beta::Organization::BetaOrganizationWebhookEndpoint::EnabledEvent::TaggedSymbol
|
|
153
|
+
)
|
|
149
154
|
|
|
150
155
|
sig do
|
|
151
156
|
override.returns(
|
|
@@ -133,6 +133,11 @@ module Anthropic
|
|
|
133
133
|
:"user_profile.enforcement_action_resolved",
|
|
134
134
|
Anthropic::Beta::Organization::WebhookCreateParams::EnabledEvent::TaggedSymbol
|
|
135
135
|
)
|
|
136
|
+
USER_PROFILE_PROGRAM_STATUS_UPDATED =
|
|
137
|
+
T.let(
|
|
138
|
+
:"user_profile.program_status_updated",
|
|
139
|
+
Anthropic::Beta::Organization::WebhookCreateParams::EnabledEvent::TaggedSymbol
|
|
140
|
+
)
|
|
136
141
|
|
|
137
142
|
sig do
|
|
138
143
|
override.returns(
|
|
@@ -186,6 +186,11 @@ module Anthropic
|
|
|
186
186
|
:"user_profile.enforcement_action_resolved",
|
|
187
187
|
Anthropic::Beta::Organization::WebhookUpdateParams::EnabledEvent::TaggedSymbol
|
|
188
188
|
)
|
|
189
|
+
USER_PROFILE_PROGRAM_STATUS_UPDATED =
|
|
190
|
+
T.let(
|
|
191
|
+
:"user_profile.program_status_updated",
|
|
192
|
+
Anthropic::Beta::Organization::WebhookUpdateParams::EnabledEvent::TaggedSymbol
|
|
193
|
+
)
|
|
189
194
|
|
|
190
195
|
sig do
|
|
191
196
|
override.returns(
|
|
@@ -43,6 +43,7 @@ module Anthropic
|
|
|
43
43
|
Anthropic::CMEKContextUnavailableErrorDetails,
|
|
44
44
|
Anthropic::Organization::OrgAPIKeyLimitExceededErrorDetails,
|
|
45
45
|
Anthropic::Organization::WorkspaceAPIKeyLimitExceededErrorDetails,
|
|
46
|
+
Anthropic::SandboxEgressRestrictedErrorDetails,
|
|
46
47
|
Anthropic::UserProfileNotFoundErrorDetails,
|
|
47
48
|
Anthropic::Organization::ExternalKeyInWorkspacePolicyErrorDetails,
|
|
48
49
|
Anthropic::Organization::AlreadyMemberErrorDetails,
|
|
@@ -74,7 +75,6 @@ module Anthropic
|
|
|
74
75
|
Anthropic::Beta::Organization::BetaCannotSignOutMembershipAdminErrorDetails,
|
|
75
76
|
Anthropic::Beta::Organization::BetaCannotSignOutOwnerErrorDetails,
|
|
76
77
|
Anthropic::Beta::Organization::BetaCannotSignOutPrivilegedMemberErrorDetails,
|
|
77
|
-
Anthropic::Beta::BetaBillingFrozenErrorDetails,
|
|
78
78
|
Anthropic::Beta::Organization::BetaSpendLimitsAdminAPIWritesNotEnabledErrorDetails,
|
|
79
79
|
Anthropic::BetaUnsupportedCharsetErrorDetails,
|
|
80
80
|
Anthropic::Beta::Organization::BetaPluginNameTakenErrorDetails,
|
|
@@ -272,6 +272,11 @@ module Anthropic
|
|
|
272
272
|
:workspace_api_key_limit_exceeded,
|
|
273
273
|
Anthropic::ErrorDetails::ErrorCode::TaggedSymbol
|
|
274
274
|
)
|
|
275
|
+
SANDBOX_EGRESS_RESTRICTED =
|
|
276
|
+
T.let(
|
|
277
|
+
:sandbox_egress_restricted,
|
|
278
|
+
Anthropic::ErrorDetails::ErrorCode::TaggedSymbol
|
|
279
|
+
)
|
|
275
280
|
USER_PROFILE_NOT_FOUND =
|
|
276
281
|
T.let(
|
|
277
282
|
:user_profile_not_found,
|
|
@@ -427,11 +432,6 @@ module Anthropic
|
|
|
427
432
|
:cannot_sign_out_privileged_member,
|
|
428
433
|
Anthropic::ErrorDetails::ErrorCode::TaggedSymbol
|
|
429
434
|
)
|
|
430
|
-
BILLING_FROZEN =
|
|
431
|
-
T.let(
|
|
432
|
-
:billing_frozen,
|
|
433
|
-
Anthropic::ErrorDetails::ErrorCode::TaggedSymbol
|
|
434
|
-
)
|
|
435
435
|
SPEND_LIMITS_ADMIN_API_WRITES_NOT_ENABLED =
|
|
436
436
|
T.let(
|
|
437
437
|
:spend_limits_admin_api_writes_not_enabled,
|
|
@@ -18,6 +18,14 @@ module Anthropic
|
|
|
18
18
|
TaggedSymbol = T.type_alias { T.all(Symbol, Anthropic::Model) }
|
|
19
19
|
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
20
20
|
|
|
21
|
+
# Frontier intelligence for ambitious work in coding, enterprise workflows, and the sciences
|
|
22
|
+
CLAUDE_FABLE_5_2 =
|
|
23
|
+
T.let(:"claude-fable-5-2", Anthropic::Model::TaggedSymbol)
|
|
24
|
+
|
|
25
|
+
# Frontier intelligence for cybersecurity and life sciences research, available through verification programs
|
|
26
|
+
CLAUDE_MYTHOS_5_2 =
|
|
27
|
+
T.let(:"claude-mythos-5-2", Anthropic::Model::TaggedSymbol)
|
|
28
|
+
|
|
21
29
|
# Fastest model for high-volume, real-time tasks
|
|
22
30
|
CLAUDE_HAIKU_5_5 =
|
|
23
31
|
T.let(:"claude-haiku-5-5", Anthropic::Model::TaggedSymbol)
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
# The request came from a Claude sandbox with restricted network access, which is
|
|
6
|
+
# not allowed to make this change. Send it from outside the sandbox, or from a
|
|
7
|
+
# sandbox with unrestricted network access.
|
|
8
|
+
class SandboxEgressRestrictedError < Anthropic::Errors::PermissionDeniedError
|
|
9
|
+
sig { returns(Symbol) }
|
|
10
|
+
def error_code
|
|
11
|
+
end
|
|
12
|
+
|
|
13
|
+
sig { returns(Anthropic::SandboxEgressRestrictedErrorDetails) }
|
|
14
|
+
def details
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
class SandboxEgressRestrictedErrorDetails < Anthropic::Internal::Type::BaseModel
|
|
6
|
+
OrHash =
|
|
7
|
+
T.type_alias do
|
|
8
|
+
T.any(
|
|
9
|
+
Anthropic::SandboxEgressRestrictedErrorDetails,
|
|
10
|
+
Anthropic::Internal::AnyHash
|
|
11
|
+
)
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
sig { returns(Symbol) }
|
|
15
|
+
attr_accessor :error_code
|
|
16
|
+
|
|
17
|
+
# The request came from a Claude sandbox with restricted network access, which is
|
|
18
|
+
# not allowed to make this change. Send it from outside the sandbox, or from a
|
|
19
|
+
# sandbox with unrestricted network access.
|
|
20
|
+
sig { params(error_code: Symbol).returns(T.attached_class) }
|
|
21
|
+
def self.new(error_code: :sandbox_egress_restricted)
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
sig { override.returns({ error_code: Symbol }) }
|
|
25
|
+
def to_hash
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
data/rbi/anthropic/models.rbi
CHANGED
|
@@ -832,6 +832,11 @@ module Anthropic
|
|
|
832
832
|
RequestBodyTooLargeAfterDecodingErrorDetails =
|
|
833
833
|
Anthropic::Models::RequestBodyTooLargeAfterDecodingErrorDetails
|
|
834
834
|
|
|
835
|
+
SandboxEgressRestrictedError = Anthropic::Models::SandboxEgressRestrictedError
|
|
836
|
+
|
|
837
|
+
SandboxEgressRestrictedErrorDetails =
|
|
838
|
+
Anthropic::Models::SandboxEgressRestrictedErrorDetails
|
|
839
|
+
|
|
835
840
|
SearchResultBlockParam = Anthropic::Models::SearchResultBlockParam
|
|
836
841
|
|
|
837
842
|
ServerToolCaller = Anthropic::Models::ServerToolCaller
|
|
@@ -167,7 +167,8 @@ module Anthropic
|
|
|
167
167
|
# concurrency). Use literal 'NO_HEARTBEAT' to claim an unclaimed lease (first
|
|
168
168
|
# heartbeat). For subsequent heartbeats, echo the server's previous last_heartbeat
|
|
169
169
|
# value exactly. Returns 412 Precondition Failed if the actual value doesn't
|
|
170
|
-
# match.
|
|
170
|
+
# match. The server does not compare the value when the work item is 'stopping' or
|
|
171
|
+
# 'stopped'.
|
|
171
172
|
expected_last_heartbeat: nil,
|
|
172
173
|
# Header param: Optional header to specify the beta version(s) you want to use.
|
|
173
174
|
betas: nil,
|
|
@@ -61,6 +61,7 @@ module Anthropic
|
|
|
61
61
|
Anthropic::Beta::Organization::BetaAnalyticsUsageCostSortOrder::OrSymbol,
|
|
62
62
|
order_by:
|
|
63
63
|
Anthropic::Beta::Organization::Analytics::BetaAnalyticsCostOrderBy::OrSymbol,
|
|
64
|
+
organization_ids: T.nilable(T::Array[String]),
|
|
64
65
|
page: T.nilable(String),
|
|
65
66
|
products:
|
|
66
67
|
T.nilable(
|
|
@@ -183,6 +184,12 @@ module Anthropic
|
|
|
183
184
|
# effect only with `time_bucket_width`; without it, `time` is the same as
|
|
184
185
|
# `amount`. Defaults to `amount`.
|
|
185
186
|
order_by: nil,
|
|
187
|
+
# Query param: Filter a parent organization's report to specific child
|
|
188
|
+
# organizations, by organization UUID or `org_` ID; an ID that is not one of its
|
|
189
|
+
# child organizations matches nothing. Requires an API key created at the parent
|
|
190
|
+
# organization level. Use `group_by[]=organization_id` to break out
|
|
191
|
+
# per-organization values.
|
|
192
|
+
organization_ids: nil,
|
|
186
193
|
# Query param: Opaque cursor from a previous response's `next_page` field.
|
|
187
194
|
page: nil,
|
|
188
195
|
# Query param: Product surfaces to include. Defaults to all products.
|
|
@@ -62,6 +62,7 @@ module Anthropic
|
|
|
62
62
|
Anthropic::Beta::Organization::BetaAnalyticsUsageCostSortOrder::OrSymbol,
|
|
63
63
|
order_by:
|
|
64
64
|
Anthropic::Beta::Organization::Analytics::BetaAnalyticsUsageOrderBy::OrSymbol,
|
|
65
|
+
organization_ids: T.nilable(T::Array[String]),
|
|
65
66
|
page: T.nilable(String),
|
|
66
67
|
products:
|
|
67
68
|
T.nilable(
|
|
@@ -178,6 +179,12 @@ module Anthropic
|
|
|
178
179
|
# takes effect only with `time_bucket_width`; without it, `time` is the same as
|
|
179
180
|
# `total_tokens`. Defaults to `total_tokens`.
|
|
180
181
|
order_by: nil,
|
|
182
|
+
# Query param: Filter a parent organization's report to specific child
|
|
183
|
+
# organizations, by organization UUID or `org_` ID; an ID that is not one of its
|
|
184
|
+
# child organizations matches nothing. Requires an API key created at the parent
|
|
185
|
+
# organization level. Use `group_by[]=organization_id` to break out
|
|
186
|
+
# per-organization values.
|
|
187
|
+
organization_ids: nil,
|
|
181
188
|
# Query param: Opaque cursor from a previous response's `next_page` field.
|
|
182
189
|
page: nil,
|
|
183
190
|
# Query param: Product surfaces to include. Defaults to all products.
|
|
@@ -118,10 +118,10 @@ module Anthropic
|
|
|
118
118
|
#
|
|
119
119
|
# Every request must include the beta header
|
|
120
120
|
# `anthropic-beta: admin-user-sign-out-2026-10-08`. A request without it returns
|
|
121
|
-
# `400`. Sign-out is in beta
|
|
122
|
-
#
|
|
123
|
-
#
|
|
124
|
-
# needs the `write:members` scope; a key without it gets `403`.
|
|
121
|
+
# `400`. Sign-out is in beta for Claude Enterprise organizations. In an
|
|
122
|
+
# organization where it is not enabled, a request returns `400` with `error_code`
|
|
123
|
+
# `organization_not_enrolled_in_beta`. In a Claude Enterprise organization, an API
|
|
124
|
+
# key needs the `write:members` scope; a key without it gets `403`.
|
|
125
125
|
sig do
|
|
126
126
|
params(
|
|
127
127
|
user_id: String,
|
|
@@ -4,7 +4,8 @@ module Anthropic
|
|
|
4
4
|
|
|
5
5
|
module Beta
|
|
6
6
|
type beta_managed_agents_model =
|
|
7
|
-
:"claude-
|
|
7
|
+
:"claude-fable-5-2"
|
|
8
|
+
| :"claude-haiku-5-5"
|
|
8
9
|
| :"claude-sonnet-5-5"
|
|
9
10
|
| :"claude-opus-5-5"
|
|
10
11
|
| :"claude-fable-5-1"
|
|
@@ -28,6 +29,9 @@ module Anthropic
|
|
|
28
29
|
|
|
29
30
|
def self?.variants: -> ::Array[Anthropic::Models::Beta::beta_managed_agents_model]
|
|
30
31
|
|
|
32
|
+
# Frontier intelligence for ambitious work in coding, enterprise workflows, and the sciences
|
|
33
|
+
CLAUDE_FABLE_5_2: :"claude-fable-5-2"
|
|
34
|
+
|
|
31
35
|
# Fastest model for high-volume, real-time tasks
|
|
32
36
|
CLAUDE_HAIKU_5_5: :"claude-haiku-5-5"
|
|
33
37
|
|
|
@@ -50,6 +50,7 @@ module Anthropic
|
|
|
50
50
|
| Anthropic::Beta::BetaWebhookSessionBudgetReachedEventData
|
|
51
51
|
| Anthropic::Beta::BetaWebhookUserProfileEnforcementActionOpenedEventData
|
|
52
52
|
| Anthropic::Beta::BetaWebhookUserProfileEnforcementActionResolvedEventData
|
|
53
|
+
| Anthropic::Beta::BetaWebhookUserProfileProgramStatusUpdatedEventData
|
|
53
54
|
|
|
54
55
|
module BetaWebhookEventData
|
|
55
56
|
extend Anthropic::Internal::Type::Union
|
|
@@ -101,6 +102,7 @@ module Anthropic
|
|
|
101
102
|
| :"session.budget_reached"
|
|
102
103
|
| :"user_profile.enforcement_action_opened"
|
|
103
104
|
| :"user_profile.enforcement_action_resolved"
|
|
105
|
+
| :"user_profile.program_status_updated"
|
|
104
106
|
|
|
105
107
|
module Type
|
|
106
108
|
extend Anthropic::Internal::Type::Enum
|
|
@@ -151,6 +153,7 @@ module Anthropic
|
|
|
151
153
|
SESSION_BUDGET_REACHED: :"session.budget_reached"
|
|
152
154
|
USER_PROFILE_ENFORCEMENT_ACTION_OPENED: :"user_profile.enforcement_action_opened"
|
|
153
155
|
USER_PROFILE_ENFORCEMENT_ACTION_RESOLVED: :"user_profile.enforcement_action_resolved"
|
|
156
|
+
USER_PROFILE_PROGRAM_STATUS_UPDATED: :"user_profile.program_status_updated"
|
|
154
157
|
|
|
155
158
|
def self?.values: -> ::Array[Anthropic::Models::Beta::BetaWebhookEventData::type_]
|
|
156
159
|
end
|
|
@@ -445,6 +448,12 @@ module Anthropic
|
|
|
445
448
|
enforcement_action_id: String,
|
|
446
449
|
organization_id: String
|
|
447
450
|
) -> Anthropic::Beta::BetaWebhookUserProfileEnforcementActionResolvedEventData
|
|
451
|
+
| (
|
|
452
|
+
type: :"user_profile.program_status_updated"
|
|
453
|
+
| "user_profile.program_status_updated",
|
|
454
|
+
id: String,
|
|
455
|
+
organization_id: String
|
|
456
|
+
) -> Anthropic::Beta::BetaWebhookUserProfileProgramStatusUpdatedEventData
|
|
448
457
|
| (
|
|
449
458
|
type: Anthropic::Models::Beta::BetaWebhookEventData::type_ | String,
|
|
450
459
|
id: String,
|
data/sig/anthropic/models/beta/beta_webhook_user_profile_program_status_updated_event_data.rbs
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
class BetaWebhookUserProfileProgramStatusUpdatedEventData = Beta::BetaWebhookUserProfileProgramStatusUpdatedEventData
|
|
4
|
+
|
|
5
|
+
module Beta
|
|
6
|
+
type beta_webhook_user_profile_program_status_updated_event_data =
|
|
7
|
+
{
|
|
8
|
+
id: String,
|
|
9
|
+
organization_id: String,
|
|
10
|
+
type: :"user_profile.program_status_updated"
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
class BetaWebhookUserProfileProgramStatusUpdatedEventData < Anthropic::Internal::Type::BaseModel
|
|
14
|
+
attr_accessor id: String
|
|
15
|
+
|
|
16
|
+
attr_accessor organization_id: String
|
|
17
|
+
|
|
18
|
+
attr_accessor type: :"user_profile.program_status_updated"
|
|
19
|
+
|
|
20
|
+
def initialize: (
|
|
21
|
+
id: String,
|
|
22
|
+
organization_id: String,
|
|
23
|
+
?type: :"user_profile.program_status_updated"
|
|
24
|
+
) -> void
|
|
25
|
+
|
|
26
|
+
def to_hash: -> {
|
|
27
|
+
id: String,
|
|
28
|
+
organization_id: String,
|
|
29
|
+
type: :"user_profile.program_status_updated"
|
|
30
|
+
}
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
@@ -17,6 +17,7 @@ module Anthropic
|
|
|
17
17
|
environment_id: String?,
|
|
18
18
|
inference_geo: Anthropic::Models::Beta::Organization::beta_analytics_usage_cost_inference_geo?,
|
|
19
19
|
model: String?,
|
|
20
|
+
organization_id: String?,
|
|
20
21
|
product: String?,
|
|
21
22
|
rbac_group_id: String?,
|
|
22
23
|
service_tier: Anthropic::Models::Beta::Organization::beta_analytics_service_tier?,
|
|
@@ -53,6 +54,8 @@ module Anthropic
|
|
|
53
54
|
|
|
54
55
|
attr_accessor model: String?
|
|
55
56
|
|
|
57
|
+
attr_accessor organization_id: String?
|
|
58
|
+
|
|
56
59
|
attr_accessor product: String?
|
|
57
60
|
|
|
58
61
|
attr_accessor rbac_group_id: String?
|
|
@@ -84,6 +87,7 @@ module Anthropic
|
|
|
84
87
|
environment_id: String?,
|
|
85
88
|
inference_geo: Anthropic::Models::Beta::Organization::beta_analytics_usage_cost_inference_geo?,
|
|
86
89
|
model: String?,
|
|
90
|
+
organization_id: String?,
|
|
87
91
|
product: String?,
|
|
88
92
|
rbac_group_id: String?,
|
|
89
93
|
service_tier: Anthropic::Models::Beta::Organization::beta_analytics_service_tier?,
|
|
@@ -108,6 +112,7 @@ module Anthropic
|
|
|
108
112
|
environment_id: String?,
|
|
109
113
|
inference_geo: Anthropic::Models::Beta::Organization::beta_analytics_usage_cost_inference_geo?,
|
|
110
114
|
model: String?,
|
|
115
|
+
organization_id: String?,
|
|
111
116
|
product: String?,
|
|
112
117
|
rbac_group_id: String?,
|
|
113
118
|
service_tier: Anthropic::Models::Beta::Organization::beta_analytics_service_tier?,
|
|
@@ -16,6 +16,7 @@ module Anthropic
|
|
|
16
16
|
| :environment_id
|
|
17
17
|
| :inference_geo
|
|
18
18
|
| :model
|
|
19
|
+
| :organization_id
|
|
19
20
|
| :product
|
|
20
21
|
| :rbac_group_id
|
|
21
22
|
| :service_tier
|
|
@@ -41,6 +42,7 @@ module Anthropic
|
|
|
41
42
|
ENVIRONMENT_ID: :environment_id
|
|
42
43
|
INFERENCE_GEO: :inference_geo
|
|
43
44
|
MODEL: :model
|
|
45
|
+
ORGANIZATION_ID: :organization_id
|
|
44
46
|
PRODUCT: :product
|
|
45
47
|
RBAC_GROUP_ID: :rbac_group_id
|
|
46
48
|
SERVICE_TIER: :service_tier
|
|
@@ -16,6 +16,7 @@ module Anthropic
|
|
|
16
16
|
environment_id: String?,
|
|
17
17
|
inference_geo: Anthropic::Models::Beta::Organization::beta_analytics_usage_cost_inference_geo?,
|
|
18
18
|
model: String?,
|
|
19
|
+
organization_id: String?,
|
|
19
20
|
product: String?,
|
|
20
21
|
rbac_group_id: String?,
|
|
21
22
|
service_tier: Anthropic::Models::Beta::Organization::beta_analytics_service_tier?,
|
|
@@ -49,6 +50,8 @@ module Anthropic
|
|
|
49
50
|
|
|
50
51
|
attr_accessor model: String?
|
|
51
52
|
|
|
53
|
+
attr_accessor organization_id: String?
|
|
54
|
+
|
|
52
55
|
attr_accessor product: String?
|
|
53
56
|
|
|
54
57
|
attr_accessor rbac_group_id: String?
|
|
@@ -77,6 +80,7 @@ module Anthropic
|
|
|
77
80
|
environment_id: String?,
|
|
78
81
|
inference_geo: Anthropic::Models::Beta::Organization::beta_analytics_usage_cost_inference_geo?,
|
|
79
82
|
model: String?,
|
|
83
|
+
organization_id: String?,
|
|
80
84
|
product: String?,
|
|
81
85
|
rbac_group_id: String?,
|
|
82
86
|
service_tier: Anthropic::Models::Beta::Organization::beta_analytics_service_tier?,
|
|
@@ -99,6 +103,7 @@ module Anthropic
|
|
|
99
103
|
environment_id: String?,
|
|
100
104
|
inference_geo: Anthropic::Models::Beta::Organization::beta_analytics_usage_cost_inference_geo?,
|
|
101
105
|
model: String?,
|
|
106
|
+
organization_id: String?,
|
|
102
107
|
product: String?,
|
|
103
108
|
rbac_group_id: String?,
|
|
104
109
|
service_tier: Anthropic::Models::Beta::Organization::beta_analytics_service_tier?,
|
|
@@ -15,6 +15,7 @@ module Anthropic
|
|
|
15
15
|
| :environment_id
|
|
16
16
|
| :inference_geo
|
|
17
17
|
| :model
|
|
18
|
+
| :organization_id
|
|
18
19
|
| :product
|
|
19
20
|
| :rbac_group_id
|
|
20
21
|
| :service_tier
|
|
@@ -38,6 +39,7 @@ module Anthropic
|
|
|
38
39
|
ENVIRONMENT_ID: :environment_id
|
|
39
40
|
INFERENCE_GEO: :inference_geo
|
|
40
41
|
MODEL: :model
|
|
42
|
+
ORGANIZATION_ID: :organization_id
|
|
41
43
|
PRODUCT: :product
|
|
42
44
|
RBAC_GROUP_ID: :rbac_group_id
|
|
43
45
|
SERVICE_TIER: :service_tier
|