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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +49 -0
- data/README.md +1 -1
- data/lib/anthropic/error_classes.rb +1 -1
- data/lib/anthropic/helpers/aws/client.rb +6 -0
- data/lib/anthropic/helpers/bedrock/client.rb +17 -5
- data/lib/anthropic/helpers/bedrock/mantle_client.rb +6 -0
- data/lib/anthropic/helpers/google_cloud/client.rb +4 -1
- data/lib/anthropic/helpers/streaming/message_stream.rb +6 -4
- data/lib/anthropic/helpers/vertex/client.rb +26 -12
- data/lib/anthropic/models/beta/beta_managed_agents_model.rb +5 -0
- data/lib/anthropic/models/beta/beta_webhook_event.rb +2 -2
- data/lib/anthropic/models/beta/beta_webhook_event_data.rb +8 -2
- data/lib/anthropic/models/beta/beta_webhook_user_profile_program_status_updated_event_data.rb +35 -0
- data/lib/anthropic/models/beta/environments/work_heartbeat_params.rb +2 -1
- data/lib/anthropic/models/beta/organization/analytics/beta_analytics_cost_group.rb +10 -1
- data/lib/anthropic/models/beta/organization/analytics/beta_analytics_cost_group_by.rb +1 -0
- data/lib/anthropic/models/beta/organization/analytics/beta_analytics_usage_group.rb +10 -1
- data/lib/anthropic/models/beta/organization/analytics/beta_analytics_usage_group_by.rb +1 -0
- data/lib/anthropic/models/beta/organization/analytics/cost_list_params.rb +12 -1
- data/lib/anthropic/models/beta/organization/analytics/usage_list_params.rb +12 -1
- data/lib/anthropic/models/beta/organization/beta_analytics_claude_tag_metrics.rb +42 -0
- data/lib/anthropic/models/beta/organization/beta_analytics_single_day_activity_summary.rb +43 -1
- data/lib/anthropic/models/beta/organization/beta_analytics_user_activity.rb +14 -1
- data/lib/anthropic/models/beta/organization/beta_cannot_sign_out_managed_member_error.rb +2 -2
- data/lib/anthropic/models/beta/organization/beta_cannot_sign_out_managed_member_error_details.rb +2 -2
- data/lib/anthropic/models/beta/organization/beta_claude_tag_reply_mode.rb +68 -0
- data/lib/anthropic/models/beta/organization/beta_claude_tag_reply_mode_always_awake.rb +22 -0
- data/lib/anthropic/models/beta/organization/beta_claude_tag_reply_mode_automatic.rb +22 -0
- data/lib/anthropic/models/beta/organization/beta_claude_tag_reply_mode_mention_only.rb +21 -0
- data/lib/anthropic/models/beta/organization/beta_claude_tag_reply_mode_thread.rb +23 -0
- data/lib/anthropic/models/beta/organization/beta_claude_tag_setting_sources.rb +14 -1
- data/lib/anthropic/models/beta/organization/beta_claude_tag_settings.rb +20 -3
- data/lib/anthropic/models/beta/organization/beta_claude_tag_settings_create.rb +22 -2
- data/lib/anthropic/models/beta/organization/beta_claude_tag_settings_update.rb +22 -2
- data/lib/anthropic/models/beta/organization/beta_new_organization_webhook_endpoint.rb +1 -0
- data/lib/anthropic/models/beta/organization/beta_organization_webhook_endpoint.rb +1 -0
- data/lib/anthropic/models/beta/organization/beta_rbac_role.rb +4 -4
- data/lib/anthropic/models/beta/organization/external_key_create_params.rb +7 -5
- data/lib/anthropic/models/beta/organization/webhook_create_params.rb +1 -0
- data/lib/anthropic/models/beta/organization/webhook_update_params.rb +1 -0
- data/lib/anthropic/models/error_details.rb +9 -9
- data/lib/anthropic/models/model.rb +10 -0
- data/lib/anthropic/models/organization/analytics_claude_tag_metrics.rb +39 -0
- data/lib/anthropic/models/organization/analytics_single_day_activity_summary.rb +43 -1
- data/lib/anthropic/models/organization/analytics_user_activity.rb +12 -1
- data/lib/anthropic/models/organization/external_key_create_params.rb +7 -5
- data/lib/anthropic/models/organization/rbac_role.rb +4 -4
- data/lib/anthropic/models/sandbox_egress_restricted_error.rb +21 -0
- data/lib/anthropic/models/sandbox_egress_restricted_error_details.rb +19 -0
- data/lib/anthropic/models/thread_unsupported_feature_name.rb +0 -1
- data/lib/anthropic/models.rb +4 -0
- data/lib/anthropic/resources/beta/organization/analytics/cost.rb +5 -1
- data/lib/anthropic/resources/beta/organization/analytics/usage.rb +5 -1
- data/lib/anthropic/resources/beta/organization/api_keys.rb +1 -0
- data/lib/anthropic/resources/beta/organization/compliance_settings.rb +2 -0
- data/lib/anthropic/resources/beta/organization/external_keys.rb +6 -1
- data/lib/anthropic/resources/beta/organization/federation/issuers.rb +6 -0
- data/lib/anthropic/resources/beta/organization/federation/rules/workspaces.rb +4 -0
- data/lib/anthropic/resources/beta/organization/federation/rules.rb +6 -0
- data/lib/anthropic/resources/beta/organization/invites.rb +3 -0
- data/lib/anthropic/resources/beta/organization/plugins/versions.rb +4 -5
- data/lib/anthropic/resources/beta/organization/plugins.rb +13 -12
- data/lib/anthropic/resources/beta/organization/rbac_groups/members.rb +2 -0
- data/lib/anthropic/resources/beta/organization/rbac_groups.rb +5 -0
- data/lib/anthropic/resources/beta/organization/service_accounts/workspaces.rb +4 -0
- data/lib/anthropic/resources/beta/organization/service_accounts.rb +6 -0
- data/lib/anthropic/resources/beta/organization/spend_limits/increase_requests.rb +4 -0
- data/lib/anthropic/resources/beta/organization/spend_limits.rb +2 -2
- data/lib/anthropic/resources/beta/organization/users.rb +8 -4
- data/lib/anthropic/resources/beta/organization/webhooks.rb +4 -0
- data/lib/anthropic/resources/beta/organization/workspaces/members.rb +4 -0
- data/lib/anthropic/resources/beta/organization/workspaces/rate_limits.rb +2 -0
- data/lib/anthropic/resources/beta/organization/workspaces/service_accounts.rb +6 -0
- data/lib/anthropic/resources/beta/organization/workspaces.rb +4 -0
- data/lib/anthropic/resources/organization/api_keys.rb +1 -0
- data/lib/anthropic/resources/organization/compliance_settings.rb +2 -0
- data/lib/anthropic/resources/organization/external_keys.rb +6 -1
- data/lib/anthropic/resources/organization/federation/issuers.rb +6 -0
- data/lib/anthropic/resources/organization/federation/rules/workspaces.rb +4 -0
- data/lib/anthropic/resources/organization/federation/rules.rb +6 -0
- data/lib/anthropic/resources/organization/invites.rb +3 -0
- data/lib/anthropic/resources/organization/rbac_groups/members.rb +2 -0
- data/lib/anthropic/resources/organization/rbac_groups.rb +5 -0
- data/lib/anthropic/resources/organization/service_accounts/workspaces.rb +4 -0
- data/lib/anthropic/resources/organization/service_accounts.rb +6 -0
- data/lib/anthropic/resources/organization/spend_limits/increase_requests.rb +4 -0
- data/lib/anthropic/resources/organization/users.rb +3 -0
- data/lib/anthropic/resources/organization/workspaces/members.rb +4 -0
- data/lib/anthropic/resources/organization/workspaces/rate_limits.rb +2 -0
- data/lib/anthropic/resources/organization/workspaces/service_accounts.rb +6 -0
- data/lib/anthropic/resources/organization/workspaces.rb +4 -0
- data/lib/anthropic/version.rb +1 -1
- data/lib/anthropic.rb +10 -2
- data/rbi/anthropic/helpers/aws/client.rbi +5 -0
- data/rbi/anthropic/helpers/bedrock/mantle_client.rbi +5 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_model.rbi +7 -0
- data/rbi/anthropic/models/beta/beta_webhook_event.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_webhook_event_data.rbi +7 -1
- data/rbi/anthropic/models/beta/beta_webhook_user_profile_program_status_updated_event_data.rbi +51 -0
- data/rbi/anthropic/models/beta/environments/work_heartbeat_params.rbi +4 -2
- data/rbi/anthropic/models/beta/organization/analytics/beta_analytics_cost_group.rbi +10 -0
- data/rbi/anthropic/models/beta/organization/analytics/beta_analytics_cost_group_by.rbi +5 -0
- data/rbi/anthropic/models/beta/organization/analytics/beta_analytics_usage_group.rbi +10 -0
- data/rbi/anthropic/models/beta/organization/analytics/beta_analytics_usage_group_by.rbi +5 -0
- data/rbi/anthropic/models/beta/organization/analytics/cost_list_params.rbi +14 -0
- data/rbi/anthropic/models/beta/organization/analytics/usage_list_params.rbi +14 -0
- data/rbi/anthropic/models/beta/organization/beta_analytics_claude_tag_metrics.rbi +69 -0
- data/rbi/anthropic/models/beta/organization/beta_analytics_single_day_activity_summary.rbi +60 -0
- data/rbi/anthropic/models/beta/organization/beta_analytics_user_activity.rbi +36 -0
- data/rbi/anthropic/models/beta/organization/beta_cannot_sign_out_managed_member_error.rbi +2 -2
- data/rbi/anthropic/models/beta/organization/beta_cannot_sign_out_managed_member_error_details.rbi +2 -2
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_reply_mode.rbi +92 -0
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_reply_mode_always_awake.rbi +32 -0
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_reply_mode_automatic.rbi +32 -0
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_reply_mode_mention_only.rbi +31 -0
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_reply_mode_thread.rbi +33 -0
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_setting_sources.rbi +30 -1
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_settings.rbi +39 -5
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_settings_create.rbi +56 -5
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_settings_update.rbi +56 -5
- data/rbi/anthropic/models/beta/organization/beta_new_organization_webhook_endpoint.rbi +5 -0
- data/rbi/anthropic/models/beta/organization/beta_organization_webhook_endpoint.rbi +5 -0
- data/rbi/anthropic/models/beta/organization/beta_rbac_role.rbi +6 -6
- data/rbi/anthropic/models/beta/organization/external_key_create_params.rbi +12 -8
- data/rbi/anthropic/models/beta/organization/webhook_create_params.rbi +5 -0
- data/rbi/anthropic/models/beta/organization/webhook_update_params.rbi +5 -0
- data/rbi/anthropic/models/error_details.rbi +6 -6
- data/rbi/anthropic/models/model.rbi +8 -0
- data/rbi/anthropic/models/organization/analytics_claude_tag_metrics.rbi +67 -0
- data/rbi/anthropic/models/organization/analytics_single_day_activity_summary.rbi +60 -0
- data/rbi/anthropic/models/organization/analytics_user_activity.rbi +30 -0
- data/rbi/anthropic/models/organization/external_key_create_params.rbi +12 -8
- data/rbi/anthropic/models/organization/rbac_role.rbi +6 -6
- data/rbi/anthropic/models/sandbox_egress_restricted_error.rbi +18 -0
- data/rbi/anthropic/models/sandbox_egress_restricted_error_details.rbi +29 -0
- data/rbi/anthropic/models/thread_unsupported_feature_name.rbi +0 -1
- data/rbi/anthropic/models.rbi +5 -0
- data/rbi/anthropic/resources/beta/environments/work.rbi +2 -1
- data/rbi/anthropic/resources/beta/organization/analytics/cost.rbi +7 -0
- data/rbi/anthropic/resources/beta/organization/analytics/usage.rbi +7 -0
- data/rbi/anthropic/resources/beta/organization/external_keys.rbi +6 -4
- data/rbi/anthropic/resources/beta/organization/plugins/versions.rbi +4 -5
- data/rbi/anthropic/resources/beta/organization/plugins.rbi +13 -12
- data/rbi/anthropic/resources/beta/organization/users.rbi +4 -4
- data/rbi/anthropic/resources/organization/external_keys.rbi +6 -4
- data/sig/anthropic/models/beta/beta_managed_agents_model.rbs +5 -1
- data/sig/anthropic/models/beta/beta_webhook_event_data.rbs +9 -0
- data/sig/anthropic/models/beta/beta_webhook_user_profile_program_status_updated_event_data.rbs +34 -0
- data/sig/anthropic/models/beta/organization/analytics/beta_analytics_cost_group.rbs +5 -0
- data/sig/anthropic/models/beta/organization/analytics/beta_analytics_cost_group_by.rbs +2 -0
- data/sig/anthropic/models/beta/organization/analytics/beta_analytics_usage_group.rbs +5 -0
- data/sig/anthropic/models/beta/organization/analytics/beta_analytics_usage_group_by.rbs +2 -0
- data/sig/anthropic/models/beta/organization/analytics/cost_list_params.rbs +5 -0
- data/sig/anthropic/models/beta/organization/analytics/usage_list_params.rbs +5 -0
- data/sig/anthropic/models/beta/organization/beta_analytics_claude_tag_metrics.rbs +26 -0
- data/sig/anthropic/models/beta/organization/beta_analytics_single_day_activity_summary.rbs +15 -0
- data/sig/anthropic/models/beta/organization/beta_analytics_user_activity.rbs +5 -0
- data/sig/anthropic/models/beta/organization/beta_claude_tag_reply_mode.rbs +50 -0
- data/sig/anthropic/models/beta/organization/beta_claude_tag_reply_mode_always_awake.rbs +17 -0
- data/sig/anthropic/models/beta/organization/beta_claude_tag_reply_mode_automatic.rbs +17 -0
- data/sig/anthropic/models/beta/organization/beta_claude_tag_reply_mode_mention_only.rbs +17 -0
- data/sig/anthropic/models/beta/organization/beta_claude_tag_reply_mode_thread.rbs +17 -0
- data/sig/anthropic/models/beta/organization/beta_claude_tag_setting_sources.rbs +8 -3
- data/sig/anthropic/models/beta/organization/beta_claude_tag_settings.rbs +8 -3
- data/sig/anthropic/models/beta/organization/beta_claude_tag_settings_create.rbs +8 -3
- data/sig/anthropic/models/beta/organization/beta_claude_tag_settings_update.rbs +8 -3
- data/sig/anthropic/models/beta/organization/beta_new_organization_webhook_endpoint.rbs +2 -0
- data/sig/anthropic/models/beta/organization/beta_organization_webhook_endpoint.rbs +2 -0
- data/sig/anthropic/models/beta/organization/webhook_create_params.rbs +2 -0
- data/sig/anthropic/models/beta/organization/webhook_update_params.rbs +2 -0
- data/sig/anthropic/models/error_details.rbs +6 -6
- data/sig/anthropic/models/model.rbs +9 -1
- data/sig/anthropic/models/organization/analytics_claude_tag_metrics.rbs +24 -0
- data/sig/anthropic/models/organization/analytics_single_day_activity_summary.rbs +15 -0
- data/sig/anthropic/models/organization/analytics_user_activity.rbs +5 -0
- data/sig/anthropic/models/sandbox_egress_restricted_error.rbs +9 -0
- data/sig/anthropic/models/sandbox_egress_restricted_error_details.rbs +14 -0
- data/sig/anthropic/models/thread_unsupported_feature_name.rbs +0 -2
- data/sig/anthropic/models.rbs +4 -0
- data/sig/anthropic/resources/beta/organization/analytics/cost.rbs +1 -0
- data/sig/anthropic/resources/beta/organization/analytics/usage.rbs +1 -0
- metadata +32 -8
- data/lib/anthropic/models/beta/beta_billing_frozen_error.rb +0 -22
- data/lib/anthropic/models/beta/beta_billing_frozen_error_details.rb +0 -22
- data/rbi/anthropic/models/beta/beta_billing_frozen_error.rbi +0 -19
- data/rbi/anthropic/models/beta/beta_billing_frozen_error_details.rbi +0 -32
- data/sig/anthropic/models/beta/beta_billing_frozen_error.rbs +0 -11
- data/sig/anthropic/models/beta/beta_billing_frozen_error_details.rbs +0 -17
|
@@ -115,6 +115,9 @@ module Anthropic
|
|
|
115
115
|
variant :workspace_api_key_limit_exceeded,
|
|
116
116
|
-> { Anthropic::Organization::WorkspaceAPIKeyLimitExceededErrorDetails }
|
|
117
117
|
|
|
118
|
+
# The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
|
|
119
|
+
variant :sandbox_egress_restricted, -> { Anthropic::SandboxEgressRestrictedErrorDetails }
|
|
120
|
+
|
|
118
121
|
# The request depends on a user profile that does not exist in the organization or is no longer active. The request either names this user profile by ID, or names a resource, such as an External Key, that is bound to it.
|
|
119
122
|
variant :user_profile_not_found, -> { Anthropic::UserProfileNotFoundErrorDetails }
|
|
120
123
|
|
|
@@ -206,7 +209,7 @@ module Anthropic
|
|
|
206
209
|
variant :organization_not_enrolled_in_beta,
|
|
207
210
|
-> { Anthropic::BetaOrganizationNotEnrolledInBetaErrorDetails }
|
|
208
211
|
|
|
209
|
-
#
|
|
212
|
+
# The member has the `managed` role, and this API key or token cannot sign them out. The error message says which keys and tokens can.
|
|
210
213
|
variant :cannot_sign_out_managed_member,
|
|
211
214
|
-> { Anthropic::Beta::Organization::BetaCannotSignOutManagedMemberErrorDetails }
|
|
212
215
|
|
|
@@ -221,9 +224,6 @@ module Anthropic
|
|
|
221
224
|
variant :cannot_sign_out_privileged_member,
|
|
222
225
|
-> { Anthropic::Beta::Organization::BetaCannotSignOutPrivilegedMemberErrorDetails }
|
|
223
226
|
|
|
224
|
-
# Anthropic has temporarily disabled billing changes for the user account the credential belongs to. Contact support.
|
|
225
|
-
variant :billing_frozen, -> { Anthropic::Beta::BetaBillingFrozenErrorDetails }
|
|
226
|
-
|
|
227
227
|
# The organization cannot retrieve, set or delete spend limits with an Admin API credential.
|
|
228
228
|
variant :spend_limits_admin_api_writes_not_enabled,
|
|
229
229
|
-> { Anthropic::Beta::Organization::BetaSpendLimitsAdminAPIWritesNotEnabledErrorDetails }
|
|
@@ -314,6 +314,7 @@ module Anthropic
|
|
|
314
314
|
CMEK_CONTEXT_UNAVAILABLE = :cmek_context_unavailable
|
|
315
315
|
ORG_API_KEY_LIMIT_EXCEEDED = :org_api_key_limit_exceeded
|
|
316
316
|
WORKSPACE_API_KEY_LIMIT_EXCEEDED = :workspace_api_key_limit_exceeded
|
|
317
|
+
SANDBOX_EGRESS_RESTRICTED = :sandbox_egress_restricted
|
|
317
318
|
USER_PROFILE_NOT_FOUND = :user_profile_not_found
|
|
318
319
|
EXTERNAL_KEY_IN_WORKSPACE_POLICY = :external_key_in_workspace_policy
|
|
319
320
|
ALREADY_MEMBER = :already_member
|
|
@@ -345,7 +346,6 @@ module Anthropic
|
|
|
345
346
|
CANNOT_SIGN_OUT_MEMBERSHIP_ADMIN = :cannot_sign_out_membership_admin
|
|
346
347
|
CANNOT_SIGN_OUT_OWNER = :cannot_sign_out_owner
|
|
347
348
|
CANNOT_SIGN_OUT_PRIVILEGED_MEMBER = :cannot_sign_out_privileged_member
|
|
348
|
-
BILLING_FROZEN = :billing_frozen
|
|
349
349
|
SPEND_LIMITS_ADMIN_API_WRITES_NOT_ENABLED = :spend_limits_admin_api_writes_not_enabled
|
|
350
350
|
UNSUPPORTED_CHARSET = :unsupported_charset
|
|
351
351
|
PLUGIN_NAME_TAKEN = :plugin_name_taken
|
|
@@ -367,7 +367,7 @@ module Anthropic
|
|
|
367
367
|
end
|
|
368
368
|
|
|
369
369
|
# @!method self.variants
|
|
370
|
-
# @return [Array(Anthropic::Models::AvailableToolsLimitExceededErrorDetails, Anthropic::Models::ClaudeCodeKeyCreatorNotMemberErrorDetails, Anthropic::Models::ClaudeCodeVersionTooOldErrorDetails, Anthropic::Models::CMEKKeyDisabledErrorDetails, Anthropic::Models::CMEKKeyNetworkBlockedErrorDetails, Anthropic::Models::CompactionBlockAmbiguousErrorDetails, Anthropic::Models::CompactionBlockMisplacedErrorDetails, Anthropic::Models::CompactionContentMismatchErrorDetails, Anthropic::Models::CompactionIncompleteTurnErrorDetails, Anthropic::Models::CompactionNothingToSummarizeErrorDetails, Anthropic::Models::CompactionSignatureInvalidErrorDetails, Anthropic::Models::CompactionTooManyToolReferencesErrorDetails, Anthropic::Models::CompactionToolChangesMismatchErrorDetails, Anthropic::Models::OrganizationOnHoldErrorDetails, Anthropic::Models::RequestBodyEncodingInvalidErrorDetails, Anthropic::Models::RequestBodyEncodingUnsupportedErrorDetails, Anthropic::Models::ThreadAlreadyContinuedErrorDetails, Anthropic::Models::ThreadContinueInFlightErrorDetails, Anthropic::Models::ThreadFingerprintMismatchErrorDetails, Anthropic::Models::ThreadUnsupportedRequestErrorDetails, Anthropic::Models::ToolNameConflictErrorDetails, Anthropic::Models::ToolReferenceUnresolvedErrorDetails, Anthropic::Models::ThreadNotFoundErrorDetails, Anthropic::Models::SkillReadBlockedUndecryptableErrorDetails, Anthropic::Models::RequestBodyTooLargeAfterDecodingErrorDetails, Anthropic::Models::EnforcedSpendLimitReachedErrorDetails, Anthropic::Models::RampLimitExceededErrorDetails, Anthropic::Models::CMEKKeyUnreachableErrorDetails, Anthropic::Models::CompactionUnavailableErrorDetails, Anthropic::Models::StorageQuotaExceededErrorDetails, Anthropic::Models::FileNotDownloadableErrorDetails, Anthropic::Models::FileExpiredErrorDetails, Anthropic::Models::CMEKContextUnavailableErrorDetails, Anthropic::Models::Organization::OrgAPIKeyLimitExceededErrorDetails, Anthropic::Models::Organization::WorkspaceAPIKeyLimitExceededErrorDetails, Anthropic::Models::UserProfileNotFoundErrorDetails, Anthropic::Models::Organization::ExternalKeyInWorkspacePolicyErrorDetails, Anthropic::Models::Organization::AlreadyMemberErrorDetails, Anthropic::Models::Organization::CannotInviteEmailsWithUnverifiedDomainsErrorDetails, Anthropic::Models::Organization::EmailDomainNotAllowedErrorDetails, Anthropic::Models::Organization::InviteAlreadyExistsErrorDetails, Anthropic::Models::OrgMemberLimitExceededErrorDetails, Anthropic::Models::Organization::RBACGroupGrantsOwnerAccessErrorDetails, Anthropic::Models::Organization::RBACGroupOwnerAccessUnconfirmedErrorDetails, Anthropic::Models::Organization::CannotRemoveLastMemberErrorDetails, Anthropic::Models::ConcurrentMembershipChangeErrorDetails, Anthropic::Models::Organization::ExternalKeyValidationFailedErrorDetails, Anthropic::Models::Organization::ExternalKeyValidationTimedOutErrorDetails, Anthropic::Models::Organization::KeyProfileMismatchErrorDetails, Anthropic::Models::Organization::WorkspacePolicyViolationErrorDetails, Anthropic::Models::Organization::ExternalKeyChangedErrorDetails, Anthropic::Models::Organization::WorkspaceMemberLimitExceededErrorDetails, Anthropic::Models::OrganizationTypeNotSupportedErrorDetails, Anthropic::Models::Beta::BetaEnvironmentCreateDisabledErrorDetails, Anthropic::Models::Beta::BetaEnvironmentArchivedErrorDetails, Anthropic::Models::Beta::BetaInvalidConfigTypeChangeErrorDetails, Anthropic::Models::Beta::BetaEnvironmentUpdateDisabledErrorDetails, Anthropic::Models::Beta::Environments::BetaHeartbeatPreconditionFailedErrorDetails, Anthropic::Models::Beta::BetaInvalidMetadataErrorDetails, Anthropic::Models::Beta::Organization::BetaCannotSignOutPrimaryOwnerErrorDetails, Anthropic::Models::Beta::Organization::BetaCannotSignOutSelfErrorDetails, Anthropic::Models::BetaOrganizationNotEnrolledInBetaErrorDetails, Anthropic::Models::Beta::Organization::BetaCannotSignOutManagedMemberErrorDetails, Anthropic::Models::Beta::Organization::BetaCannotSignOutMembershipAdminErrorDetails, Anthropic::Models::Beta::Organization::BetaCannotSignOutOwnerErrorDetails, Anthropic::Models::Beta::Organization::BetaCannotSignOutPrivilegedMemberErrorDetails, Anthropic::Models::Beta::
|
|
370
|
+
# @return [Array(Anthropic::Models::AvailableToolsLimitExceededErrorDetails, Anthropic::Models::ClaudeCodeKeyCreatorNotMemberErrorDetails, Anthropic::Models::ClaudeCodeVersionTooOldErrorDetails, Anthropic::Models::CMEKKeyDisabledErrorDetails, Anthropic::Models::CMEKKeyNetworkBlockedErrorDetails, Anthropic::Models::CompactionBlockAmbiguousErrorDetails, Anthropic::Models::CompactionBlockMisplacedErrorDetails, Anthropic::Models::CompactionContentMismatchErrorDetails, Anthropic::Models::CompactionIncompleteTurnErrorDetails, Anthropic::Models::CompactionNothingToSummarizeErrorDetails, Anthropic::Models::CompactionSignatureInvalidErrorDetails, Anthropic::Models::CompactionTooManyToolReferencesErrorDetails, Anthropic::Models::CompactionToolChangesMismatchErrorDetails, Anthropic::Models::OrganizationOnHoldErrorDetails, Anthropic::Models::RequestBodyEncodingInvalidErrorDetails, Anthropic::Models::RequestBodyEncodingUnsupportedErrorDetails, Anthropic::Models::ThreadAlreadyContinuedErrorDetails, Anthropic::Models::ThreadContinueInFlightErrorDetails, Anthropic::Models::ThreadFingerprintMismatchErrorDetails, Anthropic::Models::ThreadUnsupportedRequestErrorDetails, Anthropic::Models::ToolNameConflictErrorDetails, Anthropic::Models::ToolReferenceUnresolvedErrorDetails, Anthropic::Models::ThreadNotFoundErrorDetails, Anthropic::Models::SkillReadBlockedUndecryptableErrorDetails, Anthropic::Models::RequestBodyTooLargeAfterDecodingErrorDetails, Anthropic::Models::EnforcedSpendLimitReachedErrorDetails, Anthropic::Models::RampLimitExceededErrorDetails, Anthropic::Models::CMEKKeyUnreachableErrorDetails, Anthropic::Models::CompactionUnavailableErrorDetails, Anthropic::Models::StorageQuotaExceededErrorDetails, Anthropic::Models::FileNotDownloadableErrorDetails, Anthropic::Models::FileExpiredErrorDetails, Anthropic::Models::CMEKContextUnavailableErrorDetails, Anthropic::Models::Organization::OrgAPIKeyLimitExceededErrorDetails, Anthropic::Models::Organization::WorkspaceAPIKeyLimitExceededErrorDetails, Anthropic::Models::SandboxEgressRestrictedErrorDetails, Anthropic::Models::UserProfileNotFoundErrorDetails, Anthropic::Models::Organization::ExternalKeyInWorkspacePolicyErrorDetails, Anthropic::Models::Organization::AlreadyMemberErrorDetails, Anthropic::Models::Organization::CannotInviteEmailsWithUnverifiedDomainsErrorDetails, Anthropic::Models::Organization::EmailDomainNotAllowedErrorDetails, Anthropic::Models::Organization::InviteAlreadyExistsErrorDetails, Anthropic::Models::OrgMemberLimitExceededErrorDetails, Anthropic::Models::Organization::RBACGroupGrantsOwnerAccessErrorDetails, Anthropic::Models::Organization::RBACGroupOwnerAccessUnconfirmedErrorDetails, Anthropic::Models::Organization::CannotRemoveLastMemberErrorDetails, Anthropic::Models::ConcurrentMembershipChangeErrorDetails, Anthropic::Models::Organization::ExternalKeyValidationFailedErrorDetails, Anthropic::Models::Organization::ExternalKeyValidationTimedOutErrorDetails, Anthropic::Models::Organization::KeyProfileMismatchErrorDetails, Anthropic::Models::Organization::WorkspacePolicyViolationErrorDetails, Anthropic::Models::Organization::ExternalKeyChangedErrorDetails, Anthropic::Models::Organization::WorkspaceMemberLimitExceededErrorDetails, Anthropic::Models::OrganizationTypeNotSupportedErrorDetails, Anthropic::Models::Beta::BetaEnvironmentCreateDisabledErrorDetails, Anthropic::Models::Beta::BetaEnvironmentArchivedErrorDetails, Anthropic::Models::Beta::BetaInvalidConfigTypeChangeErrorDetails, Anthropic::Models::Beta::BetaEnvironmentUpdateDisabledErrorDetails, Anthropic::Models::Beta::Environments::BetaHeartbeatPreconditionFailedErrorDetails, Anthropic::Models::Beta::BetaInvalidMetadataErrorDetails, Anthropic::Models::Beta::Organization::BetaCannotSignOutPrimaryOwnerErrorDetails, Anthropic::Models::Beta::Organization::BetaCannotSignOutSelfErrorDetails, Anthropic::Models::BetaOrganizationNotEnrolledInBetaErrorDetails, Anthropic::Models::Beta::Organization::BetaCannotSignOutManagedMemberErrorDetails, Anthropic::Models::Beta::Organization::BetaCannotSignOutMembershipAdminErrorDetails, Anthropic::Models::Beta::Organization::BetaCannotSignOutOwnerErrorDetails, Anthropic::Models::Beta::Organization::BetaCannotSignOutPrivilegedMemberErrorDetails, Anthropic::Models::Beta::Organization::BetaSpendLimitsAdminAPIWritesNotEnabledErrorDetails, Anthropic::Models::BetaUnsupportedCharsetErrorDetails, Anthropic::Models::Beta::Organization::BetaPluginNameTakenErrorDetails, Anthropic::Models::Beta::Organization::BetaSkillNameTakenErrorDetails, Anthropic::Models::Beta::Organization::BetaRegistrationPendingErrorDetails, Anthropic::Models::Beta::Organization::BetaScanFailedErrorDetails, Anthropic::Models::Beta::Organization::BetaScanPendingErrorDetails, Anthropic::Models::Beta::Organization::BetaSlackChannelSetUpSettingsRefusedErrorDetails, Anthropic::Models::Beta::Organization::BetaAPIKeyScopeMissingErrorDetails, Anthropic::Models::Beta::Organization::BetaClaudeTagWritesNotEnabledErrorDetails, Anthropic::Models::Beta::Organization::BetaComplianceConfigurationRestrictedErrorDetails, Anthropic::Models::Beta::Organization::BetaOrganizationLevelScopedAPIKeyRequiredErrorDetails, Anthropic::Models::Beta::BetaEnvironmentNotFoundErrorDetails, Anthropic::Models::Beta::Organization::BetaSlackChannelSetUpEnvironmentNotFoundErrorDetails, Anthropic::Models::Beta::Organization::BetaSlackChannelSetUpSettingsConflictErrorDetails)]
|
|
371
371
|
|
|
372
372
|
# Creates a new instance of the variant class whose `error_code` matches the given
|
|
373
373
|
# value, passing the remaining arguments to its constructor.
|
|
@@ -396,7 +396,7 @@ module Anthropic
|
|
|
396
396
|
# @option args [String] :slack_channel_id The identifier of the channel the request set up, starting with `slch_`.
|
|
397
397
|
#
|
|
398
398
|
# @raise [ArgumentError]
|
|
399
|
-
# @return [Anthropic::Models::AvailableToolsLimitExceededErrorDetails, Anthropic::Models::ClaudeCodeKeyCreatorNotMemberErrorDetails, Anthropic::Models::ClaudeCodeVersionTooOldErrorDetails, Anthropic::Models::CMEKKeyDisabledErrorDetails, Anthropic::Models::CMEKKeyNetworkBlockedErrorDetails, Anthropic::Models::CompactionBlockAmbiguousErrorDetails, Anthropic::Models::CompactionBlockMisplacedErrorDetails, Anthropic::Models::CompactionContentMismatchErrorDetails, Anthropic::Models::CompactionIncompleteTurnErrorDetails, Anthropic::Models::CompactionNothingToSummarizeErrorDetails, Anthropic::Models::CompactionSignatureInvalidErrorDetails, Anthropic::Models::CompactionTooManyToolReferencesErrorDetails, Anthropic::Models::CompactionToolChangesMismatchErrorDetails, Anthropic::Models::OrganizationOnHoldErrorDetails, Anthropic::Models::RequestBodyEncodingInvalidErrorDetails, Anthropic::Models::RequestBodyEncodingUnsupportedErrorDetails, Anthropic::Models::ThreadAlreadyContinuedErrorDetails, Anthropic::Models::ThreadContinueInFlightErrorDetails, Anthropic::Models::ThreadFingerprintMismatchErrorDetails, Anthropic::Models::ThreadUnsupportedRequestErrorDetails, Anthropic::Models::ToolNameConflictErrorDetails, Anthropic::Models::ToolReferenceUnresolvedErrorDetails, Anthropic::Models::ThreadNotFoundErrorDetails, Anthropic::Models::SkillReadBlockedUndecryptableErrorDetails, Anthropic::Models::RequestBodyTooLargeAfterDecodingErrorDetails, Anthropic::Models::EnforcedSpendLimitReachedErrorDetails, Anthropic::Models::RampLimitExceededErrorDetails, Anthropic::Models::CMEKKeyUnreachableErrorDetails, Anthropic::Models::CompactionUnavailableErrorDetails, Anthropic::Models::StorageQuotaExceededErrorDetails, Anthropic::Models::FileNotDownloadableErrorDetails, Anthropic::Models::FileExpiredErrorDetails, Anthropic::Models::CMEKContextUnavailableErrorDetails, Anthropic::Models::Organization::OrgAPIKeyLimitExceededErrorDetails, Anthropic::Models::Organization::WorkspaceAPIKeyLimitExceededErrorDetails, Anthropic::Models::UserProfileNotFoundErrorDetails, Anthropic::Models::Organization::ExternalKeyInWorkspacePolicyErrorDetails, Anthropic::Models::Organization::AlreadyMemberErrorDetails, Anthropic::Models::Organization::CannotInviteEmailsWithUnverifiedDomainsErrorDetails, Anthropic::Models::Organization::EmailDomainNotAllowedErrorDetails, Anthropic::Models::Organization::InviteAlreadyExistsErrorDetails, Anthropic::Models::OrgMemberLimitExceededErrorDetails, Anthropic::Models::Organization::RBACGroupGrantsOwnerAccessErrorDetails, Anthropic::Models::Organization::RBACGroupOwnerAccessUnconfirmedErrorDetails, Anthropic::Models::Organization::CannotRemoveLastMemberErrorDetails, Anthropic::Models::ConcurrentMembershipChangeErrorDetails, Anthropic::Models::Organization::ExternalKeyValidationFailedErrorDetails, Anthropic::Models::Organization::ExternalKeyValidationTimedOutErrorDetails, Anthropic::Models::Organization::KeyProfileMismatchErrorDetails, Anthropic::Models::Organization::WorkspacePolicyViolationErrorDetails, Anthropic::Models::Organization::ExternalKeyChangedErrorDetails, Anthropic::Models::Organization::WorkspaceMemberLimitExceededErrorDetails, Anthropic::Models::OrganizationTypeNotSupportedErrorDetails, Anthropic::Models::Beta::BetaEnvironmentCreateDisabledErrorDetails, Anthropic::Models::Beta::BetaEnvironmentArchivedErrorDetails, Anthropic::Models::Beta::BetaInvalidConfigTypeChangeErrorDetails, Anthropic::Models::Beta::BetaEnvironmentUpdateDisabledErrorDetails, Anthropic::Models::Beta::Environments::BetaHeartbeatPreconditionFailedErrorDetails, Anthropic::Models::Beta::BetaInvalidMetadataErrorDetails, Anthropic::Models::Beta::Organization::BetaCannotSignOutPrimaryOwnerErrorDetails, Anthropic::Models::Beta::Organization::BetaCannotSignOutSelfErrorDetails, Anthropic::Models::BetaOrganizationNotEnrolledInBetaErrorDetails, Anthropic::Models::Beta::Organization::BetaCannotSignOutManagedMemberErrorDetails, Anthropic::Models::Beta::Organization::BetaCannotSignOutMembershipAdminErrorDetails, Anthropic::Models::Beta::Organization::BetaCannotSignOutOwnerErrorDetails, Anthropic::Models::Beta::Organization::BetaCannotSignOutPrivilegedMemberErrorDetails, Anthropic::Models::Beta::
|
|
399
|
+
# @return [Anthropic::Models::AvailableToolsLimitExceededErrorDetails, Anthropic::Models::ClaudeCodeKeyCreatorNotMemberErrorDetails, Anthropic::Models::ClaudeCodeVersionTooOldErrorDetails, Anthropic::Models::CMEKKeyDisabledErrorDetails, Anthropic::Models::CMEKKeyNetworkBlockedErrorDetails, Anthropic::Models::CompactionBlockAmbiguousErrorDetails, Anthropic::Models::CompactionBlockMisplacedErrorDetails, Anthropic::Models::CompactionContentMismatchErrorDetails, Anthropic::Models::CompactionIncompleteTurnErrorDetails, Anthropic::Models::CompactionNothingToSummarizeErrorDetails, Anthropic::Models::CompactionSignatureInvalidErrorDetails, Anthropic::Models::CompactionTooManyToolReferencesErrorDetails, Anthropic::Models::CompactionToolChangesMismatchErrorDetails, Anthropic::Models::OrganizationOnHoldErrorDetails, Anthropic::Models::RequestBodyEncodingInvalidErrorDetails, Anthropic::Models::RequestBodyEncodingUnsupportedErrorDetails, Anthropic::Models::ThreadAlreadyContinuedErrorDetails, Anthropic::Models::ThreadContinueInFlightErrorDetails, Anthropic::Models::ThreadFingerprintMismatchErrorDetails, Anthropic::Models::ThreadUnsupportedRequestErrorDetails, Anthropic::Models::ToolNameConflictErrorDetails, Anthropic::Models::ToolReferenceUnresolvedErrorDetails, Anthropic::Models::ThreadNotFoundErrorDetails, Anthropic::Models::SkillReadBlockedUndecryptableErrorDetails, Anthropic::Models::RequestBodyTooLargeAfterDecodingErrorDetails, Anthropic::Models::EnforcedSpendLimitReachedErrorDetails, Anthropic::Models::RampLimitExceededErrorDetails, Anthropic::Models::CMEKKeyUnreachableErrorDetails, Anthropic::Models::CompactionUnavailableErrorDetails, Anthropic::Models::StorageQuotaExceededErrorDetails, Anthropic::Models::FileNotDownloadableErrorDetails, Anthropic::Models::FileExpiredErrorDetails, Anthropic::Models::CMEKContextUnavailableErrorDetails, Anthropic::Models::Organization::OrgAPIKeyLimitExceededErrorDetails, Anthropic::Models::Organization::WorkspaceAPIKeyLimitExceededErrorDetails, Anthropic::Models::SandboxEgressRestrictedErrorDetails, Anthropic::Models::UserProfileNotFoundErrorDetails, Anthropic::Models::Organization::ExternalKeyInWorkspacePolicyErrorDetails, Anthropic::Models::Organization::AlreadyMemberErrorDetails, Anthropic::Models::Organization::CannotInviteEmailsWithUnverifiedDomainsErrorDetails, Anthropic::Models::Organization::EmailDomainNotAllowedErrorDetails, Anthropic::Models::Organization::InviteAlreadyExistsErrorDetails, Anthropic::Models::OrgMemberLimitExceededErrorDetails, Anthropic::Models::Organization::RBACGroupGrantsOwnerAccessErrorDetails, Anthropic::Models::Organization::RBACGroupOwnerAccessUnconfirmedErrorDetails, Anthropic::Models::Organization::CannotRemoveLastMemberErrorDetails, Anthropic::Models::ConcurrentMembershipChangeErrorDetails, Anthropic::Models::Organization::ExternalKeyValidationFailedErrorDetails, Anthropic::Models::Organization::ExternalKeyValidationTimedOutErrorDetails, Anthropic::Models::Organization::KeyProfileMismatchErrorDetails, Anthropic::Models::Organization::WorkspacePolicyViolationErrorDetails, Anthropic::Models::Organization::ExternalKeyChangedErrorDetails, Anthropic::Models::Organization::WorkspaceMemberLimitExceededErrorDetails, Anthropic::Models::OrganizationTypeNotSupportedErrorDetails, Anthropic::Models::Beta::BetaEnvironmentCreateDisabledErrorDetails, Anthropic::Models::Beta::BetaEnvironmentArchivedErrorDetails, Anthropic::Models::Beta::BetaInvalidConfigTypeChangeErrorDetails, Anthropic::Models::Beta::BetaEnvironmentUpdateDisabledErrorDetails, Anthropic::Models::Beta::Environments::BetaHeartbeatPreconditionFailedErrorDetails, Anthropic::Models::Beta::BetaInvalidMetadataErrorDetails, Anthropic::Models::Beta::Organization::BetaCannotSignOutPrimaryOwnerErrorDetails, Anthropic::Models::Beta::Organization::BetaCannotSignOutSelfErrorDetails, Anthropic::Models::BetaOrganizationNotEnrolledInBetaErrorDetails, Anthropic::Models::Beta::Organization::BetaCannotSignOutManagedMemberErrorDetails, Anthropic::Models::Beta::Organization::BetaCannotSignOutMembershipAdminErrorDetails, Anthropic::Models::Beta::Organization::BetaCannotSignOutOwnerErrorDetails, Anthropic::Models::Beta::Organization::BetaCannotSignOutPrivilegedMemberErrorDetails, Anthropic::Models::Beta::Organization::BetaSpendLimitsAdminAPIWritesNotEnabledErrorDetails, Anthropic::Models::BetaUnsupportedCharsetErrorDetails, Anthropic::Models::Beta::Organization::BetaPluginNameTakenErrorDetails, Anthropic::Models::Beta::Organization::BetaSkillNameTakenErrorDetails, Anthropic::Models::Beta::Organization::BetaRegistrationPendingErrorDetails, Anthropic::Models::Beta::Organization::BetaScanFailedErrorDetails, Anthropic::Models::Beta::Organization::BetaScanPendingErrorDetails, Anthropic::Models::Beta::Organization::BetaSlackChannelSetUpSettingsRefusedErrorDetails, Anthropic::Models::Beta::Organization::BetaAPIKeyScopeMissingErrorDetails, Anthropic::Models::Beta::Organization::BetaClaudeTagWritesNotEnabledErrorDetails, Anthropic::Models::Beta::Organization::BetaComplianceConfigurationRestrictedErrorDetails, Anthropic::Models::Beta::Organization::BetaOrganizationLevelScopedAPIKeyRequiredErrorDetails, Anthropic::Models::Beta::BetaEnvironmentNotFoundErrorDetails, Anthropic::Models::Beta::Organization::BetaSlackChannelSetUpEnvironmentNotFoundErrorDetails, Anthropic::Models::Beta::Organization::BetaSlackChannelSetUpSettingsConflictErrorDetails]
|
|
400
400
|
def self.new(error_code:, **args)
|
|
401
401
|
case error_code.to_sym
|
|
402
402
|
when :available_tools_limit_exceeded
|
|
@@ -469,6 +469,8 @@ module Anthropic
|
|
|
469
469
|
Anthropic::Organization::OrgAPIKeyLimitExceededErrorDetails.new(**args)
|
|
470
470
|
when :workspace_api_key_limit_exceeded
|
|
471
471
|
Anthropic::Organization::WorkspaceAPIKeyLimitExceededErrorDetails.new(**args)
|
|
472
|
+
when :sandbox_egress_restricted
|
|
473
|
+
Anthropic::SandboxEgressRestrictedErrorDetails.new(**args)
|
|
472
474
|
when :user_profile_not_found
|
|
473
475
|
Anthropic::UserProfileNotFoundErrorDetails.new(**args)
|
|
474
476
|
when :external_key_in_workspace_policy
|
|
@@ -531,8 +533,6 @@ module Anthropic
|
|
|
531
533
|
Anthropic::Beta::Organization::BetaCannotSignOutOwnerErrorDetails.new(**args)
|
|
532
534
|
when :cannot_sign_out_privileged_member
|
|
533
535
|
Anthropic::Beta::Organization::BetaCannotSignOutPrivilegedMemberErrorDetails.new(**args)
|
|
534
|
-
when :billing_frozen
|
|
535
|
-
Anthropic::Beta::BetaBillingFrozenErrorDetails.new(**args)
|
|
536
536
|
when :spend_limits_admin_api_writes_not_enabled
|
|
537
537
|
Anthropic::Beta::Organization::BetaSpendLimitsAdminAPIWritesNotEnabledErrorDetails.new(**args)
|
|
538
538
|
when :unsupported_charset
|
|
@@ -9,6 +9,10 @@ module Anthropic
|
|
|
9
9
|
module Model
|
|
10
10
|
extend Anthropic::Internal::Type::Union
|
|
11
11
|
|
|
12
|
+
variant const: -> { Anthropic::Models::Model::CLAUDE_FABLE_5_2 }
|
|
13
|
+
|
|
14
|
+
variant const: -> { Anthropic::Models::Model::CLAUDE_MYTHOS_5_2 }
|
|
15
|
+
|
|
12
16
|
variant const: -> { Anthropic::Models::Model::CLAUDE_HAIKU_5_5 }
|
|
13
17
|
|
|
14
18
|
variant const: -> { Anthropic::Models::Model::CLAUDE_SONNET_5_5 }
|
|
@@ -60,6 +64,12 @@ module Anthropic
|
|
|
60
64
|
|
|
61
65
|
# @!group
|
|
62
66
|
|
|
67
|
+
# Built for the most ambitious work in coding, enterprise workflows, and the sciences
|
|
68
|
+
CLAUDE_FABLE_5_2 = :"claude-fable-5-2"
|
|
69
|
+
|
|
70
|
+
# Built for the most demanding cybersecurity and life sciences research, available through verification programs
|
|
71
|
+
CLAUDE_MYTHOS_5_2 = :"claude-mythos-5-2"
|
|
72
|
+
|
|
63
73
|
# Fastest model for high-volume, real-time tasks
|
|
64
74
|
CLAUDE_HAIKU_5_5 = :"claude-haiku-5-5"
|
|
65
75
|
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Organization
|
|
6
|
+
class AnalyticsClaudeTagMetrics < Anthropic::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute active_day_count
|
|
8
|
+
# 1 on a day the user was active in Claude Tag in Slack, otherwise 0. Summed over
|
|
9
|
+
# the window in date-range mode, so it is the number of active days; on grouped
|
|
10
|
+
# rows, the total of each member's active days. Null when Claude Tag data cannot
|
|
11
|
+
# be read for the request. Otherwise, 0 on a row filtered by project, and null on
|
|
12
|
+
# any other row when no covered day was measured.
|
|
13
|
+
#
|
|
14
|
+
# @return [Integer, nil]
|
|
15
|
+
required :active_day_count, Integer, nil?: true
|
|
16
|
+
|
|
17
|
+
# @!attribute active_message_count
|
|
18
|
+
# Number of the user's Slack messages that made them active: @-mentions, direct
|
|
19
|
+
# messages, group direct message asks, and thread posts Claude answered. Other
|
|
20
|
+
# messages are not counted. Null when Claude Tag data cannot be read for the
|
|
21
|
+
# request. Otherwise, 0 on a row filtered by project, and null on any other row
|
|
22
|
+
# when no covered day was measured.
|
|
23
|
+
#
|
|
24
|
+
# @return [Integer, nil]
|
|
25
|
+
required :active_message_count, Integer, nil?: true
|
|
26
|
+
|
|
27
|
+
# @!method initialize(active_day_count:, active_message_count:)
|
|
28
|
+
# Claude Tag activity metrics for a single linked user on a given day.
|
|
29
|
+
#
|
|
30
|
+
# Some parameter documentations has been truncated, see
|
|
31
|
+
# {Anthropic::Models::Organization::AnalyticsClaudeTagMetrics} for more details.
|
|
32
|
+
#
|
|
33
|
+
# @param active_day_count [Integer, nil] 1 on a day the user was active in Claude Tag in Slack, otherwise 0. Summed over
|
|
34
|
+
#
|
|
35
|
+
# @param active_message_count [Integer, nil] Number of the user's Slack messages that made them active: @-mentions, direct me
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
@@ -186,6 +186,42 @@ module Anthropic
|
|
|
186
186
|
# @return [Integer, nil]
|
|
187
187
|
optional :claude_design_weekly_active_user_count, Integer, nil?: true
|
|
188
188
|
|
|
189
|
+
# @!attribute claude_tag_daily_active_user_count
|
|
190
|
+
# Number of Slack users active in Claude Tag on the requested day. Counts distinct
|
|
191
|
+
# Slack users, including users who have not linked a Claude account, so it can
|
|
192
|
+
# exceed `daily_active_user_count` and `assigned_seat_count`. Null on a day with
|
|
193
|
+
# no measured value, when Claude Tag data cannot be read for the request, and when
|
|
194
|
+
# the response is scoped to an RBAC group, because an unlinked user belongs to no
|
|
195
|
+
# group. Omitted from the response on deployments that do not offer Claude Tag
|
|
196
|
+
# reporting.
|
|
197
|
+
#
|
|
198
|
+
# @return [Integer, nil]
|
|
199
|
+
optional :claude_tag_daily_active_user_count, Integer, nil?: true
|
|
200
|
+
|
|
201
|
+
# @!attribute claude_tag_monthly_active_user_count
|
|
202
|
+
# Number of Slack users active in Claude Tag in the 28-day rolling window. Counts
|
|
203
|
+
# distinct Slack users, including users who have not linked a Claude account, so
|
|
204
|
+
# it can exceed `daily_active_user_count` and `assigned_seat_count`. Null on a day
|
|
205
|
+
# with no measured value, when Claude Tag data cannot be read for the request, and
|
|
206
|
+
# when the response is scoped to an RBAC group, because an unlinked user belongs
|
|
207
|
+
# to no group. Omitted from the response on deployments that do not offer Claude
|
|
208
|
+
# Tag reporting.
|
|
209
|
+
#
|
|
210
|
+
# @return [Integer, nil]
|
|
211
|
+
optional :claude_tag_monthly_active_user_count, Integer, nil?: true
|
|
212
|
+
|
|
213
|
+
# @!attribute claude_tag_weekly_active_user_count
|
|
214
|
+
# Number of Slack users active in Claude Tag in the 7-day rolling window. Counts
|
|
215
|
+
# distinct Slack users, including users who have not linked a Claude account, so
|
|
216
|
+
# it can exceed `daily_active_user_count` and `assigned_seat_count`. Null on a day
|
|
217
|
+
# with no measured value, when Claude Tag data cannot be read for the request, and
|
|
218
|
+
# when the response is scoped to an RBAC group, because an unlinked user belongs
|
|
219
|
+
# to no group. Omitted from the response on deployments that do not offer Claude
|
|
220
|
+
# Tag reporting.
|
|
221
|
+
#
|
|
222
|
+
# @return [Integer, nil]
|
|
223
|
+
optional :claude_tag_weekly_active_user_count, Integer, nil?: true
|
|
224
|
+
|
|
189
225
|
# @!attribute office_agent_daily_active_user_count
|
|
190
226
|
# Number of users with Claude in Office activity on the requested day. Omitted
|
|
191
227
|
# from the response while the per-product breakdown is not enabled for this
|
|
@@ -244,7 +280,7 @@ module Anthropic
|
|
|
244
280
|
# @return [Integer, nil]
|
|
245
281
|
optional :science_weekly_active_user_count, Integer, nil?: true
|
|
246
282
|
|
|
247
|
-
# @!method initialize(assigned_seat_count:, cowork_daily_active_user_count:, cowork_monthly_active_user_count:, cowork_weekly_active_user_count:, daily_active_user_count:, daily_adoption_rate:, ending_at:, monthly_active_user_count:, monthly_adoption_rate:, pending_invite_count:, starting_at:, weekly_active_user_count:, weekly_adoption_rate:, chat_cowork_unified_daily_active_user_count: nil, chat_cowork_unified_monthly_active_user_count: nil, chat_cowork_unified_weekly_active_user_count: nil, chat_daily_active_user_count: nil, chat_monthly_active_user_count: nil, chat_weekly_active_user_count: nil, claude_code_daily_active_user_count: nil, claude_code_monthly_active_user_count: nil, claude_code_weekly_active_user_count: nil, claude_design_daily_active_user_count: nil, claude_design_monthly_active_user_count: nil, claude_design_weekly_active_user_count: nil, office_agent_daily_active_user_count: nil, office_agent_monthly_active_user_count: nil, office_agent_weekly_active_user_count: nil, science_daily_active_user_count: nil, science_entitled_user_count: nil, science_monthly_active_user_count: nil, science_weekly_active_user_count: nil)
|
|
283
|
+
# @!method initialize(assigned_seat_count:, cowork_daily_active_user_count:, cowork_monthly_active_user_count:, cowork_weekly_active_user_count:, daily_active_user_count:, daily_adoption_rate:, ending_at:, monthly_active_user_count:, monthly_adoption_rate:, pending_invite_count:, starting_at:, weekly_active_user_count:, weekly_adoption_rate:, chat_cowork_unified_daily_active_user_count: nil, chat_cowork_unified_monthly_active_user_count: nil, chat_cowork_unified_weekly_active_user_count: nil, chat_daily_active_user_count: nil, chat_monthly_active_user_count: nil, chat_weekly_active_user_count: nil, claude_code_daily_active_user_count: nil, claude_code_monthly_active_user_count: nil, claude_code_weekly_active_user_count: nil, claude_design_daily_active_user_count: nil, claude_design_monthly_active_user_count: nil, claude_design_weekly_active_user_count: nil, claude_tag_daily_active_user_count: nil, claude_tag_monthly_active_user_count: nil, claude_tag_weekly_active_user_count: nil, office_agent_daily_active_user_count: nil, office_agent_monthly_active_user_count: nil, office_agent_weekly_active_user_count: nil, science_daily_active_user_count: nil, science_entitled_user_count: nil, science_monthly_active_user_count: nil, science_weekly_active_user_count: nil)
|
|
248
284
|
# Per-day entry in the /summaries response.
|
|
249
285
|
#
|
|
250
286
|
# Some parameter documentations has been truncated, see
|
|
@@ -301,6 +337,12 @@ module Anthropic
|
|
|
301
337
|
#
|
|
302
338
|
# @param claude_design_weekly_active_user_count [Integer, nil] Number of users with Claude Design activity in the 7-day rolling window. Omitted
|
|
303
339
|
#
|
|
340
|
+
# @param claude_tag_daily_active_user_count [Integer, nil] Number of Slack users active in Claude Tag on the requested day. Counts distinct
|
|
341
|
+
#
|
|
342
|
+
# @param claude_tag_monthly_active_user_count [Integer, nil] Number of Slack users active in Claude Tag in the 28-day rolling window. Counts
|
|
343
|
+
#
|
|
344
|
+
# @param claude_tag_weekly_active_user_count [Integer, nil] Number of Slack users active in Claude Tag in the 7-day rolling window. Counts d
|
|
345
|
+
#
|
|
304
346
|
# @param office_agent_daily_active_user_count [Integer, nil] Number of users with Claude in Office activity on the requested day. Omitted fro
|
|
305
347
|
#
|
|
306
348
|
# @param office_agent_monthly_active_user_count [Integer, nil] Number of users with Claude in Office activity in the 30-day rolling window. Omi
|
|
@@ -73,6 +73,15 @@ module Anthropic
|
|
|
73
73
|
-> { Anthropic::Organization::AnalyticsChatCoworkUnifiedMetrics },
|
|
74
74
|
nil?: true
|
|
75
75
|
|
|
76
|
+
# @!attribute claude_tag_metrics
|
|
77
|
+
# Claude Tag activity in Slack by a user who has linked a Claude account. Activity
|
|
78
|
+
# by Slack users who have not linked an account appears only in the `/summaries`
|
|
79
|
+
# Claude Tag counts, so these rows do not add up to those counts. Omitted from the
|
|
80
|
+
# response on deployments that do not offer Claude Tag reporting.
|
|
81
|
+
#
|
|
82
|
+
# @return [Anthropic::Models::Organization::AnalyticsClaudeTagMetrics, nil]
|
|
83
|
+
optional :claude_tag_metrics, -> { Anthropic::Organization::AnalyticsClaudeTagMetrics }, nil?: true
|
|
84
|
+
|
|
76
85
|
# @!attribute last_activity_date
|
|
77
86
|
# Most recent UTC day (YYYY-MM-DD) on which the user had any counted activity,
|
|
78
87
|
# within the requested window: equal to the requested `date` in single-day mode,
|
|
@@ -103,7 +112,7 @@ module Anthropic
|
|
|
103
112
|
# @return [String, nil]
|
|
104
113
|
optional :rbac_group_name, String, nil?: true
|
|
105
114
|
|
|
106
|
-
# @!method initialize(chat_metrics:, claude_code_metrics:, cowork_metrics:, design_metrics:, distinct_user_count:, office_metrics:, science_metrics:, user:, web_search_count:, chat_cowork_unified_metrics: nil, last_activity_date: nil, rbac_group_id: nil, rbac_group_name: nil)
|
|
115
|
+
# @!method initialize(chat_metrics:, claude_code_metrics:, cowork_metrics:, design_metrics:, distinct_user_count:, office_metrics:, science_metrics:, user:, web_search_count:, chat_cowork_unified_metrics: nil, claude_tag_metrics: nil, last_activity_date: nil, rbac_group_id: nil, rbac_group_name: nil)
|
|
107
116
|
# Per-user activity data for a given day.
|
|
108
117
|
#
|
|
109
118
|
# Some parameter documentations has been truncated, see
|
|
@@ -129,6 +138,8 @@ module Anthropic
|
|
|
129
138
|
#
|
|
130
139
|
# @param chat_cowork_unified_metrics [Anthropic::Models::Organization::AnalyticsChatCoworkUnifiedMetrics, nil] Activity recorded while the member had Chat and Cowork unified (Cowork's feature
|
|
131
140
|
#
|
|
141
|
+
# @param claude_tag_metrics [Anthropic::Models::Organization::AnalyticsClaudeTagMetrics, nil] Claude Tag activity in Slack by a user who has linked a Claude account. Activity
|
|
142
|
+
#
|
|
132
143
|
# @param last_activity_date [Date, nil] Most recent UTC day (YYYY-MM-DD) on which the user had any counted activity, wit
|
|
133
144
|
#
|
|
134
145
|
# @param rbac_group_id [String, nil] Tagged RBAC group identifier (`rbac_group_...`), matching the spend-limits API s
|
|
@@ -27,10 +27,12 @@ module Anthropic
|
|
|
27
27
|
optional :geo, enum: -> { Anthropic::Organization::ExternalKeyCreateParams::Geo }
|
|
28
28
|
|
|
29
29
|
# @!attribute user_profile_id
|
|
30
|
-
# ID of a user profile to bind the key to.
|
|
31
|
-
#
|
|
32
|
-
# user profile
|
|
33
|
-
#
|
|
30
|
+
# ID of a user profile to bind the key to. A user profile represents one of your
|
|
31
|
+
# customers: bind a customer's key to that customer's user profile. A key bound to
|
|
32
|
+
# a user profile can only be attached to a Workspace that has the same user
|
|
33
|
+
# profile, and the binding cannot be changed later. Omit this field only for your
|
|
34
|
+
# organization's own key, because a key created without a user profile ID can be
|
|
35
|
+
# attached to any Workspace, including another customer's.
|
|
34
36
|
#
|
|
35
37
|
# @return [String, nil]
|
|
36
38
|
optional :user_profile_id, String, nil?: true
|
|
@@ -45,7 +47,7 @@ module Anthropic
|
|
|
45
47
|
#
|
|
46
48
|
# @param geo [Symbol, Anthropic::Models::Organization::ExternalKeyCreateParams::Geo] Data residency geo. Only `us` is supported.
|
|
47
49
|
#
|
|
48
|
-
# @param user_profile_id [String, nil] ID of a user profile to bind the key to.
|
|
50
|
+
# @param user_profile_id [String, nil] ID of a user profile to bind the key to. A user profile represents one of your c
|
|
49
51
|
#
|
|
50
52
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}]
|
|
51
53
|
|
|
@@ -18,9 +18,9 @@ module Anthropic
|
|
|
18
18
|
required :created_at, Time
|
|
19
19
|
|
|
20
20
|
# @!attribute display_name
|
|
21
|
-
# Name of the RBAC Role. For a role created by Anthropic, this
|
|
22
|
-
#
|
|
23
|
-
# lasting reference to a role, store its `id`.
|
|
21
|
+
# Name of the RBAC Role. For a role created by Anthropic, this is Anthropic's name
|
|
22
|
+
# for the access that the role grants. Anthropic may change this name, so to keep
|
|
23
|
+
# a lasting reference to a role, store its `id`.
|
|
24
24
|
#
|
|
25
25
|
# @return [String]
|
|
26
26
|
required :display_name, String
|
|
@@ -47,7 +47,7 @@ module Anthropic
|
|
|
47
47
|
#
|
|
48
48
|
# @param created_at [Time] RFC 3339 datetime string indicating when the RBAC Role was created.
|
|
49
49
|
#
|
|
50
|
-
# @param display_name [String] Name of the RBAC Role. For a role created by Anthropic, this
|
|
50
|
+
# @param display_name [String] Name of the RBAC Role. For a role created by Anthropic, this is Anthropic's name
|
|
51
51
|
#
|
|
52
52
|
# @param updated_at [Time] RFC 3339 datetime string indicating when the RBAC Role was last updated.
|
|
53
53
|
#
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
# The request came from a Claude sandbox with restricted network access, which is
|
|
6
|
+
# not allowed to make this change. Send it from outside the sandbox, or from a
|
|
7
|
+
# sandbox with unrestricted network access.
|
|
8
|
+
class SandboxEgressRestrictedError < Anthropic::Errors::PermissionDeniedError
|
|
9
|
+
# @!method error_code
|
|
10
|
+
# @return [Symbol, :sandbox_egress_restricted]
|
|
11
|
+
|
|
12
|
+
# @return [Anthropic::Models::SandboxEgressRestrictedErrorDetails]
|
|
13
|
+
def details
|
|
14
|
+
Anthropic::Internal::Type::Converter.coerce(
|
|
15
|
+
Anthropic::SandboxEgressRestrictedErrorDetails,
|
|
16
|
+
Anthropic::Internal::Util.dig(body, [:error, :details])
|
|
17
|
+
)
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
class SandboxEgressRestrictedErrorDetails < Anthropic::Internal::Type::BaseModel
|
|
6
|
+
# @!attribute error_code
|
|
7
|
+
#
|
|
8
|
+
# @return [Symbol, :sandbox_egress_restricted]
|
|
9
|
+
required :error_code, const: :sandbox_egress_restricted
|
|
10
|
+
|
|
11
|
+
# @!method initialize(error_code: :sandbox_egress_restricted)
|
|
12
|
+
# The request came from a Claude sandbox with restricted network access, which is
|
|
13
|
+
# not allowed to make this change. Send it from outside the sandbox, or from a
|
|
14
|
+
# sandbox with unrestricted network access.
|
|
15
|
+
#
|
|
16
|
+
# @param error_code [Symbol, :sandbox_egress_restricted]
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
data/lib/anthropic/models.rb
CHANGED
|
@@ -781,6 +781,10 @@ module Anthropic
|
|
|
781
781
|
RequestBodyTooLargeAfterDecodingErrorDetails =
|
|
782
782
|
Anthropic::Models::RequestBodyTooLargeAfterDecodingErrorDetails
|
|
783
783
|
|
|
784
|
+
SandboxEgressRestrictedError = Anthropic::Models::SandboxEgressRestrictedError
|
|
785
|
+
|
|
786
|
+
SandboxEgressRestrictedErrorDetails = Anthropic::Models::SandboxEgressRestrictedErrorDetails
|
|
787
|
+
|
|
784
788
|
SearchResultBlockParam = Anthropic::Models::SearchResultBlockParam
|
|
785
789
|
|
|
786
790
|
ServerToolCaller = Anthropic::Models::ServerToolCaller
|
|
@@ -19,7 +19,7 @@ module Anthropic
|
|
|
19
19
|
# {Anthropic::Models::Beta::Organization::Analytics::CostListParams} for more
|
|
20
20
|
# details.
|
|
21
21
|
#
|
|
22
|
-
# @overload list(starting_at:, actor_ids: nil, actor_types: nil, agent_ids: nil, api_key_ids: nil, claude_tag_categories: nil, claude_tag_user_ids: nil, context_windows: nil, deployment_ids: nil, ending_at: nil, environment_ids: nil, exclude_deleted_users: nil, group_by: nil, inference_geos: nil, limit: nil, models: nil, order: nil, order_by: nil, page: nil, products: nil, rbac_group_ids: nil, service_tiers: nil, session_ids: nil, slack_channel_ids: nil, speeds: nil, time_bucket_width: nil, user_profile_ids: nil, workspace_ids: nil, betas: nil, request_options: {})
|
|
22
|
+
# @overload list(starting_at:, actor_ids: nil, actor_types: nil, agent_ids: nil, api_key_ids: nil, claude_tag_categories: nil, claude_tag_user_ids: nil, context_windows: nil, deployment_ids: nil, ending_at: nil, environment_ids: nil, exclude_deleted_users: nil, group_by: nil, inference_geos: nil, limit: nil, models: nil, order: nil, order_by: nil, organization_ids: nil, page: nil, products: nil, rbac_group_ids: nil, service_tiers: nil, session_ids: nil, slack_channel_ids: nil, speeds: nil, time_bucket_width: nil, user_profile_ids: nil, workspace_ids: nil, betas: nil, request_options: {})
|
|
23
23
|
#
|
|
24
24
|
# @param starting_at [Time] Query param: Start of range, inclusive. RFC 3339 tz-aware. Must be within the la
|
|
25
25
|
#
|
|
@@ -57,6 +57,8 @@ module Anthropic
|
|
|
57
57
|
#
|
|
58
58
|
# @param order_by [Symbol, Anthropic::Models::Beta::Organization::Analytics::BetaAnalyticsCostOrderBy] Query param: Row order. A metric ranks rows by that metric in the `order` direct
|
|
59
59
|
#
|
|
60
|
+
# @param organization_ids [Array<String>, nil] Query param: Filter a parent organization's report to specific child organizatio
|
|
61
|
+
#
|
|
60
62
|
# @param page [String, nil] Query param: Opaque cursor from a previous response's `next_page` field.
|
|
61
63
|
#
|
|
62
64
|
# @param products [Array<Symbol, Anthropic::Models::Beta::Organization::BetaAnalyticsUsageCostProductFilter>, nil] Query param: Product surfaces to include. Defaults to all products.
|
|
@@ -105,6 +107,7 @@ module Anthropic
|
|
|
105
107
|
:models,
|
|
106
108
|
:order,
|
|
107
109
|
:order_by,
|
|
110
|
+
:organization_ids,
|
|
108
111
|
:page,
|
|
109
112
|
:products,
|
|
110
113
|
:rbac_group_ids,
|
|
@@ -140,6 +143,7 @@ module Anthropic
|
|
|
140
143
|
models
|
|
141
144
|
order
|
|
142
145
|
order_by
|
|
146
|
+
organization_ids
|
|
143
147
|
page
|
|
144
148
|
products
|
|
145
149
|
rbac_group_ids
|
|
@@ -20,7 +20,7 @@ module Anthropic
|
|
|
20
20
|
# {Anthropic::Models::Beta::Organization::Analytics::UsageListParams} for more
|
|
21
21
|
# details.
|
|
22
22
|
#
|
|
23
|
-
# @overload list(starting_at:, actor_ids: nil, actor_types: nil, agent_ids: nil, api_key_ids: nil, claude_tag_categories: nil, claude_tag_user_ids: nil, context_windows: nil, deployment_ids: nil, ending_at: nil, environment_ids: nil, exclude_deleted_users: nil, group_by: nil, inference_geos: nil, limit: nil, models: nil, order: nil, order_by: nil, page: nil, products: nil, rbac_group_ids: nil, service_tiers: nil, session_ids: nil, slack_channel_ids: nil, speeds: nil, time_bucket_width: nil, user_profile_ids: nil, workspace_ids: nil, betas: nil, request_options: {})
|
|
23
|
+
# @overload list(starting_at:, actor_ids: nil, actor_types: nil, agent_ids: nil, api_key_ids: nil, claude_tag_categories: nil, claude_tag_user_ids: nil, context_windows: nil, deployment_ids: nil, ending_at: nil, environment_ids: nil, exclude_deleted_users: nil, group_by: nil, inference_geos: nil, limit: nil, models: nil, order: nil, order_by: nil, organization_ids: nil, page: nil, products: nil, rbac_group_ids: nil, service_tiers: nil, session_ids: nil, slack_channel_ids: nil, speeds: nil, time_bucket_width: nil, user_profile_ids: nil, workspace_ids: nil, betas: nil, request_options: {})
|
|
24
24
|
#
|
|
25
25
|
# @param starting_at [Time] Query param: Start of range, inclusive. RFC 3339 tz-aware. Must be within the la
|
|
26
26
|
#
|
|
@@ -58,6 +58,8 @@ module Anthropic
|
|
|
58
58
|
#
|
|
59
59
|
# @param order_by [Symbol, Anthropic::Models::Beta::Organization::Analytics::BetaAnalyticsUsageOrderBy] Query param: Row order. A metric ranks rows by that metric in the `order` direct
|
|
60
60
|
#
|
|
61
|
+
# @param organization_ids [Array<String>, nil] Query param: Filter a parent organization's report to specific child organizatio
|
|
62
|
+
#
|
|
61
63
|
# @param page [String, nil] Query param: Opaque cursor from a previous response's `next_page` field.
|
|
62
64
|
#
|
|
63
65
|
# @param products [Array<Symbol, Anthropic::Models::Beta::Organization::BetaAnalyticsUsageCostProductFilter>, nil] Query param: Product surfaces to include. Defaults to all products.
|
|
@@ -106,6 +108,7 @@ module Anthropic
|
|
|
106
108
|
:models,
|
|
107
109
|
:order,
|
|
108
110
|
:order_by,
|
|
111
|
+
:organization_ids,
|
|
109
112
|
:page,
|
|
110
113
|
:products,
|
|
111
114
|
:rbac_group_ids,
|
|
@@ -141,6 +144,7 @@ module Anthropic
|
|
|
141
144
|
models
|
|
142
145
|
order
|
|
143
146
|
order_by
|
|
147
|
+
organization_ids
|
|
144
148
|
page
|
|
145
149
|
products
|
|
146
150
|
rbac_group_ids
|
|
@@ -43,6 +43,7 @@ module Anthropic
|
|
|
43
43
|
#
|
|
44
44
|
# @raise [Anthropic::Models::Organization::OrgAPIKeyLimitExceededError]
|
|
45
45
|
# @raise [Anthropic::Models::Organization::WorkspaceAPIKeyLimitExceededError]
|
|
46
|
+
# @raise [Anthropic::Models::SandboxEgressRestrictedError]
|
|
46
47
|
#
|
|
47
48
|
# @return [Anthropic::Models::Beta::Organization::BetaAPIKey]
|
|
48
49
|
#
|
|
@@ -58,6 +58,8 @@ module Anthropic
|
|
|
58
58
|
#
|
|
59
59
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
60
60
|
#
|
|
61
|
+
# @raise [Anthropic::Models::SandboxEgressRestrictedError]
|
|
62
|
+
#
|
|
61
63
|
# @return [Anthropic::Models::Beta::Organization::BetaComplianceSettings]
|
|
62
64
|
#
|
|
63
65
|
# @see Anthropic::Models::Beta::Organization::ComplianceSettingUpdateParams
|
|
@@ -19,11 +19,12 @@ module Anthropic
|
|
|
19
19
|
#
|
|
20
20
|
# @param geo [Symbol, Anthropic::Models::Beta::Organization::ExternalKeyCreateParams::Geo] Data residency geo. Only `us` is supported.
|
|
21
21
|
#
|
|
22
|
-
# @param user_profile_id [String, nil] ID of a user profile to bind the key to.
|
|
22
|
+
# @param user_profile_id [String, nil] ID of a user profile to bind the key to. A user profile represents one of your c
|
|
23
23
|
#
|
|
24
24
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
25
25
|
#
|
|
26
26
|
# @raise [Anthropic::Models::UserProfileNotFoundError]
|
|
27
|
+
# @raise [Anthropic::Models::SandboxEgressRestrictedError]
|
|
27
28
|
#
|
|
28
29
|
# @return [Anthropic::Models::Beta::Organization::BetaExternalKey]
|
|
29
30
|
#
|
|
@@ -86,6 +87,7 @@ module Anthropic
|
|
|
86
87
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
87
88
|
#
|
|
88
89
|
# @raise [Anthropic::Models::Organization::ExternalKeyInWorkspacePolicyError]
|
|
90
|
+
# @raise [Anthropic::Models::SandboxEgressRestrictedError]
|
|
89
91
|
#
|
|
90
92
|
# @return [Anthropic::Models::Beta::Organization::BetaExternalKey]
|
|
91
93
|
#
|
|
@@ -149,6 +151,7 @@ module Anthropic
|
|
|
149
151
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
150
152
|
#
|
|
151
153
|
# @raise [Anthropic::Models::Organization::ExternalKeyInWorkspacePolicyError]
|
|
154
|
+
# @raise [Anthropic::Models::SandboxEgressRestrictedError]
|
|
152
155
|
#
|
|
153
156
|
# @return [Anthropic::Models::Beta::Organization::ExternalKeyDeleteResponse]
|
|
154
157
|
#
|
|
@@ -179,6 +182,8 @@ module Anthropic
|
|
|
179
182
|
#
|
|
180
183
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
181
184
|
#
|
|
185
|
+
# @raise [Anthropic::Models::SandboxEgressRestrictedError]
|
|
186
|
+
#
|
|
182
187
|
# @return [Anthropic::Models::Beta::Organization::ExternalKeyValidateResponse]
|
|
183
188
|
#
|
|
184
189
|
# @see Anthropic::Models::Beta::Organization::ExternalKeyValidateParams
|
|
@@ -43,6 +43,8 @@ module Anthropic
|
|
|
43
43
|
#
|
|
44
44
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
45
45
|
#
|
|
46
|
+
# @raise [Anthropic::Models::SandboxEgressRestrictedError]
|
|
47
|
+
#
|
|
46
48
|
# @return [Anthropic::Models::Beta::Organization::Federation::BetaFederationIssuer]
|
|
47
49
|
#
|
|
48
50
|
# @see Anthropic::Models::Beta::Organization::Federation::IssuerCreateParams
|
|
@@ -133,6 +135,8 @@ module Anthropic
|
|
|
133
135
|
#
|
|
134
136
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
135
137
|
#
|
|
138
|
+
# @raise [Anthropic::Models::SandboxEgressRestrictedError]
|
|
139
|
+
#
|
|
136
140
|
# @return [Anthropic::Models::Beta::Organization::Federation::BetaFederationIssuer]
|
|
137
141
|
#
|
|
138
142
|
# @see Anthropic::Models::Beta::Organization::Federation::IssuerUpdateParams
|
|
@@ -216,6 +220,8 @@ module Anthropic
|
|
|
216
220
|
#
|
|
217
221
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
218
222
|
#
|
|
223
|
+
# @raise [Anthropic::Models::SandboxEgressRestrictedError]
|
|
224
|
+
#
|
|
219
225
|
# @return [Anthropic::Models::Beta::Organization::Federation::BetaFederationIssuer]
|
|
220
226
|
#
|
|
221
227
|
# @see Anthropic::Models::Beta::Organization::Federation::IssuerArchiveParams
|
|
@@ -81,6 +81,8 @@ module Anthropic
|
|
|
81
81
|
#
|
|
82
82
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
83
83
|
#
|
|
84
|
+
# @raise [Anthropic::Models::SandboxEgressRestrictedError]
|
|
85
|
+
#
|
|
84
86
|
# @return [Anthropic::Models::Beta::Organization::Federation::BetaFederationRuleWorkspace]
|
|
85
87
|
#
|
|
86
88
|
# @see Anthropic::Models::Beta::Organization::Federation::Rules::WorkspaceAddParams
|
|
@@ -124,6 +126,8 @@ module Anthropic
|
|
|
124
126
|
#
|
|
125
127
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
126
128
|
#
|
|
129
|
+
# @raise [Anthropic::Models::SandboxEgressRestrictedError]
|
|
130
|
+
#
|
|
127
131
|
# @return [Anthropic::Models::Beta::Organization::Federation::Rules::WorkspaceRemoveResponse]
|
|
128
132
|
#
|
|
129
133
|
# @see Anthropic::Models::Beta::Organization::Federation::Rules::WorkspaceRemoveParams
|
|
@@ -59,6 +59,8 @@ module Anthropic
|
|
|
59
59
|
#
|
|
60
60
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
61
61
|
#
|
|
62
|
+
# @raise [Anthropic::Models::SandboxEgressRestrictedError]
|
|
63
|
+
#
|
|
62
64
|
# @return [Anthropic::Models::Beta::Organization::Federation::BetaFederationRule]
|
|
63
65
|
#
|
|
64
66
|
# @see Anthropic::Models::Beta::Organization::Federation::RuleCreateParams
|
|
@@ -164,6 +166,8 @@ module Anthropic
|
|
|
164
166
|
#
|
|
165
167
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
166
168
|
#
|
|
169
|
+
# @raise [Anthropic::Models::SandboxEgressRestrictedError]
|
|
170
|
+
#
|
|
167
171
|
# @return [Anthropic::Models::Beta::Organization::Federation::BetaFederationRule]
|
|
168
172
|
#
|
|
169
173
|
# @see Anthropic::Models::Beta::Organization::Federation::RuleUpdateParams
|
|
@@ -252,6 +256,8 @@ module Anthropic
|
|
|
252
256
|
#
|
|
253
257
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
254
258
|
#
|
|
259
|
+
# @raise [Anthropic::Models::SandboxEgressRestrictedError]
|
|
260
|
+
#
|
|
255
261
|
# @return [Anthropic::Models::Beta::Organization::Federation::BetaFederationRule]
|
|
256
262
|
#
|
|
257
263
|
# @see Anthropic::Models::Beta::Organization::Federation::RuleArchiveParams
|
|
@@ -32,6 +32,7 @@ module Anthropic
|
|
|
32
32
|
# @raise [Anthropic::Models::OrgMemberLimitExceededError]
|
|
33
33
|
# @raise [Anthropic::Models::Organization::RBACGroupGrantsOwnerAccessError]
|
|
34
34
|
# @raise [Anthropic::Models::Organization::RBACGroupOwnerAccessUnconfirmedError]
|
|
35
|
+
# @raise [Anthropic::Models::SandboxEgressRestrictedError]
|
|
35
36
|
#
|
|
36
37
|
# @return [Anthropic::Models::Beta::Organization::BetaOrganizationInvite]
|
|
37
38
|
#
|
|
@@ -124,6 +125,8 @@ module Anthropic
|
|
|
124
125
|
#
|
|
125
126
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
126
127
|
#
|
|
128
|
+
# @raise [Anthropic::Models::SandboxEgressRestrictedError]
|
|
129
|
+
#
|
|
127
130
|
# @return [Anthropic::Models::Beta::Organization::InviteDeleteResponse]
|
|
128
131
|
#
|
|
129
132
|
# @see Anthropic::Models::Beta::Organization::InviteDeleteParams
|