anthropic 2.5.0 → 2.6.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 +27 -0
- data/README.md +1 -1
- data/lib/anthropic/error_classes.rb +10 -0
- data/lib/anthropic/errors.rb +11 -0
- data/lib/anthropic/internal/tracing.rb +1 -0
- data/lib/anthropic/models/anthropic_beta.rb +3 -0
- data/lib/anthropic/models/api_error_object.rb +9 -2
- data/lib/anthropic/models/authentication_error.rb +9 -2
- data/lib/anthropic/models/beta/beta_dreaming_error.rb +1 -1
- data/lib/anthropic/models/beta/beta_target_store_held_error.rb +1 -7
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_error.rb +3 -1
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_path_conflict_error.rb +4 -3
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_precondition_failed_error.rb +1 -3
- data/lib/anthropic/models/beta/organization/beta_cannot_sign_out_managed_member_error.rb +24 -0
- data/lib/anthropic/models/beta/organization/beta_cannot_sign_out_managed_member_error_details.rb +22 -0
- data/lib/anthropic/models/beta/organization/beta_cannot_sign_out_membership_admin_error.rb +24 -0
- data/lib/anthropic/models/beta/organization/beta_cannot_sign_out_membership_admin_error_details.rb +22 -0
- data/lib/anthropic/models/beta/organization/beta_cannot_sign_out_owner_error.rb +25 -0
- data/lib/anthropic/models/beta/organization/beta_cannot_sign_out_owner_error_details.rb +23 -0
- data/lib/anthropic/models/beta/organization/beta_cannot_sign_out_primary_owner_error.rb +24 -0
- data/lib/anthropic/models/beta/organization/beta_cannot_sign_out_primary_owner_error_details.rb +22 -0
- data/lib/anthropic/models/beta/organization/beta_cannot_sign_out_privileged_member_error.rb +24 -0
- data/lib/anthropic/models/beta/organization/beta_cannot_sign_out_privileged_member_error_details.rb +22 -0
- data/lib/anthropic/models/beta/organization/beta_cannot_sign_out_self_error.rb +23 -0
- data/lib/anthropic/models/beta/organization/beta_cannot_sign_out_self_error_details.rb +21 -0
- data/lib/anthropic/models/beta/organization/user_sign_out_params.rb +38 -0
- data/lib/anthropic/models/beta_api_error.rb +9 -2
- data/lib/anthropic/models/beta_authentication_error.rb +9 -2
- data/lib/anthropic/models/beta_billing_error.rb +9 -2
- data/lib/anthropic/models/beta_error.rb +4 -1
- data/lib/anthropic/models/beta_gateway_timeout_error.rb +9 -2
- data/lib/anthropic/models/beta_invalid_request_error.rb +9 -2
- data/lib/anthropic/models/beta_not_found_error.rb +9 -2
- data/lib/anthropic/models/beta_organization_not_enrolled_in_beta_error.rb +20 -0
- data/lib/anthropic/models/beta_organization_not_enrolled_in_beta_error_details.rb +18 -0
- data/lib/anthropic/models/beta_overloaded_error.rb +9 -2
- data/lib/anthropic/models/beta_permission_error.rb +9 -2
- data/lib/anthropic/models/beta_rate_limit_error.rb +9 -2
- data/lib/anthropic/models/billing_error.rb +9 -2
- data/lib/anthropic/models/error_details.rb +69 -2
- data/lib/anthropic/models/error_object.rb +4 -1
- data/lib/anthropic/models/gateway_timeout_error.rb +9 -2
- data/lib/anthropic/models/invalid_request_error.rb +9 -2
- data/lib/anthropic/models/not_found_error.rb +9 -2
- data/lib/anthropic/models/organization/external_key_validation_failed_error.rb +22 -0
- data/lib/anthropic/models/organization/external_key_validation_failed_error_details.rb +20 -0
- data/lib/anthropic/models/organization/external_key_validation_timed_out_error.rb +22 -0
- data/lib/anthropic/models/organization/external_key_validation_timed_out_error_details.rb +20 -0
- data/lib/anthropic/models/overloaded_error.rb +9 -2
- data/lib/anthropic/models/permission_error.rb +9 -2
- data/lib/anthropic/models/ramp_limit_exceeded_error.rb +20 -0
- data/lib/anthropic/models/ramp_limit_exceeded_error_details.rb +18 -0
- data/lib/anthropic/models/rate_limit_error.rb +9 -2
- data/lib/anthropic/models.rb +9 -0
- data/lib/anthropic/resources/beta/environments/work.rb +10 -24
- data/lib/anthropic/resources/beta/environments.rb +16 -37
- data/lib/anthropic/resources/beta/files.rb +23 -50
- data/lib/anthropic/resources/beta/messages/batches.rb +15 -35
- data/lib/anthropic/resources/beta/messages.rb +74 -139
- data/lib/anthropic/resources/beta/models.rb +4 -10
- data/lib/anthropic/resources/beta/organization/api_keys.rb +2 -2
- data/lib/anthropic/resources/beta/organization/claude_tag/bundles/targets.rb +16 -24
- data/lib/anthropic/resources/beta/organization/claude_tag/bundles.rb +8 -12
- data/lib/anthropic/resources/beta/organization/claude_tag/slack_channels.rb +28 -46
- data/lib/anthropic/resources/beta/organization/claude_tag/slack_workspaces.rb +15 -24
- data/lib/anthropic/resources/beta/organization/external_keys.rb +3 -7
- data/lib/anthropic/resources/beta/organization/invites.rb +7 -17
- data/lib/anthropic/resources/beta/organization/plugin_marketplaces.rb +1 -2
- data/lib/anthropic/resources/beta/organization/plugins/versions.rb +7 -14
- data/lib/anthropic/resources/beta/organization/plugins.rb +12 -24
- data/lib/anthropic/resources/beta/organization/rbac_groups/members.rb +4 -14
- data/lib/anthropic/resources/beta/organization/rbac_groups.rb +2 -7
- data/lib/anthropic/resources/beta/organization/spend_limits/effective.rb +1 -2
- data/lib/anthropic/resources/beta/organization/spend_limits.rb +6 -12
- data/lib/anthropic/resources/beta/organization/users.rb +65 -4
- data/lib/anthropic/resources/beta/organization/workspaces/members.rb +2 -2
- data/lib/anthropic/resources/beta/organization/workspaces.rb +12 -22
- data/lib/anthropic/resources/beta/skills/versions.rb +11 -26
- data/lib/anthropic/resources/beta/skills.rb +11 -26
- data/lib/anthropic/resources/files.rb +23 -50
- data/lib/anthropic/resources/messages/batches.rb +15 -35
- data/lib/anthropic/resources/messages.rb +74 -139
- data/lib/anthropic/resources/models.rb +4 -10
- data/lib/anthropic/resources/organization/api_keys.rb +2 -2
- data/lib/anthropic/resources/organization/external_keys.rb +3 -7
- data/lib/anthropic/resources/organization/invites.rb +7 -17
- data/lib/anthropic/resources/organization/rbac_groups/members.rb +4 -14
- data/lib/anthropic/resources/organization/rbac_groups.rb +2 -7
- data/lib/anthropic/resources/organization/spend_limits/effective.rb +1 -2
- data/lib/anthropic/resources/organization/users.rb +2 -4
- data/lib/anthropic/resources/organization/workspaces/members.rb +2 -2
- data/lib/anthropic/resources/organization/workspaces.rb +12 -22
- data/lib/anthropic/resources/skills/versions.rb +11 -26
- data/lib/anthropic/resources/skills.rb +11 -26
- data/lib/anthropic/version.rb +1 -1
- data/lib/anthropic.rb +22 -0
- data/manifest.yaml +1 -0
- data/rbi/anthropic/errors.rbi +14 -0
- data/rbi/anthropic/internal/tracing.rbi +1 -0
- data/rbi/anthropic/models/anthropic_beta.rbi +5 -0
- data/rbi/anthropic/models/api_error_object.rbi +10 -1
- data/rbi/anthropic/models/authentication_error.rbi +10 -1
- data/rbi/anthropic/models/beta/beta_dreaming_error.rbi +2 -2
- data/rbi/anthropic/models/beta/beta_target_store_held_error.rbi +1 -8
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_error.rbi +2 -1
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_memory_path_conflict_error.rbi +3 -4
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_memory_precondition_failed_error.rbi +1 -6
- data/rbi/anthropic/models/beta/organization/beta_cannot_sign_out_managed_member_error.rbi +25 -0
- data/rbi/anthropic/models/beta/organization/beta_cannot_sign_out_managed_member_error_details.rbi +32 -0
- data/rbi/anthropic/models/beta/organization/beta_cannot_sign_out_membership_admin_error.rbi +25 -0
- data/rbi/anthropic/models/beta/organization/beta_cannot_sign_out_membership_admin_error_details.rbi +32 -0
- data/rbi/anthropic/models/beta/organization/beta_cannot_sign_out_owner_error.rbi +26 -0
- data/rbi/anthropic/models/beta/organization/beta_cannot_sign_out_owner_error_details.rbi +33 -0
- data/rbi/anthropic/models/beta/organization/beta_cannot_sign_out_primary_owner_error.rbi +25 -0
- data/rbi/anthropic/models/beta/organization/beta_cannot_sign_out_primary_owner_error_details.rbi +32 -0
- data/rbi/anthropic/models/beta/organization/beta_cannot_sign_out_privileged_member_error.rbi +25 -0
- data/rbi/anthropic/models/beta/organization/beta_cannot_sign_out_privileged_member_error_details.rbi +32 -0
- data/rbi/anthropic/models/beta/organization/beta_cannot_sign_out_self_error.rbi +24 -0
- data/rbi/anthropic/models/beta/organization/beta_cannot_sign_out_self_error_details.rbi +31 -0
- data/rbi/anthropic/models/beta/organization/user_sign_out_params.rbi +75 -0
- data/rbi/anthropic/models/beta_api_error.rbi +10 -1
- data/rbi/anthropic/models/beta_authentication_error.rbi +10 -1
- data/rbi/anthropic/models/beta_billing_error.rbi +10 -1
- data/rbi/anthropic/models/beta_error.rbi +6 -1
- data/rbi/anthropic/models/beta_gateway_timeout_error.rbi +10 -1
- data/rbi/anthropic/models/beta_invalid_request_error.rbi +10 -1
- data/rbi/anthropic/models/beta_not_found_error.rbi +10 -1
- data/rbi/anthropic/models/beta_organization_not_enrolled_in_beta_error.rbi +17 -0
- data/rbi/anthropic/models/beta_organization_not_enrolled_in_beta_error_details.rbi +28 -0
- data/rbi/anthropic/models/beta_overloaded_error.rbi +10 -1
- data/rbi/anthropic/models/beta_permission_error.rbi +10 -1
- data/rbi/anthropic/models/beta_rate_limit_error.rbi +10 -1
- data/rbi/anthropic/models/billing_error.rbi +10 -1
- data/rbi/anthropic/models/error_details.rbi +60 -0
- data/rbi/anthropic/models/error_object.rbi +6 -1
- data/rbi/anthropic/models/gateway_timeout_error.rbi +10 -1
- data/rbi/anthropic/models/invalid_request_error.rbi +10 -1
- data/rbi/anthropic/models/not_found_error.rbi +10 -1
- data/rbi/anthropic/models/organization/external_key_validation_failed_error.rbi +23 -0
- data/rbi/anthropic/models/organization/external_key_validation_failed_error_details.rbi +30 -0
- data/rbi/anthropic/models/organization/external_key_validation_timed_out_error.rbi +23 -0
- data/rbi/anthropic/models/organization/external_key_validation_timed_out_error_details.rbi +30 -0
- data/rbi/anthropic/models/overloaded_error.rbi +10 -1
- data/rbi/anthropic/models/permission_error.rbi +10 -1
- data/rbi/anthropic/models/ramp_limit_exceeded_error.rbi +17 -0
- data/rbi/anthropic/models/ramp_limit_exceeded_error_details.rbi +28 -0
- data/rbi/anthropic/models/rate_limit_error.rbi +10 -1
- data/rbi/anthropic/models.rbi +11 -0
- data/rbi/anthropic/resources/beta/organization/users.rbi +43 -0
- data/sig/anthropic/errors.rbs +3 -0
- data/sig/anthropic/internal/tracing.rbs +1 -0
- data/sig/anthropic/models/anthropic_beta.rbs +2 -0
- data/sig/anthropic/models/beta/organization/beta_cannot_sign_out_managed_member_error.rbs +13 -0
- data/sig/anthropic/models/beta/organization/beta_cannot_sign_out_managed_member_error_details.rbs +18 -0
- data/sig/anthropic/models/beta/organization/beta_cannot_sign_out_membership_admin_error.rbs +13 -0
- data/sig/anthropic/models/beta/organization/beta_cannot_sign_out_membership_admin_error_details.rbs +20 -0
- data/sig/anthropic/models/beta/organization/beta_cannot_sign_out_owner_error.rbs +13 -0
- data/sig/anthropic/models/beta/organization/beta_cannot_sign_out_owner_error_details.rbs +18 -0
- data/sig/anthropic/models/beta/organization/beta_cannot_sign_out_primary_owner_error.rbs +13 -0
- data/sig/anthropic/models/beta/organization/beta_cannot_sign_out_primary_owner_error_details.rbs +18 -0
- data/sig/anthropic/models/beta/organization/beta_cannot_sign_out_privileged_member_error.rbs +13 -0
- data/sig/anthropic/models/beta/organization/beta_cannot_sign_out_privileged_member_error_details.rbs +20 -0
- data/sig/anthropic/models/beta/organization/beta_cannot_sign_out_self_error.rbs +13 -0
- data/sig/anthropic/models/beta/organization/beta_cannot_sign_out_self_error_details.rbs +18 -0
- data/sig/anthropic/models/beta/organization/user_sign_out_params.rbs +36 -0
- data/sig/anthropic/models/beta_organization_not_enrolled_in_beta_error.rbs +9 -0
- data/sig/anthropic/models/beta_organization_not_enrolled_in_beta_error_details.rbs +14 -0
- data/sig/anthropic/models/error_details.rbs +67 -0
- data/sig/anthropic/models/organization/external_key_validation_failed_error.rbs +11 -0
- data/sig/anthropic/models/organization/external_key_validation_failed_error_details.rbs +16 -0
- data/sig/anthropic/models/organization/external_key_validation_timed_out_error.rbs +11 -0
- data/sig/anthropic/models/organization/external_key_validation_timed_out_error_details.rbs +18 -0
- data/sig/anthropic/models/ramp_limit_exceeded_error.rbs +9 -0
- data/sig/anthropic/models/ramp_limit_exceeded_error_details.rbs +14 -0
- data/sig/anthropic/models.rbs +8 -0
- data/sig/anthropic/resources/beta/organization/users.rbs +6 -0
- metadata +65 -2
|
@@ -25,23 +25,13 @@ module Anthropic
|
|
|
25
25
|
#
|
|
26
26
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
27
27
|
#
|
|
28
|
-
# @raise [Anthropic::Models::Organization::AlreadyMemberError]
|
|
29
|
-
#
|
|
30
|
-
# @raise [Anthropic::Models::Organization::
|
|
31
|
-
#
|
|
32
|
-
# @raise [Anthropic::Models::
|
|
33
|
-
#
|
|
34
|
-
# @raise [Anthropic::Models::Organization::
|
|
35
|
-
# invite.
|
|
36
|
-
# @raise [Anthropic::Models::OrgMemberLimitExceededError] The organization has reached the member limit that Anthropic set for it. Pending
|
|
37
|
-
# invites count toward the limit.
|
|
38
|
-
# @raise [Anthropic::Models::Organization::RBACGroupGrantsOwnerAccessError] A role attached to an RBAC Group in the request grants owner access, so this API
|
|
39
|
-
# does not add members to that group (directly or through an invite), remove its
|
|
40
|
-
# members, or delete it. Make the change in the organization's admin settings in
|
|
41
|
-
# Claude.
|
|
42
|
-
# @raise [Anthropic::Models::Organization::RBACGroupOwnerAccessUnconfirmedError] The API could not finish checking whether an RBAC Group in the request grants
|
|
43
|
-
# owner access, so it made no change. Retrying the same request will not help.
|
|
44
|
-
# Make the change in the organization's admin settings in Claude.
|
|
28
|
+
# @raise [Anthropic::Models::Organization::AlreadyMemberError]
|
|
29
|
+
# @raise [Anthropic::Models::Organization::CannotInviteEmailsWithUnverifiedDomainsError]
|
|
30
|
+
# @raise [Anthropic::Models::Organization::EmailDomainNotAllowedError]
|
|
31
|
+
# @raise [Anthropic::Models::Organization::InviteAlreadyExistsError]
|
|
32
|
+
# @raise [Anthropic::Models::OrgMemberLimitExceededError]
|
|
33
|
+
# @raise [Anthropic::Models::Organization::RBACGroupGrantsOwnerAccessError]
|
|
34
|
+
# @raise [Anthropic::Models::Organization::RBACGroupOwnerAccessUnconfirmedError]
|
|
45
35
|
#
|
|
46
36
|
# @return [Anthropic::Models::Beta::Organization::BetaOrganizationInvite]
|
|
47
37
|
#
|
|
@@ -210,8 +210,7 @@ module Anthropic
|
|
|
210
210
|
#
|
|
211
211
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
212
212
|
#
|
|
213
|
-
# @raise [Anthropic::Models::BetaUnsupportedCharsetError]
|
|
214
|
-
# or US-ASCII. Send the request with no charset, or with one of these.
|
|
213
|
+
# @raise [Anthropic::Models::BetaUnsupportedCharsetError]
|
|
215
214
|
#
|
|
216
215
|
# @return [Anthropic::Models::Beta::Organization::BetaPluginMarketplaceValidationReport]
|
|
217
216
|
#
|
|
@@ -53,16 +53,11 @@ module Anthropic
|
|
|
53
53
|
#
|
|
54
54
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
55
55
|
#
|
|
56
|
-
# @raise [Anthropic::Models::CMEKKeyDisabledError]
|
|
57
|
-
#
|
|
58
|
-
# @raise [Anthropic::Models::
|
|
59
|
-
#
|
|
60
|
-
# @raise [Anthropic::Models::
|
|
61
|
-
# or US-ASCII. Send the request with no charset, or with one of these.
|
|
62
|
-
# @raise [Anthropic::Models::Beta::Organization::BetaSkillNameTakenError] One of the Plugin's skills has the name of an organization skill. `skill_name`
|
|
63
|
-
# is that name.
|
|
64
|
-
# @raise [Anthropic::Models::Beta::Organization::BetaRegistrationPendingError] The Plugin version was stored but is not yet usable in claude.ai. `plugin_id`
|
|
65
|
-
# and `plugin_version_id` identify what was stored.
|
|
56
|
+
# @raise [Anthropic::Models::CMEKKeyDisabledError]
|
|
57
|
+
# @raise [Anthropic::Models::CMEKKeyNetworkBlockedError]
|
|
58
|
+
# @raise [Anthropic::Models::BetaUnsupportedCharsetError]
|
|
59
|
+
# @raise [Anthropic::Models::Beta::Organization::BetaSkillNameTakenError]
|
|
60
|
+
# @raise [Anthropic::Models::Beta::Organization::BetaRegistrationPendingError]
|
|
66
61
|
#
|
|
67
62
|
# @return [Anthropic::Models::Beta::Organization::Plugins::BetaPluginVersion]
|
|
68
63
|
#
|
|
@@ -250,10 +245,8 @@ module Anthropic
|
|
|
250
245
|
#
|
|
251
246
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
252
247
|
#
|
|
253
|
-
# @raise [Anthropic::Models::CMEKKeyDisabledError]
|
|
254
|
-
#
|
|
255
|
-
# @raise [Anthropic::Models::CMEKKeyNetworkBlockedError] The key management service's network access controls blocked the request to the
|
|
256
|
-
# workspace's customer-managed encryption key. The key itself may be healthy.
|
|
248
|
+
# @raise [Anthropic::Models::CMEKKeyDisabledError]
|
|
249
|
+
# @raise [Anthropic::Models::CMEKKeyNetworkBlockedError]
|
|
257
250
|
#
|
|
258
251
|
# @return [StringIO]
|
|
259
252
|
#
|
|
@@ -66,18 +66,12 @@ module Anthropic
|
|
|
66
66
|
#
|
|
67
67
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
68
68
|
#
|
|
69
|
-
# @raise [Anthropic::Models::CMEKKeyDisabledError]
|
|
70
|
-
#
|
|
71
|
-
# @raise [Anthropic::Models::
|
|
72
|
-
#
|
|
73
|
-
# @raise [Anthropic::Models::
|
|
74
|
-
#
|
|
75
|
-
# @raise [Anthropic::Models::Beta::Organization::BetaPluginNameTakenError] The marketplace already holds this name. `plugin_id` is the Plugin that holds
|
|
76
|
-
# it, and can be absent.
|
|
77
|
-
# @raise [Anthropic::Models::Beta::Organization::BetaSkillNameTakenError] One of the Plugin's skills has the name of an organization skill. `skill_name`
|
|
78
|
-
# is that name.
|
|
79
|
-
# @raise [Anthropic::Models::Beta::Organization::BetaRegistrationPendingError] The Plugin version was stored but is not yet usable in claude.ai. `plugin_id`
|
|
80
|
-
# and `plugin_version_id` identify what was stored.
|
|
69
|
+
# @raise [Anthropic::Models::CMEKKeyDisabledError]
|
|
70
|
+
# @raise [Anthropic::Models::CMEKKeyNetworkBlockedError]
|
|
71
|
+
# @raise [Anthropic::Models::BetaUnsupportedCharsetError]
|
|
72
|
+
# @raise [Anthropic::Models::Beta::Organization::BetaPluginNameTakenError]
|
|
73
|
+
# @raise [Anthropic::Models::Beta::Organization::BetaSkillNameTakenError]
|
|
74
|
+
# @raise [Anthropic::Models::Beta::Organization::BetaRegistrationPendingError]
|
|
81
75
|
#
|
|
82
76
|
# @return [Anthropic::Models::Beta::Organization::BetaPlugin]
|
|
83
77
|
#
|
|
@@ -200,16 +194,11 @@ module Anthropic
|
|
|
200
194
|
#
|
|
201
195
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
202
196
|
#
|
|
203
|
-
# @raise [Anthropic::Models::CMEKKeyDisabledError]
|
|
204
|
-
#
|
|
205
|
-
# @raise [Anthropic::Models::
|
|
206
|
-
#
|
|
207
|
-
# @raise [Anthropic::Models::Beta::Organization::
|
|
208
|
-
# be served.
|
|
209
|
-
# @raise [Anthropic::Models::Beta::Organization::BetaScanPendingError] The content scan of the version in `plugin_version_id` is still running. Retry
|
|
210
|
-
# once the scan finishes.
|
|
211
|
-
# @raise [Anthropic::Models::Beta::Organization::BetaSkillNameTakenError] One of the Plugin's skills has the name of an organization skill. `skill_name`
|
|
212
|
-
# is that name.
|
|
197
|
+
# @raise [Anthropic::Models::CMEKKeyDisabledError]
|
|
198
|
+
# @raise [Anthropic::Models::CMEKKeyNetworkBlockedError]
|
|
199
|
+
# @raise [Anthropic::Models::Beta::Organization::BetaScanFailedError]
|
|
200
|
+
# @raise [Anthropic::Models::Beta::Organization::BetaScanPendingError]
|
|
201
|
+
# @raise [Anthropic::Models::Beta::Organization::BetaSkillNameTakenError]
|
|
213
202
|
#
|
|
214
203
|
# @return [Anthropic::Models::Beta::Organization::BetaPlugin]
|
|
215
204
|
#
|
|
@@ -363,8 +352,7 @@ module Anthropic
|
|
|
363
352
|
#
|
|
364
353
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
365
354
|
#
|
|
366
|
-
# @raise [Anthropic::Models::CMEKKeyDisabledError]
|
|
367
|
-
# Re-enable the key, then retry.
|
|
355
|
+
# @raise [Anthropic::Models::CMEKKeyDisabledError]
|
|
368
356
|
#
|
|
369
357
|
# @return [Anthropic::Models::Beta::Organization::BetaDeletedPlugin]
|
|
370
358
|
#
|
|
@@ -59,13 +59,8 @@ module Anthropic
|
|
|
59
59
|
#
|
|
60
60
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
61
61
|
#
|
|
62
|
-
# @raise [Anthropic::Models::Organization::RBACGroupGrantsOwnerAccessError]
|
|
63
|
-
#
|
|
64
|
-
# members, or delete it. Make the change in the organization's admin settings in
|
|
65
|
-
# Claude.
|
|
66
|
-
# @raise [Anthropic::Models::Organization::RBACGroupOwnerAccessUnconfirmedError] The API could not finish checking whether an RBAC Group in the request grants
|
|
67
|
-
# owner access, so it made no change. Retrying the same request will not help.
|
|
68
|
-
# Make the change in the organization's admin settings in Claude.
|
|
62
|
+
# @raise [Anthropic::Models::Organization::RBACGroupGrantsOwnerAccessError]
|
|
63
|
+
# @raise [Anthropic::Models::Organization::RBACGroupOwnerAccessUnconfirmedError]
|
|
69
64
|
#
|
|
70
65
|
# @return [Anthropic::Models::Beta::Organization::RBACGroups::BetaRBACGroupMember]
|
|
71
66
|
#
|
|
@@ -100,13 +95,8 @@ module Anthropic
|
|
|
100
95
|
#
|
|
101
96
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
102
97
|
#
|
|
103
|
-
# @raise [Anthropic::Models::Organization::RBACGroupGrantsOwnerAccessError]
|
|
104
|
-
#
|
|
105
|
-
# members, or delete it. Make the change in the organization's admin settings in
|
|
106
|
-
# Claude.
|
|
107
|
-
# @raise [Anthropic::Models::Organization::RBACGroupOwnerAccessUnconfirmedError] The API could not finish checking whether an RBAC Group in the request grants
|
|
108
|
-
# owner access, so it made no change. Retrying the same request will not help.
|
|
109
|
-
# Make the change in the organization's admin settings in Claude.
|
|
98
|
+
# @raise [Anthropic::Models::Organization::RBACGroupGrantsOwnerAccessError]
|
|
99
|
+
# @raise [Anthropic::Models::Organization::RBACGroupOwnerAccessUnconfirmedError]
|
|
110
100
|
#
|
|
111
101
|
# @return [Anthropic::Models::Beta::Organization::RBACGroups::BetaDeletedRBACGroupMember]
|
|
112
102
|
#
|
|
@@ -142,13 +142,8 @@ module Anthropic
|
|
|
142
142
|
#
|
|
143
143
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
144
144
|
#
|
|
145
|
-
# @raise [Anthropic::Models::Organization::RBACGroupGrantsOwnerAccessError]
|
|
146
|
-
#
|
|
147
|
-
# members, or delete it. Make the change in the organization's admin settings in
|
|
148
|
-
# Claude.
|
|
149
|
-
# @raise [Anthropic::Models::Organization::RBACGroupOwnerAccessUnconfirmedError] The API could not finish checking whether an RBAC Group in the request grants
|
|
150
|
-
# owner access, so it made no change. Retrying the same request will not help.
|
|
151
|
-
# Make the change in the organization's admin settings in Claude.
|
|
145
|
+
# @raise [Anthropic::Models::Organization::RBACGroupGrantsOwnerAccessError]
|
|
146
|
+
# @raise [Anthropic::Models::Organization::RBACGroupOwnerAccessUnconfirmedError]
|
|
152
147
|
#
|
|
153
148
|
# @return [Anthropic::Models::Beta::Organization::BetaDeletedRBACGroup]
|
|
154
149
|
#
|
|
@@ -29,8 +29,7 @@ module Anthropic
|
|
|
29
29
|
#
|
|
30
30
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
31
31
|
#
|
|
32
|
-
# @raise [Anthropic::Models::OrganizationTypeNotSupportedError]
|
|
33
|
-
# description says which organization types it supports.
|
|
32
|
+
# @raise [Anthropic::Models::OrganizationTypeNotSupportedError]
|
|
34
33
|
#
|
|
35
34
|
# @return [Anthropic::Internal::PageCursor<Anthropic::Models::Beta::Organization::BetaSpendSummary>]
|
|
36
35
|
#
|
|
@@ -19,8 +19,7 @@ module Anthropic
|
|
|
19
19
|
#
|
|
20
20
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
21
21
|
#
|
|
22
|
-
# @raise [Anthropic::Models::Beta::Organization::BetaSpendLimitsAdminAPIWritesNotEnabledError]
|
|
23
|
-
# credential.
|
|
22
|
+
# @raise [Anthropic::Models::Beta::Organization::BetaSpendLimitsAdminAPIWritesNotEnabledError]
|
|
24
23
|
#
|
|
25
24
|
# @return [Anthropic::Models::Beta::Organization::BetaSpendLimit]
|
|
26
25
|
#
|
|
@@ -64,8 +63,7 @@ module Anthropic
|
|
|
64
63
|
#
|
|
65
64
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
66
65
|
#
|
|
67
|
-
# @raise [Anthropic::Models::OrganizationTypeNotSupportedError]
|
|
68
|
-
# description says which organization types it supports.
|
|
66
|
+
# @raise [Anthropic::Models::OrganizationTypeNotSupportedError]
|
|
69
67
|
#
|
|
70
68
|
# @return [Anthropic::Internal::PageCursor<Anthropic::Models::Beta::Organization::BetaSpendLimit>]
|
|
71
69
|
#
|
|
@@ -104,10 +102,8 @@ module Anthropic
|
|
|
104
102
|
#
|
|
105
103
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
106
104
|
#
|
|
107
|
-
# @raise [Anthropic::Models::Beta::BetaBillingFrozenError]
|
|
108
|
-
#
|
|
109
|
-
# @raise [Anthropic::Models::Beta::Organization::BetaSpendLimitsAdminAPIWritesNotEnabledError] The organization cannot retrieve, set or delete spend limits with an Admin API
|
|
110
|
-
# credential.
|
|
105
|
+
# @raise [Anthropic::Models::Beta::BetaBillingFrozenError]
|
|
106
|
+
# @raise [Anthropic::Models::Beta::Organization::BetaSpendLimitsAdminAPIWritesNotEnabledError]
|
|
111
107
|
#
|
|
112
108
|
# @return [Anthropic::Models::Beta::Organization::SpendLimitDeleteResponse]
|
|
113
109
|
#
|
|
@@ -149,10 +145,8 @@ module Anthropic
|
|
|
149
145
|
#
|
|
150
146
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
151
147
|
#
|
|
152
|
-
# @raise [Anthropic::Models::Beta::BetaBillingFrozenError]
|
|
153
|
-
#
|
|
154
|
-
# @raise [Anthropic::Models::Beta::Organization::BetaSpendLimitsAdminAPIWritesNotEnabledError] The organization cannot retrieve, set or delete spend limits with an Admin API
|
|
155
|
-
# credential.
|
|
148
|
+
# @raise [Anthropic::Models::Beta::BetaBillingFrozenError]
|
|
149
|
+
# @raise [Anthropic::Models::Beta::Organization::BetaSpendLimitsAdminAPIWritesNotEnabledError]
|
|
156
150
|
#
|
|
157
151
|
# @return [Anthropic::Models::Beta::Organization::BetaSpendLimit]
|
|
158
152
|
#
|
|
@@ -107,10 +107,8 @@ module Anthropic
|
|
|
107
107
|
#
|
|
108
108
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
109
109
|
#
|
|
110
|
-
# @raise [Anthropic::Models::Organization::CannotRemoveLastMemberError]
|
|
111
|
-
#
|
|
112
|
-
# @raise [Anthropic::Models::ConcurrentMembershipChangeError] Another change to the organization's members is in progress. Retry the request
|
|
113
|
-
# once it completes.
|
|
110
|
+
# @raise [Anthropic::Models::Organization::CannotRemoveLastMemberError]
|
|
111
|
+
# @raise [Anthropic::Models::ConcurrentMembershipChangeError]
|
|
114
112
|
#
|
|
115
113
|
# @return [Anthropic::Models::Beta::Organization::UserRemoveResponse]
|
|
116
114
|
#
|
|
@@ -128,6 +126,69 @@ module Anthropic
|
|
|
128
126
|
)
|
|
129
127
|
end
|
|
130
128
|
|
|
129
|
+
# Sign a member out of Claude everywhere, without removing them from the
|
|
130
|
+
# organization. This ends their sign-in sessions and removes their trusted devices
|
|
131
|
+
# wherever they use Claude, including other organizations and individual plans. It
|
|
132
|
+
# also ends the OAuth tokens issued to them for this organization, so apps such as
|
|
133
|
+
# Claude Code must sign in again.
|
|
134
|
+
#
|
|
135
|
+
# A token can take up to an hour to stop working, though it almost always stops at
|
|
136
|
+
# once. The member keeps their role and can sign in again right away. To keep them
|
|
137
|
+
# out, remove them from the organization or, if your organization uses single
|
|
138
|
+
# sign-on, block them in your identity provider. Signing out does not end API
|
|
139
|
+
# keys, OAuth tokens that were not issued for this organization, or the member's
|
|
140
|
+
# Claude Code cloud sessions and routines.
|
|
141
|
+
#
|
|
142
|
+
# You cannot sign out the organization's primary owner or the person your API key
|
|
143
|
+
# or token acts for, and a request to sign out another owner, a member with owner
|
|
144
|
+
# permissions, or a membership admin may be refused. A refused request returns a
|
|
145
|
+
# `400` or `403` error that says why. If the request returns `503`, send it again
|
|
146
|
+
# to finish; anything already ended stays ended.
|
|
147
|
+
#
|
|
148
|
+
# Every request must include the beta header
|
|
149
|
+
# `anthropic-beta: admin-user-sign-out-2026-10-08`. A request without it returns
|
|
150
|
+
# `400`. Sign-out is in beta. Anthropic turns it on for each organization and has
|
|
151
|
+
# turned it on for every Claude Enterprise organization; until yours is on,
|
|
152
|
+
# requests also return `400`. In a Claude Enterprise organization, an API key
|
|
153
|
+
# needs the `write:members` scope; a key without it gets `403`.
|
|
154
|
+
#
|
|
155
|
+
# Some parameter documentations has been truncated, see
|
|
156
|
+
# {Anthropic::Models::Beta::Organization::UserSignOutParams} for more details.
|
|
157
|
+
#
|
|
158
|
+
# @overload sign_out(user_id, betas: nil, request_options: {})
|
|
159
|
+
#
|
|
160
|
+
# @param user_id [String] ID of the User.
|
|
161
|
+
#
|
|
162
|
+
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] This endpoint is in beta: requests must send `admin-user-sign-out-2026-10-08` in
|
|
163
|
+
#
|
|
164
|
+
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
165
|
+
#
|
|
166
|
+
# @raise [Anthropic::Models::Beta::Organization::BetaCannotSignOutPrimaryOwnerError]
|
|
167
|
+
# @raise [Anthropic::Models::Beta::Organization::BetaCannotSignOutSelfError]
|
|
168
|
+
# @raise [Anthropic::Models::BetaOrganizationNotEnrolledInBetaError]
|
|
169
|
+
# @raise [Anthropic::Models::Beta::Organization::BetaCannotSignOutManagedMemberError]
|
|
170
|
+
# @raise [Anthropic::Models::Beta::Organization::BetaCannotSignOutMembershipAdminError]
|
|
171
|
+
# @raise [Anthropic::Models::Beta::Organization::BetaCannotSignOutOwnerError]
|
|
172
|
+
# @raise [Anthropic::Models::Beta::Organization::BetaCannotSignOutPrivilegedMemberError]
|
|
173
|
+
#
|
|
174
|
+
# @return [Anthropic::Models::Beta::Organization::BetaOrganizationUser]
|
|
175
|
+
#
|
|
176
|
+
# @see Anthropic::Models::Beta::Organization::UserSignOutParams
|
|
177
|
+
def sign_out(user_id, params = {})
|
|
178
|
+
parsed, options = Anthropic::Beta::Organization::UserSignOutParams.dump_request(params)
|
|
179
|
+
@client.request(
|
|
180
|
+
qualifiers: {beta: "true"},
|
|
181
|
+
span_name: Anthropic::Internal::Tracing::SpanName::ORGANIZATION_USERS_SIGN_OUT,
|
|
182
|
+
span_attributes: {"anthropic.organization.user.id" => user_id},
|
|
183
|
+
span_route: "/v1/organizations/users/{user_id}/sign_out",
|
|
184
|
+
method: :post,
|
|
185
|
+
path: ["v1/organizations/users/%1$s/sign_out", user_id],
|
|
186
|
+
headers: parsed.transform_keys(betas: "anthropic-beta"),
|
|
187
|
+
model: Anthropic::Beta::Organization::BetaOrganizationUser,
|
|
188
|
+
options: {extra_headers: {"anthropic-beta" => "admin-user-sign-out-2026-10-08"}, **options}
|
|
189
|
+
)
|
|
190
|
+
end
|
|
191
|
+
|
|
131
192
|
# @api private
|
|
132
193
|
#
|
|
133
194
|
# @param client [Anthropic::Client]
|
|
@@ -52,7 +52,7 @@ module Anthropic
|
|
|
52
52
|
#
|
|
53
53
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
54
54
|
#
|
|
55
|
-
# @raise [Anthropic::Models::Organization::WorkspaceMemberLimitExceededError]
|
|
55
|
+
# @raise [Anthropic::Models::Organization::WorkspaceMemberLimitExceededError]
|
|
56
56
|
#
|
|
57
57
|
# @return [Anthropic::Models::Beta::Organization::BetaWorkspaceMember]
|
|
58
58
|
#
|
|
@@ -130,7 +130,7 @@ module Anthropic
|
|
|
130
130
|
#
|
|
131
131
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
132
132
|
#
|
|
133
|
-
# @raise [Anthropic::Models::Organization::WorkspaceMemberLimitExceededError]
|
|
133
|
+
# @raise [Anthropic::Models::Organization::WorkspaceMemberLimitExceededError]
|
|
134
134
|
#
|
|
135
135
|
# @return [Anthropic::Models::Beta::Organization::BetaWorkspaceMember]
|
|
136
136
|
#
|
|
@@ -37,17 +37,12 @@ module Anthropic
|
|
|
37
37
|
#
|
|
38
38
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
39
39
|
#
|
|
40
|
-
# @raise [Anthropic::Models::Organization::
|
|
41
|
-
#
|
|
42
|
-
#
|
|
43
|
-
# @raise [Anthropic::Models::UserProfileNotFoundError]
|
|
44
|
-
#
|
|
45
|
-
#
|
|
46
|
-
# @raise [Anthropic::Models::Organization::WorkspacePolicyViolationError] The request breaks the organization's Workspace Policy. The message says which
|
|
47
|
-
# rule it broke; an organization admin can see and change the policy in the
|
|
48
|
-
# Console.
|
|
49
|
-
# @raise [Anthropic::Models::Organization::ExternalKeyChangedError] The external key changed while the request was validating it. Send the request
|
|
50
|
-
# again.
|
|
40
|
+
# @raise [Anthropic::Models::Organization::ExternalKeyValidationFailedError]
|
|
41
|
+
# @raise [Anthropic::Models::Organization::ExternalKeyValidationTimedOutError]
|
|
42
|
+
# @raise [Anthropic::Models::Organization::KeyProfileMismatchError]
|
|
43
|
+
# @raise [Anthropic::Models::UserProfileNotFoundError]
|
|
44
|
+
# @raise [Anthropic::Models::Organization::WorkspacePolicyViolationError]
|
|
45
|
+
# @raise [Anthropic::Models::Organization::ExternalKeyChangedError]
|
|
51
46
|
#
|
|
52
47
|
# @return [Anthropic::Models::Beta::Organization::BetaWorkspace]
|
|
53
48
|
#
|
|
@@ -116,17 +111,12 @@ module Anthropic
|
|
|
116
111
|
#
|
|
117
112
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
118
113
|
#
|
|
119
|
-
# @raise [Anthropic::Models::Organization::
|
|
120
|
-
#
|
|
121
|
-
#
|
|
122
|
-
# @raise [Anthropic::Models::UserProfileNotFoundError]
|
|
123
|
-
#
|
|
124
|
-
#
|
|
125
|
-
# @raise [Anthropic::Models::Organization::WorkspacePolicyViolationError] The request breaks the organization's Workspace Policy. The message says which
|
|
126
|
-
# rule it broke; an organization admin can see and change the policy in the
|
|
127
|
-
# Console.
|
|
128
|
-
# @raise [Anthropic::Models::Organization::ExternalKeyChangedError] The external key changed while the request was validating it. Send the request
|
|
129
|
-
# again.
|
|
114
|
+
# @raise [Anthropic::Models::Organization::ExternalKeyValidationFailedError]
|
|
115
|
+
# @raise [Anthropic::Models::Organization::ExternalKeyValidationTimedOutError]
|
|
116
|
+
# @raise [Anthropic::Models::Organization::KeyProfileMismatchError]
|
|
117
|
+
# @raise [Anthropic::Models::UserProfileNotFoundError]
|
|
118
|
+
# @raise [Anthropic::Models::Organization::WorkspacePolicyViolationError]
|
|
119
|
+
# @raise [Anthropic::Models::Organization::ExternalKeyChangedError]
|
|
130
120
|
#
|
|
131
121
|
# @return [Anthropic::Models::Beta::Organization::BetaWorkspace]
|
|
132
122
|
#
|
|
@@ -22,17 +22,11 @@ module Anthropic
|
|
|
22
22
|
#
|
|
23
23
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
24
24
|
#
|
|
25
|
-
# @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError]
|
|
26
|
-
#
|
|
27
|
-
# @raise [Anthropic::Models::
|
|
28
|
-
#
|
|
29
|
-
# @raise [Anthropic::Models::
|
|
30
|
-
# workspace's customer-managed encryption key. The key itself may be healthy.
|
|
31
|
-
# @raise [Anthropic::Models::OrganizationOnHoldError] Anthropic has disabled the organization for trust and safety reasons. An
|
|
32
|
-
# organization disabled for any other reason, such as billing, does not get this
|
|
33
|
-
# code. `appeal_url`, when present, is where the organization can appeal.
|
|
34
|
-
# @raise [Anthropic::Models::CMEKContextUnavailableError] The workspace's encryption settings could not be read, so the request was
|
|
35
|
-
# refused. Retry in a few minutes.
|
|
25
|
+
# @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError]
|
|
26
|
+
# @raise [Anthropic::Models::CMEKKeyDisabledError]
|
|
27
|
+
# @raise [Anthropic::Models::CMEKKeyNetworkBlockedError]
|
|
28
|
+
# @raise [Anthropic::Models::OrganizationOnHoldError]
|
|
29
|
+
# @raise [Anthropic::Models::CMEKContextUnavailableError]
|
|
36
30
|
#
|
|
37
31
|
# @return [Anthropic::Models::Beta::Skills::BetaSkillVersion]
|
|
38
32
|
#
|
|
@@ -77,11 +71,8 @@ module Anthropic
|
|
|
77
71
|
#
|
|
78
72
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
79
73
|
#
|
|
80
|
-
# @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError]
|
|
81
|
-
#
|
|
82
|
-
# @raise [Anthropic::Models::OrganizationOnHoldError] Anthropic has disabled the organization for trust and safety reasons. An
|
|
83
|
-
# organization disabled for any other reason, such as billing, does not get this
|
|
84
|
-
# code. `appeal_url`, when present, is where the organization can appeal.
|
|
74
|
+
# @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError]
|
|
75
|
+
# @raise [Anthropic::Models::OrganizationOnHoldError]
|
|
85
76
|
#
|
|
86
77
|
# @return [Anthropic::Models::Beta::Skills::BetaSkillVersion]
|
|
87
78
|
#
|
|
@@ -124,11 +115,8 @@ module Anthropic
|
|
|
124
115
|
#
|
|
125
116
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
126
117
|
#
|
|
127
|
-
# @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError]
|
|
128
|
-
#
|
|
129
|
-
# @raise [Anthropic::Models::OrganizationOnHoldError] Anthropic has disabled the organization for trust and safety reasons. An
|
|
130
|
-
# organization disabled for any other reason, such as billing, does not get this
|
|
131
|
-
# code. `appeal_url`, when present, is where the organization can appeal.
|
|
118
|
+
# @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError]
|
|
119
|
+
# @raise [Anthropic::Models::OrganizationOnHoldError]
|
|
132
120
|
#
|
|
133
121
|
# @return [Anthropic::Internal::PageCursor<Anthropic::Models::Beta::Skills::BetaSkillVersion>]
|
|
134
122
|
#
|
|
@@ -173,11 +161,8 @@ module Anthropic
|
|
|
173
161
|
#
|
|
174
162
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
175
163
|
#
|
|
176
|
-
# @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError]
|
|
177
|
-
#
|
|
178
|
-
# @raise [Anthropic::Models::OrganizationOnHoldError] Anthropic has disabled the organization for trust and safety reasons. An
|
|
179
|
-
# organization disabled for any other reason, such as billing, does not get this
|
|
180
|
-
# code. `appeal_url`, when present, is where the organization can appeal.
|
|
164
|
+
# @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError]
|
|
165
|
+
# @raise [Anthropic::Models::OrganizationOnHoldError]
|
|
181
166
|
#
|
|
182
167
|
# @return [Anthropic::Models::Beta::Skills::BetaDeletedSkillVersion]
|
|
183
168
|
#
|
|
@@ -24,17 +24,11 @@ module Anthropic
|
|
|
24
24
|
#
|
|
25
25
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
26
26
|
#
|
|
27
|
-
# @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError]
|
|
28
|
-
#
|
|
29
|
-
# @raise [Anthropic::Models::
|
|
30
|
-
#
|
|
31
|
-
# @raise [Anthropic::Models::
|
|
32
|
-
# workspace's customer-managed encryption key. The key itself may be healthy.
|
|
33
|
-
# @raise [Anthropic::Models::OrganizationOnHoldError] Anthropic has disabled the organization for trust and safety reasons. An
|
|
34
|
-
# organization disabled for any other reason, such as billing, does not get this
|
|
35
|
-
# code. `appeal_url`, when present, is where the organization can appeal.
|
|
36
|
-
# @raise [Anthropic::Models::CMEKContextUnavailableError] The workspace's encryption settings could not be read, so the request was
|
|
37
|
-
# refused. Retry in a few minutes.
|
|
27
|
+
# @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError]
|
|
28
|
+
# @raise [Anthropic::Models::CMEKKeyDisabledError]
|
|
29
|
+
# @raise [Anthropic::Models::CMEKKeyNetworkBlockedError]
|
|
30
|
+
# @raise [Anthropic::Models::OrganizationOnHoldError]
|
|
31
|
+
# @raise [Anthropic::Models::CMEKContextUnavailableError]
|
|
38
32
|
#
|
|
39
33
|
# @return [Anthropic::Models::Beta::BetaSkill]
|
|
40
34
|
#
|
|
@@ -76,11 +70,8 @@ module Anthropic
|
|
|
76
70
|
#
|
|
77
71
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
78
72
|
#
|
|
79
|
-
# @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError]
|
|
80
|
-
#
|
|
81
|
-
# @raise [Anthropic::Models::OrganizationOnHoldError] Anthropic has disabled the organization for trust and safety reasons. An
|
|
82
|
-
# organization disabled for any other reason, such as billing, does not get this
|
|
83
|
-
# code. `appeal_url`, when present, is where the organization can appeal.
|
|
73
|
+
# @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError]
|
|
74
|
+
# @raise [Anthropic::Models::OrganizationOnHoldError]
|
|
84
75
|
#
|
|
85
76
|
# @return [Anthropic::Models::Beta::BetaSkill]
|
|
86
77
|
#
|
|
@@ -119,11 +110,8 @@ module Anthropic
|
|
|
119
110
|
#
|
|
120
111
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
121
112
|
#
|
|
122
|
-
# @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError]
|
|
123
|
-
#
|
|
124
|
-
# @raise [Anthropic::Models::OrganizationOnHoldError] Anthropic has disabled the organization for trust and safety reasons. An
|
|
125
|
-
# organization disabled for any other reason, such as billing, does not get this
|
|
126
|
-
# code. `appeal_url`, when present, is where the organization can appeal.
|
|
113
|
+
# @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError]
|
|
114
|
+
# @raise [Anthropic::Models::OrganizationOnHoldError]
|
|
127
115
|
#
|
|
128
116
|
# @return [Anthropic::Internal::PageCursor<Anthropic::Models::Beta::BetaSkill>]
|
|
129
117
|
#
|
|
@@ -165,11 +153,8 @@ module Anthropic
|
|
|
165
153
|
#
|
|
166
154
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
167
155
|
#
|
|
168
|
-
# @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError]
|
|
169
|
-
#
|
|
170
|
-
# @raise [Anthropic::Models::OrganizationOnHoldError] Anthropic has disabled the organization for trust and safety reasons. An
|
|
171
|
-
# organization disabled for any other reason, such as billing, does not get this
|
|
172
|
-
# code. `appeal_url`, when present, is where the organization can appeal.
|
|
156
|
+
# @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError]
|
|
157
|
+
# @raise [Anthropic::Models::OrganizationOnHoldError]
|
|
173
158
|
#
|
|
174
159
|
# @return [Anthropic::Models::Beta::BetaDeletedSkill]
|
|
175
160
|
#
|