anthropic 2.10.0 → 2.11.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.
Files changed (196) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +19 -0
  3. data/README.md +1 -1
  4. data/lib/anthropic/error_classes.rb +7 -0
  5. data/lib/anthropic/internal/tracing.rb +16 -0
  6. data/lib/anthropic/internal/transport/base_client.rb +5 -1
  7. data/lib/anthropic/internal/util.rb +5 -4
  8. data/lib/anthropic/models/anthropic_beta.rb +3 -0
  9. data/lib/anthropic/models/beta/organization/analytics/beta_analytics_cost_group.rb +2 -1
  10. data/lib/anthropic/models/beta/organization/analytics/beta_analytics_usage_group.rb +2 -1
  11. data/lib/anthropic/models/beta/organization/beta_analytics_cost_bucketed_result.rb +2 -1
  12. data/lib/anthropic/models/beta/organization/beta_analytics_cost_users_item.rb +2 -1
  13. data/lib/anthropic/models/beta/organization/beta_analytics_usage_bucketed_result.rb +2 -1
  14. data/lib/anthropic/models/beta/organization/beta_analytics_usage_users_item.rb +2 -1
  15. data/lib/anthropic/models/beta/organization/beta_organization_rate_limit_value.rb +1 -1
  16. data/lib/anthropic/models/beta/organization/beta_rbac_group_not_found_error.rb +23 -0
  17. data/lib/anthropic/models/beta/organization/beta_rbac_group_not_found_error_details.rb +21 -0
  18. data/lib/anthropic/models/beta/organization/claude_code/beta_cmek_feature_unsupported_error.rb +27 -0
  19. data/lib/anthropic/models/beta/organization/claude_code/beta_cmek_feature_unsupported_error_details.rb +25 -0
  20. data/lib/anthropic/models/beta/organization/claude_code/beta_rbac_group_managed_settings_not_found_error.rb +25 -0
  21. data/lib/anthropic/models/beta/organization/claude_code/beta_rbac_group_managed_settings_not_found_error_details.rb +23 -0
  22. data/lib/anthropic/models/beta/organization/claude_code/beta_rbac_group_order_limit_exceeded_error.rb +26 -0
  23. data/lib/anthropic/models/beta/organization/claude_code/beta_rbac_group_order_limit_exceeded_error_details.rb +24 -0
  24. data/lib/anthropic/models/beta/organization/claude_code/beta_settings_document_limit_exceeded_error.rb +29 -0
  25. data/lib/anthropic/models/beta/organization/claude_code/beta_settings_document_limit_exceeded_error_details.rb +27 -0
  26. data/lib/anthropic/models/beta/organization/claude_code/beta_settings_history_limit_exceeded_error.rb +29 -0
  27. data/lib/anthropic/models/beta/organization/claude_code/beta_settings_history_limit_exceeded_error_details.rb +27 -0
  28. data/lib/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_managed_settings_configuration.rb +68 -0
  29. data/lib/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_managed_settings_mode.rb +62 -0
  30. data/lib/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_managed_settings_mode_param.rb +62 -0
  31. data/lib/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_managed_settings_organization_mode.rb +24 -0
  32. data/lib/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_managed_settings_organization_mode_param.rb +23 -0
  33. data/lib/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_managed_settings_rbac_groups_mode.rb +24 -0
  34. data/lib/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_managed_settings_rbac_groups_mode_param.rb +23 -0
  35. data/lib/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_rbac_group_default_managed_settings.rb +50 -0
  36. data/lib/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_rbac_group_managed_settings.rb +80 -0
  37. data/lib/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_rbac_group_managed_settings_summary.rb +69 -0
  38. data/lib/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_rbac_group_status.rb +70 -0
  39. data/lib/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_rbac_group_status_active.rb +24 -0
  40. data/lib/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_rbac_group_status_deleted.rb +24 -0
  41. data/lib/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_rbac_group_status_unknown.rb +24 -0
  42. data/lib/anthropic/models/beta/organization/claude_code/managed_settings/beta_deleted_claude_code_rbac_group_managed_settings.rb +33 -0
  43. data/lib/anthropic/models/beta/organization/claude_code/managed_settings/configuration_retrieve_params.rb +35 -0
  44. data/lib/anthropic/models/beta/organization/claude_code/managed_settings/configuration_update_params.rb +62 -0
  45. data/lib/anthropic/models/beta/organization/claude_code/managed_settings/rbac_group_default_retrieve_params.rb +35 -0
  46. data/lib/anthropic/models/beta/organization/claude_code/managed_settings/rbac_group_default_update_params.rb +47 -0
  47. data/lib/anthropic/models/beta/organization/claude_code/managed_settings/rbac_group_delete_params.rb +43 -0
  48. data/lib/anthropic/models/beta/organization/claude_code/managed_settings/rbac_group_list_params.rb +53 -0
  49. data/lib/anthropic/models/beta/organization/claude_code/managed_settings/rbac_group_retrieve_params.rb +43 -0
  50. data/lib/anthropic/models/beta/organization/claude_code/managed_settings/rbac_group_set_params.rb +53 -0
  51. data/lib/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit_type.rb +7 -1
  52. data/lib/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit_update_value.rb +8 -2
  53. data/lib/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit_value.rb +1 -1
  54. data/lib/anthropic/models/beta_request_body_timeout_error.rb +20 -0
  55. data/lib/anthropic/models/beta_request_body_timeout_error_details.rb +18 -0
  56. data/lib/anthropic/models/error_details.rb +50 -3
  57. data/lib/anthropic/models/organization/organization_rate_limit_value.rb +1 -1
  58. data/lib/anthropic/models/organization/workspaces/workspace_rate_limit_type.rb +7 -1
  59. data/lib/anthropic/models/organization/workspaces/workspace_rate_limit_update_value.rb +8 -2
  60. data/lib/anthropic/models/organization/workspaces/workspace_rate_limit_value.rb +1 -1
  61. data/lib/anthropic/models/sandbox_egress_restricted_error.rb +1 -1
  62. data/lib/anthropic/models/sandbox_egress_restricted_error_details.rb +1 -1
  63. data/lib/anthropic/models.rb +4 -0
  64. data/lib/anthropic/resources/beta/organization/analytics/user_cost_report.rb +4 -3
  65. data/lib/anthropic/resources/beta/organization/analytics/user_usage_report.rb +3 -2
  66. data/lib/anthropic/resources/beta/organization/claude_code/managed_settings/configuration.rb +141 -0
  67. data/lib/anthropic/resources/beta/organization/claude_code/managed_settings/rbac_group_default.rb +126 -0
  68. data/lib/anthropic/resources/beta/organization/claude_code/managed_settings/rbac_groups.rb +252 -0
  69. data/lib/anthropic/resources/beta/organization/claude_code/managed_settings.rb +35 -0
  70. data/lib/anthropic/resources/beta/organization/claude_code.rb +23 -0
  71. data/lib/anthropic/resources/beta/organization/external_keys.rb +2 -2
  72. data/lib/anthropic/resources/beta/organization/plugin_marketplaces.rb +5 -0
  73. data/lib/anthropic/resources/beta/organization/plugins/installation_settings.rb +4 -0
  74. data/lib/anthropic/resources/beta/organization/plugins/versions.rb +2 -0
  75. data/lib/anthropic/resources/beta/organization/plugins.rb +3 -0
  76. data/lib/anthropic/resources/beta/organization.rb +4 -0
  77. data/lib/anthropic/resources/organization/external_keys.rb +2 -2
  78. data/lib/anthropic/version.rb +1 -1
  79. data/lib/anthropic.rb +42 -0
  80. data/rbi/anthropic/internal/tracing.rbi +16 -0
  81. data/rbi/anthropic/internal/util.rbi +8 -2
  82. data/rbi/anthropic/models/anthropic_beta.rbi +5 -0
  83. data/rbi/anthropic/models/beta/organization/analytics/beta_analytics_cost_group.rbi +4 -2
  84. data/rbi/anthropic/models/beta/organization/analytics/beta_analytics_usage_group.rbi +4 -2
  85. data/rbi/anthropic/models/beta/organization/beta_analytics_cost_bucketed_result.rbi +4 -2
  86. data/rbi/anthropic/models/beta/organization/beta_analytics_cost_users_item.rbi +4 -2
  87. data/rbi/anthropic/models/beta/organization/beta_analytics_usage_bucketed_result.rbi +4 -2
  88. data/rbi/anthropic/models/beta/organization/beta_analytics_usage_users_item.rbi +4 -2
  89. data/rbi/anthropic/models/beta/organization/beta_organization_rate_limit_value.rbi +2 -2
  90. data/rbi/anthropic/models/beta/organization/beta_rbac_group_not_found_error.rbi +24 -0
  91. data/rbi/anthropic/models/beta/organization/beta_rbac_group_not_found_error_details.rbi +31 -0
  92. data/rbi/anthropic/models/beta/organization/claude_code/beta_cmek_feature_unsupported_error.rbi +28 -0
  93. data/rbi/anthropic/models/beta/organization/claude_code/beta_cmek_feature_unsupported_error_details.rbi +35 -0
  94. data/rbi/anthropic/models/beta/organization/claude_code/beta_rbac_group_managed_settings_not_found_error.rbi +26 -0
  95. data/rbi/anthropic/models/beta/organization/claude_code/beta_rbac_group_managed_settings_not_found_error_details.rbi +33 -0
  96. data/rbi/anthropic/models/beta/organization/claude_code/beta_rbac_group_order_limit_exceeded_error.rbi +27 -0
  97. data/rbi/anthropic/models/beta/organization/claude_code/beta_rbac_group_order_limit_exceeded_error_details.rbi +34 -0
  98. data/rbi/anthropic/models/beta/organization/claude_code/beta_settings_document_limit_exceeded_error.rbi +30 -0
  99. data/rbi/anthropic/models/beta/organization/claude_code/beta_settings_document_limit_exceeded_error_details.rbi +37 -0
  100. data/rbi/anthropic/models/beta/organization/claude_code/beta_settings_history_limit_exceeded_error.rbi +30 -0
  101. data/rbi/anthropic/models/beta/organization/claude_code/beta_settings_history_limit_exceeded_error_details.rbi +37 -0
  102. data/rbi/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_managed_settings_configuration.rbi +101 -0
  103. data/rbi/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_managed_settings_mode.rbi +82 -0
  104. data/rbi/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_managed_settings_mode_param.rbi +82 -0
  105. data/rbi/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_managed_settings_organization_mode.rbi +38 -0
  106. data/rbi/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_managed_settings_organization_mode_param.rbi +34 -0
  107. data/rbi/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_managed_settings_rbac_groups_mode.rbi +38 -0
  108. data/rbi/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_managed_settings_rbac_groups_mode_param.rbi +34 -0
  109. data/rbi/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_rbac_group_default_managed_settings.rbi +70 -0
  110. data/rbi/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_rbac_group_managed_settings.rbi +114 -0
  111. data/rbi/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_rbac_group_managed_settings_summary.rbi +104 -0
  112. data/rbi/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_rbac_group_status.rbi +88 -0
  113. data/rbi/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_rbac_group_status_active.rbi +38 -0
  114. data/rbi/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_rbac_group_status_deleted.rbi +38 -0
  115. data/rbi/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_rbac_group_status_unknown.rbi +38 -0
  116. data/rbi/anthropic/models/beta/organization/claude_code/managed_settings/beta_deleted_claude_code_rbac_group_managed_settings.rbi +48 -0
  117. data/rbi/anthropic/models/beta/organization/claude_code/managed_settings/configuration_retrieve_params.rbi +74 -0
  118. data/rbi/anthropic/models/beta/organization/claude_code/managed_settings/configuration_update_params.rbi +136 -0
  119. data/rbi/anthropic/models/beta/organization/claude_code/managed_settings/rbac_group_default_retrieve_params.rbi +74 -0
  120. data/rbi/anthropic/models/beta/organization/claude_code/managed_settings/rbac_group_default_update_params.rbi +86 -0
  121. data/rbi/anthropic/models/beta/organization/claude_code/managed_settings/rbac_group_delete_params.rbi +82 -0
  122. data/rbi/anthropic/models/beta/organization/claude_code/managed_settings/rbac_group_list_params.rbi +97 -0
  123. data/rbi/anthropic/models/beta/organization/claude_code/managed_settings/rbac_group_retrieve_params.rbi +82 -0
  124. data/rbi/anthropic/models/beta/organization/claude_code/managed_settings/rbac_group_set_params.rbi +94 -0
  125. data/rbi/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit_type.rbi +7 -1
  126. data/rbi/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit_update_value.rbi +14 -2
  127. data/rbi/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit_value.rbi +2 -2
  128. data/rbi/anthropic/models/beta_request_body_timeout_error.rbi +17 -0
  129. data/rbi/anthropic/models/beta_request_body_timeout_error_details.rbi +28 -0
  130. data/rbi/anthropic/models/error_details.rbi +42 -0
  131. data/rbi/anthropic/models/organization/organization_rate_limit_value.rbi +2 -2
  132. data/rbi/anthropic/models/organization/workspaces/workspace_rate_limit_type.rbi +7 -1
  133. data/rbi/anthropic/models/organization/workspaces/workspace_rate_limit_update_value.rbi +14 -2
  134. data/rbi/anthropic/models/organization/workspaces/workspace_rate_limit_value.rbi +2 -2
  135. data/rbi/anthropic/models/sandbox_egress_restricted_error.rbi +1 -1
  136. data/rbi/anthropic/models/sandbox_egress_restricted_error_details.rbi +1 -1
  137. data/rbi/anthropic/models.rbi +5 -0
  138. data/rbi/anthropic/resources/beta/organization/analytics/user_cost_report.rbi +4 -3
  139. data/rbi/anthropic/resources/beta/organization/analytics/user_usage_report.rbi +3 -2
  140. data/rbi/anthropic/resources/beta/organization/claude_code/managed_settings/configuration.rbi +112 -0
  141. data/rbi/anthropic/resources/beta/organization/claude_code/managed_settings/rbac_group_default.rbi +86 -0
  142. data/rbi/anthropic/resources/beta/organization/claude_code/managed_settings/rbac_groups.rbi +180 -0
  143. data/rbi/anthropic/resources/beta/organization/claude_code/managed_settings.rbi +39 -0
  144. data/rbi/anthropic/resources/beta/organization/claude_code.rbi +23 -0
  145. data/rbi/anthropic/resources/beta/organization/external_keys.rbi +2 -2
  146. data/rbi/anthropic/resources/beta/organization.rbi +3 -0
  147. data/rbi/anthropic/resources/organization/external_keys.rbi +2 -2
  148. data/sig/anthropic/internal/tracing.rbs +8 -0
  149. data/sig/anthropic/internal/util.rbs +2 -1
  150. data/sig/anthropic/models/anthropic_beta.rbs +2 -0
  151. data/sig/anthropic/models/beta/organization/beta_rbac_group_not_found_error.rbs +13 -0
  152. data/sig/anthropic/models/beta/organization/beta_rbac_group_not_found_error_details.rbs +18 -0
  153. data/sig/anthropic/models/beta/organization/claude_code/beta_cmek_feature_unsupported_error.rbs +15 -0
  154. data/sig/anthropic/models/beta/organization/claude_code/beta_cmek_feature_unsupported_error_details.rbs +20 -0
  155. data/sig/anthropic/models/beta/organization/claude_code/beta_rbac_group_managed_settings_not_found_error.rbs +15 -0
  156. data/sig/anthropic/models/beta/organization/claude_code/beta_rbac_group_managed_settings_not_found_error_details.rbs +24 -0
  157. data/sig/anthropic/models/beta/organization/claude_code/beta_rbac_group_order_limit_exceeded_error.rbs +15 -0
  158. data/sig/anthropic/models/beta/organization/claude_code/beta_rbac_group_order_limit_exceeded_error_details.rbs +22 -0
  159. data/sig/anthropic/models/beta/organization/claude_code/beta_settings_document_limit_exceeded_error.rbs +15 -0
  160. data/sig/anthropic/models/beta/organization/claude_code/beta_settings_document_limit_exceeded_error_details.rbs +22 -0
  161. data/sig/anthropic/models/beta/organization/claude_code/beta_settings_history_limit_exceeded_error.rbs +15 -0
  162. data/sig/anthropic/models/beta/organization/claude_code/beta_settings_history_limit_exceeded_error_details.rbs +22 -0
  163. data/sig/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_managed_settings_configuration.rbs +48 -0
  164. data/sig/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_managed_settings_mode.rbs +44 -0
  165. data/sig/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_managed_settings_mode_param.rbs +44 -0
  166. data/sig/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_managed_settings_organization_mode.rbs +22 -0
  167. data/sig/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_managed_settings_organization_mode_param.rbs +22 -0
  168. data/sig/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_managed_settings_rbac_groups_mode.rbs +22 -0
  169. data/sig/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_managed_settings_rbac_groups_mode_param.rbs +22 -0
  170. data/sig/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_rbac_group_default_managed_settings.rbs +38 -0
  171. data/sig/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_rbac_group_managed_settings.rbs +53 -0
  172. data/sig/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_rbac_group_managed_settings_summary.rbs +48 -0
  173. data/sig/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_rbac_group_status.rbs +49 -0
  174. data/sig/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_rbac_group_status_active.rbs +21 -0
  175. data/sig/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_rbac_group_status_deleted.rbs +21 -0
  176. data/sig/anthropic/models/beta/organization/claude_code/managed_settings/beta_claude_code_rbac_group_status_unknown.rbs +21 -0
  177. data/sig/anthropic/models/beta/organization/claude_code/managed_settings/beta_deleted_claude_code_rbac_group_managed_settings.rbs +33 -0
  178. data/sig/anthropic/models/beta/organization/claude_code/managed_settings/configuration_retrieve_params.rbs +36 -0
  179. data/sig/anthropic/models/beta/organization/claude_code/managed_settings/configuration_update_params.rbs +61 -0
  180. data/sig/anthropic/models/beta/organization/claude_code/managed_settings/rbac_group_default_retrieve_params.rbs +36 -0
  181. data/sig/anthropic/models/beta/organization/claude_code/managed_settings/rbac_group_default_update_params.rbs +43 -0
  182. data/sig/anthropic/models/beta/organization/claude_code/managed_settings/rbac_group_delete_params.rbs +43 -0
  183. data/sig/anthropic/models/beta/organization/claude_code/managed_settings/rbac_group_list_params.rbs +50 -0
  184. data/sig/anthropic/models/beta/organization/claude_code/managed_settings/rbac_group_retrieve_params.rbs +43 -0
  185. data/sig/anthropic/models/beta/organization/claude_code/managed_settings/rbac_group_set_params.rbs +48 -0
  186. data/sig/anthropic/models/beta_request_body_timeout_error.rbs +9 -0
  187. data/sig/anthropic/models/beta_request_body_timeout_error_details.rbs +14 -0
  188. data/sig/anthropic/models/error_details.rbs +46 -0
  189. data/sig/anthropic/models.rbs +4 -0
  190. data/sig/anthropic/resources/beta/organization/claude_code/managed_settings/configuration.rbs +28 -0
  191. data/sig/anthropic/resources/beta/organization/claude_code/managed_settings/rbac_group_default.rbs +26 -0
  192. data/sig/anthropic/resources/beta/organization/claude_code/managed_settings/rbac_groups.rbs +41 -0
  193. data/sig/anthropic/resources/beta/organization/claude_code/managed_settings.rbs +19 -0
  194. data/sig/anthropic/resources/beta/organization/claude_code.rbs +13 -0
  195. data/sig/anthropic/resources/beta/organization.rbs +2 -0
  196. metadata +128 -2
@@ -15,7 +15,7 @@ module Anthropic
15
15
  end
16
16
 
17
17
  # The limiter type (for example, `requests_per_minute` or
18
- # `input_tokens_per_minute`).
18
+ # `input_tokens_per_minute_cache_aware`).
19
19
  sig { returns(String) }
20
20
  attr_accessor :type
21
21
 
@@ -26,7 +26,7 @@ module Anthropic
26
26
  sig { params(type: String, value: Integer).returns(T.attached_class) }
27
27
  def self.new(
28
28
  # The limiter type (for example, `requests_per_minute` or
29
- # `input_tokens_per_minute`).
29
+ # `input_tokens_per_minute_cache_aware`).
30
30
  type:,
31
31
  # The configured limit value for this limiter type.
32
32
  value:
@@ -6,7 +6,13 @@ module Anthropic
6
6
  WorkspaceRateLimitType = Workspaces::WorkspaceRateLimitType
7
7
 
8
8
  module Workspaces
9
- # Rate limiter type.
9
+ # Rate limiter type. `input_tokens_per_minute` counts every input token, cache
10
+ # reads included. `input_tokens_per_minute_cache_aware` does not count cache
11
+ # reads, and on current models the organization's input-token limit usually has
12
+ # this type. A workspace limit of either type applies alongside the organization's
13
+ # limit, not in place of it. Because cache reads count toward an
14
+ # `input_tokens_per_minute` limit, it can reject requests that read mostly from
15
+ # the cache while the organization's limit still has room.
10
16
  module WorkspaceRateLimitType
11
17
  extend Anthropic::Internal::Type::Enum
12
18
 
@@ -15,7 +15,13 @@ module Anthropic
15
15
  )
16
16
  end
17
17
 
18
- # Rate limiter type.
18
+ # Rate limiter type. `input_tokens_per_minute` counts every input token, cache
19
+ # reads included. `input_tokens_per_minute_cache_aware` does not count cache
20
+ # reads, and on current models the organization's input-token limit usually has
21
+ # this type. A workspace limit of either type applies alongside the organization's
22
+ # limit, not in place of it. Because cache reads count toward an
23
+ # `input_tokens_per_minute` limit, it can reject requests that read mostly from
24
+ # the cache while the organization's limit still has room.
19
25
  sig do
20
26
  returns(
21
27
  Anthropic::Organization::Workspaces::WorkspaceRateLimitType::OrSymbol
@@ -36,7 +42,13 @@ module Anthropic
36
42
  ).returns(T.attached_class)
37
43
  end
38
44
  def self.new(
39
- # Rate limiter type.
45
+ # Rate limiter type. `input_tokens_per_minute` counts every input token, cache
46
+ # reads included. `input_tokens_per_minute_cache_aware` does not count cache
47
+ # reads, and on current models the organization's input-token limit usually has
48
+ # this type. A workspace limit of either type applies alongside the organization's
49
+ # limit, not in place of it. Because cache reads count toward an
50
+ # `input_tokens_per_minute` limit, it can reject requests that read mostly from
51
+ # the cache while the organization's limit still has room.
40
52
  type:,
41
53
  # New limit value. Set to null to clear the workspace override and fall back to
42
54
  # the organization limit.
@@ -30,7 +30,7 @@ module Anthropic
30
30
  attr_accessor :source
31
31
 
32
32
  # The limiter type (for example, `requests_per_minute` or
33
- # `input_tokens_per_minute`).
33
+ # `input_tokens_per_minute_cache_aware`).
34
34
  sig { returns(String) }
35
35
  attr_accessor :type
36
36
 
@@ -59,7 +59,7 @@ module Anthropic
59
59
  # `include_inherited` is `true`, and then `value` equals `org_limit`.
60
60
  source:,
61
61
  # The limiter type (for example, `requests_per_minute` or
62
- # `input_tokens_per_minute`).
62
+ # `input_tokens_per_minute_cache_aware`).
63
63
  type:,
64
64
  # The workspace's value for this limiter type: the workspace-level override when
65
65
  # `source.type` is `workspace`, otherwise the organization's value.
@@ -3,7 +3,7 @@
3
3
  module Anthropic
4
4
  module Models
5
5
  # The request came from a Claude sandbox with restricted network access, which is
6
- # not allowed to make this change. Send it from outside the sandbox, or from a
6
+ # not allowed to make this request. Send it from outside the sandbox, or from a
7
7
  # sandbox with unrestricted network access.
8
8
  class SandboxEgressRestrictedError < Anthropic::Errors::PermissionDeniedError
9
9
  sig { returns(Symbol) }
@@ -15,7 +15,7 @@ module Anthropic
15
15
  attr_accessor :error_code
16
16
 
17
17
  # The request came from a Claude sandbox with restricted network access, which is
18
- # not allowed to make this change. Send it from outside the sandbox, or from a
18
+ # not allowed to make this request. Send it from outside the sandbox, or from a
19
19
  # sandbox with unrestricted network access.
20
20
  sig { params(error_code: Symbol).returns(T.attached_class) }
21
21
  def self.new(error_code: :sandbox_egress_restricted)
@@ -106,6 +106,11 @@ module Anthropic
106
106
 
107
107
  BetaRateLimitErrorObject = Anthropic::Models::BetaRateLimitErrorObject
108
108
 
109
+ BetaRequestBodyTimeoutError = Anthropic::Models::BetaRequestBodyTimeoutError
110
+
111
+ BetaRequestBodyTimeoutErrorDetails =
112
+ Anthropic::Models::BetaRequestBodyTimeoutErrorDetails
113
+
109
114
  BetaUnsupportedCharsetError = Anthropic::Models::BetaUnsupportedCharsetError
110
115
 
111
116
  BetaUnsupportedCharsetErrorDetails =
@@ -13,9 +13,10 @@ module Anthropic
13
13
  # Only cost attributed to a user account is included, so cost with no user
14
14
  # account, such as Code Review usage and Claude Tag usage in Slack channels, is
15
15
  # left out. Claude Tag one-to-one direct messages are included, with product
16
- # `claude-tag`, only for members who have connected a Claude account. Available to
17
- # organizations on a Claude Enterprise plan. Requires an API key with the
18
- # `read:analytics` scope.
16
+ # `claude-tag`, only for members who have connected a Claude account. To see all
17
+ # cost by product, call `GET /v1/organizations/analytics/cost_report` with
18
+ # `group_by[]=product`. Available to organizations on a Claude Enterprise plan.
19
+ # Requires an API key with the `read:analytics` scope.
19
20
  #
20
21
  # This endpoint is one of the legacy Claude Enterprise usage and cost reports. For
21
22
  # new integrations, use
@@ -14,8 +14,9 @@ module Anthropic
14
14
  # usage with no user account, such as Code Review usage and Claude Tag usage in
15
15
  # Slack channels, is left out. Claude Tag one-to-one direct messages are included,
16
16
  # with product `claude-tag`, only for members who have connected a Claude account.
17
- # Available to organizations on a Claude Enterprise plan. Requires an API key with
18
- # the `read:analytics` scope.
17
+ # To see all usage by product, call `GET /v1/organizations/analytics/usage_report`
18
+ # with `group_by[]=product`. Available to organizations on a Claude Enterprise
19
+ # plan. Requires an API key with the `read:analytics` scope.
19
20
  #
20
21
  # This endpoint is one of the legacy Claude Enterprise usage and cost reports. For
21
22
  # new integrations, use
@@ -0,0 +1,112 @@
1
+ # typed: strong
2
+
3
+ module Anthropic
4
+ module Resources
5
+ class Beta
6
+ class Organization
7
+ class ClaudeCode
8
+ class ManagedSettings
9
+ class Configuration
10
+ # Retrieve the organization's Claude Code managed settings mode and RBAC Group
11
+ # order.
12
+ #
13
+ # **Accepted credentials:** an organization-level Admin API key with the
14
+ # `read:claude_code_managed_settings` scope.
15
+ #
16
+ # Every request must include the beta header
17
+ # `anthropic-beta: ce-claude-code-managed-settings-2026-10-06`. A request without
18
+ # it, or from an organization not enabled for this beta, returns `404`. The Claude
19
+ # Code Managed Settings API is in beta and is available to Claude Enterprise
20
+ # organizations only.
21
+ sig do
22
+ params(
23
+ betas:
24
+ T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
25
+ request_options: Anthropic::RequestOptions::OrHash
26
+ ).returns(
27
+ Anthropic::Beta::Organization::ClaudeCode::ManagedSettings::BetaClaudeCodeManagedSettingsConfiguration
28
+ )
29
+ end
30
+ def retrieve(
31
+ # This endpoint is in beta: requests must send
32
+ # `ce-claude-code-managed-settings-2026-10-06` in this header.
33
+ betas: nil,
34
+ request_options: {}
35
+ )
36
+ end
37
+
38
+ # Change the organization's Claude Code managed settings mode, the RBAC Group
39
+ # order, or both, in one atomic write.
40
+ #
41
+ # To change the order, send `rbac_group_order` with the `rbac_group_order_version`
42
+ # from the read the change is based on. If the order has changed since that read,
43
+ # the request returns `409`: read it again and retry. To switch modes only if the
44
+ # order has not changed, send the current `rbac_group_order` and
45
+ # `rbac_group_order_version` with the new `mode`.
46
+ #
47
+ # A switch to `rbac_groups` mode with no RBAC Group settings and no default
48
+ # settings copies the organization settings into a new default, in the same write,
49
+ # so members keep the settings they had. The copy does not follow later changes to
50
+ # the organization settings. If the organization settings cannot be copied, the
51
+ # request returns `400` and changes nothing. If they cannot be read, are over 1
52
+ # MiB or are not valid, setting the default settings first avoids the copy.
53
+ #
54
+ # After a switch to `rbac_groups` mode, a member in no listed RBAC Group receives
55
+ # the default settings, or no settings if no default is set, not the organization
56
+ # settings.
57
+ #
58
+ # **Accepted credentials:** an organization-level Admin API key with the
59
+ # `write:claude_code_managed_settings` scope.
60
+ #
61
+ # Every request must include the beta header
62
+ # `anthropic-beta: ce-claude-code-managed-settings-2026-10-06`. A request without
63
+ # it, or from an organization not enabled for this beta, returns `404`. The Claude
64
+ # Code Managed Settings API is in beta and is available to Claude Enterprise
65
+ # organizations only.
66
+ #
67
+ # A write that returns `503` may have applied. Retrying it is safe.
68
+ sig do
69
+ params(
70
+ mode:
71
+ T.any(
72
+ Anthropic::Beta::Organization::ClaudeCode::ManagedSettings::BetaClaudeCodeManagedSettingsOrganizationModeParam::OrHash,
73
+ Anthropic::Beta::Organization::ClaudeCode::ManagedSettings::BetaClaudeCodeManagedSettingsRBACGroupsModeParam::OrHash
74
+ ),
75
+ rbac_group_order: T::Array[String],
76
+ rbac_group_order_version: String,
77
+ betas:
78
+ T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
79
+ request_options: Anthropic::RequestOptions::OrHash
80
+ ).returns(
81
+ Anthropic::Beta::Organization::ClaudeCode::ManagedSettings::BetaClaudeCodeManagedSettingsConfiguration
82
+ )
83
+ end
84
+ def update(
85
+ # Body param: The new mode, as an object such as `{"type": "rbac_groups"}`.
86
+ mode: nil,
87
+ # Body param: Every RBAC Group that has settings, each listed once, in the new
88
+ # order, highest precedence first. Requires `rbac_group_order_version`.
89
+ rbac_group_order: nil,
90
+ # Body param: The `rbac_group_order_version` from the read this change is based
91
+ # on. Requires `rbac_group_order`.
92
+ rbac_group_order_version: nil,
93
+ # Header param: This endpoint is in beta: requests must send
94
+ # `ce-claude-code-managed-settings-2026-10-06` in this header.
95
+ betas: nil,
96
+ request_options: {}
97
+ )
98
+ end
99
+
100
+ # @api private
101
+ sig do
102
+ params(client: Anthropic::Client).returns(T.attached_class)
103
+ end
104
+ def self.new(client:)
105
+ end
106
+ end
107
+ end
108
+ end
109
+ end
110
+ end
111
+ end
112
+ end
@@ -0,0 +1,86 @@
1
+ # typed: strong
2
+
3
+ module Anthropic
4
+ module Resources
5
+ class Beta
6
+ class Organization
7
+ class ClaudeCode
8
+ class ManagedSettings
9
+ class RBACGroupDefault
10
+ # Retrieve the default Claude Code managed settings, which members who belong to
11
+ # no RBAC Group in `rbac_group_order` receive in `rbac_groups` mode.
12
+ #
13
+ # **Accepted credentials:** an organization-level Admin API key with the
14
+ # `read:claude_code_managed_settings` scope.
15
+ #
16
+ # Every request must include the beta header
17
+ # `anthropic-beta: ce-claude-code-managed-settings-2026-10-06`. A request without
18
+ # it, or from an organization not enabled for this beta, returns `404`. The Claude
19
+ # Code Managed Settings API is in beta and is available to Claude Enterprise
20
+ # organizations only.
21
+ sig do
22
+ params(
23
+ betas:
24
+ T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
25
+ request_options: Anthropic::RequestOptions::OrHash
26
+ ).returns(
27
+ Anthropic::Beta::Organization::ClaudeCode::ManagedSettings::BetaClaudeCodeRBACGroupDefaultManagedSettings
28
+ )
29
+ end
30
+ def retrieve(
31
+ # This endpoint is in beta: requests must send
32
+ # `ce-claude-code-managed-settings-2026-10-06` in this header.
33
+ betas: nil,
34
+ request_options: {}
35
+ )
36
+ end
37
+
38
+ # Set or replace the default Claude Code managed settings, or clear them with
39
+ # `null`.
40
+ #
41
+ # **Accepted credentials:** an organization-level Admin API key with the
42
+ # `write:claude_code_managed_settings` scope.
43
+ #
44
+ # Every request must include the beta header
45
+ # `anthropic-beta: ce-claude-code-managed-settings-2026-10-06`. A request without
46
+ # it, or from an organization not enabled for this beta, returns `404`. The Claude
47
+ # Code Managed Settings API is in beta and is available to Claude Enterprise
48
+ # organizations only.
49
+ #
50
+ # A write that returns `503` may have applied. Retrying it is safe.
51
+ sig do
52
+ params(
53
+ settings: T.nilable(T::Hash[Symbol, T.anything]),
54
+ betas:
55
+ T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
56
+ request_options: Anthropic::RequestOptions::OrHash
57
+ ).returns(
58
+ Anthropic::Beta::Organization::ClaudeCode::ManagedSettings::BetaClaudeCodeRBACGroupDefaultManagedSettings
59
+ )
60
+ end
61
+ def update(
62
+ # Body param: The whole settings document, a JSON object of Claude Code managed
63
+ # settings. It replaces any stored document, or `null` clears the default
64
+ # settings. At most 1 MiB as the server stores it, which can be larger than the
65
+ # request body.
66
+ settings:,
67
+ # Header param: This endpoint is in beta: requests must send
68
+ # `ce-claude-code-managed-settings-2026-10-06` in this header.
69
+ betas: nil,
70
+ request_options: {}
71
+ )
72
+ end
73
+
74
+ # @api private
75
+ sig do
76
+ params(client: Anthropic::Client).returns(T.attached_class)
77
+ end
78
+ def self.new(client:)
79
+ end
80
+ end
81
+ end
82
+ end
83
+ end
84
+ end
85
+ end
86
+ end
@@ -0,0 +1,180 @@
1
+ # typed: strong
2
+
3
+ module Anthropic
4
+ module Resources
5
+ class Beta
6
+ class Organization
7
+ class ClaudeCode
8
+ class ManagedSettings
9
+ class RBACGroups
10
+ # Retrieve an RBAC Group's Claude Code managed settings.
11
+ #
12
+ # **Accepted credentials:** an organization-level Admin API key with the
13
+ # `read:claude_code_managed_settings` scope.
14
+ #
15
+ # Every request must include the beta header
16
+ # `anthropic-beta: ce-claude-code-managed-settings-2026-10-06`. A request without
17
+ # it, or from an organization not enabled for this beta, returns `404`. The Claude
18
+ # Code Managed Settings API is in beta and is available to Claude Enterprise
19
+ # organizations only.
20
+ sig do
21
+ params(
22
+ rbac_group_id: String,
23
+ betas:
24
+ T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
25
+ request_options: Anthropic::RequestOptions::OrHash
26
+ ).returns(
27
+ Anthropic::Beta::Organization::ClaudeCode::ManagedSettings::BetaClaudeCodeRBACGroupManagedSettings
28
+ )
29
+ end
30
+ def retrieve(
31
+ # The RBAC Group's ID, prefixed `rbac_group_`.
32
+ rbac_group_id,
33
+ # This endpoint is in beta: requests must send
34
+ # `ce-claude-code-managed-settings-2026-10-06` in this header.
35
+ betas: nil,
36
+ request_options: {}
37
+ )
38
+ end
39
+
40
+ # List the RBAC Groups that have Claude Code managed settings, highest precedence
41
+ # first.
42
+ #
43
+ # Each entry gives the group's status and timestamps, not its settings. The list
44
+ # includes deleted groups that still have settings, and leaves out the default
45
+ # settings. If the order changes between pages, the request returns `409`: list
46
+ # again from the first page.
47
+ #
48
+ # **Accepted credentials:** an organization-level Admin API key with the
49
+ # `read:claude_code_managed_settings` scope.
50
+ #
51
+ # Every request must include the beta header
52
+ # `anthropic-beta: ce-claude-code-managed-settings-2026-10-06`. A request without
53
+ # it, or from an organization not enabled for this beta, returns `404`. The Claude
54
+ # Code Managed Settings API is in beta and is available to Claude Enterprise
55
+ # organizations only.
56
+ sig do
57
+ params(
58
+ limit: Integer,
59
+ page: T.nilable(String),
60
+ betas:
61
+ T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
62
+ request_options: Anthropic::RequestOptions::OrHash
63
+ ).returns(
64
+ Anthropic::Internal::PageCursor[
65
+ Anthropic::Beta::Organization::ClaudeCode::ManagedSettings::BetaClaudeCodeRBACGroupManagedSettingsSummary
66
+ ]
67
+ )
68
+ end
69
+ def list(
70
+ # Query param: Number of items to return per page.
71
+ #
72
+ # Defaults to `20`. Ranges from `1` to `100`.
73
+ limit: nil,
74
+ # Query param: Optionally set to the `next_page` token from the previous response.
75
+ page: nil,
76
+ # Header param: This endpoint is in beta: requests must send
77
+ # `ce-claude-code-managed-settings-2026-10-06` in this header.
78
+ betas: nil,
79
+ request_options: {}
80
+ )
81
+ end
82
+
83
+ # Delete an RBAC Group's Claude Code managed settings and remove the group from
84
+ # `rbac_group_order`.
85
+ #
86
+ # A group with no settings returns `404` with the error code
87
+ # `rbac_group_managed_settings_not_found`. That code on a retry of a delete that
88
+ # returned `503` means the settings are gone.
89
+ #
90
+ # **Accepted credentials:** an organization-level Admin API key with the
91
+ # `write:claude_code_managed_settings` scope.
92
+ #
93
+ # Every request must include the beta header
94
+ # `anthropic-beta: ce-claude-code-managed-settings-2026-10-06`. A request without
95
+ # it, or from an organization not enabled for this beta, returns `404`. The Claude
96
+ # Code Managed Settings API is in beta and is available to Claude Enterprise
97
+ # organizations only.
98
+ #
99
+ # A write that returns `503` may have applied. Retrying it is safe.
100
+ sig do
101
+ params(
102
+ rbac_group_id: String,
103
+ betas:
104
+ T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
105
+ request_options: Anthropic::RequestOptions::OrHash
106
+ ).returns(
107
+ Anthropic::Beta::Organization::ClaudeCode::ManagedSettings::BetaDeletedClaudeCodeRBACGroupManagedSettings
108
+ )
109
+ end
110
+ def delete(
111
+ # The RBAC Group's ID, prefixed `rbac_group_`.
112
+ rbac_group_id,
113
+ # This endpoint is in beta: requests must send
114
+ # `ce-claude-code-managed-settings-2026-10-06` in this header.
115
+ betas: nil,
116
+ request_options: {}
117
+ )
118
+ end
119
+
120
+ # Create or replace an RBAC Group's Claude Code managed settings.
121
+ #
122
+ # New settings join the end of `rbac_group_order`, and existing settings keep
123
+ # their place. Until the group is moved up, its members who also belong to an
124
+ # earlier group keep that group's settings. In `organization` mode a write changes
125
+ # no member's settings until the organization switches to `rbac_groups` mode. Once
126
+ # a group has settings, that switch no longer copies the organization settings
127
+ # into default settings, so members in no RBAC Group in `rbac_group_order` receive
128
+ # no settings unless you set the default settings before the switch.
129
+ #
130
+ # Get the group's ID from the RBAC Groups API. One key can hold `read:rbac_groups`
131
+ # and `write:claude_code_managed_settings`.
132
+ #
133
+ # **Accepted credentials:** an organization-level Admin API key with the
134
+ # `write:claude_code_managed_settings` scope.
135
+ #
136
+ # Every request must include the beta header
137
+ # `anthropic-beta: ce-claude-code-managed-settings-2026-10-06`. A request without
138
+ # it, or from an organization not enabled for this beta, returns `404`. The Claude
139
+ # Code Managed Settings API is in beta and is available to Claude Enterprise
140
+ # organizations only.
141
+ #
142
+ # A write that returns `503` may have applied. Retrying it is safe.
143
+ sig do
144
+ params(
145
+ rbac_group_id: String,
146
+ settings: T::Hash[Symbol, T.anything],
147
+ betas:
148
+ T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
149
+ request_options: Anthropic::RequestOptions::OrHash
150
+ ).returns(
151
+ Anthropic::Beta::Organization::ClaudeCode::ManagedSettings::BetaClaudeCodeRBACGroupManagedSettings
152
+ )
153
+ end
154
+ def set(
155
+ # Path param: The RBAC Group's ID, prefixed `rbac_group_`.
156
+ rbac_group_id,
157
+ # Body param: The whole settings document, a JSON object of Claude Code managed
158
+ # settings. It replaces any stored document. At most 1 MiB as the server stores
159
+ # it, which can be larger than the request body.
160
+ settings:,
161
+ # Header param: This endpoint is in beta: requests must send
162
+ # `ce-claude-code-managed-settings-2026-10-06` in this header.
163
+ betas: nil,
164
+ request_options: {}
165
+ )
166
+ end
167
+
168
+ # @api private
169
+ sig do
170
+ params(client: Anthropic::Client).returns(T.attached_class)
171
+ end
172
+ def self.new(client:)
173
+ end
174
+ end
175
+ end
176
+ end
177
+ end
178
+ end
179
+ end
180
+ end
@@ -0,0 +1,39 @@
1
+ # typed: strong
2
+
3
+ module Anthropic
4
+ module Resources
5
+ class Beta
6
+ class Organization
7
+ class ClaudeCode
8
+ class ManagedSettings
9
+ sig do
10
+ returns(
11
+ Anthropic::Resources::Beta::Organization::ClaudeCode::ManagedSettings::Configuration
12
+ )
13
+ end
14
+ attr_reader :configuration
15
+
16
+ sig do
17
+ returns(
18
+ Anthropic::Resources::Beta::Organization::ClaudeCode::ManagedSettings::RBACGroups
19
+ )
20
+ end
21
+ attr_reader :rbac_groups
22
+
23
+ sig do
24
+ returns(
25
+ Anthropic::Resources::Beta::Organization::ClaudeCode::ManagedSettings::RBACGroupDefault
26
+ )
27
+ end
28
+ attr_reader :rbac_group_default
29
+
30
+ # @api private
31
+ sig { params(client: Anthropic::Client).returns(T.attached_class) }
32
+ def self.new(client:)
33
+ end
34
+ end
35
+ end
36
+ end
37
+ end
38
+ end
39
+ end
@@ -0,0 +1,23 @@
1
+ # typed: strong
2
+
3
+ module Anthropic
4
+ module Resources
5
+ class Beta
6
+ class Organization
7
+ class ClaudeCode
8
+ sig do
9
+ returns(
10
+ Anthropic::Resources::Beta::Organization::ClaudeCode::ManagedSettings
11
+ )
12
+ end
13
+ attr_reader :managed_settings
14
+
15
+ # @api private
16
+ sig { params(client: Anthropic::Client).returns(T.attached_class) }
17
+ def self.new(client:)
18
+ end
19
+ end
20
+ end
21
+ end
22
+ end
23
+ end
@@ -57,8 +57,8 @@ module Anthropic
57
57
  # Partially update an external key config. Omitted fields are left unchanged.
58
58
  #
59
59
  # `display_name` is always editable. `geo` and `provider_config` cannot be changed
60
- # once any workspace references this config, because previously encrypted data
61
- # requires the original key identity to decrypt.
60
+ # once any workspace references this config, and a Google Cloud key's provider and
61
+ # `key_name` cannot be changed at all.
62
62
  sig do
63
63
  params(
64
64
  external_key_id: String,
@@ -65,6 +65,9 @@ module Anthropic
65
65
  sig { returns(Anthropic::Resources::Beta::Organization::Webhooks) }
66
66
  attr_reader :webhooks
67
67
 
68
+ sig { returns(Anthropic::Resources::Beta::Organization::ClaudeCode) }
69
+ attr_reader :claude_code
70
+
68
71
  sig { returns(Anthropic::Resources::Beta::Organization::ClaudeTag) }
69
72
  attr_reader :claude_tag
70
73
 
@@ -56,8 +56,8 @@ module Anthropic
56
56
  # Partially update an external key config. Omitted fields are left unchanged.
57
57
  #
58
58
  # `display_name` is always editable. `geo` and `provider_config` cannot be changed
59
- # once any workspace references this config, because previously encrypted data
60
- # requires the original key identity to decrypt.
59
+ # once any workspace references this config, and a Google Cloud key's provider and
60
+ # `key_name` cannot be changed at all.
61
61
  sig do
62
62
  params(
63
63
  external_key_id: String,
@@ -306,6 +306,14 @@ module Anthropic
306
306
  ORGANIZATION_WEBHOOKS_LIST: "anthropic.organization.webhooks.list"
307
307
  ORGANIZATION_WEBHOOKS_DELETE: "anthropic.organization.webhooks.delete"
308
308
  ORGANIZATION_WEBHOOKS_REGENERATE_SIGNING_SECRET: "anthropic.organization.webhooks.regenerate_signing_secret"
309
+ ORGANIZATION_CLAUDE_CODE_MANAGED_SETTINGS_CONFIGURATION_RETRIEVE: "anthropic.organization.claude_code.managed_settings.configuration.retrieve"
310
+ ORGANIZATION_CLAUDE_CODE_MANAGED_SETTINGS_CONFIGURATION_UPDATE: "anthropic.organization.claude_code.managed_settings.configuration.update"
311
+ ORGANIZATION_CLAUDE_CODE_MANAGED_SETTINGS_RBAC_GROUPS_RETRIEVE: "anthropic.organization.claude_code.managed_settings.rbac_groups.retrieve"
312
+ ORGANIZATION_CLAUDE_CODE_MANAGED_SETTINGS_RBAC_GROUPS_LIST: "anthropic.organization.claude_code.managed_settings.rbac_groups.list"
313
+ ORGANIZATION_CLAUDE_CODE_MANAGED_SETTINGS_RBAC_GROUPS_DELETE: "anthropic.organization.claude_code.managed_settings.rbac_groups.delete"
314
+ ORGANIZATION_CLAUDE_CODE_MANAGED_SETTINGS_RBAC_GROUPS_SET: "anthropic.organization.claude_code.managed_settings.rbac_groups.set"
315
+ ORGANIZATION_CLAUDE_CODE_MANAGED_SETTINGS_RBAC_GROUP_DEFAULT_RETRIEVE: "anthropic.organization.claude_code.managed_settings.rbac_group_default.retrieve"
316
+ ORGANIZATION_CLAUDE_CODE_MANAGED_SETTINGS_RBAC_GROUP_DEFAULT_UPDATE: "anthropic.organization.claude_code.managed_settings.rbac_group_default.update"
309
317
  ORGANIZATION_CLAUDE_TAG_SLACK_CHANNELS_CREATE: "anthropic.organization.claude_tag.slack_channels.create"
310
318
  ORGANIZATION_CLAUDE_TAG_SLACK_CHANNELS_RETRIEVE: "anthropic.organization.claude_tag.slack_channels.retrieve"
311
319
  ORGANIZATION_CLAUDE_TAG_SLACK_CHANNELS_UPDATE: "anthropic.organization.claude_tag.slack_channels.update"
@@ -153,7 +153,8 @@ module Anthropic
153
153
  def self?.decode_content: (
154
154
  ::Hash[String, String] headers,
155
155
  stream: Enumerable[String],
156
- ?suppress_error: bool
156
+ ?suppress_error: bool,
157
+ ?binary: bool
157
158
  ) -> top
158
159
 
159
160
  def self?.fused_enum: (