anthropic 2.6.0 → 2.8.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.
Files changed (189) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +49 -0
  3. data/README.md +1 -1
  4. data/lib/anthropic/error_classes.rb +1 -1
  5. data/lib/anthropic/helpers/aws/client.rb +6 -0
  6. data/lib/anthropic/helpers/bedrock/client.rb +17 -5
  7. data/lib/anthropic/helpers/bedrock/mantle_client.rb +6 -0
  8. data/lib/anthropic/helpers/google_cloud/client.rb +4 -1
  9. data/lib/anthropic/helpers/streaming/message_stream.rb +6 -4
  10. data/lib/anthropic/helpers/vertex/client.rb +26 -12
  11. data/lib/anthropic/models/beta/beta_managed_agents_model.rb +5 -0
  12. data/lib/anthropic/models/beta/beta_webhook_event.rb +2 -2
  13. data/lib/anthropic/models/beta/beta_webhook_event_data.rb +8 -2
  14. data/lib/anthropic/models/beta/beta_webhook_user_profile_program_status_updated_event_data.rb +35 -0
  15. data/lib/anthropic/models/beta/environments/work_heartbeat_params.rb +2 -1
  16. data/lib/anthropic/models/beta/organization/analytics/beta_analytics_cost_group.rb +10 -1
  17. data/lib/anthropic/models/beta/organization/analytics/beta_analytics_cost_group_by.rb +1 -0
  18. data/lib/anthropic/models/beta/organization/analytics/beta_analytics_usage_group.rb +10 -1
  19. data/lib/anthropic/models/beta/organization/analytics/beta_analytics_usage_group_by.rb +1 -0
  20. data/lib/anthropic/models/beta/organization/analytics/cost_list_params.rb +12 -1
  21. data/lib/anthropic/models/beta/organization/analytics/usage_list_params.rb +12 -1
  22. data/lib/anthropic/models/beta/organization/beta_analytics_claude_tag_metrics.rb +42 -0
  23. data/lib/anthropic/models/beta/organization/beta_analytics_single_day_activity_summary.rb +43 -1
  24. data/lib/anthropic/models/beta/organization/beta_analytics_user_activity.rb +14 -1
  25. data/lib/anthropic/models/beta/organization/beta_cannot_sign_out_managed_member_error.rb +2 -2
  26. data/lib/anthropic/models/beta/organization/beta_cannot_sign_out_managed_member_error_details.rb +2 -2
  27. data/lib/anthropic/models/beta/organization/beta_claude_tag_reply_mode.rb +68 -0
  28. data/lib/anthropic/models/beta/organization/beta_claude_tag_reply_mode_always_awake.rb +22 -0
  29. data/lib/anthropic/models/beta/organization/beta_claude_tag_reply_mode_automatic.rb +22 -0
  30. data/lib/anthropic/models/beta/organization/beta_claude_tag_reply_mode_mention_only.rb +21 -0
  31. data/lib/anthropic/models/beta/organization/beta_claude_tag_reply_mode_thread.rb +23 -0
  32. data/lib/anthropic/models/beta/organization/beta_claude_tag_setting_sources.rb +14 -1
  33. data/lib/anthropic/models/beta/organization/beta_claude_tag_settings.rb +20 -3
  34. data/lib/anthropic/models/beta/organization/beta_claude_tag_settings_create.rb +22 -2
  35. data/lib/anthropic/models/beta/organization/beta_claude_tag_settings_update.rb +22 -2
  36. data/lib/anthropic/models/beta/organization/beta_new_organization_webhook_endpoint.rb +1 -0
  37. data/lib/anthropic/models/beta/organization/beta_organization_webhook_endpoint.rb +1 -0
  38. data/lib/anthropic/models/beta/organization/beta_rbac_role.rb +4 -4
  39. data/lib/anthropic/models/beta/organization/external_key_create_params.rb +7 -5
  40. data/lib/anthropic/models/beta/organization/webhook_create_params.rb +1 -0
  41. data/lib/anthropic/models/beta/organization/webhook_update_params.rb +1 -0
  42. data/lib/anthropic/models/error_details.rb +9 -9
  43. data/lib/anthropic/models/model.rb +10 -0
  44. data/lib/anthropic/models/organization/analytics_claude_tag_metrics.rb +39 -0
  45. data/lib/anthropic/models/organization/analytics_single_day_activity_summary.rb +43 -1
  46. data/lib/anthropic/models/organization/analytics_user_activity.rb +12 -1
  47. data/lib/anthropic/models/organization/external_key_create_params.rb +7 -5
  48. data/lib/anthropic/models/organization/rbac_role.rb +4 -4
  49. data/lib/anthropic/models/sandbox_egress_restricted_error.rb +21 -0
  50. data/lib/anthropic/models/sandbox_egress_restricted_error_details.rb +19 -0
  51. data/lib/anthropic/models/thread_unsupported_feature_name.rb +0 -1
  52. data/lib/anthropic/models.rb +4 -0
  53. data/lib/anthropic/resources/beta/organization/analytics/cost.rb +5 -1
  54. data/lib/anthropic/resources/beta/organization/analytics/usage.rb +5 -1
  55. data/lib/anthropic/resources/beta/organization/api_keys.rb +1 -0
  56. data/lib/anthropic/resources/beta/organization/compliance_settings.rb +2 -0
  57. data/lib/anthropic/resources/beta/organization/external_keys.rb +6 -1
  58. data/lib/anthropic/resources/beta/organization/federation/issuers.rb +6 -0
  59. data/lib/anthropic/resources/beta/organization/federation/rules/workspaces.rb +4 -0
  60. data/lib/anthropic/resources/beta/organization/federation/rules.rb +6 -0
  61. data/lib/anthropic/resources/beta/organization/invites.rb +3 -0
  62. data/lib/anthropic/resources/beta/organization/plugins/versions.rb +4 -5
  63. data/lib/anthropic/resources/beta/organization/plugins.rb +13 -12
  64. data/lib/anthropic/resources/beta/organization/rbac_groups/members.rb +2 -0
  65. data/lib/anthropic/resources/beta/organization/rbac_groups.rb +5 -0
  66. data/lib/anthropic/resources/beta/organization/service_accounts/workspaces.rb +4 -0
  67. data/lib/anthropic/resources/beta/organization/service_accounts.rb +6 -0
  68. data/lib/anthropic/resources/beta/organization/spend_limits/increase_requests.rb +4 -0
  69. data/lib/anthropic/resources/beta/organization/spend_limits.rb +2 -2
  70. data/lib/anthropic/resources/beta/organization/users.rb +8 -4
  71. data/lib/anthropic/resources/beta/organization/webhooks.rb +4 -0
  72. data/lib/anthropic/resources/beta/organization/workspaces/members.rb +4 -0
  73. data/lib/anthropic/resources/beta/organization/workspaces/rate_limits.rb +2 -0
  74. data/lib/anthropic/resources/beta/organization/workspaces/service_accounts.rb +6 -0
  75. data/lib/anthropic/resources/beta/organization/workspaces.rb +4 -0
  76. data/lib/anthropic/resources/organization/api_keys.rb +1 -0
  77. data/lib/anthropic/resources/organization/compliance_settings.rb +2 -0
  78. data/lib/anthropic/resources/organization/external_keys.rb +6 -1
  79. data/lib/anthropic/resources/organization/federation/issuers.rb +6 -0
  80. data/lib/anthropic/resources/organization/federation/rules/workspaces.rb +4 -0
  81. data/lib/anthropic/resources/organization/federation/rules.rb +6 -0
  82. data/lib/anthropic/resources/organization/invites.rb +3 -0
  83. data/lib/anthropic/resources/organization/rbac_groups/members.rb +2 -0
  84. data/lib/anthropic/resources/organization/rbac_groups.rb +5 -0
  85. data/lib/anthropic/resources/organization/service_accounts/workspaces.rb +4 -0
  86. data/lib/anthropic/resources/organization/service_accounts.rb +6 -0
  87. data/lib/anthropic/resources/organization/spend_limits/increase_requests.rb +4 -0
  88. data/lib/anthropic/resources/organization/users.rb +3 -0
  89. data/lib/anthropic/resources/organization/workspaces/members.rb +4 -0
  90. data/lib/anthropic/resources/organization/workspaces/rate_limits.rb +2 -0
  91. data/lib/anthropic/resources/organization/workspaces/service_accounts.rb +6 -0
  92. data/lib/anthropic/resources/organization/workspaces.rb +4 -0
  93. data/lib/anthropic/version.rb +1 -1
  94. data/lib/anthropic.rb +10 -2
  95. data/rbi/anthropic/helpers/aws/client.rbi +5 -0
  96. data/rbi/anthropic/helpers/bedrock/mantle_client.rbi +5 -0
  97. data/rbi/anthropic/models/beta/beta_managed_agents_model.rbi +7 -0
  98. data/rbi/anthropic/models/beta/beta_webhook_event.rbi +2 -1
  99. data/rbi/anthropic/models/beta/beta_webhook_event_data.rbi +7 -1
  100. data/rbi/anthropic/models/beta/beta_webhook_user_profile_program_status_updated_event_data.rbi +51 -0
  101. data/rbi/anthropic/models/beta/environments/work_heartbeat_params.rbi +4 -2
  102. data/rbi/anthropic/models/beta/organization/analytics/beta_analytics_cost_group.rbi +10 -0
  103. data/rbi/anthropic/models/beta/organization/analytics/beta_analytics_cost_group_by.rbi +5 -0
  104. data/rbi/anthropic/models/beta/organization/analytics/beta_analytics_usage_group.rbi +10 -0
  105. data/rbi/anthropic/models/beta/organization/analytics/beta_analytics_usage_group_by.rbi +5 -0
  106. data/rbi/anthropic/models/beta/organization/analytics/cost_list_params.rbi +14 -0
  107. data/rbi/anthropic/models/beta/organization/analytics/usage_list_params.rbi +14 -0
  108. data/rbi/anthropic/models/beta/organization/beta_analytics_claude_tag_metrics.rbi +69 -0
  109. data/rbi/anthropic/models/beta/organization/beta_analytics_single_day_activity_summary.rbi +60 -0
  110. data/rbi/anthropic/models/beta/organization/beta_analytics_user_activity.rbi +36 -0
  111. data/rbi/anthropic/models/beta/organization/beta_cannot_sign_out_managed_member_error.rbi +2 -2
  112. data/rbi/anthropic/models/beta/organization/beta_cannot_sign_out_managed_member_error_details.rbi +2 -2
  113. data/rbi/anthropic/models/beta/organization/beta_claude_tag_reply_mode.rbi +92 -0
  114. data/rbi/anthropic/models/beta/organization/beta_claude_tag_reply_mode_always_awake.rbi +32 -0
  115. data/rbi/anthropic/models/beta/organization/beta_claude_tag_reply_mode_automatic.rbi +32 -0
  116. data/rbi/anthropic/models/beta/organization/beta_claude_tag_reply_mode_mention_only.rbi +31 -0
  117. data/rbi/anthropic/models/beta/organization/beta_claude_tag_reply_mode_thread.rbi +33 -0
  118. data/rbi/anthropic/models/beta/organization/beta_claude_tag_setting_sources.rbi +30 -1
  119. data/rbi/anthropic/models/beta/organization/beta_claude_tag_settings.rbi +39 -5
  120. data/rbi/anthropic/models/beta/organization/beta_claude_tag_settings_create.rbi +56 -5
  121. data/rbi/anthropic/models/beta/organization/beta_claude_tag_settings_update.rbi +56 -5
  122. data/rbi/anthropic/models/beta/organization/beta_new_organization_webhook_endpoint.rbi +5 -0
  123. data/rbi/anthropic/models/beta/organization/beta_organization_webhook_endpoint.rbi +5 -0
  124. data/rbi/anthropic/models/beta/organization/beta_rbac_role.rbi +6 -6
  125. data/rbi/anthropic/models/beta/organization/external_key_create_params.rbi +12 -8
  126. data/rbi/anthropic/models/beta/organization/webhook_create_params.rbi +5 -0
  127. data/rbi/anthropic/models/beta/organization/webhook_update_params.rbi +5 -0
  128. data/rbi/anthropic/models/error_details.rbi +6 -6
  129. data/rbi/anthropic/models/model.rbi +8 -0
  130. data/rbi/anthropic/models/organization/analytics_claude_tag_metrics.rbi +67 -0
  131. data/rbi/anthropic/models/organization/analytics_single_day_activity_summary.rbi +60 -0
  132. data/rbi/anthropic/models/organization/analytics_user_activity.rbi +30 -0
  133. data/rbi/anthropic/models/organization/external_key_create_params.rbi +12 -8
  134. data/rbi/anthropic/models/organization/rbac_role.rbi +6 -6
  135. data/rbi/anthropic/models/sandbox_egress_restricted_error.rbi +18 -0
  136. data/rbi/anthropic/models/sandbox_egress_restricted_error_details.rbi +29 -0
  137. data/rbi/anthropic/models/thread_unsupported_feature_name.rbi +0 -1
  138. data/rbi/anthropic/models.rbi +5 -0
  139. data/rbi/anthropic/resources/beta/environments/work.rbi +2 -1
  140. data/rbi/anthropic/resources/beta/organization/analytics/cost.rbi +7 -0
  141. data/rbi/anthropic/resources/beta/organization/analytics/usage.rbi +7 -0
  142. data/rbi/anthropic/resources/beta/organization/external_keys.rbi +6 -4
  143. data/rbi/anthropic/resources/beta/organization/plugins/versions.rbi +4 -5
  144. data/rbi/anthropic/resources/beta/organization/plugins.rbi +13 -12
  145. data/rbi/anthropic/resources/beta/organization/users.rbi +4 -4
  146. data/rbi/anthropic/resources/organization/external_keys.rbi +6 -4
  147. data/sig/anthropic/models/beta/beta_managed_agents_model.rbs +5 -1
  148. data/sig/anthropic/models/beta/beta_webhook_event_data.rbs +9 -0
  149. data/sig/anthropic/models/beta/beta_webhook_user_profile_program_status_updated_event_data.rbs +34 -0
  150. data/sig/anthropic/models/beta/organization/analytics/beta_analytics_cost_group.rbs +5 -0
  151. data/sig/anthropic/models/beta/organization/analytics/beta_analytics_cost_group_by.rbs +2 -0
  152. data/sig/anthropic/models/beta/organization/analytics/beta_analytics_usage_group.rbs +5 -0
  153. data/sig/anthropic/models/beta/organization/analytics/beta_analytics_usage_group_by.rbs +2 -0
  154. data/sig/anthropic/models/beta/organization/analytics/cost_list_params.rbs +5 -0
  155. data/sig/anthropic/models/beta/organization/analytics/usage_list_params.rbs +5 -0
  156. data/sig/anthropic/models/beta/organization/beta_analytics_claude_tag_metrics.rbs +26 -0
  157. data/sig/anthropic/models/beta/organization/beta_analytics_single_day_activity_summary.rbs +15 -0
  158. data/sig/anthropic/models/beta/organization/beta_analytics_user_activity.rbs +5 -0
  159. data/sig/anthropic/models/beta/organization/beta_claude_tag_reply_mode.rbs +50 -0
  160. data/sig/anthropic/models/beta/organization/beta_claude_tag_reply_mode_always_awake.rbs +17 -0
  161. data/sig/anthropic/models/beta/organization/beta_claude_tag_reply_mode_automatic.rbs +17 -0
  162. data/sig/anthropic/models/beta/organization/beta_claude_tag_reply_mode_mention_only.rbs +17 -0
  163. data/sig/anthropic/models/beta/organization/beta_claude_tag_reply_mode_thread.rbs +17 -0
  164. data/sig/anthropic/models/beta/organization/beta_claude_tag_setting_sources.rbs +8 -3
  165. data/sig/anthropic/models/beta/organization/beta_claude_tag_settings.rbs +8 -3
  166. data/sig/anthropic/models/beta/organization/beta_claude_tag_settings_create.rbs +8 -3
  167. data/sig/anthropic/models/beta/organization/beta_claude_tag_settings_update.rbs +8 -3
  168. data/sig/anthropic/models/beta/organization/beta_new_organization_webhook_endpoint.rbs +2 -0
  169. data/sig/anthropic/models/beta/organization/beta_organization_webhook_endpoint.rbs +2 -0
  170. data/sig/anthropic/models/beta/organization/webhook_create_params.rbs +2 -0
  171. data/sig/anthropic/models/beta/organization/webhook_update_params.rbs +2 -0
  172. data/sig/anthropic/models/error_details.rbs +6 -6
  173. data/sig/anthropic/models/model.rbs +9 -1
  174. data/sig/anthropic/models/organization/analytics_claude_tag_metrics.rbs +24 -0
  175. data/sig/anthropic/models/organization/analytics_single_day_activity_summary.rbs +15 -0
  176. data/sig/anthropic/models/organization/analytics_user_activity.rbs +5 -0
  177. data/sig/anthropic/models/sandbox_egress_restricted_error.rbs +9 -0
  178. data/sig/anthropic/models/sandbox_egress_restricted_error_details.rbs +14 -0
  179. data/sig/anthropic/models/thread_unsupported_feature_name.rbs +0 -2
  180. data/sig/anthropic/models.rbs +4 -0
  181. data/sig/anthropic/resources/beta/organization/analytics/cost.rbs +1 -0
  182. data/sig/anthropic/resources/beta/organization/analytics/usage.rbs +1 -0
  183. metadata +32 -8
  184. data/lib/anthropic/models/beta/beta_billing_frozen_error.rb +0 -22
  185. data/lib/anthropic/models/beta/beta_billing_frozen_error_details.rb +0 -22
  186. data/rbi/anthropic/models/beta/beta_billing_frozen_error.rbi +0 -19
  187. data/rbi/anthropic/models/beta/beta_billing_frozen_error_details.rbi +0 -32
  188. data/sig/anthropic/models/beta/beta_billing_frozen_error.rbs +0 -11
  189. data/sig/anthropic/models/beta/beta_billing_frozen_error_details.rbs +0 -17
@@ -18,11 +18,10 @@ module Anthropic
18
18
  # Only a Plugin in a `manual` marketplace takes uploads; a Plugin synchronized
19
19
  # from a repository gets its versions from the repository. When the Plugin is in
20
20
  # the organization's library marketplace, a version that adds a skill with the
21
- # name of an organization skill (a skill an administrator uploaded for the whole
22
- # organization in claude.ai) is refused with a 409: `error_code`
23
- # `skill_name_taken`, with that name in `details.skill_name`. A 503 with
24
- # `error_code` `registration_pending` means the version was stored but is not yet
25
- # usable; a later version create on the Plugin completes it.
21
+ # name of an organization skill that this API does not list is refused with a 409:
22
+ # `error_code` `skill_name_taken`, with that name in `details.skill_name`. A 503
23
+ # with `error_code` `registration_pending` means the version was stored but is not
24
+ # yet usable; a later version create on the Plugin completes it.
26
25
  #
27
26
  # For a worked example, see
28
27
  # [Create a version](/docs/en/manage-claude/plugins-api#create-a-version) in the
@@ -30,13 +30,13 @@ module Anthropic
30
30
  # 409 with `error_code` `plugin_name_taken` and, when a Plugin holds it, that
31
31
  # Plugin's ID in `details.plugin_id`. A Plugin going into the organization's
32
32
  # library marketplace is also refused with a 409 when one of its skills has the
33
- # name of an organization skill (a skill an administrator uploaded for the whole
34
- # organization in claude.ai): `error_code` `skill_name_taken`, with that name in
35
- # `details.skill_name`; rename the skill, or remove the organization skill in
36
- # claude.ai. A 503 with `error_code` `registration_pending` means the Plugin and
37
- # its version were stored (their IDs are in `details`) but are not yet usable in
38
- # claude.ai: do not retry the create (the retry would return `plugin_name_taken`);
39
- # create a version on the stored Plugin instead, which completes it.
33
+ # name of an organization skill that this API does not list: `error_code`
34
+ # `skill_name_taken`, with that name in `details.skill_name`; rename the skill, or
35
+ # remove the organization skill in claude.ai. A 503 with `error_code`
36
+ # `registration_pending` means the Plugin and its version were stored (their IDs
37
+ # are in `details`) but are not yet usable in claude.ai: do not retry the create
38
+ # (the retry would return `plugin_name_taken`); create a version on the stored
39
+ # Plugin instead, which completes it.
40
40
  #
41
41
  # For a worked example, see
42
42
  # [Create a plugin](/docs/en/manage-claude/plugins-api#create-a-plugin) in the
@@ -164,10 +164,9 @@ module Anthropic
164
164
  # accepted. If the scan outcome cannot be read at that moment, the request fails
165
165
  # with a retryable 503 instead. When the Plugin is in the organization's library
166
166
  # marketplace, a version other than the one served is also refused with a 409 when
167
- # one of its skills has a name that an organization skill (one an administrator
168
- # uploaded for the whole organization in claude.ai) has since taken: `error_code`
169
- # `skill_name_taken`, with that name in `details.skill_name`. A member-owned
170
- # Plugin cannot be updated here (403).
167
+ # an organization skill that this API does not list has since taken the name of
168
+ # one of its skills: `error_code` `skill_name_taken`, with that name in
169
+ # `details.skill_name`. A member-owned Plugin cannot be updated here (403).
171
170
  #
172
171
  # This endpoint does not write installation settings; they are written at
173
172
  # `/v1/organizations/plugins/{plugin_id}/installation_settings/{target}`.
@@ -321,7 +320,9 @@ module Anthropic
321
320
 
322
321
  # Permanently delete a Plugin and every version it holds, exactly as when an
323
322
  # administrator deletes it in claude.ai. The Plugin may belong to the organization
324
- # or to a member, including a member who has since left the organization.
323
+ # or to a member, including a member who has since left the organization. Do not
324
+ # delete a Plugin only because your pipeline did not create it: a member or an
325
+ # administrator might have added it in claude.ai.
325
326
  #
326
327
  # An organization-owned Plugin's installation settings go with it; a member-owned
327
328
  # Plugin's shares are withdrawn and its owner no longer has it.
@@ -61,6 +61,7 @@ module Anthropic
61
61
  #
62
62
  # @raise [Anthropic::Models::Organization::RBACGroupGrantsOwnerAccessError]
63
63
  # @raise [Anthropic::Models::Organization::RBACGroupOwnerAccessUnconfirmedError]
64
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
64
65
  #
65
66
  # @return [Anthropic::Models::Beta::Organization::RBACGroups::BetaRBACGroupMember]
66
67
  #
@@ -97,6 +98,7 @@ module Anthropic
97
98
  #
98
99
  # @raise [Anthropic::Models::Organization::RBACGroupGrantsOwnerAccessError]
99
100
  # @raise [Anthropic::Models::Organization::RBACGroupOwnerAccessUnconfirmedError]
101
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
100
102
  #
101
103
  # @return [Anthropic::Models::Beta::Organization::RBACGroups::BetaDeletedRBACGroupMember]
102
104
  #
@@ -19,6 +19,8 @@ module Anthropic
19
19
  #
20
20
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
21
21
  #
22
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
23
+ #
22
24
  # @return [Anthropic::Models::Beta::Organization::BetaRBACGroup]
23
25
  #
24
26
  # @see Anthropic::Models::Beta::Organization::RBACGroupCreateParams
@@ -77,6 +79,8 @@ module Anthropic
77
79
  #
78
80
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
79
81
  #
82
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
83
+ #
80
84
  # @return [Anthropic::Models::Beta::Organization::BetaRBACGroup]
81
85
  #
82
86
  # @see Anthropic::Models::Beta::Organization::RBACGroupUpdateParams
@@ -144,6 +148,7 @@ module Anthropic
144
148
  #
145
149
  # @raise [Anthropic::Models::Organization::RBACGroupGrantsOwnerAccessError]
146
150
  # @raise [Anthropic::Models::Organization::RBACGroupOwnerAccessUnconfirmedError]
151
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
147
152
  #
148
153
  # @return [Anthropic::Models::Beta::Organization::BetaDeletedRBACGroup]
149
154
  #
@@ -86,6 +86,8 @@ module Anthropic
86
86
  #
87
87
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
88
88
  #
89
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
90
+ #
89
91
  # @return [Anthropic::Models::Beta::Organization::BetaServiceAccountWorkspaceMember]
90
92
  #
91
93
  # @see Anthropic::Models::Beta::Organization::ServiceAccounts::WorkspaceAddParams
@@ -132,6 +134,8 @@ module Anthropic
132
134
  #
133
135
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
134
136
  #
137
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
138
+ #
135
139
  # @return [Anthropic::Models::Beta::Organization::ServiceAccounts::WorkspaceRemoveResponse]
136
140
  #
137
141
  # @see Anthropic::Models::Beta::Organization::ServiceAccounts::WorkspaceRemoveParams
@@ -38,6 +38,8 @@ module Anthropic
38
38
  #
39
39
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
40
40
  #
41
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
42
+ #
41
43
  # @return [Anthropic::Models::Beta::Organization::BetaServiceAccount]
42
44
  #
43
45
  # @see Anthropic::Models::Beta::Organization::ServiceAccountCreateParams
@@ -119,6 +121,8 @@ module Anthropic
119
121
  #
120
122
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
121
123
  #
124
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
125
+ #
122
126
  # @return [Anthropic::Models::Beta::Organization::BetaServiceAccount]
123
127
  #
124
128
  # @see Anthropic::Models::Beta::Organization::ServiceAccountUpdateParams
@@ -204,6 +208,8 @@ module Anthropic
204
208
  #
205
209
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
206
210
  #
211
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
212
+ #
207
213
  # @return [Anthropic::Models::Beta::Organization::BetaServiceAccount]
208
214
  #
209
215
  # @see Anthropic::Models::Beta::Organization::ServiceAccountArchiveParams
@@ -96,6 +96,8 @@ module Anthropic
96
96
  #
97
97
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
98
98
  #
99
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
100
+ #
99
101
  # @return [Anthropic::Models::Beta::Organization::SpendLimits::IncreaseRequestApproveResponse]
100
102
  #
101
103
  # @see Anthropic::Models::Beta::Organization::SpendLimits::IncreaseRequestApproveParams
@@ -131,6 +133,8 @@ module Anthropic
131
133
  #
132
134
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
133
135
  #
136
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
137
+ #
134
138
  # @return [Anthropic::Models::Beta::Organization::SpendLimits::BetaSpendLimitIncreaseRequest]
135
139
  #
136
140
  # @see Anthropic::Models::Beta::Organization::SpendLimits::IncreaseRequestDenyParams
@@ -102,7 +102,7 @@ module Anthropic
102
102
  #
103
103
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
104
104
  #
105
- # @raise [Anthropic::Models::Beta::BetaBillingFrozenError]
105
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
106
106
  # @raise [Anthropic::Models::Beta::Organization::BetaSpendLimitsAdminAPIWritesNotEnabledError]
107
107
  #
108
108
  # @return [Anthropic::Models::Beta::Organization::SpendLimitDeleteResponse]
@@ -145,7 +145,7 @@ module Anthropic
145
145
  #
146
146
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
147
147
  #
148
- # @raise [Anthropic::Models::Beta::BetaBillingFrozenError]
148
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
149
149
  # @raise [Anthropic::Models::Beta::Organization::BetaSpendLimitsAdminAPIWritesNotEnabledError]
150
150
  #
151
151
  # @return [Anthropic::Models::Beta::Organization::BetaSpendLimit]
@@ -42,6 +42,8 @@ module Anthropic
42
42
  #
43
43
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
44
44
  #
45
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
46
+ #
45
47
  # @return [Anthropic::Models::Beta::Organization::BetaOrganizationUser]
46
48
  #
47
49
  # @see Anthropic::Models::Beta::Organization::UserUpdateParams
@@ -108,6 +110,7 @@ module Anthropic
108
110
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
109
111
  #
110
112
  # @raise [Anthropic::Models::Organization::CannotRemoveLastMemberError]
113
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
111
114
  # @raise [Anthropic::Models::ConcurrentMembershipChangeError]
112
115
  #
113
116
  # @return [Anthropic::Models::Beta::Organization::UserRemoveResponse]
@@ -147,10 +150,10 @@ module Anthropic
147
150
  #
148
151
  # Every request must include the beta header
149
152
  # `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`.
153
+ # `400`. Sign-out is in beta for Claude Enterprise organizations. In an
154
+ # organization where it is not enabled, a request returns `400` with `error_code`
155
+ # `organization_not_enrolled_in_beta`. In a Claude Enterprise organization, an API
156
+ # key needs the `write:members` scope; a key without it gets `403`.
154
157
  #
155
158
  # Some parameter documentations has been truncated, see
156
159
  # {Anthropic::Models::Beta::Organization::UserSignOutParams} for more details.
@@ -170,6 +173,7 @@ module Anthropic
170
173
  # @raise [Anthropic::Models::Beta::Organization::BetaCannotSignOutMembershipAdminError]
171
174
  # @raise [Anthropic::Models::Beta::Organization::BetaCannotSignOutOwnerError]
172
175
  # @raise [Anthropic::Models::Beta::Organization::BetaCannotSignOutPrivilegedMemberError]
176
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
173
177
  #
174
178
  # @return [Anthropic::Models::Beta::Organization::BetaOrganizationUser]
175
179
  #
@@ -218,6 +218,8 @@ module Anthropic
218
218
  #
219
219
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
220
220
  #
221
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
222
+ #
221
223
  # @return [Anthropic::Models::Beta::Organization::BetaDeletedOrganizationWebhookEndpoint]
222
224
  #
223
225
  # @see Anthropic::Models::Beta::Organization::WebhookDeleteParams
@@ -258,6 +260,8 @@ module Anthropic
258
260
  #
259
261
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
260
262
  #
263
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
264
+ #
261
265
  # @return [Anthropic::Models::Beta::Organization::BetaOrganizationWebhookEndpointSigningSecret]
262
266
  #
263
267
  # @see Anthropic::Models::Beta::Organization::WebhookRegenerateSigningSecretParams
@@ -53,6 +53,7 @@ module Anthropic
53
53
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
54
54
  #
55
55
  # @raise [Anthropic::Models::Organization::WorkspaceMemberLimitExceededError]
56
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
56
57
  #
57
58
  # @return [Anthropic::Models::Beta::Organization::BetaWorkspaceMember]
58
59
  #
@@ -131,6 +132,7 @@ module Anthropic
131
132
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
132
133
  #
133
134
  # @raise [Anthropic::Models::Organization::WorkspaceMemberLimitExceededError]
135
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
134
136
  #
135
137
  # @return [Anthropic::Models::Beta::Organization::BetaWorkspaceMember]
136
138
  #
@@ -161,6 +163,8 @@ module Anthropic
161
163
  #
162
164
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
163
165
  #
166
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
167
+ #
164
168
  # @return [Anthropic::Models::Beta::Organization::Workspaces::MemberRemoveResponse]
165
169
  #
166
170
  # @see Anthropic::Models::Beta::Organization::Workspaces::MemberRemoveParams
@@ -31,6 +31,8 @@ module Anthropic
31
31
  #
32
32
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
33
33
  #
34
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
35
+ #
34
36
  # @return [Anthropic::Models::Beta::Organization::Workspaces::BetaWorkspaceRateLimit]
35
37
  #
36
38
  # @see Anthropic::Models::Beta::Organization::Workspaces::RateLimitUpdateParams
@@ -84,6 +84,8 @@ module Anthropic
84
84
  #
85
85
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
86
86
  #
87
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
88
+ #
87
89
  # @return [Anthropic::Models::Beta::Organization::BetaServiceAccountWorkspaceMember]
88
90
  #
89
91
  # @see Anthropic::Models::Beta::Organization::Workspaces::ServiceAccountUpdateParams
@@ -192,6 +194,8 @@ module Anthropic
192
194
  #
193
195
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
194
196
  #
197
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
198
+ #
195
199
  # @return [Anthropic::Models::Beta::Organization::BetaServiceAccountWorkspaceMember]
196
200
  #
197
201
  # @see Anthropic::Models::Beta::Organization::Workspaces::ServiceAccountAddParams
@@ -236,6 +240,8 @@ module Anthropic
236
240
  #
237
241
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
238
242
  #
243
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
244
+ #
239
245
  # @return [Anthropic::Models::Beta::Organization::Workspaces::ServiceAccountRemoveResponse]
240
246
  #
241
247
  # @see Anthropic::Models::Beta::Organization::Workspaces::ServiceAccountRemoveParams
@@ -42,6 +42,7 @@ module Anthropic
42
42
  # @raise [Anthropic::Models::Organization::KeyProfileMismatchError]
43
43
  # @raise [Anthropic::Models::UserProfileNotFoundError]
44
44
  # @raise [Anthropic::Models::Organization::WorkspacePolicyViolationError]
45
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
45
46
  # @raise [Anthropic::Models::Organization::ExternalKeyChangedError]
46
47
  #
47
48
  # @return [Anthropic::Models::Beta::Organization::BetaWorkspace]
@@ -116,6 +117,7 @@ module Anthropic
116
117
  # @raise [Anthropic::Models::Organization::KeyProfileMismatchError]
117
118
  # @raise [Anthropic::Models::UserProfileNotFoundError]
118
119
  # @raise [Anthropic::Models::Organization::WorkspacePolicyViolationError]
120
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
119
121
  # @raise [Anthropic::Models::Organization::ExternalKeyChangedError]
120
122
  #
121
123
  # @return [Anthropic::Models::Beta::Organization::BetaWorkspace]
@@ -184,6 +186,8 @@ module Anthropic
184
186
  # @param workspace_id [String]
185
187
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
186
188
  #
189
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
190
+ #
187
191
  # @return [Anthropic::Models::Beta::Organization::BetaWorkspace]
188
192
  #
189
193
  # @see Anthropic::Models::Beta::Organization::WorkspaceArchiveParams
@@ -41,6 +41,7 @@ module Anthropic
41
41
  #
42
42
  # @raise [Anthropic::Models::Organization::OrgAPIKeyLimitExceededError]
43
43
  # @raise [Anthropic::Models::Organization::WorkspaceAPIKeyLimitExceededError]
44
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
44
45
  #
45
46
  # @return [Anthropic::Models::Organization::APIKey]
46
47
  #
@@ -56,6 +56,8 @@ module Anthropic
56
56
  #
57
57
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
58
58
  #
59
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
60
+ #
59
61
  # @return [Anthropic::Models::Organization::OrganizationComplianceSettings]
60
62
  #
61
63
  # @see Anthropic::Models::Organization::ComplianceSettingUpdateParams
@@ -17,11 +17,12 @@ module Anthropic
17
17
  #
18
18
  # @param geo [Symbol, Anthropic::Models::Organization::ExternalKeyCreateParams::Geo] Data residency geo. Only `us` is supported.
19
19
  #
20
- # @param user_profile_id [String, nil] ID of a user profile to bind the key to. Omit this field for a key that isn't bo
20
+ # @param user_profile_id [String, nil] ID of a user profile to bind the key to. A user profile represents one of your c
21
21
  #
22
22
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
23
23
  #
24
24
  # @raise [Anthropic::Models::UserProfileNotFoundError]
25
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
25
26
  #
26
27
  # @return [Anthropic::Models::Organization::ExternalKey]
27
28
  #
@@ -82,6 +83,7 @@ module Anthropic
82
83
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
83
84
  #
84
85
  # @raise [Anthropic::Models::Organization::ExternalKeyInWorkspacePolicyError]
86
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
85
87
  #
86
88
  # @return [Anthropic::Models::Organization::ExternalKey]
87
89
  #
@@ -143,6 +145,7 @@ module Anthropic
143
145
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
144
146
  #
145
147
  # @raise [Anthropic::Models::Organization::ExternalKeyInWorkspacePolicyError]
148
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
146
149
  #
147
150
  # @return [Anthropic::Models::Organization::ExternalKeyDeleteResponse]
148
151
  #
@@ -172,6 +175,8 @@ module Anthropic
172
175
  #
173
176
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
174
177
  #
178
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
179
+ #
175
180
  # @return [Anthropic::Models::Organization::ExternalKeyValidateResponse]
176
181
  #
177
182
  # @see Anthropic::Models::Organization::ExternalKeyValidateParams
@@ -40,6 +40,8 @@ module Anthropic
40
40
  #
41
41
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
42
42
  #
43
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
44
+ #
43
45
  # @return [Anthropic::Models::Organization::Federation::FederationIssuer]
44
46
  #
45
47
  # @see Anthropic::Models::Organization::Federation::IssuerCreateParams
@@ -120,6 +122,8 @@ module Anthropic
120
122
  #
121
123
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
122
124
  #
125
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
126
+ #
123
127
  # @return [Anthropic::Models::Organization::Federation::FederationIssuer]
124
128
  #
125
129
  # @see Anthropic::Models::Organization::Federation::IssuerUpdateParams
@@ -193,6 +197,8 @@ module Anthropic
193
197
  #
194
198
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
195
199
  #
200
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
201
+ #
196
202
  # @return [Anthropic::Models::Organization::Federation::FederationIssuer]
197
203
  #
198
204
  # @see Anthropic::Models::Organization::Federation::IssuerArchiveParams
@@ -72,6 +72,8 @@ module Anthropic
72
72
  #
73
73
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
74
74
  #
75
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
76
+ #
75
77
  # @return [Anthropic::Models::Organization::Federation::FederationRuleWorkspace]
76
78
  #
77
79
  # @see Anthropic::Models::Organization::Federation::Rules::WorkspaceAddParams
@@ -109,6 +111,8 @@ module Anthropic
109
111
  #
110
112
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
111
113
  #
114
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
115
+ #
112
116
  # @return [Anthropic::Models::Organization::Federation::Rules::WorkspaceRemoveResponse]
113
117
  #
114
118
  # @see Anthropic::Models::Organization::Federation::Rules::WorkspaceRemoveParams
@@ -54,6 +54,8 @@ module Anthropic
54
54
  #
55
55
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
56
56
  #
57
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
58
+ #
57
59
  # @return [Anthropic::Models::Organization::Federation::FederationRule]
58
60
  #
59
61
  # @see Anthropic::Models::Organization::Federation::RuleCreateParams
@@ -147,6 +149,8 @@ module Anthropic
147
149
  #
148
150
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
149
151
  #
152
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
153
+ #
150
154
  # @return [Anthropic::Models::Organization::Federation::FederationRule]
151
155
  #
152
156
  # @see Anthropic::Models::Organization::Federation::RuleUpdateParams
@@ -225,6 +229,8 @@ module Anthropic
225
229
  #
226
230
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
227
231
  #
232
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
233
+ #
228
234
  # @return [Anthropic::Models::Organization::Federation::FederationRule]
229
235
  #
230
236
  # @see Anthropic::Models::Organization::Federation::RuleArchiveParams
@@ -31,6 +31,7 @@ module Anthropic
31
31
  # @raise [Anthropic::Models::OrgMemberLimitExceededError]
32
32
  # @raise [Anthropic::Models::Organization::RBACGroupGrantsOwnerAccessError]
33
33
  # @raise [Anthropic::Models::Organization::RBACGroupOwnerAccessUnconfirmedError]
34
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
34
35
  #
35
36
  # @return [Anthropic::Models::Organization::OrganizationInvite]
36
37
  #
@@ -120,6 +121,8 @@ module Anthropic
120
121
  #
121
122
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
122
123
  #
124
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
125
+ #
123
126
  # @return [Anthropic::Models::Organization::InviteDeleteResponse]
124
127
  #
125
128
  # @see Anthropic::Models::Organization::InviteDeleteParams
@@ -59,6 +59,7 @@ module Anthropic
59
59
  #
60
60
  # @raise [Anthropic::Models::Organization::RBACGroupGrantsOwnerAccessError]
61
61
  # @raise [Anthropic::Models::Organization::RBACGroupOwnerAccessUnconfirmedError]
62
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
62
63
  #
63
64
  # @return [Anthropic::Models::Organization::RBACGroups::RBACGroupMember]
64
65
  #
@@ -94,6 +95,7 @@ module Anthropic
94
95
  #
95
96
  # @raise [Anthropic::Models::Organization::RBACGroupGrantsOwnerAccessError]
96
97
  # @raise [Anthropic::Models::Organization::RBACGroupOwnerAccessUnconfirmedError]
98
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
97
99
  #
98
100
  # @return [Anthropic::Models::Organization::RBACGroups::DeletedRBACGroupMember]
99
101
  #
@@ -18,6 +18,8 @@ module Anthropic
18
18
  #
19
19
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
20
20
  #
21
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
22
+ #
21
23
  # @return [Anthropic::Models::Organization::RBACGroup]
22
24
  #
23
25
  # @see Anthropic::Models::Organization::RBACGroupCreateParams
@@ -74,6 +76,8 @@ module Anthropic
74
76
  #
75
77
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
76
78
  #
79
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
80
+ #
77
81
  # @return [Anthropic::Models::Organization::RBACGroup]
78
82
  #
79
83
  # @see Anthropic::Models::Organization::RBACGroupUpdateParams
@@ -139,6 +143,7 @@ module Anthropic
139
143
  #
140
144
  # @raise [Anthropic::Models::Organization::RBACGroupGrantsOwnerAccessError]
141
145
  # @raise [Anthropic::Models::Organization::RBACGroupOwnerAccessUnconfirmedError]
146
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
142
147
  #
143
148
  # @return [Anthropic::Models::Organization::DeletedRBACGroup]
144
149
  #
@@ -77,6 +77,8 @@ module Anthropic
77
77
  #
78
78
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
79
79
  #
80
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
81
+ #
80
82
  # @return [Anthropic::Models::Organization::ServiceAccountWorkspaceMember]
81
83
  #
82
84
  # @see Anthropic::Models::Organization::ServiceAccounts::WorkspaceAddParams
@@ -118,6 +120,8 @@ module Anthropic
118
120
  #
119
121
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
120
122
  #
123
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
124
+ #
121
125
  # @return [Anthropic::Models::Organization::ServiceAccounts::WorkspaceRemoveResponse]
122
126
  #
123
127
  # @see Anthropic::Models::Organization::ServiceAccounts::WorkspaceRemoveParams
@@ -34,6 +34,8 @@ module Anthropic
34
34
  #
35
35
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
36
36
  #
37
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
38
+ #
37
39
  # @return [Anthropic::Models::Organization::ServiceAccount]
38
40
  #
39
41
  # @see Anthropic::Models::Organization::ServiceAccountCreateParams
@@ -104,6 +106,8 @@ module Anthropic
104
106
  #
105
107
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
106
108
  #
109
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
110
+ #
107
111
  # @return [Anthropic::Models::Organization::ServiceAccount]
108
112
  #
109
113
  # @see Anthropic::Models::Organization::ServiceAccountUpdateParams
@@ -179,6 +183,8 @@ module Anthropic
179
183
  #
180
184
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
181
185
  #
186
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
187
+ #
182
188
  # @return [Anthropic::Models::Organization::ServiceAccount]
183
189
  #
184
190
  # @see Anthropic::Models::Organization::ServiceAccountArchiveParams
@@ -89,6 +89,8 @@ module Anthropic
89
89
  #
90
90
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
91
91
  #
92
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
93
+ #
92
94
  # @return [Anthropic::Models::Organization::SpendLimits::IncreaseRequestApproveResponse]
93
95
  #
94
96
  # @see Anthropic::Models::Organization::SpendLimits::IncreaseRequestApproveParams
@@ -122,6 +124,8 @@ module Anthropic
122
124
  #
123
125
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
124
126
  #
127
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
128
+ #
125
129
  # @return [Anthropic::Models::Organization::SpendLimits::SpendLimitIncreaseRequest]
126
130
  #
127
131
  # @see Anthropic::Models::Organization::SpendLimits::IncreaseRequestDenyParams
@@ -40,6 +40,8 @@ module Anthropic
40
40
  #
41
41
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
42
42
  #
43
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
44
+ #
43
45
  # @return [Anthropic::Models::Organization::OrganizationUser]
44
46
  #
45
47
  # @see Anthropic::Models::Organization::UserUpdateParams
@@ -104,6 +106,7 @@ module Anthropic
104
106
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
105
107
  #
106
108
  # @raise [Anthropic::Models::Organization::CannotRemoveLastMemberError]
109
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
107
110
  # @raise [Anthropic::Models::ConcurrentMembershipChangeError]
108
111
  #
109
112
  # @return [Anthropic::Models::Organization::UserRemoveResponse]
@@ -51,6 +51,7 @@ module Anthropic
51
51
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
52
52
  #
53
53
  # @raise [Anthropic::Models::Organization::WorkspaceMemberLimitExceededError]
54
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
54
55
  #
55
56
  # @return [Anthropic::Models::Organization::WorkspaceMember]
56
57
  #
@@ -127,6 +128,7 @@ module Anthropic
127
128
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
128
129
  #
129
130
  # @raise [Anthropic::Models::Organization::WorkspaceMemberLimitExceededError]
131
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
130
132
  #
131
133
  # @return [Anthropic::Models::Organization::WorkspaceMember]
132
134
  #
@@ -156,6 +158,8 @@ module Anthropic
156
158
  #
157
159
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
158
160
  #
161
+ # @raise [Anthropic::Models::SandboxEgressRestrictedError]
162
+ #
159
163
  # @return [Anthropic::Models::Organization::Workspaces::MemberRemoveResponse]
160
164
  #
161
165
  # @see Anthropic::Models::Organization::Workspaces::MemberRemoveParams