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
|
@@ -20,15 +20,10 @@ module Anthropic
|
|
|
20
20
|
#
|
|
21
21
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
22
22
|
#
|
|
23
|
-
# @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError]
|
|
24
|
-
#
|
|
25
|
-
# @raise [Anthropic::Models::
|
|
26
|
-
#
|
|
27
|
-
# @raise [Anthropic::Models::CMEKKeyNetworkBlockedError] The key management service's network access controls blocked the request to the
|
|
28
|
-
# workspace's customer-managed encryption key. The key itself may be healthy.
|
|
29
|
-
# @raise [Anthropic::Models::OrganizationOnHoldError] Anthropic has disabled the organization for trust and safety reasons. An
|
|
30
|
-
# organization disabled for any other reason, such as billing, does not get this
|
|
31
|
-
# code. `appeal_url`, when present, is where the organization can appeal.
|
|
23
|
+
# @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError]
|
|
24
|
+
# @raise [Anthropic::Models::CMEKKeyDisabledError]
|
|
25
|
+
# @raise [Anthropic::Models::CMEKKeyNetworkBlockedError]
|
|
26
|
+
# @raise [Anthropic::Models::OrganizationOnHoldError]
|
|
32
27
|
#
|
|
33
28
|
# @return [Anthropic::Internal::PageCursor<Anthropic::Models::FileMetadata>]
|
|
34
29
|
#
|
|
@@ -64,15 +59,10 @@ module Anthropic
|
|
|
64
59
|
#
|
|
65
60
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
66
61
|
#
|
|
67
|
-
# @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError]
|
|
68
|
-
#
|
|
69
|
-
# @raise [Anthropic::Models::
|
|
70
|
-
#
|
|
71
|
-
# @raise [Anthropic::Models::CMEKKeyNetworkBlockedError] The key management service's network access controls blocked the request to the
|
|
72
|
-
# workspace's customer-managed encryption key. The key itself may be healthy.
|
|
73
|
-
# @raise [Anthropic::Models::OrganizationOnHoldError] Anthropic has disabled the organization for trust and safety reasons. An
|
|
74
|
-
# organization disabled for any other reason, such as billing, does not get this
|
|
75
|
-
# code. `appeal_url`, when present, is where the organization can appeal.
|
|
62
|
+
# @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError]
|
|
63
|
+
# @raise [Anthropic::Models::CMEKKeyDisabledError]
|
|
64
|
+
# @raise [Anthropic::Models::CMEKKeyNetworkBlockedError]
|
|
65
|
+
# @raise [Anthropic::Models::OrganizationOnHoldError]
|
|
76
66
|
#
|
|
77
67
|
# @return [Anthropic::Models::DeletedFile]
|
|
78
68
|
#
|
|
@@ -104,18 +94,12 @@ module Anthropic
|
|
|
104
94
|
#
|
|
105
95
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
106
96
|
#
|
|
107
|
-
# @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError]
|
|
108
|
-
#
|
|
109
|
-
# @raise [Anthropic::Models::
|
|
110
|
-
#
|
|
111
|
-
# @raise [Anthropic::Models::
|
|
112
|
-
#
|
|
113
|
-
# @raise [Anthropic::Models::FileNotDownloadableError] The file has `downloadable: false`. Only files generated by a tool, such as the
|
|
114
|
-
# code execution tool, can be downloaded.
|
|
115
|
-
# @raise [Anthropic::Models::OrganizationOnHoldError] Anthropic has disabled the organization for trust and safety reasons. An
|
|
116
|
-
# organization disabled for any other reason, such as billing, does not get this
|
|
117
|
-
# code. `appeal_url`, when present, is where the organization can appeal.
|
|
118
|
-
# @raise [Anthropic::Models::FileExpiredError] The file's `expires_at` has passed, so its content is no longer available.
|
|
97
|
+
# @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError]
|
|
98
|
+
# @raise [Anthropic::Models::CMEKKeyDisabledError]
|
|
99
|
+
# @raise [Anthropic::Models::CMEKKeyNetworkBlockedError]
|
|
100
|
+
# @raise [Anthropic::Models::FileNotDownloadableError]
|
|
101
|
+
# @raise [Anthropic::Models::OrganizationOnHoldError]
|
|
102
|
+
# @raise [Anthropic::Models::FileExpiredError]
|
|
119
103
|
#
|
|
120
104
|
# @return [StringIO]
|
|
121
105
|
#
|
|
@@ -150,15 +134,10 @@ module Anthropic
|
|
|
150
134
|
#
|
|
151
135
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
152
136
|
#
|
|
153
|
-
# @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError]
|
|
154
|
-
#
|
|
155
|
-
# @raise [Anthropic::Models::
|
|
156
|
-
#
|
|
157
|
-
# @raise [Anthropic::Models::CMEKKeyNetworkBlockedError] The key management service's network access controls blocked the request to the
|
|
158
|
-
# workspace's customer-managed encryption key. The key itself may be healthy.
|
|
159
|
-
# @raise [Anthropic::Models::OrganizationOnHoldError] Anthropic has disabled the organization for trust and safety reasons. An
|
|
160
|
-
# organization disabled for any other reason, such as billing, does not get this
|
|
161
|
-
# code. `appeal_url`, when present, is where the organization can appeal.
|
|
137
|
+
# @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError]
|
|
138
|
+
# @raise [Anthropic::Models::CMEKKeyDisabledError]
|
|
139
|
+
# @raise [Anthropic::Models::CMEKKeyNetworkBlockedError]
|
|
140
|
+
# @raise [Anthropic::Models::OrganizationOnHoldError]
|
|
162
141
|
#
|
|
163
142
|
# @return [Anthropic::Models::FileMetadata]
|
|
164
143
|
#
|
|
@@ -192,17 +171,11 @@ module Anthropic
|
|
|
192
171
|
#
|
|
193
172
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
194
173
|
#
|
|
195
|
-
# @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError]
|
|
196
|
-
#
|
|
197
|
-
# @raise [Anthropic::Models::
|
|
198
|
-
#
|
|
199
|
-
# @raise [Anthropic::Models::
|
|
200
|
-
# workspace's customer-managed encryption key. The key itself may be healthy.
|
|
201
|
-
# @raise [Anthropic::Models::OrganizationOnHoldError] Anthropic has disabled the organization for trust and safety reasons. An
|
|
202
|
-
# organization disabled for any other reason, such as billing, does not get this
|
|
203
|
-
# code. `appeal_url`, when present, is where the organization can appeal.
|
|
204
|
-
# @raise [Anthropic::Models::StorageQuotaExceededError] The organization's file storage quota is exhausted. Delete files to free up
|
|
205
|
-
# space, then retry the upload.
|
|
174
|
+
# @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError]
|
|
175
|
+
# @raise [Anthropic::Models::CMEKKeyDisabledError]
|
|
176
|
+
# @raise [Anthropic::Models::CMEKKeyNetworkBlockedError]
|
|
177
|
+
# @raise [Anthropic::Models::OrganizationOnHoldError]
|
|
178
|
+
# @raise [Anthropic::Models::StorageQuotaExceededError]
|
|
206
179
|
#
|
|
207
180
|
# @return [Anthropic::Models::FileMetadata]
|
|
208
181
|
#
|
|
@@ -26,14 +26,10 @@ module Anthropic
|
|
|
26
26
|
#
|
|
27
27
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
28
28
|
#
|
|
29
|
-
# @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError]
|
|
30
|
-
#
|
|
31
|
-
# @raise [Anthropic::Models::
|
|
32
|
-
#
|
|
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::EnforcedSpendLimitReachedError] The organization has crossed the monthly API usage threshold of its API tier.
|
|
29
|
+
# @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError]
|
|
30
|
+
# @raise [Anthropic::Models::CMEKKeyDisabledError]
|
|
31
|
+
# @raise [Anthropic::Models::OrganizationOnHoldError]
|
|
32
|
+
# @raise [Anthropic::Models::EnforcedSpendLimitReachedError]
|
|
37
33
|
#
|
|
38
34
|
# @return [Anthropic::Models::Messages::MessageBatch]
|
|
39
35
|
#
|
|
@@ -75,11 +71,8 @@ module Anthropic
|
|
|
75
71
|
#
|
|
76
72
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
77
73
|
#
|
|
78
|
-
# @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError]
|
|
79
|
-
#
|
|
80
|
-
# @raise [Anthropic::Models::OrganizationOnHoldError] Anthropic has disabled the organization for trust and safety reasons. An
|
|
81
|
-
# organization disabled for any other reason, such as billing, does not get this
|
|
82
|
-
# code. `appeal_url`, when present, is where the organization can appeal.
|
|
74
|
+
# @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError]
|
|
75
|
+
# @raise [Anthropic::Models::OrganizationOnHoldError]
|
|
83
76
|
#
|
|
84
77
|
# @return [Anthropic::Models::Messages::MessageBatch]
|
|
85
78
|
#
|
|
@@ -119,11 +112,8 @@ module Anthropic
|
|
|
119
112
|
#
|
|
120
113
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
121
114
|
#
|
|
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.
|
|
115
|
+
# @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError]
|
|
116
|
+
# @raise [Anthropic::Models::OrganizationOnHoldError]
|
|
127
117
|
#
|
|
128
118
|
# @return [Anthropic::Internal::Page<Anthropic::Models::Messages::MessageBatch>]
|
|
129
119
|
#
|
|
@@ -165,11 +155,8 @@ module Anthropic
|
|
|
165
155
|
#
|
|
166
156
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
167
157
|
#
|
|
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.
|
|
158
|
+
# @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError]
|
|
159
|
+
# @raise [Anthropic::Models::OrganizationOnHoldError]
|
|
173
160
|
#
|
|
174
161
|
# @return [Anthropic::Models::Messages::DeletedMessageBatch]
|
|
175
162
|
#
|
|
@@ -212,11 +199,8 @@ module Anthropic
|
|
|
212
199
|
#
|
|
213
200
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
214
201
|
#
|
|
215
|
-
# @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError]
|
|
216
|
-
#
|
|
217
|
-
# @raise [Anthropic::Models::OrganizationOnHoldError] Anthropic has disabled the organization for trust and safety reasons. An
|
|
218
|
-
# organization disabled for any other reason, such as billing, does not get this
|
|
219
|
-
# code. `appeal_url`, when present, is where the organization can appeal.
|
|
202
|
+
# @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError]
|
|
203
|
+
# @raise [Anthropic::Models::OrganizationOnHoldError]
|
|
220
204
|
#
|
|
221
205
|
# @return [Anthropic::Models::Messages::MessageBatch]
|
|
222
206
|
#
|
|
@@ -255,13 +239,9 @@ module Anthropic
|
|
|
255
239
|
#
|
|
256
240
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
257
241
|
#
|
|
258
|
-
# @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError]
|
|
259
|
-
#
|
|
260
|
-
# @raise [Anthropic::Models::
|
|
261
|
-
# Re-enable the key, then retry.
|
|
262
|
-
# @raise [Anthropic::Models::OrganizationOnHoldError] Anthropic has disabled the organization for trust and safety reasons. An
|
|
263
|
-
# organization disabled for any other reason, such as billing, does not get this
|
|
264
|
-
# code. `appeal_url`, when present, is where the organization can appeal.
|
|
242
|
+
# @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError]
|
|
243
|
+
# @raise [Anthropic::Models::CMEKKeyDisabledError]
|
|
244
|
+
# @raise [Anthropic::Models::OrganizationOnHoldError]
|
|
265
245
|
#
|
|
266
246
|
# @return [Anthropic::Internal::Type::BaseStream<Anthropic::Models::Messages::MessageBatchIndividualResponse>]
|
|
267
247
|
#
|
|
@@ -62,62 +62,35 @@ module Anthropic
|
|
|
62
62
|
#
|
|
63
63
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
64
64
|
#
|
|
65
|
-
# @raise [Anthropic::Models::AvailableToolsLimitExceededError]
|
|
66
|
-
#
|
|
67
|
-
# @raise [Anthropic::Models::
|
|
68
|
-
#
|
|
69
|
-
# @raise [Anthropic::Models::
|
|
70
|
-
#
|
|
71
|
-
# @raise [Anthropic::Models::
|
|
72
|
-
#
|
|
73
|
-
# @raise [Anthropic::Models::
|
|
74
|
-
#
|
|
75
|
-
# @raise [Anthropic::Models::
|
|
76
|
-
#
|
|
77
|
-
# @raise [Anthropic::Models::
|
|
78
|
-
#
|
|
79
|
-
# @raise [Anthropic::Models::
|
|
80
|
-
#
|
|
81
|
-
# @raise [Anthropic::Models::
|
|
82
|
-
# @raise [Anthropic::Models::
|
|
83
|
-
# @raise [Anthropic::Models::
|
|
84
|
-
# @raise [Anthropic::Models::
|
|
85
|
-
#
|
|
86
|
-
# @raise [Anthropic::Models::
|
|
87
|
-
#
|
|
88
|
-
# @raise [Anthropic::Models::
|
|
89
|
-
#
|
|
90
|
-
#
|
|
91
|
-
# @raise [Anthropic::Models::
|
|
92
|
-
# @raise [Anthropic::Models::
|
|
93
|
-
# @raise [Anthropic::Models::
|
|
94
|
-
# each response can be continued only once. Continue from the Thread's most recent
|
|
95
|
-
# response `id`.
|
|
96
|
-
# @raise [Anthropic::Models::ThreadContinueInFlightError] Another request is still continuing from the same `previous_message_id`. Wait
|
|
97
|
-
# for it to complete and continue from its response `id`, or replay the full
|
|
98
|
-
# conversation with `thread: {"type": "create"}`.
|
|
99
|
-
# @raise [Anthropic::Models::ThreadFingerprintMismatchError] A field that must stay the same across a Thread's turns differs from the value
|
|
100
|
-
# stored with the Thread; the message names each such field. Send the stored
|
|
101
|
-
# values, or replay the full conversation with `thread: {"type": "create"}` to
|
|
102
|
-
# change them.
|
|
103
|
-
# @raise [Anthropic::Models::ThreadUnsupportedRequestError] The request combines `thread` with a request field or an organization setting
|
|
104
|
-
# that Threads do not support; `unsupported`, when present, names it. Send the
|
|
105
|
-
# full conversation without `thread`, or change that field.
|
|
106
|
-
# @raise [Anthropic::Models::ToolNameConflictError] A tool made available in `messages` takes a name that an available tool of
|
|
107
|
-
# another kind, or of another MCP server, already holds.
|
|
108
|
-
# @raise [Anthropic::Models::ToolReferenceUnresolvedError] A tool change or MCP tool listing references a tool or MCP server that is not
|
|
109
|
-
# defined at that position in the conversation.
|
|
110
|
-
# @raise [Anthropic::Models::ThreadNotFoundError] No usable Thread state was found for `previous_message_id`. Replay the full
|
|
111
|
-
# conversation with `thread: {"type": "create"}` to start a new Thread.
|
|
112
|
-
# @raise [Anthropic::Models::SkillReadBlockedUndecryptableError] A custom skill the request names is stored under an encryption key state the
|
|
113
|
-
# workspace cannot currently decrypt.
|
|
114
|
-
# @raise [Anthropic::Models::RequestBodyTooLargeAfterDecodingError] The compressed request body exceeds the request size limit once decoded.
|
|
115
|
-
# @raise [Anthropic::Models::EnforcedSpendLimitReachedError] The organization has crossed the monthly API usage threshold of its API tier.
|
|
116
|
-
# @raise [Anthropic::Models::CMEKKeyUnreachableError] The workspace's customer-managed encryption key could not be reached. Retry the
|
|
117
|
-
# request; if this continues, check that the key is available in your key
|
|
118
|
-
# management service, or contact Anthropic support.
|
|
119
|
-
# @raise [Anthropic::Models::CompactionUnavailableError] The compaction could not be completed for a transient server reason. Retry the
|
|
120
|
-
# request.
|
|
65
|
+
# @raise [Anthropic::Models::AvailableToolsLimitExceededError]
|
|
66
|
+
# @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError]
|
|
67
|
+
# @raise [Anthropic::Models::ClaudeCodeVersionTooOldError]
|
|
68
|
+
# @raise [Anthropic::Models::CMEKKeyDisabledError]
|
|
69
|
+
# @raise [Anthropic::Models::CMEKKeyNetworkBlockedError]
|
|
70
|
+
# @raise [Anthropic::Models::CompactionBlockAmbiguousError]
|
|
71
|
+
# @raise [Anthropic::Models::CompactionBlockMisplacedError]
|
|
72
|
+
# @raise [Anthropic::Models::CompactionContentMismatchError]
|
|
73
|
+
# @raise [Anthropic::Models::CompactionIncompleteTurnError]
|
|
74
|
+
# @raise [Anthropic::Models::CompactionNothingToSummarizeError]
|
|
75
|
+
# @raise [Anthropic::Models::CompactionSignatureInvalidError]
|
|
76
|
+
# @raise [Anthropic::Models::CompactionTooManyToolReferencesError]
|
|
77
|
+
# @raise [Anthropic::Models::CompactionToolChangesMismatchError]
|
|
78
|
+
# @raise [Anthropic::Models::OrganizationOnHoldError]
|
|
79
|
+
# @raise [Anthropic::Models::RequestBodyEncodingInvalidError]
|
|
80
|
+
# @raise [Anthropic::Models::RequestBodyEncodingUnsupportedError]
|
|
81
|
+
# @raise [Anthropic::Models::ThreadAlreadyContinuedError]
|
|
82
|
+
# @raise [Anthropic::Models::ThreadContinueInFlightError]
|
|
83
|
+
# @raise [Anthropic::Models::ThreadFingerprintMismatchError]
|
|
84
|
+
# @raise [Anthropic::Models::ThreadUnsupportedRequestError]
|
|
85
|
+
# @raise [Anthropic::Models::ToolNameConflictError]
|
|
86
|
+
# @raise [Anthropic::Models::ToolReferenceUnresolvedError]
|
|
87
|
+
# @raise [Anthropic::Models::ThreadNotFoundError]
|
|
88
|
+
# @raise [Anthropic::Models::SkillReadBlockedUndecryptableError]
|
|
89
|
+
# @raise [Anthropic::Models::RequestBodyTooLargeAfterDecodingError]
|
|
90
|
+
# @raise [Anthropic::Models::EnforcedSpendLimitReachedError]
|
|
91
|
+
# @raise [Anthropic::Models::RampLimitExceededError]
|
|
92
|
+
# @raise [Anthropic::Models::CMEKKeyUnreachableError]
|
|
93
|
+
# @raise [Anthropic::Models::CompactionUnavailableError]
|
|
121
94
|
#
|
|
122
95
|
# @return [Anthropic::Models::Message]
|
|
123
96
|
#
|
|
@@ -215,62 +188,35 @@ module Anthropic
|
|
|
215
188
|
#
|
|
216
189
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
217
190
|
#
|
|
218
|
-
# @raise [Anthropic::Models::AvailableToolsLimitExceededError]
|
|
219
|
-
#
|
|
220
|
-
# @raise [Anthropic::Models::
|
|
221
|
-
#
|
|
222
|
-
# @raise [Anthropic::Models::
|
|
223
|
-
#
|
|
224
|
-
# @raise [Anthropic::Models::
|
|
225
|
-
#
|
|
226
|
-
# @raise [Anthropic::Models::
|
|
227
|
-
#
|
|
228
|
-
# @raise [Anthropic::Models::
|
|
229
|
-
#
|
|
230
|
-
# @raise [Anthropic::Models::
|
|
231
|
-
#
|
|
232
|
-
# @raise [Anthropic::Models::
|
|
233
|
-
#
|
|
234
|
-
# @raise [Anthropic::Models::
|
|
235
|
-
# @raise [Anthropic::Models::
|
|
236
|
-
# @raise [Anthropic::Models::
|
|
237
|
-
# @raise [Anthropic::Models::
|
|
238
|
-
#
|
|
239
|
-
# @raise [Anthropic::Models::
|
|
240
|
-
#
|
|
241
|
-
# @raise [Anthropic::Models::
|
|
242
|
-
#
|
|
243
|
-
#
|
|
244
|
-
# @raise [Anthropic::Models::
|
|
245
|
-
# @raise [Anthropic::Models::
|
|
246
|
-
# @raise [Anthropic::Models::
|
|
247
|
-
# each response can be continued only once. Continue from the Thread's most recent
|
|
248
|
-
# response `id`.
|
|
249
|
-
# @raise [Anthropic::Models::ThreadContinueInFlightError] Another request is still continuing from the same `previous_message_id`. Wait
|
|
250
|
-
# for it to complete and continue from its response `id`, or replay the full
|
|
251
|
-
# conversation with `thread: {"type": "create"}`.
|
|
252
|
-
# @raise [Anthropic::Models::ThreadFingerprintMismatchError] A field that must stay the same across a Thread's turns differs from the value
|
|
253
|
-
# stored with the Thread; the message names each such field. Send the stored
|
|
254
|
-
# values, or replay the full conversation with `thread: {"type": "create"}` to
|
|
255
|
-
# change them.
|
|
256
|
-
# @raise [Anthropic::Models::ThreadUnsupportedRequestError] The request combines `thread` with a request field or an organization setting
|
|
257
|
-
# that Threads do not support; `unsupported`, when present, names it. Send the
|
|
258
|
-
# full conversation without `thread`, or change that field.
|
|
259
|
-
# @raise [Anthropic::Models::ToolNameConflictError] A tool made available in `messages` takes a name that an available tool of
|
|
260
|
-
# another kind, or of another MCP server, already holds.
|
|
261
|
-
# @raise [Anthropic::Models::ToolReferenceUnresolvedError] A tool change or MCP tool listing references a tool or MCP server that is not
|
|
262
|
-
# defined at that position in the conversation.
|
|
263
|
-
# @raise [Anthropic::Models::ThreadNotFoundError] No usable Thread state was found for `previous_message_id`. Replay the full
|
|
264
|
-
# conversation with `thread: {"type": "create"}` to start a new Thread.
|
|
265
|
-
# @raise [Anthropic::Models::SkillReadBlockedUndecryptableError] A custom skill the request names is stored under an encryption key state the
|
|
266
|
-
# workspace cannot currently decrypt.
|
|
267
|
-
# @raise [Anthropic::Models::RequestBodyTooLargeAfterDecodingError] The compressed request body exceeds the request size limit once decoded.
|
|
268
|
-
# @raise [Anthropic::Models::EnforcedSpendLimitReachedError] The organization has crossed the monthly API usage threshold of its API tier.
|
|
269
|
-
# @raise [Anthropic::Models::CMEKKeyUnreachableError] The workspace's customer-managed encryption key could not be reached. Retry the
|
|
270
|
-
# request; if this continues, check that the key is available in your key
|
|
271
|
-
# management service, or contact Anthropic support.
|
|
272
|
-
# @raise [Anthropic::Models::CompactionUnavailableError] The compaction could not be completed for a transient server reason. Retry the
|
|
273
|
-
# request.
|
|
191
|
+
# @raise [Anthropic::Models::AvailableToolsLimitExceededError]
|
|
192
|
+
# @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError]
|
|
193
|
+
# @raise [Anthropic::Models::ClaudeCodeVersionTooOldError]
|
|
194
|
+
# @raise [Anthropic::Models::CMEKKeyDisabledError]
|
|
195
|
+
# @raise [Anthropic::Models::CMEKKeyNetworkBlockedError]
|
|
196
|
+
# @raise [Anthropic::Models::CompactionBlockAmbiguousError]
|
|
197
|
+
# @raise [Anthropic::Models::CompactionBlockMisplacedError]
|
|
198
|
+
# @raise [Anthropic::Models::CompactionContentMismatchError]
|
|
199
|
+
# @raise [Anthropic::Models::CompactionIncompleteTurnError]
|
|
200
|
+
# @raise [Anthropic::Models::CompactionNothingToSummarizeError]
|
|
201
|
+
# @raise [Anthropic::Models::CompactionSignatureInvalidError]
|
|
202
|
+
# @raise [Anthropic::Models::CompactionTooManyToolReferencesError]
|
|
203
|
+
# @raise [Anthropic::Models::CompactionToolChangesMismatchError]
|
|
204
|
+
# @raise [Anthropic::Models::OrganizationOnHoldError]
|
|
205
|
+
# @raise [Anthropic::Models::RequestBodyEncodingInvalidError]
|
|
206
|
+
# @raise [Anthropic::Models::RequestBodyEncodingUnsupportedError]
|
|
207
|
+
# @raise [Anthropic::Models::ThreadAlreadyContinuedError]
|
|
208
|
+
# @raise [Anthropic::Models::ThreadContinueInFlightError]
|
|
209
|
+
# @raise [Anthropic::Models::ThreadFingerprintMismatchError]
|
|
210
|
+
# @raise [Anthropic::Models::ThreadUnsupportedRequestError]
|
|
211
|
+
# @raise [Anthropic::Models::ToolNameConflictError]
|
|
212
|
+
# @raise [Anthropic::Models::ToolReferenceUnresolvedError]
|
|
213
|
+
# @raise [Anthropic::Models::ThreadNotFoundError]
|
|
214
|
+
# @raise [Anthropic::Models::SkillReadBlockedUndecryptableError]
|
|
215
|
+
# @raise [Anthropic::Models::RequestBodyTooLargeAfterDecodingError]
|
|
216
|
+
# @raise [Anthropic::Models::EnforcedSpendLimitReachedError]
|
|
217
|
+
# @raise [Anthropic::Models::RampLimitExceededError]
|
|
218
|
+
# @raise [Anthropic::Models::CMEKKeyUnreachableError]
|
|
219
|
+
# @raise [Anthropic::Models::CompactionUnavailableError]
|
|
274
220
|
#
|
|
275
221
|
# @return [Anthropic::Internal::Type::BaseStream<Anthropic::Models::RawMessageStartEvent, Anthropic::Models::RawMessageDeltaEvent, Anthropic::Models::RawMessageStopEvent, Anthropic::Models::RawContentBlockStartEvent, Anthropic::Models::RawContentBlockDeltaEvent, Anthropic::Models::RawContentBlockStopEvent>]
|
|
276
222
|
#
|
|
@@ -339,33 +285,22 @@ module Anthropic
|
|
|
339
285
|
#
|
|
340
286
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
341
287
|
#
|
|
342
|
-
# @raise [Anthropic::Models::AvailableToolsLimitExceededError]
|
|
343
|
-
#
|
|
344
|
-
# @raise [Anthropic::Models::
|
|
345
|
-
#
|
|
346
|
-
# @raise [Anthropic::Models::
|
|
347
|
-
#
|
|
348
|
-
# @raise [Anthropic::Models::
|
|
349
|
-
#
|
|
350
|
-
# @raise [Anthropic::Models::
|
|
351
|
-
#
|
|
352
|
-
# @raise [Anthropic::Models::
|
|
353
|
-
# @raise [Anthropic::Models::
|
|
354
|
-
# @raise [Anthropic::Models::
|
|
355
|
-
#
|
|
356
|
-
# @raise [Anthropic::Models::
|
|
357
|
-
#
|
|
358
|
-
# code. `appeal_url`, when present, is where the organization can appeal.
|
|
359
|
-
# @raise [Anthropic::Models::RequestBodyEncodingInvalidError] The request body is not valid for its `Content-Encoding`.
|
|
360
|
-
# @raise [Anthropic::Models::RequestBodyEncodingUnsupportedError] The request's `Content-Encoding` is not supported.
|
|
361
|
-
# @raise [Anthropic::Models::ToolNameConflictError] A tool made available in `messages` takes a name that an available tool of
|
|
362
|
-
# another kind, or of another MCP server, already holds.
|
|
363
|
-
# @raise [Anthropic::Models::ToolReferenceUnresolvedError] A tool change or MCP tool listing references a tool or MCP server that is not
|
|
364
|
-
# defined at that position in the conversation.
|
|
365
|
-
# @raise [Anthropic::Models::RequestBodyTooLargeAfterDecodingError] The compressed request body exceeds the request size limit once decoded.
|
|
366
|
-
# @raise [Anthropic::Models::EnforcedSpendLimitReachedError] The organization has crossed the monthly API usage threshold of its API tier.
|
|
367
|
-
# @raise [Anthropic::Models::CompactionUnavailableError] The compaction could not be completed for a transient server reason. Retry the
|
|
368
|
-
# request.
|
|
288
|
+
# @raise [Anthropic::Models::AvailableToolsLimitExceededError]
|
|
289
|
+
# @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError]
|
|
290
|
+
# @raise [Anthropic::Models::CompactionBlockAmbiguousError]
|
|
291
|
+
# @raise [Anthropic::Models::CompactionBlockMisplacedError]
|
|
292
|
+
# @raise [Anthropic::Models::CompactionContentMismatchError]
|
|
293
|
+
# @raise [Anthropic::Models::CompactionNothingToSummarizeError]
|
|
294
|
+
# @raise [Anthropic::Models::CompactionSignatureInvalidError]
|
|
295
|
+
# @raise [Anthropic::Models::CompactionToolChangesMismatchError]
|
|
296
|
+
# @raise [Anthropic::Models::OrganizationOnHoldError]
|
|
297
|
+
# @raise [Anthropic::Models::RequestBodyEncodingInvalidError]
|
|
298
|
+
# @raise [Anthropic::Models::RequestBodyEncodingUnsupportedError]
|
|
299
|
+
# @raise [Anthropic::Models::ToolNameConflictError]
|
|
300
|
+
# @raise [Anthropic::Models::ToolReferenceUnresolvedError]
|
|
301
|
+
# @raise [Anthropic::Models::RequestBodyTooLargeAfterDecodingError]
|
|
302
|
+
# @raise [Anthropic::Models::EnforcedSpendLimitReachedError]
|
|
303
|
+
# @raise [Anthropic::Models::CompactionUnavailableError]
|
|
369
304
|
#
|
|
370
305
|
# @return [Anthropic::Models::MessageTokensCount]
|
|
371
306
|
#
|
|
@@ -19,11 +19,8 @@ module Anthropic
|
|
|
19
19
|
#
|
|
20
20
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
21
21
|
#
|
|
22
|
-
# @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError]
|
|
23
|
-
#
|
|
24
|
-
# @raise [Anthropic::Models::OrganizationOnHoldError] Anthropic has disabled the organization for trust and safety reasons. An
|
|
25
|
-
# organization disabled for any other reason, such as billing, does not get this
|
|
26
|
-
# code. `appeal_url`, when present, is where the organization can appeal.
|
|
22
|
+
# @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError]
|
|
23
|
+
# @raise [Anthropic::Models::OrganizationOnHoldError]
|
|
27
24
|
#
|
|
28
25
|
# @return [Anthropic::Models::ModelInfo]
|
|
29
26
|
#
|
|
@@ -64,11 +61,8 @@ module Anthropic
|
|
|
64
61
|
#
|
|
65
62
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
66
63
|
#
|
|
67
|
-
# @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError]
|
|
68
|
-
#
|
|
69
|
-
# @raise [Anthropic::Models::OrganizationOnHoldError] Anthropic has disabled the organization for trust and safety reasons. An
|
|
70
|
-
# organization disabled for any other reason, such as billing, does not get this
|
|
71
|
-
# code. `appeal_url`, when present, is where the organization can appeal.
|
|
64
|
+
# @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError]
|
|
65
|
+
# @raise [Anthropic::Models::OrganizationOnHoldError]
|
|
72
66
|
#
|
|
73
67
|
# @return [Anthropic::Internal::Page<Anthropic::Models::ModelInfo>]
|
|
74
68
|
#
|
|
@@ -39,8 +39,8 @@ module Anthropic
|
|
|
39
39
|
#
|
|
40
40
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
41
41
|
#
|
|
42
|
-
# @raise [Anthropic::Models::Organization::OrgAPIKeyLimitExceededError]
|
|
43
|
-
# @raise [Anthropic::Models::Organization::WorkspaceAPIKeyLimitExceededError]
|
|
42
|
+
# @raise [Anthropic::Models::Organization::OrgAPIKeyLimitExceededError]
|
|
43
|
+
# @raise [Anthropic::Models::Organization::WorkspaceAPIKeyLimitExceededError]
|
|
44
44
|
#
|
|
45
45
|
# @return [Anthropic::Models::Organization::APIKey]
|
|
46
46
|
#
|
|
@@ -21,9 +21,7 @@ module Anthropic
|
|
|
21
21
|
#
|
|
22
22
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
23
23
|
#
|
|
24
|
-
# @raise [Anthropic::Models::UserProfileNotFoundError]
|
|
25
|
-
# is no longer active. The request either names this user profile by ID, or names
|
|
26
|
-
# a resource, such as an External Key, that is bound to it.
|
|
24
|
+
# @raise [Anthropic::Models::UserProfileNotFoundError]
|
|
27
25
|
#
|
|
28
26
|
# @return [Anthropic::Models::Organization::ExternalKey]
|
|
29
27
|
#
|
|
@@ -83,8 +81,7 @@ module Anthropic
|
|
|
83
81
|
#
|
|
84
82
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
85
83
|
#
|
|
86
|
-
# @raise [Anthropic::Models::Organization::ExternalKeyInWorkspacePolicyError]
|
|
87
|
-
# Workspace Policy lists it as an allowed key.
|
|
84
|
+
# @raise [Anthropic::Models::Organization::ExternalKeyInWorkspacePolicyError]
|
|
88
85
|
#
|
|
89
86
|
# @return [Anthropic::Models::Organization::ExternalKey]
|
|
90
87
|
#
|
|
@@ -145,8 +142,7 @@ module Anthropic
|
|
|
145
142
|
#
|
|
146
143
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
147
144
|
#
|
|
148
|
-
# @raise [Anthropic::Models::Organization::ExternalKeyInWorkspacePolicyError]
|
|
149
|
-
# Workspace Policy lists it as an allowed key.
|
|
145
|
+
# @raise [Anthropic::Models::Organization::ExternalKeyInWorkspacePolicyError]
|
|
150
146
|
#
|
|
151
147
|
# @return [Anthropic::Models::Organization::ExternalKeyDeleteResponse]
|
|
152
148
|
#
|
|
@@ -24,23 +24,13 @@ module Anthropic
|
|
|
24
24
|
#
|
|
25
25
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
26
26
|
#
|
|
27
|
-
# @raise [Anthropic::Models::Organization::AlreadyMemberError]
|
|
28
|
-
#
|
|
29
|
-
# @raise [Anthropic::Models::Organization::
|
|
30
|
-
#
|
|
31
|
-
# @raise [Anthropic::Models::
|
|
32
|
-
#
|
|
33
|
-
# @raise [Anthropic::Models::Organization::
|
|
34
|
-
# invite.
|
|
35
|
-
# @raise [Anthropic::Models::OrgMemberLimitExceededError] The organization has reached the member limit that Anthropic set for it. Pending
|
|
36
|
-
# invites count toward the limit.
|
|
37
|
-
# @raise [Anthropic::Models::Organization::RBACGroupGrantsOwnerAccessError] A role attached to an RBAC Group in the request grants owner access, so this API
|
|
38
|
-
# does not add members to that group (directly or through an invite), remove its
|
|
39
|
-
# members, or delete it. Make the change in the organization's admin settings in
|
|
40
|
-
# Claude.
|
|
41
|
-
# @raise [Anthropic::Models::Organization::RBACGroupOwnerAccessUnconfirmedError] The API could not finish checking whether an RBAC Group in the request grants
|
|
42
|
-
# owner access, so it made no change. Retrying the same request will not help.
|
|
43
|
-
# Make the change in the organization's admin settings in Claude.
|
|
27
|
+
# @raise [Anthropic::Models::Organization::AlreadyMemberError]
|
|
28
|
+
# @raise [Anthropic::Models::Organization::CannotInviteEmailsWithUnverifiedDomainsError]
|
|
29
|
+
# @raise [Anthropic::Models::Organization::EmailDomainNotAllowedError]
|
|
30
|
+
# @raise [Anthropic::Models::Organization::InviteAlreadyExistsError]
|
|
31
|
+
# @raise [Anthropic::Models::OrgMemberLimitExceededError]
|
|
32
|
+
# @raise [Anthropic::Models::Organization::RBACGroupGrantsOwnerAccessError]
|
|
33
|
+
# @raise [Anthropic::Models::Organization::RBACGroupOwnerAccessUnconfirmedError]
|
|
44
34
|
#
|
|
45
35
|
# @return [Anthropic::Models::Organization::OrganizationInvite]
|
|
46
36
|
#
|
|
@@ -57,13 +57,8 @@ module Anthropic
|
|
|
57
57
|
#
|
|
58
58
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
59
59
|
#
|
|
60
|
-
# @raise [Anthropic::Models::Organization::RBACGroupGrantsOwnerAccessError]
|
|
61
|
-
#
|
|
62
|
-
# members, or delete it. Make the change in the organization's admin settings in
|
|
63
|
-
# Claude.
|
|
64
|
-
# @raise [Anthropic::Models::Organization::RBACGroupOwnerAccessUnconfirmedError] The API could not finish checking whether an RBAC Group in the request grants
|
|
65
|
-
# owner access, so it made no change. Retrying the same request will not help.
|
|
66
|
-
# Make the change in the organization's admin settings in Claude.
|
|
60
|
+
# @raise [Anthropic::Models::Organization::RBACGroupGrantsOwnerAccessError]
|
|
61
|
+
# @raise [Anthropic::Models::Organization::RBACGroupOwnerAccessUnconfirmedError]
|
|
67
62
|
#
|
|
68
63
|
# @return [Anthropic::Models::Organization::RBACGroups::RBACGroupMember]
|
|
69
64
|
#
|
|
@@ -97,13 +92,8 @@ module Anthropic
|
|
|
97
92
|
#
|
|
98
93
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
99
94
|
#
|
|
100
|
-
# @raise [Anthropic::Models::Organization::RBACGroupGrantsOwnerAccessError]
|
|
101
|
-
#
|
|
102
|
-
# members, or delete it. Make the change in the organization's admin settings in
|
|
103
|
-
# Claude.
|
|
104
|
-
# @raise [Anthropic::Models::Organization::RBACGroupOwnerAccessUnconfirmedError] The API could not finish checking whether an RBAC Group in the request grants
|
|
105
|
-
# owner access, so it made no change. Retrying the same request will not help.
|
|
106
|
-
# Make the change in the organization's admin settings in Claude.
|
|
95
|
+
# @raise [Anthropic::Models::Organization::RBACGroupGrantsOwnerAccessError]
|
|
96
|
+
# @raise [Anthropic::Models::Organization::RBACGroupOwnerAccessUnconfirmedError]
|
|
107
97
|
#
|
|
108
98
|
# @return [Anthropic::Models::Organization::RBACGroups::DeletedRBACGroupMember]
|
|
109
99
|
#
|
|
@@ -137,13 +137,8 @@ module Anthropic
|
|
|
137
137
|
#
|
|
138
138
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
139
139
|
#
|
|
140
|
-
# @raise [Anthropic::Models::Organization::RBACGroupGrantsOwnerAccessError]
|
|
141
|
-
#
|
|
142
|
-
# members, or delete it. Make the change in the organization's admin settings in
|
|
143
|
-
# Claude.
|
|
144
|
-
# @raise [Anthropic::Models::Organization::RBACGroupOwnerAccessUnconfirmedError] The API could not finish checking whether an RBAC Group in the request grants
|
|
145
|
-
# owner access, so it made no change. Retrying the same request will not help.
|
|
146
|
-
# Make the change in the organization's admin settings in Claude.
|
|
140
|
+
# @raise [Anthropic::Models::Organization::RBACGroupGrantsOwnerAccessError]
|
|
141
|
+
# @raise [Anthropic::Models::Organization::RBACGroupOwnerAccessUnconfirmedError]
|
|
147
142
|
#
|
|
148
143
|
# @return [Anthropic::Models::Organization::DeletedRBACGroup]
|
|
149
144
|
#
|
|
@@ -28,8 +28,7 @@ module Anthropic
|
|
|
28
28
|
#
|
|
29
29
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
30
30
|
#
|
|
31
|
-
# @raise [Anthropic::Models::OrganizationTypeNotSupportedError]
|
|
32
|
-
# description says which organization types it supports.
|
|
31
|
+
# @raise [Anthropic::Models::OrganizationTypeNotSupportedError]
|
|
33
32
|
#
|
|
34
33
|
# @return [Anthropic::Internal::PageCursor<Anthropic::Models::Organization::SpendSummary>]
|
|
35
34
|
#
|
|
@@ -103,10 +103,8 @@ module Anthropic
|
|
|
103
103
|
#
|
|
104
104
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
105
105
|
#
|
|
106
|
-
# @raise [Anthropic::Models::Organization::CannotRemoveLastMemberError]
|
|
107
|
-
#
|
|
108
|
-
# @raise [Anthropic::Models::ConcurrentMembershipChangeError] Another change to the organization's members is in progress. Retry the request
|
|
109
|
-
# once it completes.
|
|
106
|
+
# @raise [Anthropic::Models::Organization::CannotRemoveLastMemberError]
|
|
107
|
+
# @raise [Anthropic::Models::ConcurrentMembershipChangeError]
|
|
110
108
|
#
|
|
111
109
|
# @return [Anthropic::Models::Organization::UserRemoveResponse]
|
|
112
110
|
#
|