anthropic 2.7.0 → 2.9.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 +62 -0
- data/README.md +1 -1
- data/lib/anthropic/error_classes.rb +4 -0
- data/lib/anthropic/helpers/bedrock/client.rb +17 -5
- data/lib/anthropic/helpers/google_cloud/client.rb +4 -1
- data/lib/anthropic/helpers/threads/beta_message_thread.rb +30 -6
- data/lib/anthropic/helpers/tools/runner.rb +21 -4
- data/lib/anthropic/helpers/tracing/streamed_message.rb +8 -1
- data/lib/anthropic/helpers/vertex/client.rb +26 -12
- data/lib/anthropic/internal/tracing.rb +1 -0
- data/lib/anthropic/internal/type/file_input.rb +11 -0
- data/lib/anthropic/internal/util.rb +43 -11
- data/lib/anthropic/models/anthropic_beta.rb +44 -30
- data/lib/anthropic/models/beta/beta_managed_agents_agent_toolset_default_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_agent_toolset_default_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_auto_policy.rb +3 -1
- data/lib/anthropic/models/beta/beta_managed_agents_bash_tool_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_bash_tool_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_edit_tool_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_edit_tool_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_glob_tool_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_glob_tool_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_grep_tool_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_grep_tool_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_mcp_tool_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_mcp_tool_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_model.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent_coordinator_params.rb +3 -2
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_read_tool_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_read_tool_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_web_search_tool_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_web_search_tool_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_write_tool_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_write_tool_config_params.rb +1 -1
- data/lib/anthropic/models/beta/organization/beta_analytics_claude_tag_metrics.rb +42 -0
- data/lib/anthropic/models/beta/organization/beta_analytics_single_day_activity_summary.rb +43 -1
- data/lib/anthropic/models/beta/organization/beta_analytics_user_activity.rb +14 -1
- data/lib/anthropic/models/beta/organization/beta_bundle_attachment_not_supported_error.rb +24 -0
- data/lib/anthropic/models/beta/organization/beta_bundle_attachment_not_supported_error_details.rb +22 -0
- data/lib/anthropic/models/beta/organization/beta_bundle_on_call_error.rb +24 -0
- data/lib/anthropic/models/beta/organization/beta_bundle_on_call_error_details.rb +22 -0
- data/lib/anthropic/models/beta/organization/beta_claude_tag_reply_mode.rb +68 -0
- data/lib/anthropic/models/beta/organization/beta_claude_tag_reply_mode_always_awake.rb +22 -0
- data/lib/anthropic/models/beta/organization/beta_claude_tag_reply_mode_automatic.rb +22 -0
- data/lib/anthropic/models/beta/organization/beta_claude_tag_reply_mode_mention_only.rb +21 -0
- data/lib/anthropic/models/beta/organization/beta_claude_tag_reply_mode_thread.rb +23 -0
- data/lib/anthropic/models/beta/organization/beta_claude_tag_setting_sources.rb +14 -1
- data/lib/anthropic/models/beta/organization/beta_claude_tag_settings.rb +20 -3
- data/lib/anthropic/models/beta/organization/beta_claude_tag_settings_create.rb +22 -2
- data/lib/anthropic/models/beta/organization/beta_claude_tag_settings_update.rb +22 -2
- data/lib/anthropic/models/beta/organization/beta_external_key.rb +2 -2
- data/lib/anthropic/models/beta/organization/beta_rbac_role.rb +13 -4
- data/lib/anthropic/models/beta/organization/beta_rbac_role_source.rb +52 -0
- data/lib/anthropic/models/beta/organization/beta_rbac_role_source_built_in.rb +25 -0
- data/lib/anthropic/models/beta/organization/beta_rbac_role_source_custom.rb +20 -0
- data/lib/anthropic/models/beta/organization/claude_tag/beta_claude_tag_bundle.rb +15 -2
- data/lib/anthropic/models/beta/organization/claude_tag/bundle_update_params.rb +50 -0
- data/lib/anthropic/models/beta/organization/external_key_create_params.rb +8 -5
- data/lib/anthropic/models/beta/organization/plugin_list_params.rb +2 -1
- data/lib/anthropic/models/beta/organization/plugin_marketplace_list_params.rb +2 -1
- data/lib/anthropic/models/beta/organization/plugin_marketplace_retrieve_params.rb +2 -1
- data/lib/anthropic/models/beta/organization/plugin_retrieve_params.rb +2 -1
- data/lib/anthropic/models/beta/organization/plugins/installation_setting_list_params.rb +2 -1
- data/lib/anthropic/models/beta/organization/plugins/share_list_params.rb +2 -1
- data/lib/anthropic/models/beta/organization/plugins/version_download_params.rb +2 -1
- data/lib/anthropic/models/beta/organization/plugins/version_list_params.rb +2 -1
- data/lib/anthropic/models/beta/organization/plugins/version_retrieve_params.rb +2 -1
- data/lib/anthropic/models/beta/organization/workspace_update_params.rb +2 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_auto_evaluated_permission.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_auto_evaluated_permission_deny.rb +7 -4
- data/lib/anthropic/models/error_details.rb +28 -3
- data/lib/anthropic/models/model.rb +2 -2
- data/lib/anthropic/models/organization/analytics_claude_tag_metrics.rb +39 -0
- data/lib/anthropic/models/organization/analytics_single_day_activity_summary.rb +43 -1
- data/lib/anthropic/models/organization/analytics_user_activity.rb +12 -1
- data/lib/anthropic/models/organization/external_key.rb +2 -2
- data/lib/anthropic/models/organization/external_key_create_params.rb +8 -5
- data/lib/anthropic/models/organization/key_profile_mismatch_error.rb +3 -3
- data/lib/anthropic/models/organization/key_profile_mismatch_error_details.rb +3 -3
- data/lib/anthropic/models/organization/rbac_role.rb +13 -4
- data/lib/anthropic/models/organization/rbac_role_source.rb +50 -0
- data/lib/anthropic/models/organization/rbac_role_source_built_in.rb +22 -0
- data/lib/anthropic/models/organization/rbac_role_source_custom.rb +18 -0
- data/lib/anthropic/models/organization/workspace_update_params.rb +2 -1
- data/lib/anthropic/models/parent_organization_required_error.rb +20 -0
- data/lib/anthropic/models/parent_organization_required_error_details.rb +18 -0
- data/lib/anthropic/models/rbac_role_not_found_error.rb +19 -0
- data/lib/anthropic/models/rbac_role_not_found_error_details.rb +17 -0
- data/lib/anthropic/models.rb +8 -0
- data/lib/anthropic/resources/beta/messages/batches.rb +6 -6
- data/lib/anthropic/resources/beta/messages.rb +5 -1
- data/lib/anthropic/resources/beta/organization/claude_tag/bundles.rb +51 -0
- data/lib/anthropic/resources/beta/organization/external_keys.rb +1 -1
- data/lib/anthropic/resources/beta/organization/plugins/versions.rb +4 -5
- data/lib/anthropic/resources/beta/organization/plugins.rb +13 -12
- data/lib/anthropic/resources/beta/organization/rbac_roles/permissions.rb +4 -0
- data/lib/anthropic/resources/beta/organization/rbac_roles.rb +7 -0
- data/lib/anthropic/resources/organization/external_keys.rb +1 -1
- data/lib/anthropic/resources/organization/rbac_roles/permissions.rb +4 -0
- data/lib/anthropic/resources/organization/rbac_roles.rb +7 -0
- data/lib/anthropic/version.rb +1 -1
- data/lib/anthropic.rb +22 -0
- data/rbi/anthropic/helpers/bedrock/client.rbi +6 -2
- data/rbi/anthropic/helpers/bedrock/event_stream.rbi +12 -3
- data/rbi/anthropic/helpers/bedrock/mantle_client.rbi +3 -1
- data/rbi/anthropic/helpers/google_cloud/client.rbi +3 -1
- data/rbi/anthropic/helpers/refusal_fallback.rbi +12 -4
- data/rbi/anthropic/helpers/vertex/client.rbi +6 -2
- data/rbi/anthropic/internal/tracing.rbi +2 -0
- data/rbi/anthropic/internal/util.rbi +2 -2
- data/rbi/anthropic/models/anthropic_beta.rbi +41 -41
- data/rbi/anthropic/models/beta/beta_managed_agents_auto_policy.rbi +3 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_model.rbi +1 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_multiagent_coordinator_params.rbi +3 -2
- data/rbi/anthropic/models/beta/organization/beta_analytics_claude_tag_metrics.rbi +69 -0
- data/rbi/anthropic/models/beta/organization/beta_analytics_single_day_activity_summary.rbi +60 -0
- data/rbi/anthropic/models/beta/organization/beta_analytics_user_activity.rbi +36 -0
- data/rbi/anthropic/models/beta/organization/beta_bundle_attachment_not_supported_error.rbi +25 -0
- data/rbi/anthropic/models/beta/organization/beta_bundle_attachment_not_supported_error_details.rbi +32 -0
- data/rbi/anthropic/models/beta/organization/beta_bundle_on_call_error.rbi +23 -0
- data/rbi/anthropic/models/beta/organization/beta_bundle_on_call_error_details.rbi +32 -0
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_reply_mode.rbi +92 -0
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_reply_mode_always_awake.rbi +32 -0
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_reply_mode_automatic.rbi +32 -0
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_reply_mode_mention_only.rbi +31 -0
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_reply_mode_thread.rbi +33 -0
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_setting_sources.rbi +30 -1
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_settings.rbi +39 -5
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_settings_create.rbi +56 -5
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_settings_update.rbi +56 -5
- data/rbi/anthropic/models/beta/organization/beta_external_key.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/beta_rbac_role.rbi +21 -4
- data/rbi/anthropic/models/beta/organization/beta_rbac_role_source.rbi +78 -0
- data/rbi/anthropic/models/beta/organization/beta_rbac_role_source_built_in.rbi +36 -0
- data/rbi/anthropic/models/beta/organization/beta_rbac_role_source_custom.rbi +34 -0
- data/rbi/anthropic/models/beta/organization/claude_tag/beta_claude_tag_bundle.rbi +11 -1
- data/rbi/anthropic/models/beta/organization/claude_tag/bundle_update_params.rbi +88 -0
- data/rbi/anthropic/models/beta/organization/external_key_create_params.rbi +14 -8
- data/rbi/anthropic/models/beta/organization/plugin_list_params.rbi +4 -2
- data/rbi/anthropic/models/beta/organization/plugin_marketplace_list_params.rbi +4 -2
- data/rbi/anthropic/models/beta/organization/plugin_marketplace_retrieve_params.rbi +4 -2
- data/rbi/anthropic/models/beta/organization/plugin_retrieve_params.rbi +4 -2
- data/rbi/anthropic/models/beta/organization/plugins/installation_setting_list_params.rbi +4 -2
- data/rbi/anthropic/models/beta/organization/plugins/share_list_params.rbi +4 -2
- data/rbi/anthropic/models/beta/organization/plugins/version_download_params.rbi +4 -2
- data/rbi/anthropic/models/beta/organization/plugins/version_list_params.rbi +4 -2
- data/rbi/anthropic/models/beta/organization/plugins/version_retrieve_params.rbi +4 -2
- data/rbi/anthropic/models/beta/organization/workspace_update_params.rbi +4 -2
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_auto_evaluated_permission_deny.rbi +10 -6
- data/rbi/anthropic/models/error_details.rbi +25 -1
- data/rbi/anthropic/models/model.rbi +2 -2
- data/rbi/anthropic/models/organization/analytics_claude_tag_metrics.rbi +67 -0
- data/rbi/anthropic/models/organization/analytics_single_day_activity_summary.rbi +60 -0
- data/rbi/anthropic/models/organization/analytics_user_activity.rbi +30 -0
- data/rbi/anthropic/models/organization/external_key.rbi +4 -4
- data/rbi/anthropic/models/organization/external_key_create_params.rbi +14 -8
- data/rbi/anthropic/models/organization/key_profile_mismatch_error.rbi +3 -3
- data/rbi/anthropic/models/organization/key_profile_mismatch_error_details.rbi +3 -3
- data/rbi/anthropic/models/organization/rbac_role.rbi +18 -4
- data/rbi/anthropic/models/organization/rbac_role_source.rbi +68 -0
- data/rbi/anthropic/models/organization/rbac_role_source_built_in.rbi +34 -0
- data/rbi/anthropic/models/organization/rbac_role_source_custom.rbi +32 -0
- data/rbi/anthropic/models/organization/workspace_update_params.rbi +4 -2
- data/rbi/anthropic/models/parent_organization_required_error.rbi +17 -0
- data/rbi/anthropic/models/parent_organization_required_error_details.rbi +28 -0
- data/rbi/anthropic/models/rbac_role_not_found_error.rbi +16 -0
- data/rbi/anthropic/models/rbac_role_not_found_error_details.rbi +27 -0
- data/rbi/anthropic/models.rbi +10 -0
- data/rbi/anthropic/resources/beta/organization/claude_tag/bundles.rbi +30 -0
- data/rbi/anthropic/resources/beta/organization/external_keys.rbi +7 -4
- data/rbi/anthropic/resources/beta/organization/plugin_marketplaces.rbi +4 -2
- data/rbi/anthropic/resources/beta/organization/plugins/installation_settings.rbi +2 -1
- data/rbi/anthropic/resources/beta/organization/plugins/shares.rbi +2 -1
- data/rbi/anthropic/resources/beta/organization/plugins/versions.rbi +10 -8
- data/rbi/anthropic/resources/beta/organization/plugins.rbi +17 -14
- data/rbi/anthropic/resources/beta/organization/workspaces.rbi +2 -1
- data/rbi/anthropic/resources/organization/external_keys.rbi +7 -4
- data/rbi/anthropic/resources/organization/workspaces.rbi +2 -1
- data/rbi/lib/anthropic/helpers/stainless_helper_header.rbi +6 -1
- data/sig/anthropic/helpers/sessions/event_accumulator.rbs +6 -2
- data/sig/anthropic/internal/tracing.rbs +1 -0
- data/sig/anthropic/internal/util.rbs +1 -1
- data/sig/anthropic/models/anthropic_beta.rbs +21 -21
- data/sig/anthropic/models/beta/beta_managed_agents_model.rbs +1 -1
- data/sig/anthropic/models/beta/organization/beta_analytics_claude_tag_metrics.rbs +26 -0
- data/sig/anthropic/models/beta/organization/beta_analytics_single_day_activity_summary.rbs +15 -0
- data/sig/anthropic/models/beta/organization/beta_analytics_user_activity.rbs +5 -0
- data/sig/anthropic/models/beta/organization/beta_bundle_attachment_not_supported_error.rbs +13 -0
- data/sig/anthropic/models/beta/organization/beta_bundle_attachment_not_supported_error_details.rbs +20 -0
- data/sig/anthropic/models/beta/organization/beta_bundle_on_call_error.rbs +13 -0
- data/sig/anthropic/models/beta/organization/beta_bundle_on_call_error_details.rbs +17 -0
- data/sig/anthropic/models/beta/organization/beta_claude_tag_reply_mode.rbs +50 -0
- data/sig/anthropic/models/beta/organization/beta_claude_tag_reply_mode_always_awake.rbs +17 -0
- data/sig/anthropic/models/beta/organization/beta_claude_tag_reply_mode_automatic.rbs +17 -0
- data/sig/anthropic/models/beta/organization/beta_claude_tag_reply_mode_mention_only.rbs +17 -0
- data/sig/anthropic/models/beta/organization/beta_claude_tag_reply_mode_thread.rbs +17 -0
- data/sig/anthropic/models/beta/organization/beta_claude_tag_setting_sources.rbs +8 -3
- data/sig/anthropic/models/beta/organization/beta_claude_tag_settings.rbs +8 -3
- data/sig/anthropic/models/beta/organization/beta_claude_tag_settings_create.rbs +8 -3
- data/sig/anthropic/models/beta/organization/beta_claude_tag_settings_update.rbs +8 -3
- data/sig/anthropic/models/beta/organization/beta_rbac_role.rbs +5 -0
- data/sig/anthropic/models/beta/organization/beta_rbac_role_source.rbs +40 -0
- data/sig/anthropic/models/beta/organization/beta_rbac_role_source_built_in.rbs +17 -0
- data/sig/anthropic/models/beta/organization/beta_rbac_role_source_custom.rbs +17 -0
- data/sig/anthropic/models/beta/organization/claude_tag/beta_claude_tag_bundle.rbs +5 -0
- data/sig/anthropic/models/beta/organization/claude_tag/bundle_update_params.rbs +46 -0
- data/sig/anthropic/models/error_details.rbs +26 -0
- data/sig/anthropic/models/model.rbs +2 -2
- data/sig/anthropic/models/organization/analytics_claude_tag_metrics.rbs +24 -0
- data/sig/anthropic/models/organization/analytics_single_day_activity_summary.rbs +15 -0
- data/sig/anthropic/models/organization/analytics_user_activity.rbs +5 -0
- data/sig/anthropic/models/organization/rbac_role.rbs +5 -0
- data/sig/anthropic/models/organization/rbac_role_source.rbs +38 -0
- data/sig/anthropic/models/organization/rbac_role_source_built_in.rbs +15 -0
- data/sig/anthropic/models/organization/rbac_role_source_custom.rbs +15 -0
- data/sig/anthropic/models/parent_organization_required_error.rbs +9 -0
- data/sig/anthropic/models/parent_organization_required_error_details.rbs +14 -0
- data/sig/anthropic/models/rbac_role_not_found_error.rbs +9 -0
- data/sig/anthropic/models/rbac_role_not_found_error_details.rbs +14 -0
- data/sig/anthropic/models.rbs +8 -0
- data/sig/anthropic/resources/beta/organization/claude_tag/bundles.rbs +7 -0
- metadata +68 -2
|
@@ -9,24 +9,12 @@ module Anthropic
|
|
|
9
9
|
module AnthropicBeta
|
|
10
10
|
extend Anthropic::Internal::Type::Union
|
|
11
11
|
|
|
12
|
-
variant const: -> { Anthropic::Models::AnthropicBeta::MESSAGE_BATCHES_2024_09_24 }
|
|
13
|
-
|
|
14
|
-
variant const: -> { Anthropic::Models::AnthropicBeta::PROMPT_CACHING_2024_07_31 }
|
|
15
|
-
|
|
16
12
|
variant const: -> { Anthropic::Models::AnthropicBeta::COMPUTER_USE_2024_10_22 }
|
|
17
13
|
|
|
18
14
|
variant const: -> { Anthropic::Models::AnthropicBeta::COMPUTER_USE_2025_01_24 }
|
|
19
15
|
|
|
20
|
-
variant const: -> { Anthropic::Models::AnthropicBeta::PDFS_2024_09_25 }
|
|
21
|
-
|
|
22
|
-
variant const: -> { Anthropic::Models::AnthropicBeta::TOKEN_COUNTING_2024_11_01 }
|
|
23
|
-
|
|
24
|
-
variant const: -> { Anthropic::Models::AnthropicBeta::TOKEN_EFFICIENT_TOOLS_2025_02_19 }
|
|
25
|
-
|
|
26
16
|
variant const: -> { Anthropic::Models::AnthropicBeta::OUTPUT_128K_2025_02_19 }
|
|
27
17
|
|
|
28
|
-
variant const: -> { Anthropic::Models::AnthropicBeta::FILES_API_2025_04_14 }
|
|
29
|
-
|
|
30
18
|
variant const: -> { Anthropic::Models::AnthropicBeta::MCP_CLIENT_2025_04_04 }
|
|
31
19
|
|
|
32
20
|
variant const: -> { Anthropic::Models::AnthropicBeta::MCP_CLIENT_2025_11_20 }
|
|
@@ -37,16 +25,12 @@ module Anthropic
|
|
|
37
25
|
|
|
38
26
|
variant const: -> { Anthropic::Models::AnthropicBeta::CODE_EXECUTION_2025_05_22 }
|
|
39
27
|
|
|
40
|
-
variant const: -> { Anthropic::Models::AnthropicBeta::EXTENDED_CACHE_TTL_2025_04_11 }
|
|
41
|
-
|
|
42
28
|
variant const: -> { Anthropic::Models::AnthropicBeta::CONTEXT_1M_2025_08_07 }
|
|
43
29
|
|
|
44
30
|
variant const: -> { Anthropic::Models::AnthropicBeta::CONTEXT_MANAGEMENT_2025_06_27 }
|
|
45
31
|
|
|
46
32
|
variant const: -> { Anthropic::Models::AnthropicBeta::MODEL_CONTEXT_WINDOW_EXCEEDED_2025_08_26 }
|
|
47
33
|
|
|
48
|
-
variant const: -> { Anthropic::Models::AnthropicBeta::SKILLS_2025_10_02 }
|
|
49
|
-
|
|
50
34
|
variant const: -> { Anthropic::Models::AnthropicBeta::FAST_MODE_2026_02_01 }
|
|
51
35
|
|
|
52
36
|
variant const: -> { Anthropic::Models::AnthropicBeta::OUTPUT_300K_2026_03_24 }
|
|
@@ -61,8 +45,6 @@ module Anthropic
|
|
|
61
45
|
|
|
62
46
|
variant const: -> { Anthropic::Models::AnthropicBeta::MANAGED_AGENTS_2026_04_01 }
|
|
63
47
|
|
|
64
|
-
variant const: -> { Anthropic::Models::AnthropicBeta::CACHE_DIAGNOSIS_2026_04_07 }
|
|
65
|
-
|
|
66
48
|
variant const: -> { Anthropic::Models::AnthropicBeta::DREAMING_2026_04_21 }
|
|
67
49
|
|
|
68
50
|
variant const: -> { Anthropic::Models::AnthropicBeta::THINKING_TOKEN_COUNT_2026_05_13 }
|
|
@@ -91,8 +73,6 @@ module Anthropic
|
|
|
91
73
|
|
|
92
74
|
variant const: -> { Anthropic::Models::AnthropicBeta::THINKING_DISPLAY_UPDATES_2026_08_18 }
|
|
93
75
|
|
|
94
|
-
variant const: -> { Anthropic::Models::AnthropicBeta::CE_USER_MANAGEMENT_2026_07_13 }
|
|
95
|
-
|
|
96
76
|
variant const: -> { Anthropic::Models::AnthropicBeta::MID_CONVERSATION_OUTPUT_CONFIG_2026_07_01 }
|
|
97
77
|
|
|
98
78
|
variant const: -> { Anthropic::Models::AnthropicBeta::THINKING_BINDING_CONTROLS_2026_08_01 }
|
|
@@ -121,6 +101,26 @@ module Anthropic
|
|
|
121
101
|
|
|
122
102
|
variant const: -> { Anthropic::Models::AnthropicBeta::EXPERIMENTAL_CLAUDE_TAG_2026_10_21 }
|
|
123
103
|
|
|
104
|
+
variant const: -> { Anthropic::Models::AnthropicBeta::MESSAGE_BATCHES_2024_09_24 }
|
|
105
|
+
|
|
106
|
+
variant const: -> { Anthropic::Models::AnthropicBeta::PROMPT_CACHING_2024_07_31 }
|
|
107
|
+
|
|
108
|
+
variant const: -> { Anthropic::Models::AnthropicBeta::PDFS_2024_09_25 }
|
|
109
|
+
|
|
110
|
+
variant const: -> { Anthropic::Models::AnthropicBeta::TOKEN_COUNTING_2024_11_01 }
|
|
111
|
+
|
|
112
|
+
variant const: -> { Anthropic::Models::AnthropicBeta::TOKEN_EFFICIENT_TOOLS_2025_02_19 }
|
|
113
|
+
|
|
114
|
+
variant const: -> { Anthropic::Models::AnthropicBeta::FILES_API_2025_04_14 }
|
|
115
|
+
|
|
116
|
+
variant const: -> { Anthropic::Models::AnthropicBeta::EXTENDED_CACHE_TTL_2025_04_11 }
|
|
117
|
+
|
|
118
|
+
variant const: -> { Anthropic::Models::AnthropicBeta::SKILLS_2025_10_02 }
|
|
119
|
+
|
|
120
|
+
variant const: -> { Anthropic::Models::AnthropicBeta::CACHE_DIAGNOSIS_2026_04_07 }
|
|
121
|
+
|
|
122
|
+
variant const: -> { Anthropic::Models::AnthropicBeta::CE_USER_MANAGEMENT_2026_07_13 }
|
|
123
|
+
|
|
124
124
|
variant String
|
|
125
125
|
|
|
126
126
|
# @!method self.variants
|
|
@@ -132,25 +132,17 @@ module Anthropic
|
|
|
132
132
|
|
|
133
133
|
# @!group
|
|
134
134
|
|
|
135
|
-
MESSAGE_BATCHES_2024_09_24 = :"message-batches-2024-09-24"
|
|
136
|
-
PROMPT_CACHING_2024_07_31 = :"prompt-caching-2024-07-31"
|
|
137
135
|
COMPUTER_USE_2024_10_22 = :"computer-use-2024-10-22"
|
|
138
136
|
COMPUTER_USE_2025_01_24 = :"computer-use-2025-01-24"
|
|
139
|
-
PDFS_2024_09_25 = :"pdfs-2024-09-25"
|
|
140
|
-
TOKEN_COUNTING_2024_11_01 = :"token-counting-2024-11-01"
|
|
141
|
-
TOKEN_EFFICIENT_TOOLS_2025_02_19 = :"token-efficient-tools-2025-02-19"
|
|
142
137
|
OUTPUT_128K_2025_02_19 = :"output-128k-2025-02-19"
|
|
143
|
-
FILES_API_2025_04_14 = :"files-api-2025-04-14"
|
|
144
138
|
MCP_CLIENT_2025_04_04 = :"mcp-client-2025-04-04"
|
|
145
139
|
MCP_CLIENT_2025_11_20 = :"mcp-client-2025-11-20"
|
|
146
140
|
DEV_FULL_THINKING_2025_05_14 = :"dev-full-thinking-2025-05-14"
|
|
147
141
|
INTERLEAVED_THINKING_2025_05_14 = :"interleaved-thinking-2025-05-14"
|
|
148
142
|
CODE_EXECUTION_2025_05_22 = :"code-execution-2025-05-22"
|
|
149
|
-
EXTENDED_CACHE_TTL_2025_04_11 = :"extended-cache-ttl-2025-04-11"
|
|
150
143
|
CONTEXT_1M_2025_08_07 = :"context-1m-2025-08-07"
|
|
151
144
|
CONTEXT_MANAGEMENT_2025_06_27 = :"context-management-2025-06-27"
|
|
152
145
|
MODEL_CONTEXT_WINDOW_EXCEEDED_2025_08_26 = :"model-context-window-exceeded-2025-08-26"
|
|
153
|
-
SKILLS_2025_10_02 = :"skills-2025-10-02"
|
|
154
146
|
FAST_MODE_2026_02_01 = :"fast-mode-2026-02-01"
|
|
155
147
|
OUTPUT_300K_2026_03_24 = :"output-300k-2026-03-24"
|
|
156
148
|
USER_PROFILES_2026_03_24 = :"user-profiles-2026-03-24"
|
|
@@ -158,7 +150,6 @@ module Anthropic
|
|
|
158
150
|
USER_PROFILES_2026_09_04 = :"user-profiles-2026-09-04"
|
|
159
151
|
ADVISOR_TOOL_2026_03_01 = :"advisor-tool-2026-03-01"
|
|
160
152
|
MANAGED_AGENTS_2026_04_01 = :"managed-agents-2026-04-01"
|
|
161
|
-
CACHE_DIAGNOSIS_2026_04_07 = :"cache-diagnosis-2026-04-07"
|
|
162
153
|
DREAMING_2026_04_21 = :"dreaming-2026-04-21"
|
|
163
154
|
THINKING_TOKEN_COUNT_2026_05_13 = :"thinking-token-count-2026-05-13"
|
|
164
155
|
SERVER_SIDE_FALLBACK_2026_06_01 = :"server-side-fallback-2026-06-01"
|
|
@@ -173,7 +164,6 @@ module Anthropic
|
|
|
173
164
|
STRUCTURED_OUTPUTS_2025_11_13 = :"structured-outputs-2025-11-13"
|
|
174
165
|
TASK_BUDGETS_2026_03_13 = :"task-budgets-2026-03-13"
|
|
175
166
|
THINKING_DISPLAY_UPDATES_2026_08_18 = :"thinking-display-updates-2026-08-18"
|
|
176
|
-
CE_USER_MANAGEMENT_2026_07_13 = :"ce-user-management-2026-07-13"
|
|
177
167
|
MID_CONVERSATION_OUTPUT_CONFIG_2026_07_01 = :"mid-conversation-output-config-2026-07-01"
|
|
178
168
|
THINKING_BINDING_CONTROLS_2026_08_01 = :"thinking-binding-controls-2026-08-01"
|
|
179
169
|
MID_CONVERSATION_SYSTEM_CLEAR_AT_2026_08_21 = :"mid-conversation-system-clear-at-2026-08-21"
|
|
@@ -188,6 +178,30 @@ module Anthropic
|
|
|
188
178
|
MESSAGE_THREADS_2026_08_12 = :"message-threads-2026-08-12"
|
|
189
179
|
ANALYTICS_USAGE_COST_2026_08_24 = :"analytics-usage-cost-2026-08-24"
|
|
190
180
|
EXPERIMENTAL_CLAUDE_TAG_2026_10_21 = :"experimental-claude-tag-2026-10-21"
|
|
181
|
+
# @deprecated This value is no longer needed. Remove it from your requests.
|
|
182
|
+
MESSAGE_BATCHES_2024_09_24 = :"message-batches-2024-09-24"
|
|
183
|
+
# @deprecated This value is no longer needed. Remove it from your requests.
|
|
184
|
+
PROMPT_CACHING_2024_07_31 = :"prompt-caching-2024-07-31"
|
|
185
|
+
# @deprecated This value is no longer needed. Remove it from your requests.
|
|
186
|
+
PDFS_2024_09_25 = :"pdfs-2024-09-25"
|
|
187
|
+
# @deprecated This value is no longer needed. Remove it from your requests.
|
|
188
|
+
TOKEN_COUNTING_2024_11_01 = :"token-counting-2024-11-01"
|
|
189
|
+
# @deprecated This value is no longer needed. Remove it from your requests.
|
|
190
|
+
TOKEN_EFFICIENT_TOOLS_2025_02_19 = :"token-efficient-tools-2025-02-19"
|
|
191
|
+
# @deprecated Sending this value selects the beta response shapes. Removing it moves you to
|
|
192
|
+
# the current shapes, so follow the migration steps:
|
|
193
|
+
# https://platform.claude.com/docs/en/build-with-claude/files#migrate-from-files-api-2025-04-14
|
|
194
|
+
FILES_API_2025_04_14 = :"files-api-2025-04-14"
|
|
195
|
+
# @deprecated This value is no longer needed. Remove it from your requests.
|
|
196
|
+
EXTENDED_CACHE_TTL_2025_04_11 = :"extended-cache-ttl-2025-04-11"
|
|
197
|
+
# @deprecated Sending this value selects the beta response shapes. Removing it moves you to
|
|
198
|
+
# the current shapes, so follow the migration steps:
|
|
199
|
+
# https://platform.claude.com/docs/en/build-with-claude/skills-guide#migrate-from-skills-2025-10-02
|
|
200
|
+
SKILLS_2025_10_02 = :"skills-2025-10-02"
|
|
201
|
+
# @deprecated This value is no longer needed. Remove it from your requests.
|
|
202
|
+
CACHE_DIAGNOSIS_2026_04_07 = :"cache-diagnosis-2026-04-07"
|
|
203
|
+
# @deprecated This value is no longer needed. Remove it from your requests.
|
|
204
|
+
CE_USER_MANAGEMENT_2026_07_13 = :"ce-user-management-2026-07-13"
|
|
191
205
|
|
|
192
206
|
# @!endgroup
|
|
193
207
|
end
|
|
@@ -37,7 +37,7 @@ module Anthropic
|
|
|
37
37
|
# Tool calls require user confirmation before execution.
|
|
38
38
|
variant :always_ask, -> { Anthropic::Beta::BetaManagedAgentsAlwaysAskPolicy }
|
|
39
39
|
|
|
40
|
-
# The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
|
|
40
|
+
# The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask, or for some causes to deny, for example when the organization is out of credits or has reached a spend limit.
|
|
41
41
|
variant :auto, -> { Anthropic::Beta::BetaManagedAgentsAutoPolicy }
|
|
42
42
|
|
|
43
43
|
module Type
|
|
@@ -48,7 +48,7 @@ module Anthropic
|
|
|
48
48
|
# Tool calls require user confirmation before execution.
|
|
49
49
|
variant :always_ask, -> { Anthropic::Beta::BetaManagedAgentsAlwaysAskPolicy }
|
|
50
50
|
|
|
51
|
-
# The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
|
|
51
|
+
# The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask, or for some causes to deny, for example when the organization is out of credits or has reached a spend limit.
|
|
52
52
|
variant :auto, -> { Anthropic::Beta::BetaManagedAgentsAutoPolicy }
|
|
53
53
|
|
|
54
54
|
module Type
|
|
@@ -13,7 +13,9 @@ module Anthropic
|
|
|
13
13
|
# The server decides each tool call individually: it judges, from the tool, its
|
|
14
14
|
# input, and the session content so far, whether the call is safe to execute or
|
|
15
15
|
# high-risk, and evaluates it to allow when judged safe and to deny when judged
|
|
16
|
-
# high-risk. A call the server cannot reach a judgement on evaluates to ask
|
|
16
|
+
# high-risk. A call the server cannot reach a judgement on evaluates to ask, or
|
|
17
|
+
# for some causes to deny, for example when the organization is out of credits or
|
|
18
|
+
# has reached a spend limit.
|
|
17
19
|
#
|
|
18
20
|
# @param type [Symbol, :auto]
|
|
19
21
|
end
|
|
@@ -51,7 +51,7 @@ module Anthropic
|
|
|
51
51
|
# Tool calls require user confirmation before execution.
|
|
52
52
|
variant :always_ask, -> { Anthropic::Beta::BetaManagedAgentsAlwaysAskPolicy }
|
|
53
53
|
|
|
54
|
-
# The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
|
|
54
|
+
# The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask, or for some causes to deny, for example when the organization is out of credits or has reached a spend limit.
|
|
55
55
|
variant :auto, -> { Anthropic::Beta::BetaManagedAgentsAutoPolicy }
|
|
56
56
|
|
|
57
57
|
module Type
|
|
@@ -61,7 +61,7 @@ module Anthropic
|
|
|
61
61
|
# Tool calls require user confirmation before execution.
|
|
62
62
|
variant :always_ask, -> { Anthropic::Beta::BetaManagedAgentsAlwaysAskPolicy }
|
|
63
63
|
|
|
64
|
-
# The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
|
|
64
|
+
# The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask, or for some causes to deny, for example when the organization is out of credits or has reached a spend limit.
|
|
65
65
|
variant :auto, -> { Anthropic::Beta::BetaManagedAgentsAutoPolicy }
|
|
66
66
|
|
|
67
67
|
module Type
|
|
@@ -51,7 +51,7 @@ module Anthropic
|
|
|
51
51
|
# Tool calls require user confirmation before execution.
|
|
52
52
|
variant :always_ask, -> { Anthropic::Beta::BetaManagedAgentsAlwaysAskPolicy }
|
|
53
53
|
|
|
54
|
-
# The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
|
|
54
|
+
# The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask, or for some causes to deny, for example when the organization is out of credits or has reached a spend limit.
|
|
55
55
|
variant :auto, -> { Anthropic::Beta::BetaManagedAgentsAutoPolicy }
|
|
56
56
|
|
|
57
57
|
module Type
|
|
@@ -61,7 +61,7 @@ module Anthropic
|
|
|
61
61
|
# Tool calls require user confirmation before execution.
|
|
62
62
|
variant :always_ask, -> { Anthropic::Beta::BetaManagedAgentsAlwaysAskPolicy }
|
|
63
63
|
|
|
64
|
-
# The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
|
|
64
|
+
# The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask, or for some causes to deny, for example when the organization is out of credits or has reached a spend limit.
|
|
65
65
|
variant :auto, -> { Anthropic::Beta::BetaManagedAgentsAutoPolicy }
|
|
66
66
|
|
|
67
67
|
module Type
|
|
@@ -51,7 +51,7 @@ module Anthropic
|
|
|
51
51
|
# Tool calls require user confirmation before execution.
|
|
52
52
|
variant :always_ask, -> { Anthropic::Beta::BetaManagedAgentsAlwaysAskPolicy }
|
|
53
53
|
|
|
54
|
-
# The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
|
|
54
|
+
# The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask, or for some causes to deny, for example when the organization is out of credits or has reached a spend limit.
|
|
55
55
|
variant :auto, -> { Anthropic::Beta::BetaManagedAgentsAutoPolicy }
|
|
56
56
|
|
|
57
57
|
module Type
|
|
@@ -61,7 +61,7 @@ module Anthropic
|
|
|
61
61
|
# Tool calls require user confirmation before execution.
|
|
62
62
|
variant :always_ask, -> { Anthropic::Beta::BetaManagedAgentsAlwaysAskPolicy }
|
|
63
63
|
|
|
64
|
-
# The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
|
|
64
|
+
# The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask, or for some causes to deny, for example when the organization is out of credits or has reached a spend limit.
|
|
65
65
|
variant :auto, -> { Anthropic::Beta::BetaManagedAgentsAutoPolicy }
|
|
66
66
|
|
|
67
67
|
module Type
|
|
@@ -51,7 +51,7 @@ module Anthropic
|
|
|
51
51
|
# Tool calls require user confirmation before execution.
|
|
52
52
|
variant :always_ask, -> { Anthropic::Beta::BetaManagedAgentsAlwaysAskPolicy }
|
|
53
53
|
|
|
54
|
-
# The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
|
|
54
|
+
# The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask, or for some causes to deny, for example when the organization is out of credits or has reached a spend limit.
|
|
55
55
|
variant :auto, -> { Anthropic::Beta::BetaManagedAgentsAutoPolicy }
|
|
56
56
|
|
|
57
57
|
module Type
|
|
@@ -61,7 +61,7 @@ module Anthropic
|
|
|
61
61
|
# Tool calls require user confirmation before execution.
|
|
62
62
|
variant :always_ask, -> { Anthropic::Beta::BetaManagedAgentsAlwaysAskPolicy }
|
|
63
63
|
|
|
64
|
-
# The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
|
|
64
|
+
# The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask, or for some causes to deny, for example when the organization is out of credits or has reached a spend limit.
|
|
65
65
|
variant :auto, -> { Anthropic::Beta::BetaManagedAgentsAutoPolicy }
|
|
66
66
|
|
|
67
67
|
module Type
|
|
@@ -44,7 +44,7 @@ module Anthropic
|
|
|
44
44
|
# Tool calls require user confirmation before execution.
|
|
45
45
|
variant :always_ask, -> { Anthropic::Beta::BetaManagedAgentsAlwaysAskPolicy }
|
|
46
46
|
|
|
47
|
-
# The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
|
|
47
|
+
# The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask, or for some causes to deny, for example when the organization is out of credits or has reached a spend limit.
|
|
48
48
|
variant :auto, -> { Anthropic::Beta::BetaManagedAgentsAutoPolicy }
|
|
49
49
|
|
|
50
50
|
module Type
|
|
@@ -47,7 +47,7 @@ module Anthropic
|
|
|
47
47
|
# Tool calls require user confirmation before execution.
|
|
48
48
|
variant :always_ask, -> { Anthropic::Beta::BetaManagedAgentsAlwaysAskPolicy }
|
|
49
49
|
|
|
50
|
-
# The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
|
|
50
|
+
# The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask, or for some causes to deny, for example when the organization is out of credits or has reached a spend limit.
|
|
51
51
|
variant :auto, -> { Anthropic::Beta::BetaManagedAgentsAutoPolicy }
|
|
52
52
|
|
|
53
53
|
module Type
|
|
@@ -37,7 +37,7 @@ module Anthropic
|
|
|
37
37
|
# Tool calls require user confirmation before execution.
|
|
38
38
|
variant :always_ask, -> { Anthropic::Beta::BetaManagedAgentsAlwaysAskPolicy }
|
|
39
39
|
|
|
40
|
-
# The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
|
|
40
|
+
# The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask, or for some causes to deny, for example when the organization is out of credits or has reached a spend limit.
|
|
41
41
|
variant :auto, -> { Anthropic::Beta::BetaManagedAgentsAutoPolicy }
|
|
42
42
|
|
|
43
43
|
module Type
|
|
@@ -41,7 +41,7 @@ module Anthropic
|
|
|
41
41
|
# Tool calls require user confirmation before execution.
|
|
42
42
|
variant :always_ask, -> { Anthropic::Beta::BetaManagedAgentsAlwaysAskPolicy }
|
|
43
43
|
|
|
44
|
-
# The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
|
|
44
|
+
# The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask, or for some causes to deny, for example when the organization is out of credits or has reached a spend limit.
|
|
45
45
|
variant :auto, -> { Anthropic::Beta::BetaManagedAgentsAutoPolicy }
|
|
46
46
|
|
|
47
47
|
module Type
|
|
@@ -57,7 +57,7 @@ module Anthropic
|
|
|
57
57
|
|
|
58
58
|
# @!group
|
|
59
59
|
|
|
60
|
-
#
|
|
60
|
+
# Built for the most ambitious work in coding, enterprise workflows, and the sciences
|
|
61
61
|
CLAUDE_FABLE_5_2 = :"claude-fable-5-2"
|
|
62
62
|
|
|
63
63
|
# Fastest model for high-volume, real-time tasks
|
|
@@ -22,8 +22,9 @@ module Anthropic
|
|
|
22
22
|
required :type, const: :coordinator
|
|
23
23
|
|
|
24
24
|
# @!method initialize(agents:, type: :coordinator)
|
|
25
|
-
#
|
|
26
|
-
#
|
|
25
|
+
# Recommendation: use `multiagent_20261001` instead of `coordinator`. A
|
|
26
|
+
# coordinator topology: the session's primary thread orchestrates work by spawning
|
|
27
|
+
# session threads, each running an agent drawn from the `agents` roster.
|
|
27
28
|
#
|
|
28
29
|
# Some parameter documentations has been truncated, see
|
|
29
30
|
# {Anthropic::Models::Beta::BetaManagedAgentsMultiagentCoordinatorParams} for more
|
|
@@ -9,7 +9,7 @@ module Anthropic
|
|
|
9
9
|
|
|
10
10
|
discriminator :type
|
|
11
11
|
|
|
12
|
-
# A coordinator topology: the session's primary thread orchestrates work by spawning session threads, each running an agent drawn from the `agents` roster.
|
|
12
|
+
# Recommendation: use `multiagent_20261001` instead of `coordinator`. A coordinator topology: the session's primary thread orchestrates work by spawning session threads, each running an agent drawn from the `agents` roster.
|
|
13
13
|
variant :coordinator, -> { Anthropic::Beta::BetaManagedAgentsMultiagentCoordinatorParams }
|
|
14
14
|
|
|
15
15
|
# Multiagent configuration with three members, each enabled or disabled on its own. On an update, if the agent's stored `multiagent` also has type `multiagent_20261001`, this configuration is merged into the stored one, level by level, instead of replacing it. A key that the update omits keeps its stored value. A key sent as null takes its default, on create as well, so `"workflows": null` enables workflows. An object sent with a `type` other than the stored one replaces the stored object, and the keys that it omits take their defaults. A `predefined_agents` list that is sent replaces the stored list. Every object that is sent needs its `type`, and an enabled `advisor` needs its `model`. Other validation applies to the merged result.
|
|
@@ -51,7 +51,7 @@ module Anthropic
|
|
|
51
51
|
# Tool calls require user confirmation before execution.
|
|
52
52
|
variant :always_ask, -> { Anthropic::Beta::BetaManagedAgentsAlwaysAskPolicy }
|
|
53
53
|
|
|
54
|
-
# The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
|
|
54
|
+
# The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask, or for some causes to deny, for example when the organization is out of credits or has reached a spend limit.
|
|
55
55
|
variant :auto, -> { Anthropic::Beta::BetaManagedAgentsAutoPolicy }
|
|
56
56
|
|
|
57
57
|
module Type
|
|
@@ -61,7 +61,7 @@ module Anthropic
|
|
|
61
61
|
# Tool calls require user confirmation before execution.
|
|
62
62
|
variant :always_ask, -> { Anthropic::Beta::BetaManagedAgentsAlwaysAskPolicy }
|
|
63
63
|
|
|
64
|
-
# The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
|
|
64
|
+
# The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask, or for some causes to deny, for example when the organization is out of credits or has reached a spend limit.
|
|
65
65
|
variant :auto, -> { Anthropic::Beta::BetaManagedAgentsAutoPolicy }
|
|
66
66
|
|
|
67
67
|
module Type
|
|
@@ -84,7 +84,7 @@ module Anthropic
|
|
|
84
84
|
# Tool calls require user confirmation before execution.
|
|
85
85
|
variant :always_ask, -> { Anthropic::Beta::BetaManagedAgentsAlwaysAskPolicy }
|
|
86
86
|
|
|
87
|
-
# The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
|
|
87
|
+
# The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask, or for some causes to deny, for example when the organization is out of credits or has reached a spend limit.
|
|
88
88
|
variant :auto, -> { Anthropic::Beta::BetaManagedAgentsAutoPolicy }
|
|
89
89
|
|
|
90
90
|
module Type
|
|
@@ -100,7 +100,7 @@ module Anthropic
|
|
|
100
100
|
# Tool calls require user confirmation before execution.
|
|
101
101
|
variant :always_ask, -> { Anthropic::Beta::BetaManagedAgentsAlwaysAskPolicy }
|
|
102
102
|
|
|
103
|
-
# The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
|
|
103
|
+
# The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask, or for some causes to deny, for example when the organization is out of credits or has reached a spend limit.
|
|
104
104
|
variant :auto, -> { Anthropic::Beta::BetaManagedAgentsAutoPolicy }
|
|
105
105
|
|
|
106
106
|
module Type
|
|
@@ -73,7 +73,7 @@ module Anthropic
|
|
|
73
73
|
# Tool calls require user confirmation before execution.
|
|
74
74
|
variant :always_ask, -> { Anthropic::Beta::BetaManagedAgentsAlwaysAskPolicy }
|
|
75
75
|
|
|
76
|
-
# The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
|
|
76
|
+
# The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask, or for some causes to deny, for example when the organization is out of credits or has reached a spend limit.
|
|
77
77
|
variant :auto, -> { Anthropic::Beta::BetaManagedAgentsAutoPolicy }
|
|
78
78
|
|
|
79
79
|
module Type
|
|
@@ -91,7 +91,7 @@ module Anthropic
|
|
|
91
91
|
# Tool calls require user confirmation before execution.
|
|
92
92
|
variant :always_ask, -> { Anthropic::Beta::BetaManagedAgentsAlwaysAskPolicy }
|
|
93
93
|
|
|
94
|
-
# The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
|
|
94
|
+
# The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask, or for some causes to deny, for example when the organization is out of credits or has reached a spend limit.
|
|
95
95
|
variant :auto, -> { Anthropic::Beta::BetaManagedAgentsAutoPolicy }
|
|
96
96
|
|
|
97
97
|
module Type
|
|
@@ -51,7 +51,7 @@ module Anthropic
|
|
|
51
51
|
# Tool calls require user confirmation before execution.
|
|
52
52
|
variant :always_ask, -> { Anthropic::Beta::BetaManagedAgentsAlwaysAskPolicy }
|
|
53
53
|
|
|
54
|
-
# The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
|
|
54
|
+
# The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask, or for some causes to deny, for example when the organization is out of credits or has reached a spend limit.
|
|
55
55
|
variant :auto, -> { Anthropic::Beta::BetaManagedAgentsAutoPolicy }
|
|
56
56
|
|
|
57
57
|
module Type
|
|
@@ -61,7 +61,7 @@ module Anthropic
|
|
|
61
61
|
# Tool calls require user confirmation before execution.
|
|
62
62
|
variant :always_ask, -> { Anthropic::Beta::BetaManagedAgentsAlwaysAskPolicy }
|
|
63
63
|
|
|
64
|
-
# The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
|
|
64
|
+
# The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask, or for some causes to deny, for example when the organization is out of credits or has reached a spend limit.
|
|
65
65
|
variant :auto, -> { Anthropic::Beta::BetaManagedAgentsAutoPolicy }
|
|
66
66
|
|
|
67
67
|
module Type
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
module Organization
|
|
7
|
+
class BetaAnalyticsClaudeTagMetrics < Anthropic::Internal::Type::BaseModel
|
|
8
|
+
# @!attribute active_day_count
|
|
9
|
+
# 1 on a day the user was active in Claude Tag in Slack, otherwise 0. Summed over
|
|
10
|
+
# the window in date-range mode, so it is the number of active days; on grouped
|
|
11
|
+
# rows, the total of each member's active days. Null when Claude Tag data cannot
|
|
12
|
+
# be read for the request. Otherwise, 0 on a row filtered by project, and null on
|
|
13
|
+
# any other row when no covered day was measured.
|
|
14
|
+
#
|
|
15
|
+
# @return [Integer, nil]
|
|
16
|
+
required :active_day_count, Integer, nil?: true
|
|
17
|
+
|
|
18
|
+
# @!attribute active_message_count
|
|
19
|
+
# Number of the user's Slack messages that made them active: @-mentions, direct
|
|
20
|
+
# messages, group direct message asks, and thread posts Claude answered. Other
|
|
21
|
+
# messages are not counted. Null when Claude Tag data cannot be read for the
|
|
22
|
+
# request. Otherwise, 0 on a row filtered by project, and null on any other row
|
|
23
|
+
# when no covered day was measured.
|
|
24
|
+
#
|
|
25
|
+
# @return [Integer, nil]
|
|
26
|
+
required :active_message_count, Integer, nil?: true
|
|
27
|
+
|
|
28
|
+
# @!method initialize(active_day_count:, active_message_count:)
|
|
29
|
+
# Claude Tag activity metrics for a single linked user on a given day.
|
|
30
|
+
#
|
|
31
|
+
# Some parameter documentations has been truncated, see
|
|
32
|
+
# {Anthropic::Models::Beta::Organization::BetaAnalyticsClaudeTagMetrics} for more
|
|
33
|
+
# details.
|
|
34
|
+
#
|
|
35
|
+
# @param active_day_count [Integer, nil] 1 on a day the user was active in Claude Tag in Slack, otherwise 0. Summed over
|
|
36
|
+
#
|
|
37
|
+
# @param active_message_count [Integer, nil] Number of the user's Slack messages that made them active: @-mentions, direct me
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
end
|
|
@@ -187,6 +187,42 @@ module Anthropic
|
|
|
187
187
|
# @return [Integer, nil]
|
|
188
188
|
optional :claude_design_weekly_active_user_count, Integer, nil?: true
|
|
189
189
|
|
|
190
|
+
# @!attribute claude_tag_daily_active_user_count
|
|
191
|
+
# Number of Slack users active in Claude Tag on the requested day. Counts distinct
|
|
192
|
+
# Slack users, including users who have not linked a Claude account, so it can
|
|
193
|
+
# exceed `daily_active_user_count` and `assigned_seat_count`. Null on a day with
|
|
194
|
+
# no measured value, when Claude Tag data cannot be read for the request, and when
|
|
195
|
+
# the response is scoped to an RBAC group, because an unlinked user belongs to no
|
|
196
|
+
# group. Omitted from the response on deployments that do not offer Claude Tag
|
|
197
|
+
# reporting.
|
|
198
|
+
#
|
|
199
|
+
# @return [Integer, nil]
|
|
200
|
+
optional :claude_tag_daily_active_user_count, Integer, nil?: true
|
|
201
|
+
|
|
202
|
+
# @!attribute claude_tag_monthly_active_user_count
|
|
203
|
+
# Number of Slack users active in Claude Tag in the 28-day rolling window. Counts
|
|
204
|
+
# distinct Slack users, including users who have not linked a Claude account, so
|
|
205
|
+
# it can exceed `daily_active_user_count` and `assigned_seat_count`. Null on a day
|
|
206
|
+
# with no measured value, when Claude Tag data cannot be read for the request, and
|
|
207
|
+
# when the response is scoped to an RBAC group, because an unlinked user belongs
|
|
208
|
+
# to no group. Omitted from the response on deployments that do not offer Claude
|
|
209
|
+
# Tag reporting.
|
|
210
|
+
#
|
|
211
|
+
# @return [Integer, nil]
|
|
212
|
+
optional :claude_tag_monthly_active_user_count, Integer, nil?: true
|
|
213
|
+
|
|
214
|
+
# @!attribute claude_tag_weekly_active_user_count
|
|
215
|
+
# Number of Slack users active in Claude Tag in the 7-day rolling window. Counts
|
|
216
|
+
# distinct Slack users, including users who have not linked a Claude account, so
|
|
217
|
+
# it can exceed `daily_active_user_count` and `assigned_seat_count`. Null on a day
|
|
218
|
+
# with no measured value, when Claude Tag data cannot be read for the request, and
|
|
219
|
+
# when the response is scoped to an RBAC group, because an unlinked user belongs
|
|
220
|
+
# to no group. Omitted from the response on deployments that do not offer Claude
|
|
221
|
+
# Tag reporting.
|
|
222
|
+
#
|
|
223
|
+
# @return [Integer, nil]
|
|
224
|
+
optional :claude_tag_weekly_active_user_count, Integer, nil?: true
|
|
225
|
+
|
|
190
226
|
# @!attribute office_agent_daily_active_user_count
|
|
191
227
|
# Number of users with Claude in Office activity on the requested day. Omitted
|
|
192
228
|
# from the response while the per-product breakdown is not enabled for this
|
|
@@ -245,7 +281,7 @@ module Anthropic
|
|
|
245
281
|
# @return [Integer, nil]
|
|
246
282
|
optional :science_weekly_active_user_count, Integer, nil?: true
|
|
247
283
|
|
|
248
|
-
# @!method initialize(assigned_seat_count:, cowork_daily_active_user_count:, cowork_monthly_active_user_count:, cowork_weekly_active_user_count:, daily_active_user_count:, daily_adoption_rate:, ending_at:, monthly_active_user_count:, monthly_adoption_rate:, pending_invite_count:, starting_at:, weekly_active_user_count:, weekly_adoption_rate:, chat_cowork_unified_daily_active_user_count: nil, chat_cowork_unified_monthly_active_user_count: nil, chat_cowork_unified_weekly_active_user_count: nil, chat_daily_active_user_count: nil, chat_monthly_active_user_count: nil, chat_weekly_active_user_count: nil, claude_code_daily_active_user_count: nil, claude_code_monthly_active_user_count: nil, claude_code_weekly_active_user_count: nil, claude_design_daily_active_user_count: nil, claude_design_monthly_active_user_count: nil, claude_design_weekly_active_user_count: nil, office_agent_daily_active_user_count: nil, office_agent_monthly_active_user_count: nil, office_agent_weekly_active_user_count: nil, science_daily_active_user_count: nil, science_entitled_user_count: nil, science_monthly_active_user_count: nil, science_weekly_active_user_count: nil)
|
|
284
|
+
# @!method initialize(assigned_seat_count:, cowork_daily_active_user_count:, cowork_monthly_active_user_count:, cowork_weekly_active_user_count:, daily_active_user_count:, daily_adoption_rate:, ending_at:, monthly_active_user_count:, monthly_adoption_rate:, pending_invite_count:, starting_at:, weekly_active_user_count:, weekly_adoption_rate:, chat_cowork_unified_daily_active_user_count: nil, chat_cowork_unified_monthly_active_user_count: nil, chat_cowork_unified_weekly_active_user_count: nil, chat_daily_active_user_count: nil, chat_monthly_active_user_count: nil, chat_weekly_active_user_count: nil, claude_code_daily_active_user_count: nil, claude_code_monthly_active_user_count: nil, claude_code_weekly_active_user_count: nil, claude_design_daily_active_user_count: nil, claude_design_monthly_active_user_count: nil, claude_design_weekly_active_user_count: nil, claude_tag_daily_active_user_count: nil, claude_tag_monthly_active_user_count: nil, claude_tag_weekly_active_user_count: nil, office_agent_daily_active_user_count: nil, office_agent_monthly_active_user_count: nil, office_agent_weekly_active_user_count: nil, science_daily_active_user_count: nil, science_entitled_user_count: nil, science_monthly_active_user_count: nil, science_weekly_active_user_count: nil)
|
|
249
285
|
# Per-day entry in the /summaries response.
|
|
250
286
|
#
|
|
251
287
|
# Some parameter documentations has been truncated, see
|
|
@@ -302,6 +338,12 @@ module Anthropic
|
|
|
302
338
|
#
|
|
303
339
|
# @param claude_design_weekly_active_user_count [Integer, nil] Number of users with Claude Design activity in the 7-day rolling window. Omitted
|
|
304
340
|
#
|
|
341
|
+
# @param claude_tag_daily_active_user_count [Integer, nil] Number of Slack users active in Claude Tag on the requested day. Counts distinct
|
|
342
|
+
#
|
|
343
|
+
# @param claude_tag_monthly_active_user_count [Integer, nil] Number of Slack users active in Claude Tag in the 28-day rolling window. Counts
|
|
344
|
+
#
|
|
345
|
+
# @param claude_tag_weekly_active_user_count [Integer, nil] Number of Slack users active in Claude Tag in the 7-day rolling window. Counts d
|
|
346
|
+
#
|
|
305
347
|
# @param office_agent_daily_active_user_count [Integer, nil] Number of users with Claude in Office activity on the requested day. Omitted fro
|
|
306
348
|
#
|
|
307
349
|
# @param office_agent_monthly_active_user_count [Integer, nil] Number of users with Claude in Office activity in the 30-day rolling window. Omi
|
|
@@ -74,6 +74,17 @@ module Anthropic
|
|
|
74
74
|
-> { Anthropic::Beta::Organization::BetaAnalyticsChatCoworkUnifiedMetrics },
|
|
75
75
|
nil?: true
|
|
76
76
|
|
|
77
|
+
# @!attribute claude_tag_metrics
|
|
78
|
+
# Claude Tag activity in Slack by a user who has linked a Claude account. Activity
|
|
79
|
+
# by Slack users who have not linked an account appears only in the `/summaries`
|
|
80
|
+
# Claude Tag counts, so these rows do not add up to those counts. Omitted from the
|
|
81
|
+
# response on deployments that do not offer Claude Tag reporting.
|
|
82
|
+
#
|
|
83
|
+
# @return [Anthropic::Models::Beta::Organization::BetaAnalyticsClaudeTagMetrics, nil]
|
|
84
|
+
optional :claude_tag_metrics,
|
|
85
|
+
-> { Anthropic::Beta::Organization::BetaAnalyticsClaudeTagMetrics },
|
|
86
|
+
nil?: true
|
|
87
|
+
|
|
77
88
|
# @!attribute last_activity_date
|
|
78
89
|
# Most recent UTC day (YYYY-MM-DD) on which the user had any counted activity,
|
|
79
90
|
# within the requested window: equal to the requested `date` in single-day mode,
|
|
@@ -104,7 +115,7 @@ module Anthropic
|
|
|
104
115
|
# @return [String, nil]
|
|
105
116
|
optional :rbac_group_name, String, nil?: true
|
|
106
117
|
|
|
107
|
-
# @!method initialize(chat_metrics:, claude_code_metrics:, cowork_metrics:, design_metrics:, distinct_user_count:, office_metrics:, science_metrics:, user:, web_search_count:, chat_cowork_unified_metrics: nil, last_activity_date: nil, rbac_group_id: nil, rbac_group_name: nil)
|
|
118
|
+
# @!method initialize(chat_metrics:, claude_code_metrics:, cowork_metrics:, design_metrics:, distinct_user_count:, office_metrics:, science_metrics:, user:, web_search_count:, chat_cowork_unified_metrics: nil, claude_tag_metrics: nil, last_activity_date: nil, rbac_group_id: nil, rbac_group_name: nil)
|
|
108
119
|
# Per-user activity data for a given day.
|
|
109
120
|
#
|
|
110
121
|
# Some parameter documentations has been truncated, see
|
|
@@ -131,6 +142,8 @@ module Anthropic
|
|
|
131
142
|
#
|
|
132
143
|
# @param chat_cowork_unified_metrics [Anthropic::Models::Beta::Organization::BetaAnalyticsChatCoworkUnifiedMetrics, nil] Activity recorded while the member had Chat and Cowork unified (Cowork's feature
|
|
133
144
|
#
|
|
145
|
+
# @param claude_tag_metrics [Anthropic::Models::Beta::Organization::BetaAnalyticsClaudeTagMetrics, nil] Claude Tag activity in Slack by a user who has linked a Claude account. Activity
|
|
146
|
+
#
|
|
134
147
|
# @param last_activity_date [Date, nil] Most recent UTC day (YYYY-MM-DD) on which the user had any counted activity, wit
|
|
135
148
|
#
|
|
136
149
|
# @param rbac_group_id [String, nil] Tagged RBAC group identifier (`rbac_group_...`), matching the spend-limits API s
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
module Organization
|
|
7
|
+
# The Bundle has an attachment this API does not support editing, so its
|
|
8
|
+
# instructions can be changed only in claude.ai.
|
|
9
|
+
class BetaBundleAttachmentNotSupportedError < Anthropic::Errors::BadRequestError
|
|
10
|
+
# @!method error_code
|
|
11
|
+
# @return [Symbol, :bundle_attachment_not_supported]
|
|
12
|
+
|
|
13
|
+
# @return [Anthropic::Models::Beta::Organization::BetaBundleAttachmentNotSupportedErrorDetails]
|
|
14
|
+
def details
|
|
15
|
+
Anthropic::Internal::Type::Converter.coerce(
|
|
16
|
+
Anthropic::Beta::Organization::BetaBundleAttachmentNotSupportedErrorDetails,
|
|
17
|
+
Anthropic::Internal::Util.dig(body, [:error, :details])
|
|
18
|
+
)
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|