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