anthropic 2.5.0 → 2.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +50 -0
- data/README.md +1 -1
- data/lib/anthropic/error_classes.rb +11 -1
- data/lib/anthropic/errors.rb +11 -0
- data/lib/anthropic/helpers/aws/client.rb +6 -0
- data/lib/anthropic/helpers/bedrock/mantle_client.rb +6 -0
- data/lib/anthropic/helpers/streaming/message_stream.rb +6 -4
- data/lib/anthropic/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_managed_agents_model.rb +5 -0
- data/lib/anthropic/models/beta/beta_target_store_held_error.rb +1 -7
- 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/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/analytics/beta_analytics_cost_group.rb +10 -1
- data/lib/anthropic/models/beta/organization/analytics/beta_analytics_cost_group_by.rb +1 -0
- data/lib/anthropic/models/beta/organization/analytics/beta_analytics_usage_group.rb +10 -1
- data/lib/anthropic/models/beta/organization/analytics/beta_analytics_usage_group_by.rb +1 -0
- data/lib/anthropic/models/beta/organization/analytics/cost_list_params.rb +12 -1
- data/lib/anthropic/models/beta/organization/analytics/usage_list_params.rb +12 -1
- data/lib/anthropic/models/beta/organization/beta_cannot_sign_out_managed_member_error.rb +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/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/user_sign_out_params.rb +38 -0
- data/lib/anthropic/models/beta/organization/webhook_create_params.rb +1 -0
- data/lib/anthropic/models/beta/organization/webhook_update_params.rb +1 -0
- data/lib/anthropic/models/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 +74 -7
- 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/model.rb +10 -0
- 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/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 +13 -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/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 +3 -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/compliance_settings.rb +2 -0
- data/lib/anthropic/resources/beta/organization/external_keys.rb +8 -7
- 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 +10 -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 +6 -14
- data/lib/anthropic/resources/beta/organization/rbac_groups.rb +7 -7
- 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/effective.rb +1 -2
- data/lib/anthropic/resources/beta/organization/spend_limits/increase_requests.rb +4 -0
- data/lib/anthropic/resources/beta/organization/spend_limits.rb +6 -12
- data/lib/anthropic/resources/beta/organization/users.rb +69 -4
- data/lib/anthropic/resources/beta/organization/webhooks.rb +4 -0
- data/lib/anthropic/resources/beta/organization/workspaces/members.rb +6 -2
- 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 +16 -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 +3 -2
- data/lib/anthropic/resources/organization/compliance_settings.rb +2 -0
- data/lib/anthropic/resources/organization/external_keys.rb +8 -7
- 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 +10 -17
- data/lib/anthropic/resources/organization/rbac_groups/members.rb +6 -14
- data/lib/anthropic/resources/organization/rbac_groups.rb +7 -7
- 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/effective.rb +1 -2
- data/lib/anthropic/resources/organization/spend_limits/increase_requests.rb +4 -0
- data/lib/anthropic/resources/organization/users.rb +5 -4
- data/lib/anthropic/resources/organization/workspaces/members.rb +6 -2
- 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 +16 -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 +25 -2
- data/manifest.yaml +1 -0
- data/rbi/anthropic/errors.rbi +14 -0
- data/rbi/anthropic/helpers/aws/client.rbi +5 -0
- data/rbi/anthropic/helpers/bedrock/mantle_client.rbi +5 -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_managed_agents_model.rbi +7 -0
- data/rbi/anthropic/models/beta/beta_target_store_held_error.rbi +1 -8
- 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/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/analytics/beta_analytics_cost_group.rbi +10 -0
- data/rbi/anthropic/models/beta/organization/analytics/beta_analytics_cost_group_by.rbi +5 -0
- data/rbi/anthropic/models/beta/organization/analytics/beta_analytics_usage_group.rbi +10 -0
- data/rbi/anthropic/models/beta/organization/analytics/beta_analytics_usage_group_by.rbi +5 -0
- data/rbi/anthropic/models/beta/organization/analytics/cost_list_params.rbi +14 -0
- data/rbi/anthropic/models/beta/organization/analytics/usage_list_params.rbi +14 -0
- data/rbi/anthropic/models/beta/organization/beta_cannot_sign_out_managed_member_error.rbi +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/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/user_sign_out_params.rbi +75 -0
- data/rbi/anthropic/models/beta/organization/webhook_create_params.rbi +5 -0
- data/rbi/anthropic/models/beta/organization/webhook_update_params.rbi +5 -0
- data/rbi/anthropic/models/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 +63 -3
- 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/model.rbi +8 -0
- 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/{beta/beta_billing_frozen_error_details.rbi → organization/external_key_validation_failed_error_details.rbi} +6 -8
- 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/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 +16 -0
- data/rbi/anthropic/resources/beta/environments/work.rbi +2 -1
- data/rbi/anthropic/resources/beta/organization/analytics/cost.rbi +7 -0
- data/rbi/anthropic/resources/beta/organization/analytics/usage.rbi +7 -0
- data/rbi/anthropic/resources/beta/organization/users.rbi +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/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_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/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/user_sign_out_params.rbs +36 -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/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 +72 -5
- data/sig/anthropic/models/model.rbs +9 -1
- 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/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 +12 -0
- data/sig/anthropic/resources/beta/organization/analytics/cost.rbs +1 -0
- data/sig/anthropic/resources/beta/organization/analytics/usage.rbs +1 -0
- data/sig/anthropic/resources/beta/organization/users.rbs +6 -0
- metadata +74 -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/sig/anthropic/models/beta/beta_billing_frozen_error.rbs +0 -11
- data/sig/anthropic/models/beta/beta_billing_frozen_error_details.rbs +0 -17
|
@@ -28,12 +28,10 @@ module Anthropic
|
|
|
28
28
|
#
|
|
29
29
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
30
30
|
#
|
|
31
|
-
# @raise [Anthropic::Models::Beta::Organization::BetaAPIKeyScopeMissingError]
|
|
32
|
-
#
|
|
33
|
-
# @raise [Anthropic::Models::Beta::Organization::
|
|
34
|
-
# @raise [Anthropic::Models::Beta::Organization::
|
|
35
|
-
# anything new.
|
|
36
|
-
# @raise [Anthropic::Models::Beta::Organization::BetaOrganizationLevelScopedAPIKeyRequiredError] The credential is not a scoped API key that is bound at the organization level.
|
|
31
|
+
# @raise [Anthropic::Models::Beta::Organization::BetaAPIKeyScopeMissingError]
|
|
32
|
+
# @raise [Anthropic::Models::Beta::Organization::BetaClaudeTagWritesNotEnabledError]
|
|
33
|
+
# @raise [Anthropic::Models::Beta::Organization::BetaComplianceConfigurationRestrictedError]
|
|
34
|
+
# @raise [Anthropic::Models::Beta::Organization::BetaOrganizationLevelScopedAPIKeyRequiredError]
|
|
37
35
|
#
|
|
38
36
|
# @return [Anthropic::Models::Beta::Organization::ClaudeTag::BetaClaudeTagSlackWorkspace]
|
|
39
37
|
#
|
|
@@ -79,18 +77,13 @@ module Anthropic
|
|
|
79
77
|
#
|
|
80
78
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
81
79
|
#
|
|
82
|
-
# @raise [Anthropic::Models::Beta::Organization::BetaAPIKeyScopeMissingError]
|
|
83
|
-
#
|
|
84
|
-
# @raise [Anthropic::Models::Beta::Organization::
|
|
85
|
-
# @raise [Anthropic::Models::Beta::Organization::
|
|
86
|
-
#
|
|
87
|
-
# @raise [Anthropic::Models::Beta::Organization::
|
|
88
|
-
# @raise [Anthropic::Models::Beta::
|
|
89
|
-
# @raise [Anthropic::Models::Beta::Organization::BetaSlackChannelSetUpEnvironmentNotFoundError] `settings.environment_id` names no Environment within the organization's reach,
|
|
90
|
-
# and the request had set the channel up by then. The channel stays set up with
|
|
91
|
-
# every setting unset.
|
|
92
|
-
# @raise [Anthropic::Models::Beta::Organization::BetaSlackChannelSetUpSettingsConflictError] The request set the channel up, and something else then changed the channel or
|
|
93
|
-
# removed it. Nothing of `settings` was stored.
|
|
80
|
+
# @raise [Anthropic::Models::Beta::Organization::BetaAPIKeyScopeMissingError]
|
|
81
|
+
# @raise [Anthropic::Models::Beta::Organization::BetaClaudeTagWritesNotEnabledError]
|
|
82
|
+
# @raise [Anthropic::Models::Beta::Organization::BetaComplianceConfigurationRestrictedError]
|
|
83
|
+
# @raise [Anthropic::Models::Beta::Organization::BetaOrganizationLevelScopedAPIKeyRequiredError]
|
|
84
|
+
# @raise [Anthropic::Models::Beta::BetaEnvironmentNotFoundError]
|
|
85
|
+
# @raise [Anthropic::Models::Beta::Organization::BetaSlackChannelSetUpEnvironmentNotFoundError]
|
|
86
|
+
# @raise [Anthropic::Models::Beta::Organization::BetaSlackChannelSetUpSettingsConflictError]
|
|
94
87
|
#
|
|
95
88
|
# @return [Anthropic::Models::Beta::Organization::ClaudeTag::BetaClaudeTagSlackWorkspace]
|
|
96
89
|
#
|
|
@@ -143,12 +136,10 @@ module Anthropic
|
|
|
143
136
|
#
|
|
144
137
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
145
138
|
#
|
|
146
|
-
# @raise [Anthropic::Models::Beta::Organization::BetaAPIKeyScopeMissingError]
|
|
147
|
-
#
|
|
148
|
-
# @raise [Anthropic::Models::Beta::Organization::
|
|
149
|
-
# @raise [Anthropic::Models::Beta::Organization::
|
|
150
|
-
# anything new.
|
|
151
|
-
# @raise [Anthropic::Models::Beta::Organization::BetaOrganizationLevelScopedAPIKeyRequiredError] The credential is not a scoped API key that is bound at the organization level.
|
|
139
|
+
# @raise [Anthropic::Models::Beta::Organization::BetaAPIKeyScopeMissingError]
|
|
140
|
+
# @raise [Anthropic::Models::Beta::Organization::BetaClaudeTagWritesNotEnabledError]
|
|
141
|
+
# @raise [Anthropic::Models::Beta::Organization::BetaComplianceConfigurationRestrictedError]
|
|
142
|
+
# @raise [Anthropic::Models::Beta::Organization::BetaOrganizationLevelScopedAPIKeyRequiredError]
|
|
152
143
|
#
|
|
153
144
|
# @return [Anthropic::Internal::PageCursor<Anthropic::Models::Beta::Organization::ClaudeTag::BetaClaudeTagSlackWorkspace>]
|
|
154
145
|
#
|
|
@@ -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
|
|
@@ -23,9 +23,8 @@ module Anthropic
|
|
|
23
23
|
#
|
|
24
24
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
25
25
|
#
|
|
26
|
-
# @raise [Anthropic::Models::UserProfileNotFoundError]
|
|
27
|
-
#
|
|
28
|
-
# a resource, such as an External Key, that is bound to it.
|
|
26
|
+
# @raise [Anthropic::Models::UserProfileNotFoundError]
|
|
27
|
+
# @raise [Anthropic::Models::SandboxEgressRestrictedError]
|
|
29
28
|
#
|
|
30
29
|
# @return [Anthropic::Models::Beta::Organization::BetaExternalKey]
|
|
31
30
|
#
|
|
@@ -87,8 +86,8 @@ module Anthropic
|
|
|
87
86
|
#
|
|
88
87
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
89
88
|
#
|
|
90
|
-
# @raise [Anthropic::Models::Organization::ExternalKeyInWorkspacePolicyError]
|
|
91
|
-
#
|
|
89
|
+
# @raise [Anthropic::Models::Organization::ExternalKeyInWorkspacePolicyError]
|
|
90
|
+
# @raise [Anthropic::Models::SandboxEgressRestrictedError]
|
|
92
91
|
#
|
|
93
92
|
# @return [Anthropic::Models::Beta::Organization::BetaExternalKey]
|
|
94
93
|
#
|
|
@@ -151,8 +150,8 @@ module Anthropic
|
|
|
151
150
|
#
|
|
152
151
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
153
152
|
#
|
|
154
|
-
# @raise [Anthropic::Models::Organization::ExternalKeyInWorkspacePolicyError]
|
|
155
|
-
#
|
|
153
|
+
# @raise [Anthropic::Models::Organization::ExternalKeyInWorkspacePolicyError]
|
|
154
|
+
# @raise [Anthropic::Models::SandboxEgressRestrictedError]
|
|
156
155
|
#
|
|
157
156
|
# @return [Anthropic::Models::Beta::Organization::ExternalKeyDeleteResponse]
|
|
158
157
|
#
|
|
@@ -183,6 +182,8 @@ module Anthropic
|
|
|
183
182
|
#
|
|
184
183
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
185
184
|
#
|
|
185
|
+
# @raise [Anthropic::Models::SandboxEgressRestrictedError]
|
|
186
|
+
#
|
|
186
187
|
# @return [Anthropic::Models::Beta::Organization::ExternalKeyValidateResponse]
|
|
187
188
|
#
|
|
188
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
|
|
@@ -25,23 +25,14 @@ module Anthropic
|
|
|
25
25
|
#
|
|
26
26
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
27
27
|
#
|
|
28
|
-
# @raise [Anthropic::Models::Organization::AlreadyMemberError]
|
|
29
|
-
#
|
|
30
|
-
# @raise [Anthropic::Models::Organization::
|
|
31
|
-
#
|
|
32
|
-
# @raise [Anthropic::Models::
|
|
33
|
-
#
|
|
34
|
-
# @raise [Anthropic::Models::Organization::
|
|
35
|
-
#
|
|
36
|
-
# @raise [Anthropic::Models::OrgMemberLimitExceededError] The organization has reached the member limit that Anthropic set for it. Pending
|
|
37
|
-
# invites count toward the limit.
|
|
38
|
-
# @raise [Anthropic::Models::Organization::RBACGroupGrantsOwnerAccessError] A role attached to an RBAC Group in the request grants owner access, so this API
|
|
39
|
-
# does not add members to that group (directly or through an invite), remove its
|
|
40
|
-
# members, or delete it. Make the change in the organization's admin settings in
|
|
41
|
-
# Claude.
|
|
42
|
-
# @raise [Anthropic::Models::Organization::RBACGroupOwnerAccessUnconfirmedError] The API could not finish checking whether an RBAC Group in the request grants
|
|
43
|
-
# owner access, so it made no change. Retrying the same request will not help.
|
|
44
|
-
# Make the change in the organization's admin settings in Claude.
|
|
28
|
+
# @raise [Anthropic::Models::Organization::AlreadyMemberError]
|
|
29
|
+
# @raise [Anthropic::Models::Organization::CannotInviteEmailsWithUnverifiedDomainsError]
|
|
30
|
+
# @raise [Anthropic::Models::Organization::EmailDomainNotAllowedError]
|
|
31
|
+
# @raise [Anthropic::Models::Organization::InviteAlreadyExistsError]
|
|
32
|
+
# @raise [Anthropic::Models::OrgMemberLimitExceededError]
|
|
33
|
+
# @raise [Anthropic::Models::Organization::RBACGroupGrantsOwnerAccessError]
|
|
34
|
+
# @raise [Anthropic::Models::Organization::RBACGroupOwnerAccessUnconfirmedError]
|
|
35
|
+
# @raise [Anthropic::Models::SandboxEgressRestrictedError]
|
|
45
36
|
#
|
|
46
37
|
# @return [Anthropic::Models::Beta::Organization::BetaOrganizationInvite]
|
|
47
38
|
#
|
|
@@ -134,6 +125,8 @@ module Anthropic
|
|
|
134
125
|
#
|
|
135
126
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
136
127
|
#
|
|
128
|
+
# @raise [Anthropic::Models::SandboxEgressRestrictedError]
|
|
129
|
+
#
|
|
137
130
|
# @return [Anthropic::Models::Beta::Organization::InviteDeleteResponse]
|
|
138
131
|
#
|
|
139
132
|
# @see Anthropic::Models::Beta::Organization::InviteDeleteParams
|
|
@@ -210,8 +210,7 @@ module Anthropic
|
|
|
210
210
|
#
|
|
211
211
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
212
212
|
#
|
|
213
|
-
# @raise [Anthropic::Models::BetaUnsupportedCharsetError]
|
|
214
|
-
# or US-ASCII. Send the request with no charset, or with one of these.
|
|
213
|
+
# @raise [Anthropic::Models::BetaUnsupportedCharsetError]
|
|
215
214
|
#
|
|
216
215
|
# @return [Anthropic::Models::Beta::Organization::BetaPluginMarketplaceValidationReport]
|
|
217
216
|
#
|
|
@@ -53,16 +53,11 @@ module Anthropic
|
|
|
53
53
|
#
|
|
54
54
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
55
55
|
#
|
|
56
|
-
# @raise [Anthropic::Models::CMEKKeyDisabledError]
|
|
57
|
-
#
|
|
58
|
-
# @raise [Anthropic::Models::
|
|
59
|
-
#
|
|
60
|
-
# @raise [Anthropic::Models::
|
|
61
|
-
# or US-ASCII. Send the request with no charset, or with one of these.
|
|
62
|
-
# @raise [Anthropic::Models::Beta::Organization::BetaSkillNameTakenError] One of the Plugin's skills has the name of an organization skill. `skill_name`
|
|
63
|
-
# is that name.
|
|
64
|
-
# @raise [Anthropic::Models::Beta::Organization::BetaRegistrationPendingError] The Plugin version was stored but is not yet usable in claude.ai. `plugin_id`
|
|
65
|
-
# and `plugin_version_id` identify what was stored.
|
|
56
|
+
# @raise [Anthropic::Models::CMEKKeyDisabledError]
|
|
57
|
+
# @raise [Anthropic::Models::CMEKKeyNetworkBlockedError]
|
|
58
|
+
# @raise [Anthropic::Models::BetaUnsupportedCharsetError]
|
|
59
|
+
# @raise [Anthropic::Models::Beta::Organization::BetaSkillNameTakenError]
|
|
60
|
+
# @raise [Anthropic::Models::Beta::Organization::BetaRegistrationPendingError]
|
|
66
61
|
#
|
|
67
62
|
# @return [Anthropic::Models::Beta::Organization::Plugins::BetaPluginVersion]
|
|
68
63
|
#
|
|
@@ -250,10 +245,8 @@ module Anthropic
|
|
|
250
245
|
#
|
|
251
246
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
252
247
|
#
|
|
253
|
-
# @raise [Anthropic::Models::CMEKKeyDisabledError]
|
|
254
|
-
#
|
|
255
|
-
# @raise [Anthropic::Models::CMEKKeyNetworkBlockedError] The key management service's network access controls blocked the request to the
|
|
256
|
-
# workspace's customer-managed encryption key. The key itself may be healthy.
|
|
248
|
+
# @raise [Anthropic::Models::CMEKKeyDisabledError]
|
|
249
|
+
# @raise [Anthropic::Models::CMEKKeyNetworkBlockedError]
|
|
257
250
|
#
|
|
258
251
|
# @return [StringIO]
|
|
259
252
|
#
|
|
@@ -66,18 +66,12 @@ module Anthropic
|
|
|
66
66
|
#
|
|
67
67
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
68
68
|
#
|
|
69
|
-
# @raise [Anthropic::Models::CMEKKeyDisabledError]
|
|
70
|
-
#
|
|
71
|
-
# @raise [Anthropic::Models::
|
|
72
|
-
#
|
|
73
|
-
# @raise [Anthropic::Models::
|
|
74
|
-
#
|
|
75
|
-
# @raise [Anthropic::Models::Beta::Organization::BetaPluginNameTakenError] The marketplace already holds this name. `plugin_id` is the Plugin that holds
|
|
76
|
-
# it, and can be absent.
|
|
77
|
-
# @raise [Anthropic::Models::Beta::Organization::BetaSkillNameTakenError] One of the Plugin's skills has the name of an organization skill. `skill_name`
|
|
78
|
-
# is that name.
|
|
79
|
-
# @raise [Anthropic::Models::Beta::Organization::BetaRegistrationPendingError] The Plugin version was stored but is not yet usable in claude.ai. `plugin_id`
|
|
80
|
-
# and `plugin_version_id` identify what was stored.
|
|
69
|
+
# @raise [Anthropic::Models::CMEKKeyDisabledError]
|
|
70
|
+
# @raise [Anthropic::Models::CMEKKeyNetworkBlockedError]
|
|
71
|
+
# @raise [Anthropic::Models::BetaUnsupportedCharsetError]
|
|
72
|
+
# @raise [Anthropic::Models::Beta::Organization::BetaPluginNameTakenError]
|
|
73
|
+
# @raise [Anthropic::Models::Beta::Organization::BetaSkillNameTakenError]
|
|
74
|
+
# @raise [Anthropic::Models::Beta::Organization::BetaRegistrationPendingError]
|
|
81
75
|
#
|
|
82
76
|
# @return [Anthropic::Models::Beta::Organization::BetaPlugin]
|
|
83
77
|
#
|
|
@@ -200,16 +194,11 @@ module Anthropic
|
|
|
200
194
|
#
|
|
201
195
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
202
196
|
#
|
|
203
|
-
# @raise [Anthropic::Models::CMEKKeyDisabledError]
|
|
204
|
-
#
|
|
205
|
-
# @raise [Anthropic::Models::
|
|
206
|
-
#
|
|
207
|
-
# @raise [Anthropic::Models::Beta::Organization::
|
|
208
|
-
# be served.
|
|
209
|
-
# @raise [Anthropic::Models::Beta::Organization::BetaScanPendingError] The content scan of the version in `plugin_version_id` is still running. Retry
|
|
210
|
-
# once the scan finishes.
|
|
211
|
-
# @raise [Anthropic::Models::Beta::Organization::BetaSkillNameTakenError] One of the Plugin's skills has the name of an organization skill. `skill_name`
|
|
212
|
-
# is that name.
|
|
197
|
+
# @raise [Anthropic::Models::CMEKKeyDisabledError]
|
|
198
|
+
# @raise [Anthropic::Models::CMEKKeyNetworkBlockedError]
|
|
199
|
+
# @raise [Anthropic::Models::Beta::Organization::BetaScanFailedError]
|
|
200
|
+
# @raise [Anthropic::Models::Beta::Organization::BetaScanPendingError]
|
|
201
|
+
# @raise [Anthropic::Models::Beta::Organization::BetaSkillNameTakenError]
|
|
213
202
|
#
|
|
214
203
|
# @return [Anthropic::Models::Beta::Organization::BetaPlugin]
|
|
215
204
|
#
|
|
@@ -363,8 +352,7 @@ module Anthropic
|
|
|
363
352
|
#
|
|
364
353
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
365
354
|
#
|
|
366
|
-
# @raise [Anthropic::Models::CMEKKeyDisabledError]
|
|
367
|
-
# Re-enable the key, then retry.
|
|
355
|
+
# @raise [Anthropic::Models::CMEKKeyDisabledError]
|
|
368
356
|
#
|
|
369
357
|
# @return [Anthropic::Models::Beta::Organization::BetaDeletedPlugin]
|
|
370
358
|
#
|
|
@@ -59,13 +59,9 @@ module Anthropic
|
|
|
59
59
|
#
|
|
60
60
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
61
61
|
#
|
|
62
|
-
# @raise [Anthropic::Models::Organization::RBACGroupGrantsOwnerAccessError]
|
|
63
|
-
#
|
|
64
|
-
#
|
|
65
|
-
# Claude.
|
|
66
|
-
# @raise [Anthropic::Models::Organization::RBACGroupOwnerAccessUnconfirmedError] The API could not finish checking whether an RBAC Group in the request grants
|
|
67
|
-
# owner access, so it made no change. Retrying the same request will not help.
|
|
68
|
-
# Make the change in the organization's admin settings in Claude.
|
|
62
|
+
# @raise [Anthropic::Models::Organization::RBACGroupGrantsOwnerAccessError]
|
|
63
|
+
# @raise [Anthropic::Models::Organization::RBACGroupOwnerAccessUnconfirmedError]
|
|
64
|
+
# @raise [Anthropic::Models::SandboxEgressRestrictedError]
|
|
69
65
|
#
|
|
70
66
|
# @return [Anthropic::Models::Beta::Organization::RBACGroups::BetaRBACGroupMember]
|
|
71
67
|
#
|
|
@@ -100,13 +96,9 @@ module Anthropic
|
|
|
100
96
|
#
|
|
101
97
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
102
98
|
#
|
|
103
|
-
# @raise [Anthropic::Models::Organization::RBACGroupGrantsOwnerAccessError]
|
|
104
|
-
#
|
|
105
|
-
#
|
|
106
|
-
# Claude.
|
|
107
|
-
# @raise [Anthropic::Models::Organization::RBACGroupOwnerAccessUnconfirmedError] The API could not finish checking whether an RBAC Group in the request grants
|
|
108
|
-
# owner access, so it made no change. Retrying the same request will not help.
|
|
109
|
-
# Make the change in the organization's admin settings in Claude.
|
|
99
|
+
# @raise [Anthropic::Models::Organization::RBACGroupGrantsOwnerAccessError]
|
|
100
|
+
# @raise [Anthropic::Models::Organization::RBACGroupOwnerAccessUnconfirmedError]
|
|
101
|
+
# @raise [Anthropic::Models::SandboxEgressRestrictedError]
|
|
110
102
|
#
|
|
111
103
|
# @return [Anthropic::Models::Beta::Organization::RBACGroups::BetaDeletedRBACGroupMember]
|
|
112
104
|
#
|
|
@@ -19,6 +19,8 @@ module Anthropic
|
|
|
19
19
|
#
|
|
20
20
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
21
21
|
#
|
|
22
|
+
# @raise [Anthropic::Models::SandboxEgressRestrictedError]
|
|
23
|
+
#
|
|
22
24
|
# @return [Anthropic::Models::Beta::Organization::BetaRBACGroup]
|
|
23
25
|
#
|
|
24
26
|
# @see Anthropic::Models::Beta::Organization::RBACGroupCreateParams
|
|
@@ -77,6 +79,8 @@ module Anthropic
|
|
|
77
79
|
#
|
|
78
80
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
79
81
|
#
|
|
82
|
+
# @raise [Anthropic::Models::SandboxEgressRestrictedError]
|
|
83
|
+
#
|
|
80
84
|
# @return [Anthropic::Models::Beta::Organization::BetaRBACGroup]
|
|
81
85
|
#
|
|
82
86
|
# @see Anthropic::Models::Beta::Organization::RBACGroupUpdateParams
|
|
@@ -142,13 +146,9 @@ module Anthropic
|
|
|
142
146
|
#
|
|
143
147
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
144
148
|
#
|
|
145
|
-
# @raise [Anthropic::Models::Organization::RBACGroupGrantsOwnerAccessError]
|
|
146
|
-
#
|
|
147
|
-
#
|
|
148
|
-
# Claude.
|
|
149
|
-
# @raise [Anthropic::Models::Organization::RBACGroupOwnerAccessUnconfirmedError] The API could not finish checking whether an RBAC Group in the request grants
|
|
150
|
-
# owner access, so it made no change. Retrying the same request will not help.
|
|
151
|
-
# Make the change in the organization's admin settings in Claude.
|
|
149
|
+
# @raise [Anthropic::Models::Organization::RBACGroupGrantsOwnerAccessError]
|
|
150
|
+
# @raise [Anthropic::Models::Organization::RBACGroupOwnerAccessUnconfirmedError]
|
|
151
|
+
# @raise [Anthropic::Models::SandboxEgressRestrictedError]
|
|
152
152
|
#
|
|
153
153
|
# @return [Anthropic::Models::Beta::Organization::BetaDeletedRBACGroup]
|
|
154
154
|
#
|
|
@@ -86,6 +86,8 @@ module Anthropic
|
|
|
86
86
|
#
|
|
87
87
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
88
88
|
#
|
|
89
|
+
# @raise [Anthropic::Models::SandboxEgressRestrictedError]
|
|
90
|
+
#
|
|
89
91
|
# @return [Anthropic::Models::Beta::Organization::BetaServiceAccountWorkspaceMember]
|
|
90
92
|
#
|
|
91
93
|
# @see Anthropic::Models::Beta::Organization::ServiceAccounts::WorkspaceAddParams
|
|
@@ -132,6 +134,8 @@ module Anthropic
|
|
|
132
134
|
#
|
|
133
135
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
134
136
|
#
|
|
137
|
+
# @raise [Anthropic::Models::SandboxEgressRestrictedError]
|
|
138
|
+
#
|
|
135
139
|
# @return [Anthropic::Models::Beta::Organization::ServiceAccounts::WorkspaceRemoveResponse]
|
|
136
140
|
#
|
|
137
141
|
# @see Anthropic::Models::Beta::Organization::ServiceAccounts::WorkspaceRemoveParams
|
|
@@ -38,6 +38,8 @@ module Anthropic
|
|
|
38
38
|
#
|
|
39
39
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
40
40
|
#
|
|
41
|
+
# @raise [Anthropic::Models::SandboxEgressRestrictedError]
|
|
42
|
+
#
|
|
41
43
|
# @return [Anthropic::Models::Beta::Organization::BetaServiceAccount]
|
|
42
44
|
#
|
|
43
45
|
# @see Anthropic::Models::Beta::Organization::ServiceAccountCreateParams
|
|
@@ -119,6 +121,8 @@ module Anthropic
|
|
|
119
121
|
#
|
|
120
122
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
121
123
|
#
|
|
124
|
+
# @raise [Anthropic::Models::SandboxEgressRestrictedError]
|
|
125
|
+
#
|
|
122
126
|
# @return [Anthropic::Models::Beta::Organization::BetaServiceAccount]
|
|
123
127
|
#
|
|
124
128
|
# @see Anthropic::Models::Beta::Organization::ServiceAccountUpdateParams
|
|
@@ -204,6 +208,8 @@ module Anthropic
|
|
|
204
208
|
#
|
|
205
209
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
206
210
|
#
|
|
211
|
+
# @raise [Anthropic::Models::SandboxEgressRestrictedError]
|
|
212
|
+
#
|
|
207
213
|
# @return [Anthropic::Models::Beta::Organization::BetaServiceAccount]
|
|
208
214
|
#
|
|
209
215
|
# @see Anthropic::Models::Beta::Organization::ServiceAccountArchiveParams
|
|
@@ -29,8 +29,7 @@ module Anthropic
|
|
|
29
29
|
#
|
|
30
30
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
31
31
|
#
|
|
32
|
-
# @raise [Anthropic::Models::OrganizationTypeNotSupportedError]
|
|
33
|
-
# description says which organization types it supports.
|
|
32
|
+
# @raise [Anthropic::Models::OrganizationTypeNotSupportedError]
|
|
34
33
|
#
|
|
35
34
|
# @return [Anthropic::Internal::PageCursor<Anthropic::Models::Beta::Organization::BetaSpendSummary>]
|
|
36
35
|
#
|
|
@@ -96,6 +96,8 @@ module Anthropic
|
|
|
96
96
|
#
|
|
97
97
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
98
98
|
#
|
|
99
|
+
# @raise [Anthropic::Models::SandboxEgressRestrictedError]
|
|
100
|
+
#
|
|
99
101
|
# @return [Anthropic::Models::Beta::Organization::SpendLimits::IncreaseRequestApproveResponse]
|
|
100
102
|
#
|
|
101
103
|
# @see Anthropic::Models::Beta::Organization::SpendLimits::IncreaseRequestApproveParams
|
|
@@ -131,6 +133,8 @@ module Anthropic
|
|
|
131
133
|
#
|
|
132
134
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
133
135
|
#
|
|
136
|
+
# @raise [Anthropic::Models::SandboxEgressRestrictedError]
|
|
137
|
+
#
|
|
134
138
|
# @return [Anthropic::Models::Beta::Organization::SpendLimits::BetaSpendLimitIncreaseRequest]
|
|
135
139
|
#
|
|
136
140
|
# @see Anthropic::Models::Beta::Organization::SpendLimits::IncreaseRequestDenyParams
|
|
@@ -19,8 +19,7 @@ module Anthropic
|
|
|
19
19
|
#
|
|
20
20
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
21
21
|
#
|
|
22
|
-
# @raise [Anthropic::Models::Beta::Organization::BetaSpendLimitsAdminAPIWritesNotEnabledError]
|
|
23
|
-
# credential.
|
|
22
|
+
# @raise [Anthropic::Models::Beta::Organization::BetaSpendLimitsAdminAPIWritesNotEnabledError]
|
|
24
23
|
#
|
|
25
24
|
# @return [Anthropic::Models::Beta::Organization::BetaSpendLimit]
|
|
26
25
|
#
|
|
@@ -64,8 +63,7 @@ module Anthropic
|
|
|
64
63
|
#
|
|
65
64
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
66
65
|
#
|
|
67
|
-
# @raise [Anthropic::Models::OrganizationTypeNotSupportedError]
|
|
68
|
-
# description says which organization types it supports.
|
|
66
|
+
# @raise [Anthropic::Models::OrganizationTypeNotSupportedError]
|
|
69
67
|
#
|
|
70
68
|
# @return [Anthropic::Internal::PageCursor<Anthropic::Models::Beta::Organization::BetaSpendLimit>]
|
|
71
69
|
#
|
|
@@ -104,10 +102,8 @@ module Anthropic
|
|
|
104
102
|
#
|
|
105
103
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
106
104
|
#
|
|
107
|
-
# @raise [Anthropic::Models::
|
|
108
|
-
#
|
|
109
|
-
# @raise [Anthropic::Models::Beta::Organization::BetaSpendLimitsAdminAPIWritesNotEnabledError] The organization cannot retrieve, set or delete spend limits with an Admin API
|
|
110
|
-
# credential.
|
|
105
|
+
# @raise [Anthropic::Models::SandboxEgressRestrictedError]
|
|
106
|
+
# @raise [Anthropic::Models::Beta::Organization::BetaSpendLimitsAdminAPIWritesNotEnabledError]
|
|
111
107
|
#
|
|
112
108
|
# @return [Anthropic::Models::Beta::Organization::SpendLimitDeleteResponse]
|
|
113
109
|
#
|
|
@@ -149,10 +145,8 @@ module Anthropic
|
|
|
149
145
|
#
|
|
150
146
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
151
147
|
#
|
|
152
|
-
# @raise [Anthropic::Models::
|
|
153
|
-
#
|
|
154
|
-
# @raise [Anthropic::Models::Beta::Organization::BetaSpendLimitsAdminAPIWritesNotEnabledError] The organization cannot retrieve, set or delete spend limits with an Admin API
|
|
155
|
-
# credential.
|
|
148
|
+
# @raise [Anthropic::Models::SandboxEgressRestrictedError]
|
|
149
|
+
# @raise [Anthropic::Models::Beta::Organization::BetaSpendLimitsAdminAPIWritesNotEnabledError]
|
|
156
150
|
#
|
|
157
151
|
# @return [Anthropic::Models::Beta::Organization::BetaSpendLimit]
|
|
158
152
|
#
|
|
@@ -42,6 +42,8 @@ module Anthropic
|
|
|
42
42
|
#
|
|
43
43
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
44
44
|
#
|
|
45
|
+
# @raise [Anthropic::Models::SandboxEgressRestrictedError]
|
|
46
|
+
#
|
|
45
47
|
# @return [Anthropic::Models::Beta::Organization::BetaOrganizationUser]
|
|
46
48
|
#
|
|
47
49
|
# @see Anthropic::Models::Beta::Organization::UserUpdateParams
|
|
@@ -107,10 +109,9 @@ module Anthropic
|
|
|
107
109
|
#
|
|
108
110
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
109
111
|
#
|
|
110
|
-
# @raise [Anthropic::Models::Organization::CannotRemoveLastMemberError]
|
|
111
|
-
#
|
|
112
|
-
# @raise [Anthropic::Models::ConcurrentMembershipChangeError]
|
|
113
|
-
# once it completes.
|
|
112
|
+
# @raise [Anthropic::Models::Organization::CannotRemoveLastMemberError]
|
|
113
|
+
# @raise [Anthropic::Models::SandboxEgressRestrictedError]
|
|
114
|
+
# @raise [Anthropic::Models::ConcurrentMembershipChangeError]
|
|
114
115
|
#
|
|
115
116
|
# @return [Anthropic::Models::Beta::Organization::UserRemoveResponse]
|
|
116
117
|
#
|
|
@@ -128,6 +129,70 @@ module Anthropic
|
|
|
128
129
|
)
|
|
129
130
|
end
|
|
130
131
|
|
|
132
|
+
# Sign a member out of Claude everywhere, without removing them from the
|
|
133
|
+
# organization. This ends their sign-in sessions and removes their trusted devices
|
|
134
|
+
# wherever they use Claude, including other organizations and individual plans. It
|
|
135
|
+
# also ends the OAuth tokens issued to them for this organization, so apps such as
|
|
136
|
+
# Claude Code must sign in again.
|
|
137
|
+
#
|
|
138
|
+
# A token can take up to an hour to stop working, though it almost always stops at
|
|
139
|
+
# once. The member keeps their role and can sign in again right away. To keep them
|
|
140
|
+
# out, remove them from the organization or, if your organization uses single
|
|
141
|
+
# sign-on, block them in your identity provider. Signing out does not end API
|
|
142
|
+
# keys, OAuth tokens that were not issued for this organization, or the member's
|
|
143
|
+
# Claude Code cloud sessions and routines.
|
|
144
|
+
#
|
|
145
|
+
# You cannot sign out the organization's primary owner or the person your API key
|
|
146
|
+
# or token acts for, and a request to sign out another owner, a member with owner
|
|
147
|
+
# permissions, or a membership admin may be refused. A refused request returns a
|
|
148
|
+
# `400` or `403` error that says why. If the request returns `503`, send it again
|
|
149
|
+
# to finish; anything already ended stays ended.
|
|
150
|
+
#
|
|
151
|
+
# Every request must include the beta header
|
|
152
|
+
# `anthropic-beta: admin-user-sign-out-2026-10-08`. A request without it returns
|
|
153
|
+
# `400`. Sign-out is in beta for Claude Enterprise organizations. In an
|
|
154
|
+
# organization where it is not enabled, a request returns `400` with `error_code`
|
|
155
|
+
# `organization_not_enrolled_in_beta`. In a Claude Enterprise organization, an API
|
|
156
|
+
# key needs the `write:members` scope; a key without it gets `403`.
|
|
157
|
+
#
|
|
158
|
+
# Some parameter documentations has been truncated, see
|
|
159
|
+
# {Anthropic::Models::Beta::Organization::UserSignOutParams} for more details.
|
|
160
|
+
#
|
|
161
|
+
# @overload sign_out(user_id, betas: nil, request_options: {})
|
|
162
|
+
#
|
|
163
|
+
# @param user_id [String] ID of the User.
|
|
164
|
+
#
|
|
165
|
+
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] This endpoint is in beta: requests must send `admin-user-sign-out-2026-10-08` in
|
|
166
|
+
#
|
|
167
|
+
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
168
|
+
#
|
|
169
|
+
# @raise [Anthropic::Models::Beta::Organization::BetaCannotSignOutPrimaryOwnerError]
|
|
170
|
+
# @raise [Anthropic::Models::Beta::Organization::BetaCannotSignOutSelfError]
|
|
171
|
+
# @raise [Anthropic::Models::BetaOrganizationNotEnrolledInBetaError]
|
|
172
|
+
# @raise [Anthropic::Models::Beta::Organization::BetaCannotSignOutManagedMemberError]
|
|
173
|
+
# @raise [Anthropic::Models::Beta::Organization::BetaCannotSignOutMembershipAdminError]
|
|
174
|
+
# @raise [Anthropic::Models::Beta::Organization::BetaCannotSignOutOwnerError]
|
|
175
|
+
# @raise [Anthropic::Models::Beta::Organization::BetaCannotSignOutPrivilegedMemberError]
|
|
176
|
+
# @raise [Anthropic::Models::SandboxEgressRestrictedError]
|
|
177
|
+
#
|
|
178
|
+
# @return [Anthropic::Models::Beta::Organization::BetaOrganizationUser]
|
|
179
|
+
#
|
|
180
|
+
# @see Anthropic::Models::Beta::Organization::UserSignOutParams
|
|
181
|
+
def sign_out(user_id, params = {})
|
|
182
|
+
parsed, options = Anthropic::Beta::Organization::UserSignOutParams.dump_request(params)
|
|
183
|
+
@client.request(
|
|
184
|
+
qualifiers: {beta: "true"},
|
|
185
|
+
span_name: Anthropic::Internal::Tracing::SpanName::ORGANIZATION_USERS_SIGN_OUT,
|
|
186
|
+
span_attributes: {"anthropic.organization.user.id" => user_id},
|
|
187
|
+
span_route: "/v1/organizations/users/{user_id}/sign_out",
|
|
188
|
+
method: :post,
|
|
189
|
+
path: ["v1/organizations/users/%1$s/sign_out", user_id],
|
|
190
|
+
headers: parsed.transform_keys(betas: "anthropic-beta"),
|
|
191
|
+
model: Anthropic::Beta::Organization::BetaOrganizationUser,
|
|
192
|
+
options: {extra_headers: {"anthropic-beta" => "admin-user-sign-out-2026-10-08"}, **options}
|
|
193
|
+
)
|
|
194
|
+
end
|
|
195
|
+
|
|
131
196
|
# @api private
|
|
132
197
|
#
|
|
133
198
|
# @param client [Anthropic::Client]
|