anthropic 1.71.0 → 1.72.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 (630) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +21 -0
  3. data/README.md +1 -1
  4. data/lib/anthropic/helpers/bedrock/event_stream.rb +14 -4
  5. data/lib/anthropic/models/beta/agent_create_params.rb +1 -1
  6. data/lib/anthropic/models/beta/agent_update_params.rb +1 -1
  7. data/lib/anthropic/models/beta/beta_browser_state_change.rb +1 -1
  8. data/lib/anthropic/models/beta/beta_citations_delta.rb +1 -1
  9. data/lib/anthropic/models/beta/beta_clear_tool_uses_20250919_edit.rb +1 -1
  10. data/lib/anthropic/models/beta/beta_cloud_config.rb +1 -1
  11. data/lib/anthropic/models/beta/beta_cloud_config_params.rb +1 -1
  12. data/lib/anthropic/models/beta/beta_content_block.rb +1 -1
  13. data/lib/anthropic/models/beta/beta_content_block_param.rb +1 -1
  14. data/lib/anthropic/models/beta/beta_content_block_source_content.rb +1 -1
  15. data/lib/anthropic/models/beta/beta_context_management_config.rb +1 -1
  16. data/lib/anthropic/models/beta/beta_context_management_response.rb +1 -1
  17. data/lib/anthropic/models/beta/beta_diagnostics.rb +1 -1
  18. data/lib/anthropic/models/beta/beta_document_block.rb +1 -1
  19. data/lib/anthropic/models/beta/beta_dream_input.rb +1 -1
  20. data/lib/anthropic/models/beta/beta_dream_status.rb +15 -0
  21. data/lib/anthropic/models/beta/beta_dreaming_error.rb +1 -1
  22. data/lib/anthropic/models/beta/beta_environment.rb +1 -1
  23. data/lib/anthropic/models/beta/beta_fallback_credit_usage.rb +1 -1
  24. data/lib/anthropic/models/beta/beta_fallback_param.rb +1 -1
  25. data/lib/anthropic/models/beta/beta_image_block_param.rb +1 -1
  26. data/lib/anthropic/models/beta/beta_input_transformation.rb +1 -1
  27. data/lib/anthropic/models/beta/beta_iterations_usage.rb +1 -1
  28. data/lib/anthropic/models/beta/beta_managed_agents_agent.rb +2 -2
  29. data/lib/anthropic/models/beta/beta_managed_agents_agent_tool_config.rb +1 -1
  30. data/lib/anthropic/models/beta/beta_managed_agents_agent_tool_config_params.rb +1 -1
  31. data/lib/anthropic/models/beta/beta_managed_agents_agent_toolset_default_config.rb +1 -1
  32. data/lib/anthropic/models/beta/beta_managed_agents_agent_toolset_default_config_params.rb +1 -1
  33. data/lib/anthropic/models/beta/beta_managed_agents_agent_with_overrides_params.rb +1 -1
  34. data/lib/anthropic/models/beta/beta_managed_agents_bash_tool_config.rb +1 -1
  35. data/lib/anthropic/models/beta/beta_managed_agents_bash_tool_config_params.rb +1 -1
  36. data/lib/anthropic/models/beta/beta_managed_agents_deployment_initial_event.rb +1 -1
  37. data/lib/anthropic/models/beta/beta_managed_agents_deployment_initial_event_params.rb +1 -1
  38. data/lib/anthropic/models/beta/beta_managed_agents_deployment_paused_reason.rb +1 -1
  39. data/lib/anthropic/models/beta/beta_managed_agents_deployment_paused_reason_error.rb +1 -1
  40. data/lib/anthropic/models/beta/beta_managed_agents_deployment_run.rb +1 -1
  41. data/lib/anthropic/models/beta/beta_managed_agents_deployment_status.rb +3 -0
  42. data/lib/anthropic/models/beta/beta_managed_agents_deployment_user_define_outcome_event.rb +1 -1
  43. data/lib/anthropic/models/beta/beta_managed_agents_deployment_user_message_event.rb +1 -1
  44. data/lib/anthropic/models/beta/beta_managed_agents_edit_tool_config.rb +1 -1
  45. data/lib/anthropic/models/beta/beta_managed_agents_edit_tool_config_params.rb +1 -1
  46. data/lib/anthropic/models/beta/beta_managed_agents_github_repository_resource_config.rb +1 -1
  47. data/lib/anthropic/models/beta/beta_managed_agents_github_repository_resource_params.rb +1 -1
  48. data/lib/anthropic/models/beta/beta_managed_agents_glob_tool_config.rb +1 -1
  49. data/lib/anthropic/models/beta/beta_managed_agents_glob_tool_config_params.rb +1 -1
  50. data/lib/anthropic/models/beta/beta_managed_agents_grep_tool_config.rb +1 -1
  51. data/lib/anthropic/models/beta/beta_managed_agents_grep_tool_config_params.rb +1 -1
  52. data/lib/anthropic/models/beta/beta_managed_agents_mcp_tool_config.rb +1 -1
  53. data/lib/anthropic/models/beta/beta_managed_agents_mcp_tool_config_params.rb +1 -1
  54. data/lib/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config.rb +1 -1
  55. data/lib/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config_params.rb +1 -1
  56. data/lib/anthropic/models/beta/beta_managed_agents_model_config.rb +1 -1
  57. data/lib/anthropic/models/beta/beta_managed_agents_model_config_params.rb +9 -0
  58. data/lib/anthropic/models/beta/beta_managed_agents_multiagent.rb +1 -1
  59. data/lib/anthropic/models/beta/beta_managed_agents_multiagent_coordinator.rb +1 -1
  60. data/lib/anthropic/models/beta/beta_managed_agents_read_tool_config.rb +1 -1
  61. data/lib/anthropic/models/beta/beta_managed_agents_read_tool_config_params.rb +1 -1
  62. data/lib/anthropic/models/beta/beta_managed_agents_session.rb +7 -0
  63. data/lib/anthropic/models/beta/beta_managed_agents_session_agent.rb +2 -2
  64. data/lib/anthropic/models/beta/beta_managed_agents_session_agent_update.rb +1 -1
  65. data/lib/anthropic/models/beta/beta_managed_agents_session_multiagent_coordinator.rb +1 -1
  66. data/lib/anthropic/models/beta/beta_managed_agents_session_resource_config.rb +1 -1
  67. data/lib/anthropic/models/beta/beta_managed_agents_session_thread_agent.rb +2 -2
  68. data/lib/anthropic/models/beta/beta_managed_agents_skill_params.rb +1 -1
  69. data/lib/anthropic/models/beta/beta_managed_agents_start_event_preview.rb +1 -1
  70. data/lib/anthropic/models/beta/beta_managed_agents_trigger_context.rb +1 -1
  71. data/lib/anthropic/models/beta/beta_managed_agents_trigger_type.rb +3 -0
  72. data/lib/anthropic/models/beta/beta_managed_agents_user_tool_result_event.rb +1 -1
  73. data/lib/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config.rb +1 -1
  74. data/lib/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config_params.rb +1 -1
  75. data/lib/anthropic/models/beta/beta_managed_agents_web_search_tool_config.rb +1 -1
  76. data/lib/anthropic/models/beta/beta_managed_agents_web_search_tool_config_params.rb +1 -1
  77. data/lib/anthropic/models/beta/beta_managed_agents_write_tool_config.rb +1 -1
  78. data/lib/anthropic/models/beta/beta_managed_agents_write_tool_config_params.rb +1 -1
  79. data/lib/anthropic/models/beta/beta_memory_tool_20250818_command.rb +1 -1
  80. data/lib/anthropic/models/beta/beta_output_behavior.rb +1 -1
  81. data/lib/anthropic/models/beta/beta_raw_content_block_delta.rb +1 -1
  82. data/lib/anthropic/models/beta/beta_raw_content_block_start_event.rb +1 -1
  83. data/lib/anthropic/models/beta/beta_raw_message_stream_event.rb +1 -1
  84. data/lib/anthropic/models/beta/beta_request_document_block.rb +1 -1
  85. data/lib/anthropic/models/beta/beta_request_tool_addition_block.rb +2 -2
  86. data/lib/anthropic/models/beta/beta_request_tool_removal_block.rb +2 -2
  87. data/lib/anthropic/models/beta/beta_server_tool_use_block.rb +1 -1
  88. data/lib/anthropic/models/beta/beta_server_tool_use_block_param.rb +1 -1
  89. data/lib/anthropic/models/beta/beta_text_citation.rb +1 -1
  90. data/lib/anthropic/models/beta/beta_text_citation_param.rb +1 -1
  91. data/lib/anthropic/models/beta/beta_thinking_config_param.rb +1 -1
  92. data/lib/anthropic/models/beta/beta_tool_change_mcp_tool_reference.rb +1 -1
  93. data/lib/anthropic/models/beta/beta_tool_choice.rb +1 -1
  94. data/lib/anthropic/models/beta/beta_tool_result_block_param.rb +1 -1
  95. data/lib/anthropic/models/beta/beta_tool_use_block.rb +1 -1
  96. data/lib/anthropic/models/beta/beta_tool_use_block_param.rb +1 -1
  97. data/lib/anthropic/models/beta/beta_web_fetch_tool_result_block.rb +1 -1
  98. data/lib/anthropic/models/beta/beta_web_fetch_tool_result_block_param.rb +1 -1
  99. data/lib/anthropic/models/beta/beta_web_fetch_url_sources.rb +3 -3
  100. data/lib/anthropic/models/beta/beta_web_search_tool_result_block.rb +1 -1
  101. data/lib/anthropic/models/beta/beta_web_search_tool_result_block_param.rb +1 -1
  102. data/lib/anthropic/models/beta/beta_webhook_event_data.rb +1 -1
  103. data/lib/anthropic/models/beta/deployment_create_params.rb +1 -1
  104. data/lib/anthropic/models/beta/deployment_update_params.rb +1 -1
  105. data/lib/anthropic/models/beta/environment_create_params.rb +1 -1
  106. data/lib/anthropic/models/beta/environment_update_params.rb +1 -1
  107. data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_actor.rb +1 -1
  108. data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_error.rb +1 -1
  109. data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_list_item.rb +1 -1
  110. data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_version_operation.rb +5 -0
  111. data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_view.rb +3 -0
  112. data/lib/anthropic/models/beta/messages/beta_message_batch_result.rb +1 -1
  113. data/lib/anthropic/models/beta/organization/beta_api_key.rb +2 -2
  114. data/lib/anthropic/models/beta/organization/beta_compliance_settings_state.rb +1 -1
  115. data/lib/anthropic/models/beta/organization/beta_compliance_settings_state_param.rb +1 -1
  116. data/lib/anthropic/models/beta/organization/beta_external_key.rb +2 -2
  117. data/lib/anthropic/models/beta/organization/beta_organization_rate_limit.rb +103 -10
  118. data/lib/anthropic/models/beta/organization/beta_organization_rate_limit_batch_group.rb +34 -0
  119. data/lib/anthropic/models/beta/organization/beta_organization_rate_limit_files_group.rb +34 -0
  120. data/lib/anthropic/models/beta/organization/beta_organization_rate_limit_model_group.rb +43 -0
  121. data/lib/anthropic/models/beta/organization/beta_organization_rate_limit_skills_group.rb +34 -0
  122. data/lib/anthropic/models/beta/organization/beta_organization_rate_limit_token_count_group.rb +34 -0
  123. data/lib/anthropic/models/beta/organization/beta_organization_rate_limit_web_search_group.rb +34 -0
  124. data/lib/anthropic/models/beta/organization/external_key_create_params.rb +1 -1
  125. data/lib/anthropic/models/beta/organization/external_key_update_params.rb +1 -1
  126. data/lib/anthropic/models/beta/organization/federation/beta_federation_issuer.rb +1 -1
  127. data/lib/anthropic/models/beta/organization/federation/issuer_create_params.rb +1 -1
  128. data/lib/anthropic/models/beta/organization/federation/issuer_update_params.rb +1 -1
  129. data/lib/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit.rb +102 -10
  130. data/lib/anthropic/models/beta/session_create_params.rb +2 -2
  131. data/lib/anthropic/models/beta/session_list_params.rb +7 -0
  132. data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_auto_evaluated_permission.rb +1 -1
  133. data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_mcp_tool_result_event.rb +1 -1
  134. data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_message_event.rb +1 -1
  135. data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_message_received_event.rb +1 -1
  136. data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_message_sent_event.rb +1 -1
  137. data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_evaluation.rb +1 -1
  138. data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_result_event.rb +1 -1
  139. data/lib/anthropic/models/beta/sessions/beta_managed_agents_billing_error.rb +1 -1
  140. data/lib/anthropic/models/beta/sessions/beta_managed_agents_credential_host_unreachable_error.rb +1 -1
  141. data/lib/anthropic/models/beta/sessions/beta_managed_agents_document_block.rb +1 -1
  142. data/lib/anthropic/models/beta/sessions/beta_managed_agents_event_params.rb +1 -1
  143. data/lib/anthropic/models/beta/sessions/beta_managed_agents_github_repository_resource.rb +1 -1
  144. data/lib/anthropic/models/beta/sessions/beta_managed_agents_image_block.rb +1 -1
  145. data/lib/anthropic/models/beta/sessions/beta_managed_agents_mcp_authentication_failed_error.rb +1 -1
  146. data/lib/anthropic/models/beta/sessions/beta_managed_agents_mcp_connection_failed_error.rb +1 -1
  147. data/lib/anthropic/models/beta/sessions/beta_managed_agents_model_overloaded_error.rb +1 -1
  148. data/lib/anthropic/models/beta/sessions/beta_managed_agents_model_rate_limited_error.rb +1 -1
  149. data/lib/anthropic/models/beta/sessions/beta_managed_agents_model_request_failed_error.rb +1 -1
  150. data/lib/anthropic/models/beta/sessions/beta_managed_agents_send_session_events.rb +1 -1
  151. data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_error_event.rb +1 -1
  152. data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_event.rb +1 -1
  153. data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_resource.rb +1 -1
  154. data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_status_idle_event.rb +1 -1
  155. data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_thread.rb +1 -1
  156. data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_idle_event.rb +1 -1
  157. data/lib/anthropic/models/beta/sessions/beta_managed_agents_stream_session_events.rb +1 -1
  158. data/lib/anthropic/models/beta/sessions/beta_managed_agents_stream_session_thread_events.rb +1 -1
  159. data/lib/anthropic/models/beta/sessions/beta_managed_agents_unknown_error.rb +1 -1
  160. data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_custom_tool_result_event.rb +1 -1
  161. data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_custom_tool_result_event_params.rb +1 -1
  162. data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_define_outcome_event.rb +1 -1
  163. data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_define_outcome_event_params.rb +1 -1
  164. data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_message_event.rb +1 -1
  165. data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_message_event_params.rb +1 -1
  166. data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_tool_result_event_params.rb +1 -1
  167. data/lib/anthropic/models/beta/sessions/resource_retrieve_response.rb +1 -1
  168. data/lib/anthropic/models/beta/sessions/resource_update_response.rb +1 -1
  169. data/lib/anthropic/models/beta/vaults/beta_managed_agents_credential.rb +1 -1
  170. data/lib/anthropic/models/beta/vaults/beta_managed_agents_credential_networking_params.rb +1 -1
  171. data/lib/anthropic/models/beta/vaults/beta_managed_agents_credential_validation_status.rb +5 -0
  172. data/lib/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_auth_response.rb +1 -1
  173. data/lib/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_params.rb +1 -1
  174. data/lib/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_response.rb +1 -1
  175. data/lib/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_update_params.rb +1 -1
  176. data/lib/anthropic/models/beta/vaults/beta_managed_agents_refresh_object.rb +7 -0
  177. data/lib/anthropic/models/beta/vaults/credential_create_params.rb +1 -1
  178. data/lib/anthropic/models/beta/vaults/credential_update_params.rb +1 -1
  179. data/lib/anthropic/models/beta_error.rb +1 -1
  180. data/lib/anthropic/models/browser_state_change.rb +1 -1
  181. data/lib/anthropic/models/citations_delta.rb +1 -1
  182. data/lib/anthropic/models/content_block.rb +1 -1
  183. data/lib/anthropic/models/content_block_param.rb +1 -1
  184. data/lib/anthropic/models/content_block_source_content.rb +1 -1
  185. data/lib/anthropic/models/document_block.rb +1 -1
  186. data/lib/anthropic/models/document_block_param.rb +1 -1
  187. data/lib/anthropic/models/error_object.rb +1 -1
  188. data/lib/anthropic/models/image_block_param.rb +1 -1
  189. data/lib/anthropic/models/messages/message_batch_result.rb +1 -1
  190. data/lib/anthropic/models/raw_content_block_delta.rb +1 -1
  191. data/lib/anthropic/models/raw_content_block_start_event.rb +1 -1
  192. data/lib/anthropic/models/raw_message_stream_event.rb +1 -1
  193. data/lib/anthropic/models/server_tool_use_block.rb +1 -1
  194. data/lib/anthropic/models/server_tool_use_block_param.rb +1 -1
  195. data/lib/anthropic/models/text_citation.rb +1 -1
  196. data/lib/anthropic/models/text_citation_param.rb +1 -1
  197. data/lib/anthropic/models/thinking_config_param.rb +1 -1
  198. data/lib/anthropic/models/tool_choice.rb +1 -1
  199. data/lib/anthropic/models/tool_result_block_param.rb +1 -1
  200. data/lib/anthropic/models/tool_use_block.rb +1 -1
  201. data/lib/anthropic/models/tool_use_block_param.rb +1 -1
  202. data/lib/anthropic/models/web_fetch_tool_result_block.rb +1 -1
  203. data/lib/anthropic/models/web_fetch_tool_result_block_param.rb +1 -1
  204. data/lib/anthropic/models/web_fetch_url_sources.rb +3 -3
  205. data/lib/anthropic/models/web_search_tool_result_block.rb +1 -1
  206. data/lib/anthropic/models/web_search_tool_result_block_param.rb +1 -1
  207. data/lib/anthropic/resources/beta/agents/versions.rb +1 -1
  208. data/lib/anthropic/resources/beta/agents.rb +3 -3
  209. data/lib/anthropic/resources/beta/deployment_runs.rb +1 -1
  210. data/lib/anthropic/resources/beta/deployments.rb +6 -6
  211. data/lib/anthropic/resources/beta/memory_stores.rb +4 -4
  212. data/lib/anthropic/resources/beta/tunnels/certificates.rb +6 -6
  213. data/lib/anthropic/resources/beta/tunnels.rb +4 -4
  214. data/lib/anthropic/resources/beta/vaults/credentials.rb +12 -12
  215. data/lib/anthropic/resources/beta/vaults.rb +4 -4
  216. data/lib/anthropic/version.rb +1 -1
  217. data/lib/anthropic.rb +6 -0
  218. data/rbi/anthropic/models/beta/agent_create_params.rbi +1 -1
  219. data/rbi/anthropic/models/beta/agent_update_params.rbi +1 -1
  220. data/rbi/anthropic/models/beta/beta_browser_state_change.rbi +1 -1
  221. data/rbi/anthropic/models/beta/beta_citations_delta.rbi +2 -1
  222. data/rbi/anthropic/models/beta/beta_clear_tool_uses_20250919_edit.rbi +5 -1
  223. data/rbi/anthropic/models/beta/beta_cloud_config.rbi +2 -1
  224. data/rbi/anthropic/models/beta/beta_cloud_config_params.rbi +2 -1
  225. data/rbi/anthropic/models/beta/beta_content_block.rbi +1 -1
  226. data/rbi/anthropic/models/beta/beta_content_block_param.rbi +1 -1
  227. data/rbi/anthropic/models/beta/beta_content_block_source_content.rbi +2 -1
  228. data/rbi/anthropic/models/beta/beta_context_management_config.rbi +2 -1
  229. data/rbi/anthropic/models/beta/beta_context_management_response.rbi +2 -1
  230. data/rbi/anthropic/models/beta/beta_diagnostics.rbi +2 -1
  231. data/rbi/anthropic/models/beta/beta_document_block.rbi +1 -1
  232. data/rbi/anthropic/models/beta/beta_dream_input.rbi +1 -1
  233. data/rbi/anthropic/models/beta/beta_dream_status.rbi +15 -0
  234. data/rbi/anthropic/models/beta/beta_dreaming_error.rbi +4 -3
  235. data/rbi/anthropic/models/beta/beta_environment.rbi +1 -1
  236. data/rbi/anthropic/models/beta/beta_fallback_credit_usage.rbi +2 -1
  237. data/rbi/anthropic/models/beta/beta_fallback_param.rbi +2 -1
  238. data/rbi/anthropic/models/beta/beta_image_block_param.rbi +2 -1
  239. data/rbi/anthropic/models/beta/beta_input_transformation.rbi +1 -1
  240. data/rbi/anthropic/models/beta/beta_iterations_usage.rbi +1 -1
  241. data/rbi/anthropic/models/beta/beta_managed_agents_agent.rbi +4 -2
  242. data/rbi/anthropic/models/beta/beta_managed_agents_agent_tool_config.rbi +2 -1
  243. data/rbi/anthropic/models/beta/beta_managed_agents_agent_tool_config_params.rbi +2 -1
  244. data/rbi/anthropic/models/beta/beta_managed_agents_agent_toolset_default_config.rbi +4 -1
  245. data/rbi/anthropic/models/beta/beta_managed_agents_agent_toolset_default_config_params.rbi +4 -1
  246. data/rbi/anthropic/models/beta/beta_managed_agents_agent_with_overrides_params.rbi +2 -1
  247. data/rbi/anthropic/models/beta/beta_managed_agents_bash_tool_config.rbi +4 -1
  248. data/rbi/anthropic/models/beta/beta_managed_agents_bash_tool_config_params.rbi +4 -1
  249. data/rbi/anthropic/models/beta/beta_managed_agents_deployment_initial_event.rbi +2 -1
  250. data/rbi/anthropic/models/beta/beta_managed_agents_deployment_initial_event_params.rbi +2 -1
  251. data/rbi/anthropic/models/beta/beta_managed_agents_deployment_paused_reason.rbi +2 -1
  252. data/rbi/anthropic/models/beta/beta_managed_agents_deployment_paused_reason_error.rbi +4 -1
  253. data/rbi/anthropic/models/beta/beta_managed_agents_deployment_run.rbi +5 -1
  254. data/rbi/anthropic/models/beta/beta_managed_agents_deployment_status.rbi +3 -0
  255. data/rbi/anthropic/models/beta/beta_managed_agents_deployment_user_define_outcome_event.rbi +2 -1
  256. data/rbi/anthropic/models/beta/beta_managed_agents_deployment_user_message_event.rbi +2 -1
  257. data/rbi/anthropic/models/beta/beta_managed_agents_edit_tool_config.rbi +4 -1
  258. data/rbi/anthropic/models/beta/beta_managed_agents_edit_tool_config_params.rbi +4 -1
  259. data/rbi/anthropic/models/beta/beta_managed_agents_github_repository_resource_config.rbi +2 -1
  260. data/rbi/anthropic/models/beta/beta_managed_agents_github_repository_resource_params.rbi +2 -1
  261. data/rbi/anthropic/models/beta/beta_managed_agents_glob_tool_config.rbi +4 -1
  262. data/rbi/anthropic/models/beta/beta_managed_agents_glob_tool_config_params.rbi +4 -1
  263. data/rbi/anthropic/models/beta/beta_managed_agents_grep_tool_config.rbi +4 -1
  264. data/rbi/anthropic/models/beta/beta_managed_agents_grep_tool_config_params.rbi +4 -1
  265. data/rbi/anthropic/models/beta/beta_managed_agents_mcp_tool_config.rbi +4 -1
  266. data/rbi/anthropic/models/beta/beta_managed_agents_mcp_tool_config_params.rbi +4 -1
  267. data/rbi/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config.rbi +4 -1
  268. data/rbi/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config_params.rbi +4 -1
  269. data/rbi/anthropic/models/beta/beta_managed_agents_model_config.rbi +4 -1
  270. data/rbi/anthropic/models/beta/beta_managed_agents_model_config_params.rbi +9 -0
  271. data/rbi/anthropic/models/beta/beta_managed_agents_multiagent.rbi +2 -1
  272. data/rbi/anthropic/models/beta/beta_managed_agents_multiagent_coordinator.rbi +2 -1
  273. data/rbi/anthropic/models/beta/beta_managed_agents_read_tool_config.rbi +4 -1
  274. data/rbi/anthropic/models/beta/beta_managed_agents_read_tool_config_params.rbi +4 -1
  275. data/rbi/anthropic/models/beta/beta_managed_agents_session.rbi +7 -0
  276. data/rbi/anthropic/models/beta/beta_managed_agents_session_agent.rbi +4 -2
  277. data/rbi/anthropic/models/beta/beta_managed_agents_session_agent_update.rbi +2 -1
  278. data/rbi/anthropic/models/beta/beta_managed_agents_session_multiagent_coordinator.rbi +2 -1
  279. data/rbi/anthropic/models/beta/beta_managed_agents_session_resource_config.rbi +2 -1
  280. data/rbi/anthropic/models/beta/beta_managed_agents_session_thread_agent.rbi +4 -2
  281. data/rbi/anthropic/models/beta/beta_managed_agents_skill_params.rbi +1 -1
  282. data/rbi/anthropic/models/beta/beta_managed_agents_start_event_preview.rbi +5 -1
  283. data/rbi/anthropic/models/beta/beta_managed_agents_trigger_context.rbi +5 -3
  284. data/rbi/anthropic/models/beta/beta_managed_agents_trigger_type.rbi +3 -0
  285. data/rbi/anthropic/models/beta/beta_managed_agents_user_tool_result_event.rbi +2 -1
  286. data/rbi/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config.rbi +4 -1
  287. data/rbi/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config_params.rbi +4 -1
  288. data/rbi/anthropic/models/beta/beta_managed_agents_web_search_tool_config.rbi +4 -1
  289. data/rbi/anthropic/models/beta/beta_managed_agents_web_search_tool_config_params.rbi +4 -1
  290. data/rbi/anthropic/models/beta/beta_managed_agents_write_tool_config.rbi +4 -1
  291. data/rbi/anthropic/models/beta/beta_managed_agents_write_tool_config_params.rbi +4 -1
  292. data/rbi/anthropic/models/beta/beta_memory_tool_20250818_command.rbi +2 -1
  293. data/rbi/anthropic/models/beta/beta_output_behavior.rbi +4 -3
  294. data/rbi/anthropic/models/beta/beta_raw_content_block_delta.rbi +1 -1
  295. data/rbi/anthropic/models/beta/beta_raw_content_block_start_event.rbi +2 -1
  296. data/rbi/anthropic/models/beta/beta_raw_message_stream_event.rbi +1 -1
  297. data/rbi/anthropic/models/beta/beta_request_document_block.rbi +2 -1
  298. data/rbi/anthropic/models/beta/beta_request_tool_addition_block.rbi +2 -1
  299. data/rbi/anthropic/models/beta/beta_request_tool_removal_block.rbi +2 -1
  300. data/rbi/anthropic/models/beta/beta_server_tool_use_block.rbi +5 -3
  301. data/rbi/anthropic/models/beta/beta_server_tool_use_block_param.rbi +5 -1
  302. data/rbi/anthropic/models/beta/beta_text_citation.rbi +1 -1
  303. data/rbi/anthropic/models/beta/beta_text_citation_param.rbi +1 -1
  304. data/rbi/anthropic/models/beta/beta_thinking_config_param.rbi +1 -1
  305. data/rbi/anthropic/models/beta/beta_tool_change_mcp_tool_reference.rbi +1 -1
  306. data/rbi/anthropic/models/beta/beta_tool_choice.rbi +1 -1
  307. data/rbi/anthropic/models/beta/beta_tool_result_block_param.rbi +2 -1
  308. data/rbi/anthropic/models/beta/beta_tool_use_block.rbi +4 -3
  309. data/rbi/anthropic/models/beta/beta_tool_use_block_param.rbi +5 -3
  310. data/rbi/anthropic/models/beta/beta_web_fetch_tool_result_block.rbi +5 -1
  311. data/rbi/anthropic/models/beta/beta_web_fetch_tool_result_block_param.rbi +5 -1
  312. data/rbi/anthropic/models/beta/beta_web_fetch_url_sources.rbi +8 -3
  313. data/rbi/anthropic/models/beta/beta_web_search_tool_result_block.rbi +5 -1
  314. data/rbi/anthropic/models/beta/beta_web_search_tool_result_block_param.rbi +5 -1
  315. data/rbi/anthropic/models/beta/beta_webhook_event_data.rbi +1 -1
  316. data/rbi/anthropic/models/beta/deployment_create_params.rbi +2 -1
  317. data/rbi/anthropic/models/beta/deployment_update_params.rbi +2 -1
  318. data/rbi/anthropic/models/beta/environment_create_params.rbi +2 -1
  319. data/rbi/anthropic/models/beta/environment_update_params.rbi +2 -1
  320. data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_actor.rbi +2 -1
  321. data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_error.rbi +2 -1
  322. data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_memory_list_item.rbi +2 -1
  323. data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_memory_version_operation.rbi +5 -0
  324. data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_memory_view.rbi +3 -0
  325. data/rbi/anthropic/models/beta/messages/beta_message_batch_result.rbi +2 -1
  326. data/rbi/anthropic/models/beta/organization/beta_api_key.rbi +7 -2
  327. data/rbi/anthropic/models/beta/organization/beta_compliance_settings_state.rbi +4 -1
  328. data/rbi/anthropic/models/beta/organization/beta_compliance_settings_state_param.rbi +4 -1
  329. data/rbi/anthropic/models/beta/organization/beta_external_key.rbi +6 -2
  330. data/rbi/anthropic/models/beta/organization/beta_organization_rate_limit.rbi +145 -11
  331. data/rbi/anthropic/models/beta/organization/beta_organization_rate_limit_batch_group.rbi +44 -0
  332. data/rbi/anthropic/models/beta/organization/beta_organization_rate_limit_files_group.rbi +44 -0
  333. data/rbi/anthropic/models/beta/organization/beta_organization_rate_limit_model_group.rbi +58 -0
  334. data/rbi/anthropic/models/beta/organization/beta_organization_rate_limit_skills_group.rbi +44 -0
  335. data/rbi/anthropic/models/beta/organization/beta_organization_rate_limit_token_count_group.rbi +44 -0
  336. data/rbi/anthropic/models/beta/organization/beta_organization_rate_limit_web_search_group.rbi +44 -0
  337. data/rbi/anthropic/models/beta/organization/external_key_create_params.rbi +2 -1
  338. data/rbi/anthropic/models/beta/organization/external_key_update_params.rbi +2 -1
  339. data/rbi/anthropic/models/beta/organization/federation/beta_federation_issuer.rbi +2 -1
  340. data/rbi/anthropic/models/beta/organization/federation/issuer_create_params.rbi +2 -1
  341. data/rbi/anthropic/models/beta/organization/federation/issuer_update_params.rbi +2 -1
  342. data/rbi/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit.rbi +143 -11
  343. data/rbi/anthropic/models/beta/session_create_params.rbi +4 -2
  344. data/rbi/anthropic/models/beta/session_list_params.rbi +7 -0
  345. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_auto_evaluated_permission.rbi +5 -1
  346. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_mcp_tool_result_event.rbi +2 -1
  347. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_message_event.rbi +5 -1
  348. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_message_received_event.rbi +2 -1
  349. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_message_sent_event.rbi +2 -1
  350. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_evaluation.rbi +2 -1
  351. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_result_event.rbi +2 -1
  352. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_billing_error.rbi +4 -1
  353. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_credential_host_unreachable_error.rbi +4 -1
  354. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_document_block.rbi +2 -1
  355. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_event_params.rbi +2 -1
  356. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_github_repository_resource.rbi +2 -1
  357. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_image_block.rbi +2 -1
  358. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_mcp_authentication_failed_error.rbi +4 -1
  359. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_mcp_connection_failed_error.rbi +4 -1
  360. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_model_overloaded_error.rbi +4 -1
  361. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_model_rate_limited_error.rbi +4 -1
  362. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_model_request_failed_error.rbi +4 -1
  363. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_send_session_events.rbi +2 -1
  364. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_error_event.rbi +2 -1
  365. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_event.rbi +2 -1
  366. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_resource.rbi +2 -1
  367. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_status_idle_event.rbi +2 -1
  368. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_thread.rbi +2 -1
  369. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_idle_event.rbi +2 -1
  370. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_stream_session_events.rbi +2 -1
  371. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_stream_session_thread_events.rbi +2 -1
  372. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_unknown_error.rbi +4 -1
  373. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_custom_tool_result_event.rbi +2 -1
  374. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_custom_tool_result_event_params.rbi +2 -1
  375. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_define_outcome_event.rbi +2 -1
  376. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_define_outcome_event_params.rbi +2 -1
  377. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_message_event.rbi +2 -1
  378. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_message_event_params.rbi +2 -1
  379. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_tool_result_event_params.rbi +2 -1
  380. data/rbi/anthropic/models/beta/sessions/resource_retrieve_response.rbi +2 -1
  381. data/rbi/anthropic/models/beta/sessions/resource_update_response.rbi +2 -1
  382. data/rbi/anthropic/models/beta/vaults/beta_managed_agents_credential.rbi +2 -1
  383. data/rbi/anthropic/models/beta/vaults/beta_managed_agents_credential_networking_params.rbi +2 -1
  384. data/rbi/anthropic/models/beta/vaults/beta_managed_agents_credential_validation_status.rbi +5 -0
  385. data/rbi/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_auth_response.rbi +2 -1
  386. data/rbi/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_params.rbi +2 -1
  387. data/rbi/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_response.rbi +4 -1
  388. data/rbi/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_update_params.rbi +2 -1
  389. data/rbi/anthropic/models/beta/vaults/beta_managed_agents_refresh_object.rbi +7 -0
  390. data/rbi/anthropic/models/beta/vaults/credential_create_params.rbi +2 -1
  391. data/rbi/anthropic/models/beta/vaults/credential_update_params.rbi +2 -1
  392. data/rbi/anthropic/models/beta_error.rbi +4 -3
  393. data/rbi/anthropic/models/browser_state_change.rbi +1 -1
  394. data/rbi/anthropic/models/citations_delta.rbi +1 -1
  395. data/rbi/anthropic/models/content_block.rbi +1 -1
  396. data/rbi/anthropic/models/content_block_param.rbi +1 -1
  397. data/rbi/anthropic/models/content_block_source_content.rbi +1 -1
  398. data/rbi/anthropic/models/document_block.rbi +1 -1
  399. data/rbi/anthropic/models/document_block_param.rbi +1 -1
  400. data/rbi/anthropic/models/error_object.rbi +4 -3
  401. data/rbi/anthropic/models/image_block_param.rbi +1 -1
  402. data/rbi/anthropic/models/messages/message_batch_result.rbi +1 -1
  403. data/rbi/anthropic/models/raw_content_block_delta.rbi +1 -1
  404. data/rbi/anthropic/models/raw_content_block_start_event.rbi +2 -1
  405. data/rbi/anthropic/models/raw_message_stream_event.rbi +1 -1
  406. data/rbi/anthropic/models/server_tool_use_block.rbi +4 -3
  407. data/rbi/anthropic/models/server_tool_use_block_param.rbi +4 -3
  408. data/rbi/anthropic/models/text_citation.rbi +1 -1
  409. data/rbi/anthropic/models/text_citation_param.rbi +1 -1
  410. data/rbi/anthropic/models/thinking_config_param.rbi +1 -1
  411. data/rbi/anthropic/models/tool_choice.rbi +1 -1
  412. data/rbi/anthropic/models/tool_result_block_param.rbi +2 -1
  413. data/rbi/anthropic/models/tool_use_block.rbi +4 -3
  414. data/rbi/anthropic/models/tool_use_block_param.rbi +4 -3
  415. data/rbi/anthropic/models/web_fetch_tool_result_block.rbi +4 -3
  416. data/rbi/anthropic/models/web_fetch_tool_result_block_param.rbi +5 -3
  417. data/rbi/anthropic/models/web_fetch_url_sources.rbi +7 -5
  418. data/rbi/anthropic/models/web_search_tool_result_block.rbi +4 -3
  419. data/rbi/anthropic/models/web_search_tool_result_block_param.rbi +5 -3
  420. data/rbi/anthropic/resources/beta/agents/versions.rbi +1 -1
  421. data/rbi/anthropic/resources/beta/agents.rbi +3 -3
  422. data/rbi/anthropic/resources/beta/deployment_runs.rbi +1 -1
  423. data/rbi/anthropic/resources/beta/deployments.rbi +6 -6
  424. data/rbi/anthropic/resources/beta/memory_stores.rbi +11 -4
  425. data/rbi/anthropic/resources/beta/tunnels/certificates.rbi +6 -6
  426. data/rbi/anthropic/resources/beta/tunnels.rbi +4 -4
  427. data/rbi/anthropic/resources/beta/vaults/credentials.rbi +12 -12
  428. data/rbi/anthropic/resources/beta/vaults.rbi +4 -4
  429. data/sig/anthropic/models/beta/agent_create_params.rbs +2 -1
  430. data/sig/anthropic/models/beta/agent_update_params.rbs +2 -1
  431. data/sig/anthropic/models/beta/beta_browser_state_change.rbs +2 -1
  432. data/sig/anthropic/models/beta/beta_citations_delta.rbs +2 -1
  433. data/sig/anthropic/models/beta/beta_clear_tool_uses_20250919_edit.rbs +2 -1
  434. data/sig/anthropic/models/beta/beta_cloud_config.rbs +2 -1
  435. data/sig/anthropic/models/beta/beta_cloud_config_params.rbs +2 -1
  436. data/sig/anthropic/models/beta/beta_content_block.rbs +1 -1
  437. data/sig/anthropic/models/beta/beta_content_block_param.rbs +2 -1
  438. data/sig/anthropic/models/beta/beta_content_block_source_content.rbs +2 -1
  439. data/sig/anthropic/models/beta/beta_context_management_config.rbs +2 -1
  440. data/sig/anthropic/models/beta/beta_context_management_response.rbs +2 -1
  441. data/sig/anthropic/models/beta/beta_diagnostics.rbs +2 -1
  442. data/sig/anthropic/models/beta/beta_document_block.rbs +2 -1
  443. data/sig/anthropic/models/beta/beta_dream_input.rbs +1 -1
  444. data/sig/anthropic/models/beta/beta_dream_status.rbs +15 -0
  445. data/sig/anthropic/models/beta/beta_dreaming_error.rbs +1 -1
  446. data/sig/anthropic/models/beta/beta_environment.rbs +2 -1
  447. data/sig/anthropic/models/beta/beta_fallback_credit_usage.rbs +2 -1
  448. data/sig/anthropic/models/beta/beta_fallback_param.rbs +2 -1
  449. data/sig/anthropic/models/beta/beta_image_block_param.rbs +2 -1
  450. data/sig/anthropic/models/beta/beta_input_transformation.rbs +2 -1
  451. data/sig/anthropic/models/beta/beta_iterations_usage.rbs +2 -1
  452. data/sig/anthropic/models/beta/beta_managed_agents_agent.rbs +4 -2
  453. data/sig/anthropic/models/beta/beta_managed_agents_agent_tool_config.rbs +2 -1
  454. data/sig/anthropic/models/beta/beta_managed_agents_agent_tool_config_params.rbs +2 -1
  455. data/sig/anthropic/models/beta/beta_managed_agents_agent_toolset_default_config.rbs +2 -1
  456. data/sig/anthropic/models/beta/beta_managed_agents_agent_toolset_default_config_params.rbs +2 -1
  457. data/sig/anthropic/models/beta/beta_managed_agents_agent_with_overrides_params.rbs +2 -1
  458. data/sig/anthropic/models/beta/beta_managed_agents_bash_tool_config.rbs +2 -1
  459. data/sig/anthropic/models/beta/beta_managed_agents_bash_tool_config_params.rbs +2 -1
  460. data/sig/anthropic/models/beta/beta_managed_agents_deployment_initial_event.rbs +2 -1
  461. data/sig/anthropic/models/beta/beta_managed_agents_deployment_initial_event_params.rbs +2 -1
  462. data/sig/anthropic/models/beta/beta_managed_agents_deployment_paused_reason.rbs +2 -1
  463. data/sig/anthropic/models/beta/beta_managed_agents_deployment_paused_reason_error.rbs +2 -1
  464. data/sig/anthropic/models/beta/beta_managed_agents_deployment_run.rbs +2 -1
  465. data/sig/anthropic/models/beta/beta_managed_agents_deployment_status.rbs +3 -0
  466. data/sig/anthropic/models/beta/beta_managed_agents_deployment_user_define_outcome_event.rbs +2 -1
  467. data/sig/anthropic/models/beta/beta_managed_agents_deployment_user_message_event.rbs +2 -1
  468. data/sig/anthropic/models/beta/beta_managed_agents_edit_tool_config.rbs +2 -1
  469. data/sig/anthropic/models/beta/beta_managed_agents_edit_tool_config_params.rbs +2 -1
  470. data/sig/anthropic/models/beta/beta_managed_agents_github_repository_resource_config.rbs +2 -1
  471. data/sig/anthropic/models/beta/beta_managed_agents_github_repository_resource_params.rbs +2 -1
  472. data/sig/anthropic/models/beta/beta_managed_agents_glob_tool_config.rbs +2 -1
  473. data/sig/anthropic/models/beta/beta_managed_agents_glob_tool_config_params.rbs +2 -1
  474. data/sig/anthropic/models/beta/beta_managed_agents_grep_tool_config.rbs +2 -1
  475. data/sig/anthropic/models/beta/beta_managed_agents_grep_tool_config_params.rbs +2 -1
  476. data/sig/anthropic/models/beta/beta_managed_agents_mcp_tool_config.rbs +2 -1
  477. data/sig/anthropic/models/beta/beta_managed_agents_mcp_tool_config_params.rbs +2 -1
  478. data/sig/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config.rbs +2 -1
  479. data/sig/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config_params.rbs +2 -1
  480. data/sig/anthropic/models/beta/beta_managed_agents_model_config.rbs +2 -1
  481. data/sig/anthropic/models/beta/beta_managed_agents_model_config_params.rbs +9 -0
  482. data/sig/anthropic/models/beta/beta_managed_agents_multiagent.rbs +2 -1
  483. data/sig/anthropic/models/beta/beta_managed_agents_multiagent_coordinator.rbs +2 -1
  484. data/sig/anthropic/models/beta/beta_managed_agents_read_tool_config.rbs +2 -1
  485. data/sig/anthropic/models/beta/beta_managed_agents_read_tool_config_params.rbs +2 -1
  486. data/sig/anthropic/models/beta/beta_managed_agents_session.rbs +7 -0
  487. data/sig/anthropic/models/beta/beta_managed_agents_session_agent.rbs +4 -2
  488. data/sig/anthropic/models/beta/beta_managed_agents_session_agent_update.rbs +2 -1
  489. data/sig/anthropic/models/beta/beta_managed_agents_session_multiagent_coordinator.rbs +2 -1
  490. data/sig/anthropic/models/beta/beta_managed_agents_session_resource_config.rbs +2 -1
  491. data/sig/anthropic/models/beta/beta_managed_agents_session_thread_agent.rbs +4 -2
  492. data/sig/anthropic/models/beta/beta_managed_agents_skill_params.rbs +2 -1
  493. data/sig/anthropic/models/beta/beta_managed_agents_start_event_preview.rbs +2 -1
  494. data/sig/anthropic/models/beta/beta_managed_agents_trigger_context.rbs +2 -1
  495. data/sig/anthropic/models/beta/beta_managed_agents_trigger_type.rbs +3 -0
  496. data/sig/anthropic/models/beta/beta_managed_agents_user_tool_result_event.rbs +2 -1
  497. data/sig/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config.rbs +2 -1
  498. data/sig/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config_params.rbs +2 -1
  499. data/sig/anthropic/models/beta/beta_managed_agents_web_search_tool_config.rbs +2 -1
  500. data/sig/anthropic/models/beta/beta_managed_agents_web_search_tool_config_params.rbs +2 -1
  501. data/sig/anthropic/models/beta/beta_managed_agents_write_tool_config.rbs +2 -1
  502. data/sig/anthropic/models/beta/beta_managed_agents_write_tool_config_params.rbs +2 -1
  503. data/sig/anthropic/models/beta/beta_memory_tool_20250818_command.rbs +2 -1
  504. data/sig/anthropic/models/beta/beta_output_behavior.rbs +1 -1
  505. data/sig/anthropic/models/beta/beta_raw_content_block_delta.rbs +2 -1
  506. data/sig/anthropic/models/beta/beta_raw_content_block_start_event.rbs +2 -1
  507. data/sig/anthropic/models/beta/beta_raw_message_stream_event.rbs +2 -1
  508. data/sig/anthropic/models/beta/beta_request_document_block.rbs +2 -1
  509. data/sig/anthropic/models/beta/beta_request_tool_addition_block.rbs +2 -1
  510. data/sig/anthropic/models/beta/beta_request_tool_removal_block.rbs +2 -1
  511. data/sig/anthropic/models/beta/beta_server_tool_use_block.rbs +2 -1
  512. data/sig/anthropic/models/beta/beta_server_tool_use_block_param.rbs +2 -1
  513. data/sig/anthropic/models/beta/beta_text_citation.rbs +1 -1
  514. data/sig/anthropic/models/beta/beta_text_citation_param.rbs +2 -1
  515. data/sig/anthropic/models/beta/beta_thinking_config_param.rbs +2 -1
  516. data/sig/anthropic/models/beta/beta_tool_choice.rbs +1 -1
  517. data/sig/anthropic/models/beta/beta_tool_result_block_param.rbs +2 -1
  518. data/sig/anthropic/models/beta/beta_tool_use_block.rbs +2 -1
  519. data/sig/anthropic/models/beta/beta_tool_use_block_param.rbs +2 -1
  520. data/sig/anthropic/models/beta/beta_web_fetch_tool_result_block.rbs +2 -1
  521. data/sig/anthropic/models/beta/beta_web_fetch_tool_result_block_param.rbs +2 -1
  522. data/sig/anthropic/models/beta/beta_web_fetch_url_sources.rbs +6 -3
  523. data/sig/anthropic/models/beta/beta_web_search_tool_result_block.rbs +2 -1
  524. data/sig/anthropic/models/beta/beta_web_search_tool_result_block_param.rbs +2 -1
  525. data/sig/anthropic/models/beta/beta_webhook_event_data.rbs +1 -1
  526. data/sig/anthropic/models/beta/deployment_create_params.rbs +2 -1
  527. data/sig/anthropic/models/beta/deployment_update_params.rbs +2 -1
  528. data/sig/anthropic/models/beta/environment_create_params.rbs +2 -1
  529. data/sig/anthropic/models/beta/environment_update_params.rbs +2 -1
  530. data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_actor.rbs +2 -1
  531. data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_error.rbs +2 -1
  532. data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_memory_list_item.rbs +2 -1
  533. data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_memory_version_operation.rbs +5 -0
  534. data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_memory_view.rbs +3 -0
  535. data/sig/anthropic/models/beta/messages/beta_message_batch_result.rbs +2 -1
  536. data/sig/anthropic/models/beta/organization/beta_api_key.rbs +4 -2
  537. data/sig/anthropic/models/beta/organization/beta_compliance_settings_state.rbs +2 -1
  538. data/sig/anthropic/models/beta/organization/beta_compliance_settings_state_param.rbs +2 -1
  539. data/sig/anthropic/models/beta/organization/beta_external_key.rbs +4 -2
  540. data/sig/anthropic/models/beta/organization/beta_organization_rate_limit.rbs +73 -0
  541. data/sig/anthropic/models/beta/organization/beta_organization_rate_limit_batch_group.rbs +20 -0
  542. data/sig/anthropic/models/beta/organization/beta_organization_rate_limit_files_group.rbs +20 -0
  543. data/sig/anthropic/models/beta/organization/beta_organization_rate_limit_model_group.rbs +30 -0
  544. data/sig/anthropic/models/beta/organization/beta_organization_rate_limit_skills_group.rbs +20 -0
  545. data/sig/anthropic/models/beta/organization/beta_organization_rate_limit_token_count_group.rbs +20 -0
  546. data/sig/anthropic/models/beta/organization/beta_organization_rate_limit_web_search_group.rbs +20 -0
  547. data/sig/anthropic/models/beta/organization/external_key_create_params.rbs +2 -1
  548. data/sig/anthropic/models/beta/organization/external_key_update_params.rbs +2 -1
  549. data/sig/anthropic/models/beta/organization/federation/beta_federation_issuer.rbs +2 -1
  550. data/sig/anthropic/models/beta/organization/federation/issuer_create_params.rbs +2 -1
  551. data/sig/anthropic/models/beta/organization/federation/issuer_update_params.rbs +2 -1
  552. data/sig/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit.rbs +73 -0
  553. data/sig/anthropic/models/beta/session_create_params.rbs +4 -2
  554. data/sig/anthropic/models/beta/session_list_params.rbs +7 -0
  555. data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_auto_evaluated_permission.rbs +2 -1
  556. data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_mcp_tool_result_event.rbs +2 -1
  557. data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_message_event.rbs +2 -1
  558. data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_message_received_event.rbs +2 -1
  559. data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_message_sent_event.rbs +2 -1
  560. data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_evaluation.rbs +2 -1
  561. data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_result_event.rbs +2 -1
  562. data/sig/anthropic/models/beta/sessions/beta_managed_agents_billing_error.rbs +2 -1
  563. data/sig/anthropic/models/beta/sessions/beta_managed_agents_credential_host_unreachable_error.rbs +2 -1
  564. data/sig/anthropic/models/beta/sessions/beta_managed_agents_document_block.rbs +2 -1
  565. data/sig/anthropic/models/beta/sessions/beta_managed_agents_event_params.rbs +2 -1
  566. data/sig/anthropic/models/beta/sessions/beta_managed_agents_github_repository_resource.rbs +2 -1
  567. data/sig/anthropic/models/beta/sessions/beta_managed_agents_image_block.rbs +2 -1
  568. data/sig/anthropic/models/beta/sessions/beta_managed_agents_mcp_authentication_failed_error.rbs +2 -1
  569. data/sig/anthropic/models/beta/sessions/beta_managed_agents_mcp_connection_failed_error.rbs +2 -1
  570. data/sig/anthropic/models/beta/sessions/beta_managed_agents_model_overloaded_error.rbs +2 -1
  571. data/sig/anthropic/models/beta/sessions/beta_managed_agents_model_rate_limited_error.rbs +2 -1
  572. data/sig/anthropic/models/beta/sessions/beta_managed_agents_model_request_failed_error.rbs +2 -1
  573. data/sig/anthropic/models/beta/sessions/beta_managed_agents_send_session_events.rbs +2 -1
  574. data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_error_event.rbs +2 -1
  575. data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_event.rbs +2 -1
  576. data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_resource.rbs +2 -1
  577. data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_status_idle_event.rbs +2 -1
  578. data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_thread.rbs +2 -1
  579. data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_idle_event.rbs +2 -1
  580. data/sig/anthropic/models/beta/sessions/beta_managed_agents_stream_session_events.rbs +2 -1
  581. data/sig/anthropic/models/beta/sessions/beta_managed_agents_stream_session_thread_events.rbs +2 -1
  582. data/sig/anthropic/models/beta/sessions/beta_managed_agents_unknown_error.rbs +2 -1
  583. data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_custom_tool_result_event.rbs +2 -1
  584. data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_custom_tool_result_event_params.rbs +2 -1
  585. data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_define_outcome_event.rbs +2 -1
  586. data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_define_outcome_event_params.rbs +2 -1
  587. data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_message_event.rbs +2 -1
  588. data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_message_event_params.rbs +2 -1
  589. data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_tool_result_event_params.rbs +2 -1
  590. data/sig/anthropic/models/beta/sessions/resource_retrieve_response.rbs +2 -1
  591. data/sig/anthropic/models/beta/sessions/resource_update_response.rbs +2 -1
  592. data/sig/anthropic/models/beta/vaults/beta_managed_agents_credential.rbs +2 -1
  593. data/sig/anthropic/models/beta/vaults/beta_managed_agents_credential_networking_params.rbs +2 -1
  594. data/sig/anthropic/models/beta/vaults/beta_managed_agents_credential_validation_status.rbs +5 -0
  595. data/sig/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_auth_response.rbs +2 -1
  596. data/sig/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_params.rbs +2 -1
  597. data/sig/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_response.rbs +2 -1
  598. data/sig/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_update_params.rbs +2 -1
  599. data/sig/anthropic/models/beta/vaults/beta_managed_agents_refresh_object.rbs +7 -0
  600. data/sig/anthropic/models/beta/vaults/credential_create_params.rbs +2 -1
  601. data/sig/anthropic/models/beta/vaults/credential_update_params.rbs +2 -1
  602. data/sig/anthropic/models/beta_error.rbs +1 -1
  603. data/sig/anthropic/models/browser_state_change.rbs +1 -1
  604. data/sig/anthropic/models/citations_delta.rbs +1 -1
  605. data/sig/anthropic/models/content_block.rbs +1 -1
  606. data/sig/anthropic/models/content_block_param.rbs +1 -1
  607. data/sig/anthropic/models/content_block_source_content.rbs +1 -1
  608. data/sig/anthropic/models/document_block.rbs +1 -1
  609. data/sig/anthropic/models/document_block_param.rbs +1 -1
  610. data/sig/anthropic/models/error_object.rbs +1 -1
  611. data/sig/anthropic/models/image_block_param.rbs +1 -1
  612. data/sig/anthropic/models/messages/message_batch_result.rbs +2 -1
  613. data/sig/anthropic/models/raw_content_block_delta.rbs +1 -1
  614. data/sig/anthropic/models/raw_content_block_start_event.rbs +2 -1
  615. data/sig/anthropic/models/raw_message_stream_event.rbs +1 -1
  616. data/sig/anthropic/models/server_tool_use_block.rbs +1 -1
  617. data/sig/anthropic/models/server_tool_use_block_param.rbs +2 -1
  618. data/sig/anthropic/models/text_citation.rbs +1 -1
  619. data/sig/anthropic/models/text_citation_param.rbs +1 -1
  620. data/sig/anthropic/models/thinking_config_param.rbs +1 -1
  621. data/sig/anthropic/models/tool_choice.rbs +1 -1
  622. data/sig/anthropic/models/tool_result_block_param.rbs +2 -1
  623. data/sig/anthropic/models/tool_use_block.rbs +1 -1
  624. data/sig/anthropic/models/tool_use_block_param.rbs +1 -1
  625. data/sig/anthropic/models/web_fetch_tool_result_block.rbs +2 -1
  626. data/sig/anthropic/models/web_fetch_tool_result_block_param.rbs +2 -1
  627. data/sig/anthropic/models/web_fetch_url_sources.rbs +6 -3
  628. data/sig/anthropic/models/web_search_tool_result_block.rbs +2 -1
  629. data/sig/anthropic/models/web_search_tool_result_block_param.rbs +2 -1
  630. metadata +20 -2
@@ -61,7 +61,7 @@ module Anthropic
61
61
  # Creates a new instance of the variant class whose `type` matches the given
62
62
  # value, passing the remaining arguments to its constructor.
63
63
  #
64
- # @param type [Symbol, String]
64
+ # @param type [Symbol, Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsError::Type, String]
65
65
  #
66
66
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
67
67
  #
@@ -40,7 +40,7 @@ module Anthropic
40
40
  # {Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsMemoryListItem} for
41
41
  # more details.
42
42
  #
43
- # @param type [Symbol, String]
43
+ # @param type [Symbol, Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsMemoryListItem::Type, String]
44
44
  #
45
45
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
46
46
  #
@@ -9,8 +9,13 @@ module Anthropic
9
9
  module BetaManagedAgentsMemoryVersionOperation
10
10
  extend Anthropic::Internal::Type::Enum
11
11
 
12
+ # The memory was created. The first version in any memory's lineage.
12
13
  CREATED = :created
14
+
15
+ # The memory's `content`, `path`, or both were changed via update. Writes the agent makes through the filesystem mount also appear as `modified`.
13
16
  MODIFIED = :modified
17
+
18
+ # The memory was deleted. The `content`, `content_size_bytes`, and `content_sha256` fields are `null` on this version. The preceding version, while it is retained, records the deleted content's size and hash.
14
19
  DELETED = :deleted
15
20
 
16
21
  # @!method self.values
@@ -12,7 +12,10 @@ module Anthropic
12
12
  module BetaManagedAgentsMemoryView
13
13
  extend Anthropic::Internal::Type::Enum
14
14
 
15
+ # Return the object with `content` set to `null`. The `content_size_bytes` and `content_sha256` fields remain populated, so sync clients can diff without fetching content.
15
16
  BASIC = :basic
17
+
18
+ # Return the object with `content` populated. On list endpoints, `view=full` caps `limit` at 20.
16
19
  FULL = :full
17
20
 
18
21
  # @!method self.values
@@ -40,7 +40,7 @@ module Anthropic
40
40
  # Creates a new instance of the variant class whose `type` matches the given
41
41
  # value, passing the remaining arguments to its constructor.
42
42
  #
43
- # @param type [Symbol, String]
43
+ # @param type [Symbol, Anthropic::Models::Beta::Messages::BetaMessageBatchResult::Type, String]
44
44
  #
45
45
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
46
46
  #
@@ -142,7 +142,7 @@ module Anthropic
142
142
  # Creates a new instance of the variant class whose `type` matches the given
143
143
  # value, passing the remaining arguments to its constructor.
144
144
  #
145
- # @param type [Symbol, String]
145
+ # @param type [Symbol, Anthropic::Models::Beta::Organization::BetaAPIKey::Principal::Type, String]
146
146
  #
147
147
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
148
148
  #
@@ -199,7 +199,7 @@ module Anthropic
199
199
  # Some parameter documentations has been truncated, see
200
200
  # {Anthropic::Models::Beta::Organization::BetaAPIKey::Scope} for more details.
201
201
  #
202
- # @param type [Symbol, String]
202
+ # @param type [Symbol, Anthropic::Models::Beta::Organization::BetaAPIKey::Scope::Type, String]
203
203
  #
204
204
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
205
205
  #
@@ -29,7 +29,7 @@ module Anthropic
29
29
  # Creates a new instance of the variant class whose `type` matches the given
30
30
  # value, passing the remaining arguments to its constructor.
31
31
  #
32
- # @param type [Symbol, String]
32
+ # @param type [Symbol, Anthropic::Models::Beta::Organization::BetaComplianceSettingsState::Type, String]
33
33
  #
34
34
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
35
35
  #
@@ -29,7 +29,7 @@ module Anthropic
29
29
  # Creates a new instance of the variant class whose `type` matches the given
30
30
  # value, passing the remaining arguments to its constructor.
31
31
  #
32
- # @param type [Symbol, String]
32
+ # @param type [Symbol, Anthropic::Models::Beta::Organization::BetaComplianceSettingsStateParam::Type, String]
33
33
  #
34
34
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
35
35
  #
@@ -113,7 +113,7 @@ module Anthropic
113
113
  # Creates a new instance of the variant class whose `type` matches the given
114
114
  # value, passing the remaining arguments to its constructor.
115
115
  #
116
- # @param type [Symbol, String]
116
+ # @param type [Symbol, Anthropic::Models::Beta::Organization::BetaExternalKey::Attachment::Type, String]
117
117
  #
118
118
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
119
119
  #
@@ -166,7 +166,7 @@ module Anthropic
166
166
  # {Anthropic::Models::Beta::Organization::BetaExternalKey::ProviderConfig} for
167
167
  # more details.
168
168
  #
169
- # @param type [Symbol, String]
169
+ # @param type [Symbol, Anthropic::Models::Beta::Organization::BetaExternalKey::ProviderConfig::Type, String]
170
170
  #
171
171
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
172
172
  #
@@ -7,15 +7,27 @@ module Anthropic
7
7
  # @see Anthropic::Resources::Beta::Organization::RateLimits#list
8
8
  class BetaOrganizationRateLimit < Anthropic::Internal::Type::BaseModel
9
9
  # @!attribute id
10
- # Stable identifier for this rate-limit group within the organization.
10
+ # Identifier of this rate-limit entry. It is stable within the organization and
11
+ # differs between organizations; the group's own identifier is `group.id`.
11
12
  #
12
13
  # @return [String]
13
14
  required :id, String
14
15
 
16
+ # @!attribute group
17
+ # The rate-limit group this entry's limits apply to. Its `type` equals
18
+ # `group_type`.
19
+ #
20
+ # @return [Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitModelGroup, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitBatchGroup, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitTokenCountGroup, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitFilesGroup, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitSkillsGroup, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitWebSearchGroup]
21
+ required :group, union: -> { Anthropic::Beta::Organization::BetaOrganizationRateLimit::Group }
22
+
15
23
  # @!attribute group_type
16
- # The kind of rate-limit group this entry represents. `model_group` entries apply
17
- # to a family of models (listed in `models`); other values apply to an API-surface
18
- # category and have `models` set to `null`.
24
+ # @deprecated Use `group.type` instead. `group_type` is still returned and always equals
25
+ # `group.type`.
26
+ #
27
+ # Deprecated: use `group.type` instead. The kind of rate-limit group this entry
28
+ # represents. `model_group` entries apply to a family of models (listed in
29
+ # `models`); other values apply to an API-surface category and have `models` set
30
+ # to `null`. Always equal to `group.type`.
19
31
  #
20
32
  # @return [Symbol, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimit::GroupType]
21
33
  required :group_type, enum: -> { Anthropic::Beta::Organization::BetaOrganizationRateLimit::GroupType }
@@ -40,14 +52,16 @@ module Anthropic
40
52
  # @return [Symbol, :rate_limit]
41
53
  required :type, const: :rate_limit
42
54
 
43
- # @!method initialize(id:, group_type:, limits:, models:, type: :rate_limit)
55
+ # @!method initialize(id:, group:, group_type:, limits:, models:, type: :rate_limit)
44
56
  # Some parameter documentations has been truncated, see
45
57
  # {Anthropic::Models::Beta::Organization::BetaOrganizationRateLimit} for more
46
58
  # details.
47
59
  #
48
- # @param id [String] Stable identifier for this rate-limit group within the organization.
60
+ # @param id [String] Identifier of this rate-limit entry. It is stable within the organization and di
49
61
  #
50
- # @param group_type [Symbol, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimit::GroupType] The kind of rate-limit group this entry represents. `model_group` entries apply
62
+ # @param group [Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitModelGroup, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitBatchGroup, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitTokenCountGroup, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitFilesGroup, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitSkillsGroup, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitWebSearchGroup] The rate-limit group this entry's limits apply to. Its `type` equals `group_type
63
+ #
64
+ # @param group_type [Symbol, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimit::GroupType] Deprecated: use `group.type` instead. The kind of rate-limit group this entry re
51
65
  #
52
66
  # @param limits [Array<Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitValue>] The limiter values that apply to this group.
53
67
  #
@@ -56,9 +70,88 @@ module Anthropic
56
70
  #
57
71
  # @param type [Symbol, :rate_limit] Object type. Always `rate_limit` for organization rate-limit entries.
58
72
 
59
- # The kind of rate-limit group this entry represents. `model_group` entries apply
60
- # to a family of models (listed in `models`); other values apply to an API-surface
61
- # category and have `models` set to `null`.
73
+ # The rate-limit group this entry's limits apply to. Its `type` equals
74
+ # `group_type`.
75
+ #
76
+ # @see Anthropic::Models::Beta::Organization::BetaOrganizationRateLimit#group
77
+ module Group
78
+ extend Anthropic::Internal::Type::Union
79
+
80
+ discriminator :type
81
+
82
+ variant :model_group, -> { Anthropic::Beta::Organization::BetaOrganizationRateLimitModelGroup }
83
+
84
+ variant :batch, -> { Anthropic::Beta::Organization::BetaOrganizationRateLimitBatchGroup }
85
+
86
+ variant :token_count, -> { Anthropic::Beta::Organization::BetaOrganizationRateLimitTokenCountGroup }
87
+
88
+ variant :files, -> { Anthropic::Beta::Organization::BetaOrganizationRateLimitFilesGroup }
89
+
90
+ variant :skills, -> { Anthropic::Beta::Organization::BetaOrganizationRateLimitSkillsGroup }
91
+
92
+ variant :web_search, -> { Anthropic::Beta::Organization::BetaOrganizationRateLimitWebSearchGroup }
93
+
94
+ module Type
95
+ extend Anthropic::Internal::Type::Enum
96
+
97
+ MODEL_GROUP = :model_group
98
+ BATCH = :batch
99
+ TOKEN_COUNT = :token_count
100
+ FILES = :files
101
+ SKILLS = :skills
102
+ WEB_SEARCH = :web_search
103
+
104
+ # @!method self.values
105
+ # @return [Array<Symbol>]
106
+ end
107
+
108
+ # @!method self.variants
109
+ # @return [Array(Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitModelGroup, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitBatchGroup, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitTokenCountGroup, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitFilesGroup, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitSkillsGroup, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitWebSearchGroup)]
110
+
111
+ # Creates a new instance of the variant class whose `type` matches the given
112
+ # value, passing the remaining arguments to its constructor.
113
+ #
114
+ # Some parameter documentations has been truncated, see
115
+ # {Anthropic::Models::Beta::Organization::BetaOrganizationRateLimit::Group} for
116
+ # more details.
117
+ #
118
+ # @param type [Symbol, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimit::Group::Type, String]
119
+ #
120
+ # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
121
+ #
122
+ # @option args [String] :id Opaque identifier of the rate-limit group (for example, `rlg_01VPTCmyiu5ZLsWkcxY
123
+ #
124
+ # @option args [String] :display_name Human-readable name of the model group (for example, `Claude Sonnet 4.x`). For d
125
+ #
126
+ # @raise [ArgumentError]
127
+ # @return [Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitModelGroup, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitBatchGroup, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitTokenCountGroup, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitFilesGroup, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitSkillsGroup, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitWebSearchGroup]
128
+ def self.new(type:, **args)
129
+ case type.to_sym
130
+ when :model_group
131
+ Anthropic::Beta::Organization::BetaOrganizationRateLimitModelGroup.new(**args)
132
+ when :batch
133
+ Anthropic::Beta::Organization::BetaOrganizationRateLimitBatchGroup.new(**args)
134
+ when :token_count
135
+ Anthropic::Beta::Organization::BetaOrganizationRateLimitTokenCountGroup.new(**args)
136
+ when :files
137
+ Anthropic::Beta::Organization::BetaOrganizationRateLimitFilesGroup.new(**args)
138
+ when :skills
139
+ Anthropic::Beta::Organization::BetaOrganizationRateLimitSkillsGroup.new(**args)
140
+ when :web_search
141
+ Anthropic::Beta::Organization::BetaOrganizationRateLimitWebSearchGroup.new(**args)
142
+ else
143
+ raise ArgumentError, "unknown type: #{type}"
144
+ end
145
+ end
146
+ end
147
+
148
+ # @deprecated Use `group.type` instead. `group_type` is still returned and always equals
149
+ # `group.type`.
150
+ #
151
+ # Deprecated: use `group.type` instead. The kind of rate-limit group this entry
152
+ # represents. `model_group` entries apply to a family of models (listed in
153
+ # `models`); other values apply to an API-surface category and have `models` set
154
+ # to `null`. Always equal to `group.type`.
62
155
  #
63
156
  # @see Anthropic::Models::Beta::Organization::BetaOrganizationRateLimit#group_type
64
157
  module GroupType
@@ -0,0 +1,34 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Anthropic
4
+ module Models
5
+ module Beta
6
+ module Organization
7
+ class BetaOrganizationRateLimitBatchGroup < Anthropic::Internal::Type::BaseModel
8
+ # @!attribute id
9
+ # Opaque identifier of the rate-limit group (for example,
10
+ # `rlg_01VPTCmyiu5ZLsWkcxYG2pY8`). It is the same in every organization and never
11
+ # changes, unlike the entry's own identifier, which differs per organization.
12
+ #
13
+ # @return [String]
14
+ required :id, String
15
+
16
+ # @!attribute type
17
+ # Always `batch`: the Message Batches API.
18
+ #
19
+ # @return [Symbol, :batch]
20
+ required :type, const: :batch
21
+
22
+ # @!method initialize(id:, type: :batch)
23
+ # Some parameter documentations has been truncated, see
24
+ # {Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitBatchGroup} for
25
+ # more details.
26
+ #
27
+ # @param id [String] Opaque identifier of the rate-limit group (for example, `rlg_01VPTCmyiu5ZLsWkcxY
28
+ #
29
+ # @param type [Symbol, :batch] Always `batch`: the Message Batches API.
30
+ end
31
+ end
32
+ end
33
+ end
34
+ end
@@ -0,0 +1,34 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Anthropic
4
+ module Models
5
+ module Beta
6
+ module Organization
7
+ class BetaOrganizationRateLimitFilesGroup < Anthropic::Internal::Type::BaseModel
8
+ # @!attribute id
9
+ # Opaque identifier of the rate-limit group (for example,
10
+ # `rlg_01VPTCmyiu5ZLsWkcxYG2pY8`). It is the same in every organization and never
11
+ # changes, unlike the entry's own identifier, which differs per organization.
12
+ #
13
+ # @return [String]
14
+ required :id, String
15
+
16
+ # @!attribute type
17
+ # Always `files`: the Files API.
18
+ #
19
+ # @return [Symbol, :files]
20
+ required :type, const: :files
21
+
22
+ # @!method initialize(id:, type: :files)
23
+ # Some parameter documentations has been truncated, see
24
+ # {Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitFilesGroup} for
25
+ # more details.
26
+ #
27
+ # @param id [String] Opaque identifier of the rate-limit group (for example, `rlg_01VPTCmyiu5ZLsWkcxY
28
+ #
29
+ # @param type [Symbol, :files] Always `files`: the Files API.
30
+ end
31
+ end
32
+ end
33
+ end
34
+ end
@@ -0,0 +1,43 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Anthropic
4
+ module Models
5
+ module Beta
6
+ module Organization
7
+ class BetaOrganizationRateLimitModelGroup < Anthropic::Internal::Type::BaseModel
8
+ # @!attribute id
9
+ # Opaque identifier of the rate-limit group (for example,
10
+ # `rlg_01VPTCmyiu5ZLsWkcxYG2pY8`). It is the same in every organization and never
11
+ # changes, unlike the entry's own identifier, which differs per organization.
12
+ #
13
+ # @return [String]
14
+ required :id, String
15
+
16
+ # @!attribute display_name
17
+ # Human-readable name of the model group (for example, `Claude Sonnet 4.x`). For
18
+ # display only; it may change.
19
+ #
20
+ # @return [String]
21
+ required :display_name, String
22
+
23
+ # @!attribute type
24
+ # Always `model_group`: a family of models.
25
+ #
26
+ # @return [Symbol, :model_group]
27
+ required :type, const: :model_group
28
+
29
+ # @!method initialize(id:, display_name:, type: :model_group)
30
+ # Some parameter documentations has been truncated, see
31
+ # {Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitModelGroup} for
32
+ # more details.
33
+ #
34
+ # @param id [String] Opaque identifier of the rate-limit group (for example, `rlg_01VPTCmyiu5ZLsWkcxY
35
+ #
36
+ # @param display_name [String] Human-readable name of the model group (for example, `Claude Sonnet 4.x`). For d
37
+ #
38
+ # @param type [Symbol, :model_group] Always `model_group`: a family of models.
39
+ end
40
+ end
41
+ end
42
+ end
43
+ end
@@ -0,0 +1,34 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Anthropic
4
+ module Models
5
+ module Beta
6
+ module Organization
7
+ class BetaOrganizationRateLimitSkillsGroup < Anthropic::Internal::Type::BaseModel
8
+ # @!attribute id
9
+ # Opaque identifier of the rate-limit group (for example,
10
+ # `rlg_01VPTCmyiu5ZLsWkcxYG2pY8`). It is the same in every organization and never
11
+ # changes, unlike the entry's own identifier, which differs per organization.
12
+ #
13
+ # @return [String]
14
+ required :id, String
15
+
16
+ # @!attribute type
17
+ # Always `skills`: the Skills API.
18
+ #
19
+ # @return [Symbol, :skills]
20
+ required :type, const: :skills
21
+
22
+ # @!method initialize(id:, type: :skills)
23
+ # Some parameter documentations has been truncated, see
24
+ # {Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitSkillsGroup}
25
+ # for more details.
26
+ #
27
+ # @param id [String] Opaque identifier of the rate-limit group (for example, `rlg_01VPTCmyiu5ZLsWkcxY
28
+ #
29
+ # @param type [Symbol, :skills] Always `skills`: the Skills API.
30
+ end
31
+ end
32
+ end
33
+ end
34
+ end
@@ -0,0 +1,34 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Anthropic
4
+ module Models
5
+ module Beta
6
+ module Organization
7
+ class BetaOrganizationRateLimitTokenCountGroup < Anthropic::Internal::Type::BaseModel
8
+ # @!attribute id
9
+ # Opaque identifier of the rate-limit group (for example,
10
+ # `rlg_01VPTCmyiu5ZLsWkcxYG2pY8`). It is the same in every organization and never
11
+ # changes, unlike the entry's own identifier, which differs per organization.
12
+ #
13
+ # @return [String]
14
+ required :id, String
15
+
16
+ # @!attribute type
17
+ # Always `token_count`: the Token Count API.
18
+ #
19
+ # @return [Symbol, :token_count]
20
+ required :type, const: :token_count
21
+
22
+ # @!method initialize(id:, type: :token_count)
23
+ # Some parameter documentations has been truncated, see
24
+ # {Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitTokenCountGroup}
25
+ # for more details.
26
+ #
27
+ # @param id [String] Opaque identifier of the rate-limit group (for example, `rlg_01VPTCmyiu5ZLsWkcxY
28
+ #
29
+ # @param type [Symbol, :token_count] Always `token_count`: the Token Count API.
30
+ end
31
+ end
32
+ end
33
+ end
34
+ end
@@ -0,0 +1,34 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Anthropic
4
+ module Models
5
+ module Beta
6
+ module Organization
7
+ class BetaOrganizationRateLimitWebSearchGroup < Anthropic::Internal::Type::BaseModel
8
+ # @!attribute id
9
+ # Opaque identifier of the rate-limit group (for example,
10
+ # `rlg_01VPTCmyiu5ZLsWkcxYG2pY8`). It is the same in every organization and never
11
+ # changes, unlike the entry's own identifier, which differs per organization.
12
+ #
13
+ # @return [String]
14
+ required :id, String
15
+
16
+ # @!attribute type
17
+ # Always `web_search`: the Messages API web search tool.
18
+ #
19
+ # @return [Symbol, :web_search]
20
+ required :type, const: :web_search
21
+
22
+ # @!method initialize(id:, type: :web_search)
23
+ # Some parameter documentations has been truncated, see
24
+ # {Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitWebSearchGroup}
25
+ # for more details.
26
+ #
27
+ # @param id [String] Opaque identifier of the rate-limit group (for example, `rlg_01VPTCmyiu5ZLsWkcxY
28
+ #
29
+ # @param type [Symbol, :web_search] Always `web_search`: the Messages API web search tool.
30
+ end
31
+ end
32
+ end
33
+ end
34
+ end
@@ -71,7 +71,7 @@ module Anthropic
71
71
  # {Anthropic::Models::Beta::Organization::ExternalKeyCreateParams::ProviderConfig}
72
72
  # for more details.
73
73
  #
74
- # @param type [Symbol, String]
74
+ # @param type [Symbol, Anthropic::Models::Beta::Organization::ExternalKeyCreateParams::ProviderConfig::Type, String]
75
75
  #
76
76
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
77
77
  #
@@ -90,7 +90,7 @@ module Anthropic
90
90
  # {Anthropic::Models::Beta::Organization::ExternalKeyUpdateParams::ProviderConfig}
91
91
  # for more details.
92
92
  #
93
- # @param type [Symbol, String]
93
+ # @param type [Symbol, Anthropic::Models::Beta::Organization::ExternalKeyUpdateParams::ProviderConfig::Type, String]
94
94
  #
95
95
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
96
96
  #
@@ -184,7 +184,7 @@ module Anthropic
184
184
  # Creates a new instance of the variant class whose `type` matches the given
185
185
  # value, passing the remaining arguments to its constructor.
186
186
  #
187
- # @param type [Symbol, String]
187
+ # @param type [Symbol, Anthropic::Models::Beta::Organization::Federation::BetaFederationIssuer::JWKS::Type, String]
188
188
  #
189
189
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
190
190
  #
@@ -102,7 +102,7 @@ module Anthropic
102
102
  # Creates a new instance of the variant class whose `type` matches the given
103
103
  # value, passing the remaining arguments to its constructor.
104
104
  #
105
- # @param type [Symbol, String]
105
+ # @param type [Symbol, Anthropic::Models::Beta::Organization::Federation::IssuerCreateParams::JWKS::Type, String]
106
106
  #
107
107
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
108
108
  #
@@ -125,7 +125,7 @@ module Anthropic
125
125
  # Creates a new instance of the variant class whose `type` matches the given
126
126
  # value, passing the remaining arguments to its constructor.
127
127
  #
128
- # @param type [Symbol, String]
128
+ # @param type [Symbol, Anthropic::Models::Beta::Organization::Federation::IssuerUpdateParams::JWKS::Type, String]
129
129
  #
130
130
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
131
131
  #