anthropic 2.4.0 → 2.5.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 (860) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +39 -0
  3. data/README.md +3 -3
  4. data/lib/anthropic/error_classes.rb +100 -0
  5. data/lib/anthropic/errors.rb +73 -30
  6. data/lib/anthropic/foundry.rb +5 -0
  7. data/lib/anthropic/helpers/foundry/client.rb +207 -0
  8. data/lib/anthropic/internal/type/enum.rb +2 -2
  9. data/lib/anthropic/internal/type/file_input.rb +1 -1
  10. data/lib/anthropic/internal/util.rb +2 -2
  11. data/lib/anthropic/models/available_tools_limit_exceeded_error.rb +20 -0
  12. data/lib/anthropic/models/available_tools_limit_exceeded_error_details.rb +18 -0
  13. data/lib/anthropic/models/beta/beta_advisor_redacted_result_block.rb +1 -1
  14. data/lib/anthropic/models/beta/beta_advisor_result_block.rb +1 -1
  15. data/lib/anthropic/models/beta/beta_advisor_tool_20260301.rb +3 -3
  16. data/lib/anthropic/models/beta/beta_billing_frozen_error.rb +22 -0
  17. data/lib/anthropic/models/beta/beta_billing_frozen_error_details.rb +22 -0
  18. data/lib/anthropic/models/beta/beta_cloud_config_params.rb +1 -1
  19. data/lib/anthropic/models/beta/beta_compaction_block.rb +1 -1
  20. data/lib/anthropic/models/beta/beta_content_block_param.rb +8 -2
  21. data/lib/anthropic/models/beta/beta_dream.rb +3 -3
  22. data/lib/anthropic/models/beta/beta_environment.rb +2 -2
  23. data/lib/anthropic/models/beta/beta_environment_archived_error.rb +21 -0
  24. data/lib/anthropic/models/beta/beta_environment_archived_error_details.rb +21 -0
  25. data/lib/anthropic/models/beta/beta_environment_create_disabled_error.rb +22 -0
  26. data/lib/anthropic/models/beta/beta_environment_create_disabled_error_details.rb +22 -0
  27. data/lib/anthropic/models/beta/beta_environment_not_found_error.rb +21 -0
  28. data/lib/anthropic/models/beta/beta_environment_not_found_error_details.rb +21 -0
  29. data/lib/anthropic/models/beta/beta_environment_update_disabled_error.rb +22 -0
  30. data/lib/anthropic/models/beta/beta_environment_update_disabled_error_details.rb +22 -0
  31. data/lib/anthropic/models/beta/beta_fallback_block_param.rb +15 -7
  32. data/lib/anthropic/models/beta/beta_fallback_param.rb +2 -2
  33. data/lib/anthropic/models/beta/beta_fallback_refusal_trigger.rb +1 -1
  34. data/lib/anthropic/models/beta/beta_image_transformations_param.rb +1 -1
  35. data/lib/anthropic/models/beta/beta_invalid_config_type_change_error.rb +22 -0
  36. data/lib/anthropic/models/beta/beta_invalid_config_type_change_error_details.rb +22 -0
  37. data/lib/anthropic/models/beta/beta_invalid_metadata_error.rb +22 -0
  38. data/lib/anthropic/models/beta/beta_invalid_metadata_error_details.rb +22 -0
  39. data/lib/anthropic/models/beta/beta_managed_agents_agent.rb +1 -1
  40. data/lib/anthropic/models/beta/beta_managed_agents_agent_with_overrides_params.rb +1 -1
  41. data/lib/anthropic/models/beta/beta_managed_agents_cron_schedule.rb +1 -1
  42. data/lib/anthropic/models/beta/beta_managed_agents_cron_schedule_params.rb +1 -1
  43. data/lib/anthropic/models/beta/beta_managed_agents_deployment_run.rb +2 -2
  44. data/lib/anthropic/models/beta/beta_managed_agents_memory_store_resource_config.rb +3 -4
  45. data/lib/anthropic/models/beta/beta_managed_agents_memory_store_resource_param.rb +3 -4
  46. data/lib/anthropic/models/beta/beta_managed_agents_model_config.rb +1 -1
  47. data/lib/anthropic/models/beta/beta_managed_agents_model_config_params.rb +8 -4
  48. data/lib/anthropic/models/beta/beta_managed_agents_outcome_evaluation_resource.rb +3 -3
  49. data/lib/anthropic/models/beta/beta_managed_agents_schedule.rb +1 -1
  50. data/lib/anthropic/models/beta/beta_managed_agents_schedule_params.rb +1 -1
  51. data/lib/anthropic/models/beta/beta_managed_agents_session.rb +1 -1
  52. data/lib/anthropic/models/beta/beta_managed_agents_session_resource_config.rb +1 -2
  53. data/lib/anthropic/models/beta/beta_model_capabilities.rb +1 -1
  54. data/lib/anthropic/models/beta/beta_output_tokens_details.rb +4 -4
  55. data/lib/anthropic/models/beta/beta_raw_content_block_delta.rb +1 -1
  56. data/lib/anthropic/models/beta/beta_response_tool_addition_block.rb +1 -1
  57. data/lib/anthropic/models/beta/beta_thinking_block_binding.rb +1 -1
  58. data/lib/anthropic/models/beta/beta_thinking_delta.rb +1 -1
  59. data/lib/anthropic/models/beta/beta_user_profile.rb +1 -1
  60. data/lib/anthropic/models/beta/beta_user_profile_external_user_details.rb +2 -2
  61. data/lib/anthropic/models/beta/beta_user_profile_external_user_details_params.rb +2 -2
  62. data/lib/anthropic/models/beta/deployment_create_params.rb +1 -2
  63. data/lib/anthropic/models/beta/deployment_run_list_params.rb +1 -1
  64. data/lib/anthropic/models/beta/deployment_update_params.rb +1 -2
  65. data/lib/anthropic/models/beta/dream_create_params.rb +2 -2
  66. data/lib/anthropic/models/beta/environment_create_params.rb +1 -1
  67. data/lib/anthropic/models/beta/environment_update_params.rb +1 -1
  68. data/lib/anthropic/models/beta/environments/beta_heartbeat_precondition_failed_error.rb +24 -0
  69. data/lib/anthropic/models/beta/environments/beta_heartbeat_precondition_failed_error_details.rb +30 -0
  70. data/lib/anthropic/models/beta/environments/beta_self_hosted_work.rb +2 -2
  71. data/lib/anthropic/models/beta/environments/beta_session_work_data.rb +2 -2
  72. data/lib/anthropic/models/beta/environments/beta_work_lease_state.rb +62 -0
  73. data/lib/anthropic/models/beta/file_list_params.rb +1 -1
  74. data/lib/anthropic/models/beta/memory_store_archive_params.rb +1 -1
  75. data/lib/anthropic/models/beta/memory_store_create_params.rb +1 -1
  76. data/lib/anthropic/models/beta/memory_store_delete_params.rb +1 -1
  77. data/lib/anthropic/models/beta/memory_store_list_params.rb +1 -1
  78. data/lib/anthropic/models/beta/memory_store_retrieve_params.rb +1 -1
  79. data/lib/anthropic/models/beta/memory_store_update_params.rb +1 -1
  80. data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory.rb +2 -3
  81. data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_list_item.rb +2 -3
  82. data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_path_conflict_error.rb +1 -1
  83. data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_version.rb +1 -1
  84. data/lib/anthropic/models/beta/memory_stores/memory_create_params.rb +1 -1
  85. data/lib/anthropic/models/beta/memory_stores/memory_delete_params.rb +1 -1
  86. data/lib/anthropic/models/beta/memory_stores/memory_list_params.rb +1 -1
  87. data/lib/anthropic/models/beta/memory_stores/memory_retrieve_params.rb +1 -1
  88. data/lib/anthropic/models/beta/memory_stores/memory_update_params.rb +1 -1
  89. data/lib/anthropic/models/beta/memory_stores/memory_version_list_params.rb +1 -1
  90. data/lib/anthropic/models/beta/memory_stores/memory_version_redact_params.rb +1 -1
  91. data/lib/anthropic/models/beta/memory_stores/memory_version_retrieve_params.rb +1 -1
  92. data/lib/anthropic/models/beta/messages/batch_create_params.rb +1 -1
  93. data/lib/anthropic/models/beta/model_list_params.rb +1 -1
  94. data/lib/anthropic/models/beta/organization/analytics/artifact_list_params.rb +3 -3
  95. data/lib/anthropic/models/beta/organization/analytics/beta_analytics_cost_group.rb +14 -16
  96. data/lib/anthropic/models/beta/organization/analytics/beta_analytics_cost_metrics.rb +0 -1
  97. data/lib/anthropic/models/beta/organization/analytics/beta_analytics_usage_group.rb +14 -16
  98. data/lib/anthropic/models/beta/organization/analytics/beta_analytics_usage_metrics.rb +1 -1
  99. data/lib/anthropic/models/beta/organization/analytics/connector_list_params.rb +1 -2
  100. data/lib/anthropic/models/beta/organization/analytics/cost_list_params.rb +18 -22
  101. data/lib/anthropic/models/beta/organization/analytics/cost_report_list_params.rb +5 -7
  102. data/lib/anthropic/models/beta/organization/analytics/plugin_list_params.rb +2 -2
  103. data/lib/anthropic/models/beta/organization/analytics/skill_list_params.rb +2 -2
  104. data/lib/anthropic/models/beta/organization/analytics/summary_list_params.rb +1 -1
  105. data/lib/anthropic/models/beta/organization/analytics/usage_list_params.rb +18 -21
  106. data/lib/anthropic/models/beta/organization/analytics/usage_report_list_params.rb +5 -7
  107. data/lib/anthropic/models/beta/organization/analytics/user_cost_report_list_params.rb +5 -7
  108. data/lib/anthropic/models/beta/organization/analytics/user_usage_report_list_params.rb +5 -7
  109. data/lib/anthropic/models/beta/organization/beta_analytics_actor.rb +1 -1
  110. data/lib/anthropic/models/beta/organization/beta_analytics_artifact_activity.rb +1 -1
  111. data/lib/anthropic/models/beta/organization/beta_analytics_connector_activity.rb +2 -3
  112. data/lib/anthropic/models/beta/organization/beta_analytics_cost_bucketed_result.rb +10 -13
  113. data/lib/anthropic/models/beta/organization/beta_analytics_cost_users_item.rb +10 -13
  114. data/lib/anthropic/models/beta/organization/beta_analytics_plugin_activity.rb +3 -3
  115. data/lib/anthropic/models/beta/organization/beta_analytics_product_filter.rb +1 -1
  116. data/lib/anthropic/models/beta/organization/beta_analytics_report_user_actor.rb +1 -1
  117. data/lib/anthropic/models/beta/organization/beta_analytics_single_day_activity_summary.rb +7 -8
  118. data/lib/anthropic/models/beta/organization/beta_analytics_skill_activity.rb +4 -5
  119. data/lib/anthropic/models/beta/organization/beta_analytics_usage_bucketed_result.rb +10 -12
  120. data/lib/anthropic/models/beta/organization/beta_analytics_usage_cost_product_filter.rb +1 -1
  121. data/lib/anthropic/models/beta/organization/beta_analytics_usage_users_item.rb +11 -13
  122. data/lib/anthropic/models/beta/organization/beta_analytics_user_activity.rb +2 -2
  123. data/lib/anthropic/models/beta/organization/beta_analytics_user_actor.rb +2 -3
  124. data/lib/anthropic/models/beta/organization/beta_api_key.rb +1 -1
  125. data/lib/anthropic/models/beta/organization/beta_api_key_scope_missing_error.rb +24 -0
  126. data/lib/anthropic/models/beta/organization/beta_api_key_scope_missing_error_details.rb +22 -0
  127. data/lib/anthropic/models/beta/organization/beta_azure_external_key_config.rb +1 -1
  128. data/lib/anthropic/models/beta/organization/beta_azure_external_key_config_param.rb +1 -1
  129. data/lib/anthropic/models/beta/organization/beta_claude_tag_slack_channel_identifiers.rb +1 -1
  130. data/lib/anthropic/models/beta/organization/beta_claude_tag_writes_not_enabled_error.rb +23 -0
  131. data/lib/anthropic/models/beta/organization/beta_claude_tag_writes_not_enabled_error_details.rb +21 -0
  132. data/lib/anthropic/models/beta/organization/beta_compliance_configuration_restricted_error.rb +24 -0
  133. data/lib/anthropic/models/beta/organization/beta_compliance_configuration_restricted_error_details.rb +22 -0
  134. data/lib/anthropic/models/beta/organization/beta_external_key.rb +3 -4
  135. data/lib/anthropic/models/beta/organization/beta_organization_level_scoped_api_key_required_error.rb +23 -0
  136. data/lib/anthropic/models/beta/organization/beta_organization_level_scoped_api_key_required_error_details.rb +21 -0
  137. data/lib/anthropic/models/beta/organization/beta_organization_rate_limit.rb +2 -2
  138. data/lib/anthropic/models/beta/organization/beta_organization_rate_limit_batch_group.rb +1 -1
  139. data/lib/anthropic/models/beta/organization/beta_organization_rate_limit_files_group.rb +1 -1
  140. data/lib/anthropic/models/beta/organization/beta_organization_rate_limit_model_group.rb +1 -1
  141. data/lib/anthropic/models/beta/organization/beta_organization_rate_limit_skills_group.rb +1 -1
  142. data/lib/anthropic/models/beta/organization/beta_organization_rate_limit_token_count_group.rb +1 -1
  143. data/lib/anthropic/models/beta/organization/beta_organization_rate_limit_value.rb +1 -1
  144. data/lib/anthropic/models/beta/organization/beta_organization_rate_limit_web_search_group.rb +1 -1
  145. data/lib/anthropic/models/beta/organization/beta_plugin.rb +24 -18
  146. data/lib/anthropic/models/beta/organization/beta_plugin_content_scan.rb +1 -1
  147. data/lib/anthropic/models/beta/organization/beta_plugin_marketplace.rb +1 -1
  148. data/lib/anthropic/models/beta/organization/beta_plugin_name_taken_error.rb +24 -0
  149. data/lib/anthropic/models/beta/organization/beta_plugin_name_taken_error_details.rb +28 -0
  150. data/lib/anthropic/models/beta/organization/beta_registration_pending_error.rb +24 -0
  151. data/lib/anthropic/models/beta/organization/beta_registration_pending_error_details.rb +34 -0
  152. data/lib/anthropic/models/beta/organization/beta_scan_failed_error.rb +24 -0
  153. data/lib/anthropic/models/beta/organization/beta_scan_failed_error_details.rb +28 -0
  154. data/lib/anthropic/models/beta/organization/beta_scan_pending_error.rb +24 -0
  155. data/lib/anthropic/models/beta/organization/beta_scan_pending_error_details.rb +28 -0
  156. data/lib/anthropic/models/beta/organization/beta_service_account.rb +1 -1
  157. data/lib/anthropic/models/beta/organization/beta_skill_name_taken_error.rb +24 -0
  158. data/lib/anthropic/models/beta/organization/beta_skill_name_taken_error_details.rb +28 -0
  159. data/lib/anthropic/models/beta/organization/beta_slack_channel_set_up_environment_not_found_error.rb +25 -0
  160. data/lib/anthropic/models/beta/organization/beta_slack_channel_set_up_environment_not_found_error_details.rb +31 -0
  161. data/lib/anthropic/models/beta/organization/beta_slack_channel_set_up_settings_conflict_error.rb +24 -0
  162. data/lib/anthropic/models/beta/organization/beta_slack_channel_set_up_settings_conflict_error_details.rb +31 -0
  163. data/lib/anthropic/models/beta/organization/beta_slack_channel_set_up_settings_refused_error.rb +24 -0
  164. data/lib/anthropic/models/beta/organization/beta_slack_channel_set_up_settings_refused_error_details.rb +31 -0
  165. data/lib/anthropic/models/beta/organization/beta_spend_limit.rb +2 -2
  166. data/lib/anthropic/models/beta/organization/beta_spend_limits_admin_api_writes_not_enabled_error.rb +24 -0
  167. data/lib/anthropic/models/beta/organization/beta_spend_limits_admin_api_writes_not_enabled_error_details.rb +22 -0
  168. data/lib/anthropic/models/beta/organization/beta_telemetry_destination_delivery_health.rb +1 -1
  169. data/lib/anthropic/models/beta/organization/claude_tag/bundle_list_params.rb +1 -1
  170. data/lib/anthropic/models/beta/organization/claude_tag/bundle_retrieve_params.rb +1 -1
  171. data/lib/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_bundle_target.rb +2 -2
  172. data/lib/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_bundle_target_create.rb +2 -2
  173. data/lib/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_slack_channel_bundle_target.rb +1 -1
  174. data/lib/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_slack_channel_bundle_target_create.rb +1 -1
  175. data/lib/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_slack_workspace_bundle_target.rb +1 -1
  176. data/lib/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_slack_workspace_bundle_target_create.rb +1 -1
  177. data/lib/anthropic/models/beta/organization/claude_tag/bundles/target_create_params.rb +1 -1
  178. data/lib/anthropic/models/beta/organization/claude_tag/bundles/target_delete_params.rb +1 -1
  179. data/lib/anthropic/models/beta/organization/claude_tag/bundles/target_list_params.rb +1 -1
  180. data/lib/anthropic/models/beta/organization/claude_tag/bundles/target_retrieve_params.rb +1 -1
  181. data/lib/anthropic/models/beta/organization/claude_tag/slack_channel_create_params.rb +1 -1
  182. data/lib/anthropic/models/beta/organization/claude_tag/slack_channel_delete_params.rb +1 -1
  183. data/lib/anthropic/models/beta/organization/claude_tag/slack_channel_list_params.rb +1 -1
  184. data/lib/anthropic/models/beta/organization/claude_tag/slack_channel_retrieve_params.rb +1 -1
  185. data/lib/anthropic/models/beta/organization/claude_tag/slack_channel_update_params.rb +1 -1
  186. data/lib/anthropic/models/beta/organization/claude_tag/slack_workspace_list_params.rb +2 -2
  187. data/lib/anthropic/models/beta/organization/claude_tag/slack_workspace_retrieve_params.rb +1 -1
  188. data/lib/anthropic/models/beta/organization/claude_tag/slack_workspace_update_params.rb +1 -1
  189. data/lib/anthropic/models/beta/organization/external_key_create_params.rb +1 -1
  190. data/lib/anthropic/models/beta/organization/external_key_update_params.rb +1 -1
  191. data/lib/anthropic/models/beta/organization/federation/beta_federation_rule.rb +1 -1
  192. data/lib/anthropic/models/beta/organization/federation/rule_create_params.rb +2 -2
  193. data/lib/anthropic/models/beta/organization/invite_list_params.rb +1 -1
  194. data/lib/anthropic/models/beta/organization/plugins/beta_plugin_version.rb +7 -2
  195. data/lib/anthropic/models/beta/organization/plugins/installation_setting_set_params.rb +1 -1
  196. data/lib/anthropic/models/beta/organization/plugins/share_list_params.rb +1 -1
  197. data/lib/anthropic/models/beta/organization/rbac_groups/beta_deleted_rbac_group_member.rb +1 -1
  198. data/lib/anthropic/models/beta/organization/rbac_roles/beta_rbac_role_permission.rb +1 -1
  199. data/lib/anthropic/models/beta/organization/spend_limit_list_params.rb +1 -2
  200. data/lib/anthropic/models/beta/organization/telemetry_destination_create_params.rb +2 -3
  201. data/lib/anthropic/models/beta/organization/telemetry_destination_list_params.rb +1 -1
  202. data/lib/anthropic/models/beta/organization/telemetry_destination_update_params.rb +1 -1
  203. data/lib/anthropic/models/beta/organization/workspace_create_params.rb +1 -1
  204. data/lib/anthropic/models/beta/organization/workspace_list_params.rb +11 -1
  205. data/lib/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit.rb +2 -2
  206. data/lib/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit_value.rb +3 -3
  207. data/lib/anthropic/models/beta/session_create_params.rb +1 -2
  208. data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_auto_evaluated_permission_deny.rb +1 -2
  209. data/lib/anthropic/models/beta/sessions/beta_managed_agents_memory_store_resource.rb +3 -4
  210. data/lib/anthropic/models/beta/sessions/beta_managed_agents_send_session_events.rb +1 -1
  211. data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_requires_action.rb +1 -1
  212. data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_resource.rb +1 -2
  213. data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_status_idle_event.rb +1 -1
  214. data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_idle_event.rb +3 -3
  215. data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_rescheduled_event.rb +2 -2
  216. data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_running_event.rb +2 -2
  217. data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_terminated_event.rb +2 -2
  218. data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_thread_usage.rb +1 -1
  219. data/lib/anthropic/models/beta/sessions/beta_managed_agents_span_outcome_evaluation_end_event.rb +1 -1
  220. data/lib/anthropic/models/beta/sessions/beta_managed_agents_span_outcome_evaluation_ongoing_event.rb +1 -1
  221. data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_define_outcome_event.rb +1 -1
  222. data/lib/anthropic/models/beta/sessions/event_list_params.rb +1 -1
  223. data/lib/anthropic/models/beta/sessions/event_stream_params.rb +0 -1
  224. data/lib/anthropic/models/beta/sessions/resource_retrieve_response.rb +1 -2
  225. data/lib/anthropic/models/beta/sessions/resource_update_response.rb +1 -2
  226. data/lib/anthropic/models/beta/sessions/threads/event_stream_params.rb +0 -1
  227. data/lib/anthropic/models/beta/user_profile_list_params.rb +1 -1
  228. data/lib/anthropic/models/beta/vaults/beta_managed_agents_refresh_object.rb +1 -1
  229. data/lib/anthropic/models/beta_unsupported_charset_error.rb +20 -0
  230. data/lib/anthropic/models/beta_unsupported_charset_error_details.rb +18 -0
  231. data/lib/anthropic/models/claude_code_key_creator_not_member_error.rb +20 -0
  232. data/lib/anthropic/models/claude_code_key_creator_not_member_error_details.rb +18 -0
  233. data/lib/anthropic/models/claude_code_version_too_old_error.rb +20 -0
  234. data/lib/anthropic/models/claude_code_version_too_old_error_details.rb +18 -0
  235. data/lib/anthropic/models/cmek_context_unavailable_error.rb +20 -0
  236. data/lib/anthropic/models/cmek_context_unavailable_error_details.rb +18 -0
  237. data/lib/anthropic/models/cmek_key_disabled_error.rb +20 -0
  238. data/lib/anthropic/models/cmek_key_disabled_error_details.rb +18 -0
  239. data/lib/anthropic/models/cmek_key_network_blocked_error.rb +20 -0
  240. data/lib/anthropic/models/cmek_key_network_blocked_error_details.rb +18 -0
  241. data/lib/anthropic/models/cmek_key_unreachable_error.rb +21 -0
  242. data/lib/anthropic/models/cmek_key_unreachable_error_details.rb +19 -0
  243. data/lib/anthropic/models/compaction_block_ambiguous_error.rb +20 -0
  244. data/lib/anthropic/models/compaction_block_ambiguous_error_details.rb +18 -0
  245. data/lib/anthropic/models/compaction_block_misplaced_error.rb +20 -0
  246. data/lib/anthropic/models/compaction_block_misplaced_error_details.rb +18 -0
  247. data/lib/anthropic/models/compaction_content_mismatch_error.rb +20 -0
  248. data/lib/anthropic/models/compaction_content_mismatch_error_details.rb +18 -0
  249. data/lib/anthropic/models/compaction_incomplete_turn_error.rb +19 -0
  250. data/lib/anthropic/models/compaction_incomplete_turn_error_details.rb +17 -0
  251. data/lib/anthropic/models/compaction_nothing_to_summarize_error.rb +19 -0
  252. data/lib/anthropic/models/compaction_nothing_to_summarize_error_details.rb +17 -0
  253. data/lib/anthropic/models/compaction_signature_invalid_error.rb +19 -0
  254. data/lib/anthropic/models/compaction_signature_invalid_error_details.rb +17 -0
  255. data/lib/anthropic/models/compaction_too_many_tool_references_error.rb +20 -0
  256. data/lib/anthropic/models/compaction_too_many_tool_references_error_details.rb +18 -0
  257. data/lib/anthropic/models/compaction_tool_changes_mismatch_error.rb +20 -0
  258. data/lib/anthropic/models/compaction_tool_changes_mismatch_error_details.rb +18 -0
  259. data/lib/anthropic/models/compaction_unavailable_error.rb +20 -0
  260. data/lib/anthropic/models/compaction_unavailable_error_details.rb +18 -0
  261. data/lib/anthropic/models/concurrent_membership_change_error.rb +20 -0
  262. data/lib/anthropic/models/concurrent_membership_change_error_details.rb +18 -0
  263. data/lib/anthropic/models/enforced_spend_limit_reached_error.rb +19 -0
  264. data/lib/anthropic/models/enforced_spend_limit_reached_error_details.rb +17 -0
  265. data/lib/anthropic/models/error_details.rb +505 -0
  266. data/lib/anthropic/models/error_type.rb +5 -2
  267. data/lib/anthropic/models/file_expired_error.rb +19 -0
  268. data/lib/anthropic/models/file_expired_error_details.rb +17 -0
  269. data/lib/anthropic/models/file_list_params.rb +1 -1
  270. data/lib/anthropic/models/file_not_downloadable_error.rb +20 -0
  271. data/lib/anthropic/models/file_not_downloadable_error_details.rb +18 -0
  272. data/lib/anthropic/models/image_transformations_param.rb +1 -1
  273. data/lib/anthropic/models/messages/batch_create_params.rb +1 -1
  274. data/lib/anthropic/models/model_capabilities.rb +1 -1
  275. data/lib/anthropic/models/model_list_params.rb +1 -1
  276. data/lib/anthropic/models/org_member_limit_exceeded_error.rb +20 -0
  277. data/lib/anthropic/models/org_member_limit_exceeded_error_details.rb +18 -0
  278. data/lib/anthropic/models/organization/already_member_error.rb +22 -0
  279. data/lib/anthropic/models/organization/already_member_error_details.rb +20 -0
  280. data/lib/anthropic/models/organization/analytics/artifact_list_params.rb +3 -3
  281. data/lib/anthropic/models/organization/analytics/connector_list_params.rb +1 -2
  282. data/lib/anthropic/models/organization/analytics/plugin_list_params.rb +2 -2
  283. data/lib/anthropic/models/organization/analytics/skill_list_params.rb +2 -2
  284. data/lib/anthropic/models/organization/analytics/summary_list_params.rb +1 -1
  285. data/lib/anthropic/models/organization/analytics_artifact_activity.rb +1 -1
  286. data/lib/anthropic/models/organization/analytics_connector_activity.rb +2 -3
  287. data/lib/anthropic/models/organization/analytics_plugin_activity.rb +3 -3
  288. data/lib/anthropic/models/organization/analytics_single_day_activity_summary.rb +7 -8
  289. data/lib/anthropic/models/organization/analytics_skill_activity.rb +4 -5
  290. data/lib/anthropic/models/organization/analytics_user_activity.rb +2 -2
  291. data/lib/anthropic/models/organization/api_key.rb +1 -1
  292. data/lib/anthropic/models/organization/azure_external_key_config.rb +1 -1
  293. data/lib/anthropic/models/organization/azure_external_key_config_param.rb +1 -1
  294. data/lib/anthropic/models/organization/cannot_invite_emails_with_unverified_domains_error.rb +22 -0
  295. data/lib/anthropic/models/organization/cannot_invite_emails_with_unverified_domains_error_details.rb +20 -0
  296. data/lib/anthropic/models/organization/cannot_remove_last_member_error.rb +22 -0
  297. data/lib/anthropic/models/organization/cannot_remove_last_member_error_details.rb +20 -0
  298. data/lib/anthropic/models/organization/email_domain_not_allowed_error.rb +22 -0
  299. data/lib/anthropic/models/organization/email_domain_not_allowed_error_details.rb +20 -0
  300. data/lib/anthropic/models/organization/external_key.rb +3 -4
  301. data/lib/anthropic/models/organization/external_key_changed_error.rb +22 -0
  302. data/lib/anthropic/models/organization/external_key_changed_error_details.rb +20 -0
  303. data/lib/anthropic/models/organization/external_key_create_params.rb +1 -1
  304. data/lib/anthropic/models/organization/external_key_in_workspace_policy_error.rb +22 -0
  305. data/lib/anthropic/models/organization/external_key_in_workspace_policy_error_details.rb +20 -0
  306. data/lib/anthropic/models/organization/external_key_update_params.rb +1 -1
  307. data/lib/anthropic/models/organization/federation/rule_create_params.rb +2 -2
  308. data/lib/anthropic/models/organization/invite_already_exists_error.rb +22 -0
  309. data/lib/anthropic/models/organization/invite_already_exists_error_details.rb +20 -0
  310. data/lib/anthropic/models/organization/invite_list_params.rb +1 -1
  311. data/lib/anthropic/models/organization/key_profile_mismatch_error.rb +23 -0
  312. data/lib/anthropic/models/organization/key_profile_mismatch_error_details.rb +21 -0
  313. data/lib/anthropic/models/organization/org_api_key_limit_exceeded_error.rb +21 -0
  314. data/lib/anthropic/models/organization/org_api_key_limit_exceeded_error_details.rb +19 -0
  315. data/lib/anthropic/models/organization/organization_rate_limit.rb +2 -2
  316. data/lib/anthropic/models/organization/organization_rate_limit_batch_group.rb +1 -1
  317. data/lib/anthropic/models/organization/organization_rate_limit_files_group.rb +1 -1
  318. data/lib/anthropic/models/organization/organization_rate_limit_model_group.rb +1 -1
  319. data/lib/anthropic/models/organization/organization_rate_limit_skills_group.rb +1 -1
  320. data/lib/anthropic/models/organization/organization_rate_limit_token_count_group.rb +1 -1
  321. data/lib/anthropic/models/organization/organization_rate_limit_value.rb +1 -1
  322. data/lib/anthropic/models/organization/organization_rate_limit_web_search_group.rb +1 -1
  323. data/lib/anthropic/models/organization/rbac_group_grants_owner_access_error.rb +24 -0
  324. data/lib/anthropic/models/organization/rbac_group_grants_owner_access_error_details.rb +22 -0
  325. data/lib/anthropic/models/organization/rbac_group_owner_access_unconfirmed_error.rb +23 -0
  326. data/lib/anthropic/models/organization/rbac_group_owner_access_unconfirmed_error_details.rb +21 -0
  327. data/lib/anthropic/models/organization/rbac_groups/deleted_rbac_group_member.rb +1 -1
  328. data/lib/anthropic/models/organization/rbac_roles/rbac_role_permission.rb +1 -1
  329. data/lib/anthropic/models/organization/service_account.rb +1 -1
  330. data/lib/anthropic/models/organization/spend_limit.rb +2 -2
  331. data/lib/anthropic/models/organization/workspace_api_key_limit_exceeded_error.rb +21 -0
  332. data/lib/anthropic/models/organization/workspace_api_key_limit_exceeded_error_details.rb +19 -0
  333. data/lib/anthropic/models/organization/workspace_create_params.rb +1 -1
  334. data/lib/anthropic/models/organization/workspace_list_params.rb +11 -1
  335. data/lib/anthropic/models/organization/workspace_member_limit_exceeded_error.rb +21 -0
  336. data/lib/anthropic/models/organization/workspace_member_limit_exceeded_error_details.rb +19 -0
  337. data/lib/anthropic/models/organization/workspace_policy_field.rb +16 -0
  338. data/lib/anthropic/models/organization/workspace_policy_violation_error.rb +23 -0
  339. data/lib/anthropic/models/organization/workspace_policy_violation_error_details.rb +29 -0
  340. data/lib/anthropic/models/organization/workspaces/workspace_rate_limit.rb +2 -2
  341. data/lib/anthropic/models/organization/workspaces/workspace_rate_limit_value.rb +3 -3
  342. data/lib/anthropic/models/organization_on_hold_error.rb +21 -0
  343. data/lib/anthropic/models/organization_on_hold_error_details.rb +25 -0
  344. data/lib/anthropic/models/organization_type_not_supported_error.rb +20 -0
  345. data/lib/anthropic/models/organization_type_not_supported_error_details.rb +18 -0
  346. data/lib/anthropic/models/output_tokens_details.rb +4 -4
  347. data/lib/anthropic/models/raw_content_block_delta.rb +1 -1
  348. data/lib/anthropic/models/request_body_encoding_invalid_error.rb +19 -0
  349. data/lib/anthropic/models/request_body_encoding_invalid_error_details.rb +17 -0
  350. data/lib/anthropic/models/request_body_encoding_unsupported_error.rb +19 -0
  351. data/lib/anthropic/models/request_body_encoding_unsupported_error_details.rb +17 -0
  352. data/lib/anthropic/models/request_body_too_large_after_decoding_error.rb +19 -0
  353. data/lib/anthropic/models/request_body_too_large_after_decoding_error_details.rb +17 -0
  354. data/lib/anthropic/models/skill_read_blocked_undecryptable_error.rb +20 -0
  355. data/lib/anthropic/models/skill_read_blocked_undecryptable_error_details.rb +18 -0
  356. data/lib/anthropic/models/storage_quota_exceeded_error.rb +20 -0
  357. data/lib/anthropic/models/storage_quota_exceeded_error_details.rb +18 -0
  358. data/lib/anthropic/models/thinking_delta.rb +1 -1
  359. data/lib/anthropic/models/thread_already_continued_error.rb +21 -0
  360. data/lib/anthropic/models/thread_already_continued_error_details.rb +19 -0
  361. data/lib/anthropic/models/thread_continue_in_flight_error.rb +21 -0
  362. data/lib/anthropic/models/thread_continue_in_flight_error_details.rb +19 -0
  363. data/lib/anthropic/models/thread_fingerprint_mismatch_error.rb +22 -0
  364. data/lib/anthropic/models/thread_fingerprint_mismatch_error_details.rb +20 -0
  365. data/lib/anthropic/models/thread_not_found_error.rb +20 -0
  366. data/lib/anthropic/models/thread_not_found_error_details.rb +18 -0
  367. data/lib/anthropic/models/thread_unsupported_feature_name.rb +20 -0
  368. data/lib/anthropic/models/thread_unsupported_request_error.rb +21 -0
  369. data/lib/anthropic/models/thread_unsupported_request_error_details.rb +34 -0
  370. data/lib/anthropic/models/tool_name_conflict_error.rb +20 -0
  371. data/lib/anthropic/models/tool_name_conflict_error_details.rb +18 -0
  372. data/lib/anthropic/models/tool_reference_unresolved_error.rb +20 -0
  373. data/lib/anthropic/models/tool_reference_unresolved_error_details.rb +18 -0
  374. data/lib/anthropic/models/user_profile.rb +1 -1
  375. data/lib/anthropic/models/user_profile_enforcement_action.rb +1 -1
  376. data/lib/anthropic/models/user_profile_enforcement_action_ban.rb +1 -1
  377. data/lib/anthropic/models/user_profile_enforcement_action_restriction.rb +1 -1
  378. data/lib/anthropic/models/user_profile_external_user_details.rb +2 -2
  379. data/lib/anthropic/models/user_profile_external_user_details_params.rb +2 -2
  380. data/lib/anthropic/models/user_profile_list_params.rb +1 -1
  381. data/lib/anthropic/models/user_profile_not_found_error.rb +21 -0
  382. data/lib/anthropic/models/user_profile_not_found_error_details.rb +19 -0
  383. data/lib/anthropic/models.rb +155 -0
  384. data/lib/anthropic/resources/beta/agents/versions.rb +1 -1
  385. data/lib/anthropic/resources/beta/agents.rb +4 -4
  386. data/lib/anthropic/resources/beta/deployment_runs.rb +1 -1
  387. data/lib/anthropic/resources/beta/deployments.rb +3 -3
  388. data/lib/anthropic/resources/beta/dreams.rb +1 -1
  389. data/lib/anthropic/resources/beta/environments/work.rb +29 -0
  390. data/lib/anthropic/resources/beta/environments.rb +44 -1
  391. data/lib/anthropic/resources/beta/files.rb +56 -1
  392. data/lib/anthropic/resources/beta/memory_stores/memories.rb +6 -6
  393. data/lib/anthropic/resources/beta/memory_stores/memory_versions.rb +5 -6
  394. data/lib/anthropic/resources/beta/memory_stores.rb +6 -6
  395. data/lib/anthropic/resources/beta/messages/batches.rb +41 -0
  396. data/lib/anthropic/resources/beta/messages.rb +142 -0
  397. data/lib/anthropic/resources/beta/models.rb +13 -1
  398. data/lib/anthropic/resources/beta/organization/analytics/artifacts.rb +1 -1
  399. data/lib/anthropic/resources/beta/organization/analytics/cost.rb +8 -8
  400. data/lib/anthropic/resources/beta/organization/analytics/cost_report.rb +3 -3
  401. data/lib/anthropic/resources/beta/organization/analytics/summaries.rb +1 -1
  402. data/lib/anthropic/resources/beta/organization/analytics/usage.rb +7 -7
  403. data/lib/anthropic/resources/beta/organization/analytics/usage_report.rb +3 -3
  404. data/lib/anthropic/resources/beta/organization/analytics/user_cost_report.rb +9 -7
  405. data/lib/anthropic/resources/beta/organization/analytics/user_usage_report.rb +9 -7
  406. data/lib/anthropic/resources/beta/organization/api_keys.rb +3 -0
  407. data/lib/anthropic/resources/beta/organization/claude_tag/bundles/targets.rb +32 -4
  408. data/lib/anthropic/resources/beta/organization/claude_tag/bundles.rb +16 -2
  409. data/lib/anthropic/resources/beta/organization/claude_tag/slack_channels.rb +56 -5
  410. data/lib/anthropic/resources/beta/organization/claude_tag/slack_workspaces.rb +30 -3
  411. data/lib/anthropic/resources/beta/organization/external_keys.rb +10 -0
  412. data/lib/anthropic/resources/beta/organization/federation/rules.rb +2 -2
  413. data/lib/anthropic/resources/beta/organization/invites.rb +19 -1
  414. data/lib/anthropic/resources/beta/organization/plugin_marketplaces.rb +8 -5
  415. data/lib/anthropic/resources/beta/organization/plugins/installation_settings.rb +3 -3
  416. data/lib/anthropic/resources/beta/organization/plugins/shares.rb +1 -1
  417. data/lib/anthropic/resources/beta/organization/plugins/versions.rb +20 -4
  418. data/lib/anthropic/resources/beta/organization/plugins.rb +31 -4
  419. data/lib/anthropic/resources/beta/organization/rbac_groups/members.rb +16 -0
  420. data/lib/anthropic/resources/beta/organization/rbac_groups.rb +8 -0
  421. data/lib/anthropic/resources/beta/organization/spend_limits/effective.rb +3 -0
  422. data/lib/anthropic/resources/beta/organization/spend_limits.rb +18 -2
  423. data/lib/anthropic/resources/beta/organization/telemetry_destinations/workspaces.rb +3 -3
  424. data/lib/anthropic/resources/beta/organization/telemetry_destinations.rb +4 -4
  425. data/lib/anthropic/resources/beta/organization/users.rb +5 -0
  426. data/lib/anthropic/resources/beta/organization/webhooks.rb +2 -2
  427. data/lib/anthropic/resources/beta/organization/workspaces/members.rb +4 -0
  428. data/lib/anthropic/resources/beta/organization/workspaces.rb +28 -2
  429. data/lib/anthropic/resources/beta/sessions/events.rb +4 -4
  430. data/lib/anthropic/resources/beta/sessions/resources.rb +7 -7
  431. data/lib/anthropic/resources/beta/sessions/threads/events.rb +3 -3
  432. data/lib/anthropic/resources/beta/sessions/threads.rb +3 -3
  433. data/lib/anthropic/resources/beta/sessions.rb +4 -4
  434. data/lib/anthropic/resources/beta/skills/versions.rb +30 -0
  435. data/lib/anthropic/resources/beta/skills.rb +30 -0
  436. data/lib/anthropic/resources/beta/tunnels/certificates.rb +4 -4
  437. data/lib/anthropic/resources/beta/tunnels.rb +3 -3
  438. data/lib/anthropic/resources/beta/vaults/credentials.rb +7 -7
  439. data/lib/anthropic/resources/beta/vaults.rb +4 -4
  440. data/lib/anthropic/resources/files.rb +56 -1
  441. data/lib/anthropic/resources/messages/batches.rb +41 -0
  442. data/lib/anthropic/resources/messages.rb +142 -0
  443. data/lib/anthropic/resources/models.rb +13 -1
  444. data/lib/anthropic/resources/organization/analytics/artifacts.rb +1 -1
  445. data/lib/anthropic/resources/organization/analytics/summaries.rb +1 -1
  446. data/lib/anthropic/resources/organization/api_keys.rb +3 -0
  447. data/lib/anthropic/resources/organization/external_keys.rb +10 -0
  448. data/lib/anthropic/resources/organization/federation/rules.rb +2 -2
  449. data/lib/anthropic/resources/organization/invites.rb +19 -1
  450. data/lib/anthropic/resources/organization/rbac_groups/members.rb +16 -0
  451. data/lib/anthropic/resources/organization/rbac_groups.rb +8 -0
  452. data/lib/anthropic/resources/organization/spend_limits/effective.rb +3 -0
  453. data/lib/anthropic/resources/organization/users.rb +5 -0
  454. data/lib/anthropic/resources/organization/workspaces/members.rb +4 -0
  455. data/lib/anthropic/resources/organization/workspaces.rb +29 -3
  456. data/lib/anthropic/resources/skills/versions.rb +30 -0
  457. data/lib/anthropic/resources/skills.rb +30 -0
  458. data/lib/anthropic/version.rb +1 -1
  459. data/lib/anthropic.rb +151 -0
  460. data/rbi/anthropic/error_classes.rbi +15 -0
  461. data/rbi/anthropic/errors.rbi +56 -5
  462. data/rbi/anthropic/foundry.rbi +5 -0
  463. data/rbi/anthropic/helpers/foundry/client.rbi +116 -0
  464. data/rbi/anthropic/internal/type/file_input.rbi +1 -1
  465. data/rbi/anthropic/models/available_tools_limit_exceeded_error.rbi +17 -0
  466. data/rbi/anthropic/models/available_tools_limit_exceeded_error_details.rbi +28 -0
  467. data/rbi/anthropic/models/beta/beta_advisor_tool_20260301.rbi +6 -6
  468. data/rbi/anthropic/models/beta/beta_billing_frozen_error.rbi +19 -0
  469. data/rbi/anthropic/models/beta/beta_billing_frozen_error_details.rbi +32 -0
  470. data/rbi/anthropic/models/beta/beta_dream.rbi +2 -2
  471. data/rbi/anthropic/models/beta/beta_environment.rbi +2 -2
  472. data/rbi/anthropic/models/beta/beta_environment_archived_error.rbi +18 -0
  473. data/rbi/anthropic/models/beta/beta_environment_archived_error_details.rbi +32 -0
  474. data/rbi/anthropic/models/beta/beta_environment_create_disabled_error.rbi +21 -0
  475. data/rbi/anthropic/models/beta/beta_environment_create_disabled_error_details.rbi +33 -0
  476. data/rbi/anthropic/models/beta/beta_environment_not_found_error.rbi +18 -0
  477. data/rbi/anthropic/models/beta/beta_environment_not_found_error_details.rbi +32 -0
  478. data/rbi/anthropic/models/beta/beta_environment_update_disabled_error.rbi +21 -0
  479. data/rbi/anthropic/models/beta/beta_environment_update_disabled_error_details.rbi +33 -0
  480. data/rbi/anthropic/models/beta/beta_fallback_block_param.rbi +15 -7
  481. data/rbi/anthropic/models/beta/beta_invalid_config_type_change_error.rbi +21 -0
  482. data/rbi/anthropic/models/beta/beta_invalid_config_type_change_error_details.rbi +33 -0
  483. data/rbi/anthropic/models/beta/beta_invalid_metadata_error.rbi +19 -0
  484. data/rbi/anthropic/models/beta/beta_invalid_metadata_error_details.rbi +32 -0
  485. data/rbi/anthropic/models/beta/beta_managed_agents_cron_schedule.rbi +2 -2
  486. data/rbi/anthropic/models/beta/beta_managed_agents_cron_schedule_params.rbi +2 -2
  487. data/rbi/anthropic/models/beta/beta_managed_agents_memory_store_resource_config.rbi +4 -4
  488. data/rbi/anthropic/models/beta/beta_managed_agents_memory_store_resource_param.rbi +4 -4
  489. data/rbi/anthropic/models/beta/beta_managed_agents_model_config_params.rbi +9 -3
  490. data/rbi/anthropic/models/beta/beta_managed_agents_outcome_evaluation_resource.rbi +2 -2
  491. data/rbi/anthropic/models/beta/beta_managed_agents_schedule.rbi +2 -2
  492. data/rbi/anthropic/models/beta/beta_managed_agents_schedule_params.rbi +2 -2
  493. data/rbi/anthropic/models/beta/beta_managed_agents_session_resource_config.rbi +2 -2
  494. data/rbi/anthropic/models/beta/beta_output_tokens_details.rbi +8 -8
  495. data/rbi/anthropic/models/beta/deployment_create_params.rbi +2 -2
  496. data/rbi/anthropic/models/beta/deployment_update_params.rbi +2 -2
  497. data/rbi/anthropic/models/beta/environments/beta_heartbeat_precondition_failed_error.rbi +25 -0
  498. data/rbi/anthropic/models/beta/environments/beta_heartbeat_precondition_failed_error_details.rbi +62 -0
  499. data/rbi/anthropic/models/beta/environments/beta_self_hosted_work.rbi +2 -2
  500. data/rbi/anthropic/models/beta/environments/beta_session_work_data.rbi +2 -2
  501. data/rbi/anthropic/models/beta/environments/beta_work_lease_state.rbi +125 -0
  502. data/rbi/anthropic/models/beta/organization/analytics/artifact_list_params.rbi +4 -4
  503. data/rbi/anthropic/models/beta/organization/analytics/beta_analytics_cost_group.rbi +12 -14
  504. data/rbi/anthropic/models/beta/organization/analytics/beta_analytics_usage_group.rbi +12 -14
  505. data/rbi/anthropic/models/beta/organization/analytics/connector_list_params.rbi +2 -4
  506. data/rbi/anthropic/models/beta/organization/analytics/cost_list_params.rbi +26 -32
  507. data/rbi/anthropic/models/beta/organization/analytics/cost_report_list_params.rbi +4 -8
  508. data/rbi/anthropic/models/beta/organization/analytics/plugin_list_params.rbi +4 -4
  509. data/rbi/anthropic/models/beta/organization/analytics/skill_list_params.rbi +4 -4
  510. data/rbi/anthropic/models/beta/organization/analytics/usage_list_params.rbi +26 -32
  511. data/rbi/anthropic/models/beta/organization/analytics/usage_report_list_params.rbi +4 -8
  512. data/rbi/anthropic/models/beta/organization/analytics/user_cost_report_list_params.rbi +4 -8
  513. data/rbi/anthropic/models/beta/organization/analytics/user_usage_report_list_params.rbi +4 -8
  514. data/rbi/anthropic/models/beta/organization/beta_analytics_connector_activity.rbi +2 -4
  515. data/rbi/anthropic/models/beta/organization/beta_analytics_cost_bucketed_result.rbi +12 -14
  516. data/rbi/anthropic/models/beta/organization/beta_analytics_cost_users_item.rbi +12 -14
  517. data/rbi/anthropic/models/beta/organization/beta_analytics_plugin_activity.rbi +4 -4
  518. data/rbi/anthropic/models/beta/organization/beta_analytics_product_filter.rbi +1 -1
  519. data/rbi/anthropic/models/beta/organization/beta_analytics_single_day_activity_summary.rbi +8 -10
  520. data/rbi/anthropic/models/beta/organization/beta_analytics_skill_activity.rbi +2 -4
  521. data/rbi/anthropic/models/beta/organization/beta_analytics_usage_bucketed_result.rbi +12 -14
  522. data/rbi/anthropic/models/beta/organization/beta_analytics_usage_cost_product_filter.rbi +1 -1
  523. data/rbi/anthropic/models/beta/organization/beta_analytics_usage_users_item.rbi +12 -14
  524. data/rbi/anthropic/models/beta/organization/beta_analytics_user_activity.rbi +4 -4
  525. data/rbi/anthropic/models/beta/organization/beta_analytics_user_actor.rbi +2 -4
  526. data/rbi/anthropic/models/beta/organization/beta_api_key_scope_missing_error.rbi +25 -0
  527. data/rbi/anthropic/models/beta/organization/beta_api_key_scope_missing_error_details.rbi +32 -0
  528. data/rbi/anthropic/models/beta/organization/beta_claude_tag_writes_not_enabled_error.rbi +24 -0
  529. data/rbi/anthropic/models/beta/organization/beta_claude_tag_writes_not_enabled_error_details.rbi +31 -0
  530. data/rbi/anthropic/models/beta/organization/beta_compliance_configuration_restricted_error.rbi +25 -0
  531. data/rbi/anthropic/models/beta/organization/beta_compliance_configuration_restricted_error_details.rbi +32 -0
  532. data/rbi/anthropic/models/beta/organization/beta_external_key.rbi +2 -4
  533. data/rbi/anthropic/models/beta/organization/beta_organization_level_scoped_api_key_required_error.rbi +24 -0
  534. data/rbi/anthropic/models/beta/organization/beta_organization_level_scoped_api_key_required_error_details.rbi +31 -0
  535. data/rbi/anthropic/models/beta/organization/beta_plugin.rbi +36 -27
  536. data/rbi/anthropic/models/beta/organization/beta_plugin_name_taken_error.rbi +25 -0
  537. data/rbi/anthropic/models/beta/organization/beta_plugin_name_taken_error_details.rbi +43 -0
  538. data/rbi/anthropic/models/beta/organization/beta_registration_pending_error.rbi +25 -0
  539. data/rbi/anthropic/models/beta/organization/beta_registration_pending_error_details.rbi +56 -0
  540. data/rbi/anthropic/models/beta/organization/beta_scan_failed_error.rbi +23 -0
  541. data/rbi/anthropic/models/beta/organization/beta_scan_failed_error_details.rbi +41 -0
  542. data/rbi/anthropic/models/beta/organization/beta_scan_pending_error.rbi +23 -0
  543. data/rbi/anthropic/models/beta/organization/beta_scan_pending_error_details.rbi +41 -0
  544. data/rbi/anthropic/models/beta/organization/beta_skill_name_taken_error.rbi +25 -0
  545. data/rbi/anthropic/models/beta/organization/beta_skill_name_taken_error_details.rbi +39 -0
  546. data/rbi/anthropic/models/beta/organization/beta_slack_channel_set_up_environment_not_found_error.rbi +26 -0
  547. data/rbi/anthropic/models/beta/organization/beta_slack_channel_set_up_environment_not_found_error_details.rbi +47 -0
  548. data/rbi/anthropic/models/beta/organization/beta_slack_channel_set_up_settings_conflict_error.rbi +25 -0
  549. data/rbi/anthropic/models/beta/organization/beta_slack_channel_set_up_settings_conflict_error_details.rbi +48 -0
  550. data/rbi/anthropic/models/beta/organization/beta_slack_channel_set_up_settings_refused_error.rbi +25 -0
  551. data/rbi/anthropic/models/beta/organization/beta_slack_channel_set_up_settings_refused_error_details.rbi +48 -0
  552. data/rbi/anthropic/models/beta/organization/beta_spend_limits_admin_api_writes_not_enabled_error.rbi +25 -0
  553. data/rbi/anthropic/models/beta/organization/beta_spend_limits_admin_api_writes_not_enabled_error_details.rbi +32 -0
  554. data/rbi/anthropic/models/beta/organization/plugins/beta_plugin_version.rbi +12 -2
  555. data/rbi/anthropic/models/beta/organization/rbac_roles/beta_rbac_role_permission.rbi +2 -2
  556. data/rbi/anthropic/models/beta/organization/telemetry_destination_create_params.rbi +2 -4
  557. data/rbi/anthropic/models/beta/organization/workspace_list_params.rbi +15 -0
  558. data/rbi/anthropic/models/beta/session_create_params.rbi +2 -2
  559. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_memory_store_resource.rbi +4 -4
  560. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_resource.rbi +2 -2
  561. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_idle_event.rbi +2 -2
  562. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_rescheduled_event.rbi +2 -2
  563. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_running_event.rbi +2 -2
  564. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_terminated_event.rbi +2 -2
  565. data/rbi/anthropic/models/beta/sessions/resource_retrieve_response.rbi +2 -2
  566. data/rbi/anthropic/models/beta/sessions/resource_update_response.rbi +2 -2
  567. data/rbi/anthropic/models/beta_unsupported_charset_error.rbi +17 -0
  568. data/rbi/anthropic/models/beta_unsupported_charset_error_details.rbi +28 -0
  569. data/rbi/anthropic/models/claude_code_key_creator_not_member_error.rbi +17 -0
  570. data/rbi/anthropic/models/claude_code_key_creator_not_member_error_details.rbi +28 -0
  571. data/rbi/anthropic/models/claude_code_version_too_old_error.rbi +17 -0
  572. data/rbi/anthropic/models/claude_code_version_too_old_error_details.rbi +28 -0
  573. data/rbi/anthropic/models/cmek_context_unavailable_error.rbi +17 -0
  574. data/rbi/anthropic/models/cmek_context_unavailable_error_details.rbi +28 -0
  575. data/rbi/anthropic/models/cmek_key_disabled_error.rbi +17 -0
  576. data/rbi/anthropic/models/cmek_key_disabled_error_details.rbi +28 -0
  577. data/rbi/anthropic/models/cmek_key_network_blocked_error.rbi +17 -0
  578. data/rbi/anthropic/models/cmek_key_network_blocked_error_details.rbi +28 -0
  579. data/rbi/anthropic/models/cmek_key_unreachable_error.rbi +18 -0
  580. data/rbi/anthropic/models/cmek_key_unreachable_error_details.rbi +29 -0
  581. data/rbi/anthropic/models/compaction_block_ambiguous_error.rbi +17 -0
  582. data/rbi/anthropic/models/compaction_block_ambiguous_error_details.rbi +28 -0
  583. data/rbi/anthropic/models/compaction_block_misplaced_error.rbi +17 -0
  584. data/rbi/anthropic/models/compaction_block_misplaced_error_details.rbi +28 -0
  585. data/rbi/anthropic/models/compaction_content_mismatch_error.rbi +17 -0
  586. data/rbi/anthropic/models/compaction_content_mismatch_error_details.rbi +28 -0
  587. data/rbi/anthropic/models/compaction_incomplete_turn_error.rbi +16 -0
  588. data/rbi/anthropic/models/compaction_incomplete_turn_error_details.rbi +27 -0
  589. data/rbi/anthropic/models/compaction_nothing_to_summarize_error.rbi +16 -0
  590. data/rbi/anthropic/models/compaction_nothing_to_summarize_error_details.rbi +27 -0
  591. data/rbi/anthropic/models/compaction_signature_invalid_error.rbi +16 -0
  592. data/rbi/anthropic/models/compaction_signature_invalid_error_details.rbi +27 -0
  593. data/rbi/anthropic/models/compaction_too_many_tool_references_error.rbi +17 -0
  594. data/rbi/anthropic/models/compaction_too_many_tool_references_error_details.rbi +28 -0
  595. data/rbi/anthropic/models/compaction_tool_changes_mismatch_error.rbi +17 -0
  596. data/rbi/anthropic/models/compaction_tool_changes_mismatch_error_details.rbi +28 -0
  597. data/rbi/anthropic/models/compaction_unavailable_error.rbi +17 -0
  598. data/rbi/anthropic/models/compaction_unavailable_error_details.rbi +28 -0
  599. data/rbi/anthropic/models/concurrent_membership_change_error.rbi +17 -0
  600. data/rbi/anthropic/models/concurrent_membership_change_error_details.rbi +28 -0
  601. data/rbi/anthropic/models/enforced_spend_limit_reached_error.rbi +16 -0
  602. data/rbi/anthropic/models/enforced_spend_limit_reached_error_details.rbi +27 -0
  603. data/rbi/anthropic/models/error_details.rbi +497 -0
  604. data/rbi/anthropic/models/error_type.rbi +11 -2
  605. data/rbi/anthropic/models/file_expired_error.rbi +16 -0
  606. data/rbi/anthropic/models/file_expired_error_details.rbi +27 -0
  607. data/rbi/anthropic/models/file_not_downloadable_error.rbi +17 -0
  608. data/rbi/anthropic/models/file_not_downloadable_error_details.rbi +28 -0
  609. data/rbi/anthropic/models/org_member_limit_exceeded_error.rbi +17 -0
  610. data/rbi/anthropic/models/org_member_limit_exceeded_error_details.rbi +28 -0
  611. data/rbi/anthropic/models/organization/already_member_error.rbi +19 -0
  612. data/rbi/anthropic/models/organization/already_member_error_details.rbi +30 -0
  613. data/rbi/anthropic/models/organization/analytics/artifact_list_params.rbi +4 -4
  614. data/rbi/anthropic/models/organization/analytics/connector_list_params.rbi +2 -4
  615. data/rbi/anthropic/models/organization/analytics/plugin_list_params.rbi +4 -4
  616. data/rbi/anthropic/models/organization/analytics/skill_list_params.rbi +4 -4
  617. data/rbi/anthropic/models/organization/analytics_connector_activity.rbi +2 -4
  618. data/rbi/anthropic/models/organization/analytics_plugin_activity.rbi +4 -4
  619. data/rbi/anthropic/models/organization/analytics_single_day_activity_summary.rbi +8 -10
  620. data/rbi/anthropic/models/organization/analytics_skill_activity.rbi +2 -4
  621. data/rbi/anthropic/models/organization/analytics_user_activity.rbi +4 -4
  622. data/rbi/anthropic/models/organization/cannot_invite_emails_with_unverified_domains_error.rbi +23 -0
  623. data/rbi/anthropic/models/organization/cannot_invite_emails_with_unverified_domains_error_details.rbi +30 -0
  624. data/rbi/anthropic/models/organization/cannot_remove_last_member_error.rbi +21 -0
  625. data/rbi/anthropic/models/organization/cannot_remove_last_member_error_details.rbi +30 -0
  626. data/rbi/anthropic/models/organization/email_domain_not_allowed_error.rbi +21 -0
  627. data/rbi/anthropic/models/organization/email_domain_not_allowed_error_details.rbi +30 -0
  628. data/rbi/anthropic/models/organization/external_key.rbi +2 -4
  629. data/rbi/anthropic/models/organization/external_key_changed_error.rbi +19 -0
  630. data/rbi/anthropic/models/organization/external_key_changed_error_details.rbi +30 -0
  631. data/rbi/anthropic/models/organization/external_key_in_workspace_policy_error.rbi +23 -0
  632. data/rbi/anthropic/models/organization/external_key_in_workspace_policy_error_details.rbi +30 -0
  633. data/rbi/anthropic/models/organization/invite_already_exists_error.rbi +21 -0
  634. data/rbi/anthropic/models/organization/invite_already_exists_error_details.rbi +30 -0
  635. data/rbi/anthropic/models/organization/key_profile_mismatch_error.rbi +20 -0
  636. data/rbi/anthropic/models/organization/key_profile_mismatch_error_details.rbi +31 -0
  637. data/rbi/anthropic/models/organization/org_api_key_limit_exceeded_error.rbi +20 -0
  638. data/rbi/anthropic/models/organization/org_api_key_limit_exceeded_error_details.rbi +29 -0
  639. data/rbi/anthropic/models/organization/rbac_group_grants_owner_access_error.rbi +25 -0
  640. data/rbi/anthropic/models/organization/rbac_group_grants_owner_access_error_details.rbi +32 -0
  641. data/rbi/anthropic/models/organization/rbac_group_owner_access_unconfirmed_error.rbi +24 -0
  642. data/rbi/anthropic/models/organization/rbac_group_owner_access_unconfirmed_error_details.rbi +31 -0
  643. data/rbi/anthropic/models/organization/rbac_roles/rbac_role_permission.rbi +2 -2
  644. data/rbi/anthropic/models/organization/workspace_api_key_limit_exceeded_error.rbi +22 -0
  645. data/rbi/anthropic/models/organization/workspace_api_key_limit_exceeded_error_details.rbi +29 -0
  646. data/rbi/anthropic/models/organization/workspace_list_params.rbi +15 -0
  647. data/rbi/anthropic/models/organization/workspace_member_limit_exceeded_error.rbi +22 -0
  648. data/rbi/anthropic/models/organization/workspace_member_limit_exceeded_error_details.rbi +29 -0
  649. data/rbi/anthropic/models/organization/workspace_policy_field.rbi +33 -0
  650. data/rbi/anthropic/models/organization/workspace_policy_violation_error.rbi +22 -0
  651. data/rbi/anthropic/models/organization/workspace_policy_violation_error_details.rbi +53 -0
  652. data/rbi/anthropic/models/organization_on_hold_error.rbi +18 -0
  653. data/rbi/anthropic/models/organization_on_hold_error_details.rbi +38 -0
  654. data/rbi/anthropic/models/organization_type_not_supported_error.rbi +17 -0
  655. data/rbi/anthropic/models/organization_type_not_supported_error_details.rbi +28 -0
  656. data/rbi/anthropic/models/output_tokens_details.rbi +8 -8
  657. data/rbi/anthropic/models/request_body_encoding_invalid_error.rbi +16 -0
  658. data/rbi/anthropic/models/request_body_encoding_invalid_error_details.rbi +27 -0
  659. data/rbi/anthropic/models/request_body_encoding_unsupported_error.rbi +16 -0
  660. data/rbi/anthropic/models/request_body_encoding_unsupported_error_details.rbi +27 -0
  661. data/rbi/anthropic/models/request_body_too_large_after_decoding_error.rbi +16 -0
  662. data/rbi/anthropic/models/request_body_too_large_after_decoding_error_details.rbi +27 -0
  663. data/rbi/anthropic/models/skill_read_blocked_undecryptable_error.rbi +17 -0
  664. data/rbi/anthropic/models/skill_read_blocked_undecryptable_error_details.rbi +28 -0
  665. data/rbi/anthropic/models/storage_quota_exceeded_error.rbi +17 -0
  666. data/rbi/anthropic/models/storage_quota_exceeded_error_details.rbi +28 -0
  667. data/rbi/anthropic/models/thread_already_continued_error.rbi +18 -0
  668. data/rbi/anthropic/models/thread_already_continued_error_details.rbi +29 -0
  669. data/rbi/anthropic/models/thread_continue_in_flight_error.rbi +18 -0
  670. data/rbi/anthropic/models/thread_continue_in_flight_error_details.rbi +29 -0
  671. data/rbi/anthropic/models/thread_fingerprint_mismatch_error.rbi +19 -0
  672. data/rbi/anthropic/models/thread_fingerprint_mismatch_error_details.rbi +30 -0
  673. data/rbi/anthropic/models/thread_not_found_error.rbi +17 -0
  674. data/rbi/anthropic/models/thread_not_found_error_details.rbi +28 -0
  675. data/rbi/anthropic/models/thread_unsupported_feature_name.rbi +44 -0
  676. data/rbi/anthropic/models/thread_unsupported_request_error.rbi +18 -0
  677. data/rbi/anthropic/models/thread_unsupported_request_error_details.rbi +65 -0
  678. data/rbi/anthropic/models/tool_name_conflict_error.rbi +17 -0
  679. data/rbi/anthropic/models/tool_name_conflict_error_details.rbi +28 -0
  680. data/rbi/anthropic/models/tool_reference_unresolved_error.rbi +17 -0
  681. data/rbi/anthropic/models/tool_reference_unresolved_error_details.rbi +28 -0
  682. data/rbi/anthropic/models/user_profile_not_found_error.rbi +18 -0
  683. data/rbi/anthropic/models/user_profile_not_found_error_details.rbi +29 -0
  684. data/rbi/anthropic/models.rbi +204 -0
  685. data/rbi/anthropic/resources/beta/organization/analytics/artifacts.rbi +2 -2
  686. data/rbi/anthropic/resources/beta/organization/analytics/connectors.rbi +1 -2
  687. data/rbi/anthropic/resources/beta/organization/analytics/cost.rbi +12 -15
  688. data/rbi/anthropic/resources/beta/organization/analytics/cost_report.rbi +2 -4
  689. data/rbi/anthropic/resources/beta/organization/analytics/plugins.rbi +2 -2
  690. data/rbi/anthropic/resources/beta/organization/analytics/skills.rbi +2 -2
  691. data/rbi/anthropic/resources/beta/organization/analytics/usage.rbi +12 -15
  692. data/rbi/anthropic/resources/beta/organization/analytics/usage_report.rbi +2 -4
  693. data/rbi/anthropic/resources/beta/organization/analytics/user_cost_report.rbi +8 -8
  694. data/rbi/anthropic/resources/beta/organization/analytics/user_usage_report.rbi +8 -8
  695. data/rbi/anthropic/resources/beta/organization/telemetry_destinations.rbi +1 -2
  696. data/rbi/anthropic/resources/beta/organization/workspaces.rbi +5 -0
  697. data/rbi/anthropic/resources/organization/analytics/artifacts.rbi +2 -2
  698. data/rbi/anthropic/resources/organization/analytics/connectors.rbi +1 -2
  699. data/rbi/anthropic/resources/organization/analytics/plugins.rbi +2 -2
  700. data/rbi/anthropic/resources/organization/analytics/skills.rbi +2 -2
  701. data/rbi/anthropic/resources/organization/workspaces.rbi +5 -0
  702. data/sig/anthropic/error_classes.rbs +5 -0
  703. data/sig/anthropic/errors.rbs +44 -3
  704. data/sig/anthropic/foundry.rbs +3 -0
  705. data/sig/anthropic/helpers/foundry/client.rbs +44 -0
  706. data/sig/anthropic/models/available_tools_limit_exceeded_error.rbs +9 -0
  707. data/sig/anthropic/models/available_tools_limit_exceeded_error_details.rbs +14 -0
  708. data/sig/anthropic/models/beta/beta_billing_frozen_error.rbs +11 -0
  709. data/sig/anthropic/models/beta/beta_billing_frozen_error_details.rbs +17 -0
  710. data/sig/anthropic/models/beta/beta_environment_archived_error.rbs +11 -0
  711. data/sig/anthropic/models/beta/beta_environment_archived_error_details.rbs +18 -0
  712. data/sig/anthropic/models/beta/beta_environment_create_disabled_error.rbs +11 -0
  713. data/sig/anthropic/models/beta/beta_environment_create_disabled_error_details.rbs +18 -0
  714. data/sig/anthropic/models/beta/beta_environment_not_found_error.rbs +11 -0
  715. data/sig/anthropic/models/beta/beta_environment_not_found_error_details.rbs +18 -0
  716. data/sig/anthropic/models/beta/beta_environment_update_disabled_error.rbs +11 -0
  717. data/sig/anthropic/models/beta/beta_environment_update_disabled_error_details.rbs +18 -0
  718. data/sig/anthropic/models/beta/beta_invalid_config_type_change_error.rbs +11 -0
  719. data/sig/anthropic/models/beta/beta_invalid_config_type_change_error_details.rbs +18 -0
  720. data/sig/anthropic/models/beta/beta_invalid_metadata_error.rbs +11 -0
  721. data/sig/anthropic/models/beta/beta_invalid_metadata_error_details.rbs +18 -0
  722. data/sig/anthropic/models/beta/environments/beta_heartbeat_precondition_failed_error.rbs +13 -0
  723. data/sig/anthropic/models/beta/environments/beta_heartbeat_precondition_failed_error_details.rbs +29 -0
  724. data/sig/anthropic/models/beta/environments/beta_work_lease_state.rbs +53 -0
  725. data/sig/anthropic/models/beta/organization/beta_api_key_scope_missing_error.rbs +13 -0
  726. data/sig/anthropic/models/beta/organization/beta_api_key_scope_missing_error_details.rbs +18 -0
  727. data/sig/anthropic/models/beta/organization/beta_claude_tag_writes_not_enabled_error.rbs +13 -0
  728. data/sig/anthropic/models/beta/organization/beta_claude_tag_writes_not_enabled_error_details.rbs +18 -0
  729. data/sig/anthropic/models/beta/organization/beta_compliance_configuration_restricted_error.rbs +13 -0
  730. data/sig/anthropic/models/beta/organization/beta_compliance_configuration_restricted_error_details.rbs +20 -0
  731. data/sig/anthropic/models/beta/organization/beta_organization_level_scoped_api_key_required_error.rbs +13 -0
  732. data/sig/anthropic/models/beta/organization/beta_organization_level_scoped_api_key_required_error_details.rbs +22 -0
  733. data/sig/anthropic/models/beta/organization/beta_plugin_name_taken_error.rbs +13 -0
  734. data/sig/anthropic/models/beta/organization/beta_plugin_name_taken_error_details.rbs +23 -0
  735. data/sig/anthropic/models/beta/organization/beta_registration_pending_error.rbs +13 -0
  736. data/sig/anthropic/models/beta/organization/beta_registration_pending_error_details.rbs +34 -0
  737. data/sig/anthropic/models/beta/organization/beta_scan_failed_error.rbs +13 -0
  738. data/sig/anthropic/models/beta/organization/beta_scan_failed_error_details.rbs +26 -0
  739. data/sig/anthropic/models/beta/organization/beta_scan_pending_error.rbs +13 -0
  740. data/sig/anthropic/models/beta/organization/beta_scan_pending_error_details.rbs +26 -0
  741. data/sig/anthropic/models/beta/organization/beta_skill_name_taken_error.rbs +13 -0
  742. data/sig/anthropic/models/beta/organization/beta_skill_name_taken_error_details.rbs +23 -0
  743. data/sig/anthropic/models/beta/organization/beta_slack_channel_set_up_environment_not_found_error.rbs +13 -0
  744. data/sig/anthropic/models/beta/organization/beta_slack_channel_set_up_environment_not_found_error_details.rbs +29 -0
  745. data/sig/anthropic/models/beta/organization/beta_slack_channel_set_up_settings_conflict_error.rbs +13 -0
  746. data/sig/anthropic/models/beta/organization/beta_slack_channel_set_up_settings_conflict_error_details.rbs +29 -0
  747. data/sig/anthropic/models/beta/organization/beta_slack_channel_set_up_settings_refused_error.rbs +13 -0
  748. data/sig/anthropic/models/beta/organization/beta_slack_channel_set_up_settings_refused_error_details.rbs +29 -0
  749. data/sig/anthropic/models/beta/organization/beta_spend_limits_admin_api_writes_not_enabled_error.rbs +13 -0
  750. data/sig/anthropic/models/beta/organization/beta_spend_limits_admin_api_writes_not_enabled_error_details.rbs +22 -0
  751. data/sig/anthropic/models/beta/organization/workspace_list_params.rbs +7 -0
  752. data/sig/anthropic/models/beta_unsupported_charset_error.rbs +9 -0
  753. data/sig/anthropic/models/beta_unsupported_charset_error_details.rbs +14 -0
  754. data/sig/anthropic/models/claude_code_key_creator_not_member_error.rbs +9 -0
  755. data/sig/anthropic/models/claude_code_key_creator_not_member_error_details.rbs +14 -0
  756. data/sig/anthropic/models/claude_code_version_too_old_error.rbs +9 -0
  757. data/sig/anthropic/models/claude_code_version_too_old_error_details.rbs +14 -0
  758. data/sig/anthropic/models/cmek_context_unavailable_error.rbs +9 -0
  759. data/sig/anthropic/models/cmek_context_unavailable_error_details.rbs +14 -0
  760. data/sig/anthropic/models/cmek_key_disabled_error.rbs +9 -0
  761. data/sig/anthropic/models/cmek_key_disabled_error_details.rbs +13 -0
  762. data/sig/anthropic/models/cmek_key_network_blocked_error.rbs +9 -0
  763. data/sig/anthropic/models/cmek_key_network_blocked_error_details.rbs +14 -0
  764. data/sig/anthropic/models/cmek_key_unreachable_error.rbs +9 -0
  765. data/sig/anthropic/models/cmek_key_unreachable_error_details.rbs +14 -0
  766. data/sig/anthropic/models/compaction_block_ambiguous_error.rbs +9 -0
  767. data/sig/anthropic/models/compaction_block_ambiguous_error_details.rbs +14 -0
  768. data/sig/anthropic/models/compaction_block_misplaced_error.rbs +9 -0
  769. data/sig/anthropic/models/compaction_block_misplaced_error_details.rbs +14 -0
  770. data/sig/anthropic/models/compaction_content_mismatch_error.rbs +9 -0
  771. data/sig/anthropic/models/compaction_content_mismatch_error_details.rbs +14 -0
  772. data/sig/anthropic/models/compaction_incomplete_turn_error.rbs +9 -0
  773. data/sig/anthropic/models/compaction_incomplete_turn_error_details.rbs +14 -0
  774. data/sig/anthropic/models/compaction_nothing_to_summarize_error.rbs +9 -0
  775. data/sig/anthropic/models/compaction_nothing_to_summarize_error_details.rbs +14 -0
  776. data/sig/anthropic/models/compaction_signature_invalid_error.rbs +9 -0
  777. data/sig/anthropic/models/compaction_signature_invalid_error_details.rbs +14 -0
  778. data/sig/anthropic/models/compaction_too_many_tool_references_error.rbs +9 -0
  779. data/sig/anthropic/models/compaction_too_many_tool_references_error_details.rbs +16 -0
  780. data/sig/anthropic/models/compaction_tool_changes_mismatch_error.rbs +9 -0
  781. data/sig/anthropic/models/compaction_tool_changes_mismatch_error_details.rbs +14 -0
  782. data/sig/anthropic/models/compaction_unavailable_error.rbs +9 -0
  783. data/sig/anthropic/models/compaction_unavailable_error_details.rbs +14 -0
  784. data/sig/anthropic/models/concurrent_membership_change_error.rbs +9 -0
  785. data/sig/anthropic/models/concurrent_membership_change_error_details.rbs +14 -0
  786. data/sig/anthropic/models/enforced_spend_limit_reached_error.rbs +9 -0
  787. data/sig/anthropic/models/enforced_spend_limit_reached_error_details.rbs +14 -0
  788. data/sig/anthropic/models/error_details.rbs +512 -0
  789. data/sig/anthropic/models/error_type.rbs +10 -4
  790. data/sig/anthropic/models/file_expired_error.rbs +9 -0
  791. data/sig/anthropic/models/file_expired_error_details.rbs +13 -0
  792. data/sig/anthropic/models/file_not_downloadable_error.rbs +9 -0
  793. data/sig/anthropic/models/file_not_downloadable_error_details.rbs +14 -0
  794. data/sig/anthropic/models/org_member_limit_exceeded_error.rbs +9 -0
  795. data/sig/anthropic/models/org_member_limit_exceeded_error_details.rbs +14 -0
  796. data/sig/anthropic/models/organization/already_member_error.rbs +11 -0
  797. data/sig/anthropic/models/organization/already_member_error_details.rbs +15 -0
  798. data/sig/anthropic/models/organization/cannot_invite_emails_with_unverified_domains_error.rbs +11 -0
  799. data/sig/anthropic/models/organization/cannot_invite_emails_with_unverified_domains_error_details.rbs +20 -0
  800. data/sig/anthropic/models/organization/cannot_remove_last_member_error.rbs +11 -0
  801. data/sig/anthropic/models/organization/cannot_remove_last_member_error_details.rbs +16 -0
  802. data/sig/anthropic/models/organization/email_domain_not_allowed_error.rbs +11 -0
  803. data/sig/anthropic/models/organization/email_domain_not_allowed_error_details.rbs +16 -0
  804. data/sig/anthropic/models/organization/external_key_changed_error.rbs +11 -0
  805. data/sig/anthropic/models/organization/external_key_changed_error_details.rbs +16 -0
  806. data/sig/anthropic/models/organization/external_key_in_workspace_policy_error.rbs +11 -0
  807. data/sig/anthropic/models/organization/external_key_in_workspace_policy_error_details.rbs +16 -0
  808. data/sig/anthropic/models/organization/invite_already_exists_error.rbs +11 -0
  809. data/sig/anthropic/models/organization/invite_already_exists_error_details.rbs +16 -0
  810. data/sig/anthropic/models/organization/key_profile_mismatch_error.rbs +11 -0
  811. data/sig/anthropic/models/organization/key_profile_mismatch_error_details.rbs +16 -0
  812. data/sig/anthropic/models/organization/org_api_key_limit_exceeded_error.rbs +11 -0
  813. data/sig/anthropic/models/organization/org_api_key_limit_exceeded_error_details.rbs +16 -0
  814. data/sig/anthropic/models/organization/rbac_group_grants_owner_access_error.rbs +11 -0
  815. data/sig/anthropic/models/organization/rbac_group_grants_owner_access_error_details.rbs +16 -0
  816. data/sig/anthropic/models/organization/rbac_group_owner_access_unconfirmed_error.rbs +11 -0
  817. data/sig/anthropic/models/organization/rbac_group_owner_access_unconfirmed_error_details.rbs +18 -0
  818. data/sig/anthropic/models/organization/workspace_api_key_limit_exceeded_error.rbs +11 -0
  819. data/sig/anthropic/models/organization/workspace_api_key_limit_exceeded_error_details.rbs +16 -0
  820. data/sig/anthropic/models/organization/workspace_list_params.rbs +7 -0
  821. data/sig/anthropic/models/organization/workspace_member_limit_exceeded_error.rbs +11 -0
  822. data/sig/anthropic/models/organization/workspace_member_limit_exceeded_error_details.rbs +16 -0
  823. data/sig/anthropic/models/organization/workspace_policy_field.rbs +15 -0
  824. data/sig/anthropic/models/organization/workspace_policy_violation_error.rbs +11 -0
  825. data/sig/anthropic/models/organization/workspace_policy_violation_error_details.rbs +27 -0
  826. data/sig/anthropic/models/organization_on_hold_error.rbs +9 -0
  827. data/sig/anthropic/models/organization_on_hold_error_details.rbs +19 -0
  828. data/sig/anthropic/models/organization_type_not_supported_error.rbs +9 -0
  829. data/sig/anthropic/models/organization_type_not_supported_error_details.rbs +14 -0
  830. data/sig/anthropic/models/request_body_encoding_invalid_error.rbs +9 -0
  831. data/sig/anthropic/models/request_body_encoding_invalid_error_details.rbs +14 -0
  832. data/sig/anthropic/models/request_body_encoding_unsupported_error.rbs +9 -0
  833. data/sig/anthropic/models/request_body_encoding_unsupported_error_details.rbs +14 -0
  834. data/sig/anthropic/models/request_body_too_large_after_decoding_error.rbs +9 -0
  835. data/sig/anthropic/models/request_body_too_large_after_decoding_error_details.rbs +16 -0
  836. data/sig/anthropic/models/skill_read_blocked_undecryptable_error.rbs +9 -0
  837. data/sig/anthropic/models/skill_read_blocked_undecryptable_error_details.rbs +14 -0
  838. data/sig/anthropic/models/storage_quota_exceeded_error.rbs +9 -0
  839. data/sig/anthropic/models/storage_quota_exceeded_error_details.rbs +14 -0
  840. data/sig/anthropic/models/thread_already_continued_error.rbs +9 -0
  841. data/sig/anthropic/models/thread_already_continued_error_details.rbs +14 -0
  842. data/sig/anthropic/models/thread_continue_in_flight_error.rbs +9 -0
  843. data/sig/anthropic/models/thread_continue_in_flight_error_details.rbs +14 -0
  844. data/sig/anthropic/models/thread_fingerprint_mismatch_error.rbs +9 -0
  845. data/sig/anthropic/models/thread_fingerprint_mismatch_error_details.rbs +14 -0
  846. data/sig/anthropic/models/thread_not_found_error.rbs +9 -0
  847. data/sig/anthropic/models/thread_not_found_error_details.rbs +13 -0
  848. data/sig/anthropic/models/thread_unsupported_feature_name.rbs +26 -0
  849. data/sig/anthropic/models/thread_unsupported_request_error.rbs +9 -0
  850. data/sig/anthropic/models/thread_unsupported_request_error_details.rbs +25 -0
  851. data/sig/anthropic/models/tool_name_conflict_error.rbs +9 -0
  852. data/sig/anthropic/models/tool_name_conflict_error_details.rbs +13 -0
  853. data/sig/anthropic/models/tool_reference_unresolved_error.rbs +9 -0
  854. data/sig/anthropic/models/tool_reference_unresolved_error_details.rbs +14 -0
  855. data/sig/anthropic/models/user_profile_not_found_error.rbs +9 -0
  856. data/sig/anthropic/models/user_profile_not_found_error_details.rbs +14 -0
  857. data/sig/anthropic/models.rbs +152 -0
  858. data/sig/anthropic/resources/beta/organization/workspaces.rbs +1 -0
  859. data/sig/anthropic/resources/organization/workspaces.rbs +1 -0
  860. metadata +455 -2
@@ -62,6 +62,63 @@ module Anthropic
62
62
  #
63
63
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
64
64
  #
65
+ # @raise [Anthropic::Models::AvailableToolsLimitExceededError] The tools available after a message exceed a limit on their number or their
66
+ # size.
67
+ # @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError] The API key belongs to the Claude Code workspace, and the user who created it is
68
+ # no longer a member of the organization or of that workspace.
69
+ # @raise [Anthropic::Models::ClaudeCodeVersionTooOldError] The request comes from a Claude Code version older than the minimum that the
70
+ # requested model or the organization requires. Update Claude Code, then retry.
71
+ # @raise [Anthropic::Models::CMEKKeyDisabledError] The workspace's customer-managed encryption key is disabled or revoked.
72
+ # Re-enable the key, then retry.
73
+ # @raise [Anthropic::Models::CMEKKeyNetworkBlockedError] The key management service's network access controls blocked the request to the
74
+ # workspace's customer-managed encryption key. The key itself may be healthy.
75
+ # @raise [Anthropic::Models::CompactionBlockAmbiguousError] `messages` holds more than one `compaction` block with content. Send only the
76
+ # block the conversation returned last.
77
+ # @raise [Anthropic::Models::CompactionBlockMisplacedError] The `compaction` block is not the first block of the conversation, or is in a
78
+ # `system` message.
79
+ # @raise [Anthropic::Models::CompactionContentMismatchError] The `compaction` block's `content` differs from the text its `signature`
80
+ # recorded.
81
+ # @raise [Anthropic::Models::CompactionIncompleteTurnError] The compaction request ends on an `assistant` turn that is not finished.
82
+ # @raise [Anthropic::Models::CompactionNothingToSummarizeError] `messages` holds no `user` or `assistant` content to summarize or adopt.
83
+ # @raise [Anthropic::Models::CompactionSignatureInvalidError] The `compaction` block's `signature` does not verify.
84
+ # @raise [Anthropic::Models::CompactionTooManyToolReferencesError] The conversation references more distinct tools than a `compaction` block can
85
+ # record.
86
+ # @raise [Anthropic::Models::CompactionToolChangesMismatchError] The `compaction` block's `tool_changes` differs from what was returned with the
87
+ # block.
88
+ # @raise [Anthropic::Models::OrganizationOnHoldError] Anthropic has disabled the organization for trust and safety reasons. An
89
+ # organization disabled for any other reason, such as billing, does not get this
90
+ # code. `appeal_url`, when present, is where the organization can appeal.
91
+ # @raise [Anthropic::Models::RequestBodyEncodingInvalidError] The request body is not valid for its `Content-Encoding`.
92
+ # @raise [Anthropic::Models::RequestBodyEncodingUnsupportedError] The request's `Content-Encoding` is not supported.
93
+ # @raise [Anthropic::Models::ThreadAlreadyContinuedError] The response that `previous_message_id` names has already been continued, and
94
+ # each response can be continued only once. Continue from the Thread's most recent
95
+ # response `id`.
96
+ # @raise [Anthropic::Models::ThreadContinueInFlightError] Another request is still continuing from the same `previous_message_id`. Wait
97
+ # for it to complete and continue from its response `id`, or replay the full
98
+ # conversation with `thread: {"type": "create"}`.
99
+ # @raise [Anthropic::Models::ThreadFingerprintMismatchError] A field that must stay the same across a Thread's turns differs from the value
100
+ # stored with the Thread; the message names each such field. Send the stored
101
+ # values, or replay the full conversation with `thread: {"type": "create"}` to
102
+ # change them.
103
+ # @raise [Anthropic::Models::ThreadUnsupportedRequestError] The request combines `thread` with a request field or an organization setting
104
+ # that Threads do not support; `unsupported`, when present, names it. Send the
105
+ # full conversation without `thread`, or change that field.
106
+ # @raise [Anthropic::Models::ToolNameConflictError] A tool made available in `messages` takes a name that an available tool of
107
+ # another kind, or of another MCP server, already holds.
108
+ # @raise [Anthropic::Models::ToolReferenceUnresolvedError] A tool change or MCP tool listing references a tool or MCP server that is not
109
+ # defined at that position in the conversation.
110
+ # @raise [Anthropic::Models::ThreadNotFoundError] No usable Thread state was found for `previous_message_id`. Replay the full
111
+ # conversation with `thread: {"type": "create"}` to start a new Thread.
112
+ # @raise [Anthropic::Models::SkillReadBlockedUndecryptableError] A custom skill the request names is stored under an encryption key state the
113
+ # workspace cannot currently decrypt.
114
+ # @raise [Anthropic::Models::RequestBodyTooLargeAfterDecodingError] The compressed request body exceeds the request size limit once decoded.
115
+ # @raise [Anthropic::Models::EnforcedSpendLimitReachedError] The organization has crossed the monthly API usage threshold of its API tier.
116
+ # @raise [Anthropic::Models::CMEKKeyUnreachableError] The workspace's customer-managed encryption key could not be reached. Retry the
117
+ # request; if this continues, check that the key is available in your key
118
+ # management service, or contact Anthropic support.
119
+ # @raise [Anthropic::Models::CompactionUnavailableError] The compaction could not be completed for a transient server reason. Retry the
120
+ # request.
121
+ #
65
122
  # @return [Anthropic::Models::Message]
66
123
  #
67
124
  # @see Anthropic::Models::MessageCreateParams
@@ -158,6 +215,63 @@ module Anthropic
158
215
  #
159
216
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
160
217
  #
218
+ # @raise [Anthropic::Models::AvailableToolsLimitExceededError] The tools available after a message exceed a limit on their number or their
219
+ # size.
220
+ # @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError] The API key belongs to the Claude Code workspace, and the user who created it is
221
+ # no longer a member of the organization or of that workspace.
222
+ # @raise [Anthropic::Models::ClaudeCodeVersionTooOldError] The request comes from a Claude Code version older than the minimum that the
223
+ # requested model or the organization requires. Update Claude Code, then retry.
224
+ # @raise [Anthropic::Models::CMEKKeyDisabledError] The workspace's customer-managed encryption key is disabled or revoked.
225
+ # Re-enable the key, then retry.
226
+ # @raise [Anthropic::Models::CMEKKeyNetworkBlockedError] The key management service's network access controls blocked the request to the
227
+ # workspace's customer-managed encryption key. The key itself may be healthy.
228
+ # @raise [Anthropic::Models::CompactionBlockAmbiguousError] `messages` holds more than one `compaction` block with content. Send only the
229
+ # block the conversation returned last.
230
+ # @raise [Anthropic::Models::CompactionBlockMisplacedError] The `compaction` block is not the first block of the conversation, or is in a
231
+ # `system` message.
232
+ # @raise [Anthropic::Models::CompactionContentMismatchError] The `compaction` block's `content` differs from the text its `signature`
233
+ # recorded.
234
+ # @raise [Anthropic::Models::CompactionIncompleteTurnError] The compaction request ends on an `assistant` turn that is not finished.
235
+ # @raise [Anthropic::Models::CompactionNothingToSummarizeError] `messages` holds no `user` or `assistant` content to summarize or adopt.
236
+ # @raise [Anthropic::Models::CompactionSignatureInvalidError] The `compaction` block's `signature` does not verify.
237
+ # @raise [Anthropic::Models::CompactionTooManyToolReferencesError] The conversation references more distinct tools than a `compaction` block can
238
+ # record.
239
+ # @raise [Anthropic::Models::CompactionToolChangesMismatchError] The `compaction` block's `tool_changes` differs from what was returned with the
240
+ # block.
241
+ # @raise [Anthropic::Models::OrganizationOnHoldError] Anthropic has disabled the organization for trust and safety reasons. An
242
+ # organization disabled for any other reason, such as billing, does not get this
243
+ # code. `appeal_url`, when present, is where the organization can appeal.
244
+ # @raise [Anthropic::Models::RequestBodyEncodingInvalidError] The request body is not valid for its `Content-Encoding`.
245
+ # @raise [Anthropic::Models::RequestBodyEncodingUnsupportedError] The request's `Content-Encoding` is not supported.
246
+ # @raise [Anthropic::Models::ThreadAlreadyContinuedError] The response that `previous_message_id` names has already been continued, and
247
+ # each response can be continued only once. Continue from the Thread's most recent
248
+ # response `id`.
249
+ # @raise [Anthropic::Models::ThreadContinueInFlightError] Another request is still continuing from the same `previous_message_id`. Wait
250
+ # for it to complete and continue from its response `id`, or replay the full
251
+ # conversation with `thread: {"type": "create"}`.
252
+ # @raise [Anthropic::Models::ThreadFingerprintMismatchError] A field that must stay the same across a Thread's turns differs from the value
253
+ # stored with the Thread; the message names each such field. Send the stored
254
+ # values, or replay the full conversation with `thread: {"type": "create"}` to
255
+ # change them.
256
+ # @raise [Anthropic::Models::ThreadUnsupportedRequestError] The request combines `thread` with a request field or an organization setting
257
+ # that Threads do not support; `unsupported`, when present, names it. Send the
258
+ # full conversation without `thread`, or change that field.
259
+ # @raise [Anthropic::Models::ToolNameConflictError] A tool made available in `messages` takes a name that an available tool of
260
+ # another kind, or of another MCP server, already holds.
261
+ # @raise [Anthropic::Models::ToolReferenceUnresolvedError] A tool change or MCP tool listing references a tool or MCP server that is not
262
+ # defined at that position in the conversation.
263
+ # @raise [Anthropic::Models::ThreadNotFoundError] No usable Thread state was found for `previous_message_id`. Replay the full
264
+ # conversation with `thread: {"type": "create"}` to start a new Thread.
265
+ # @raise [Anthropic::Models::SkillReadBlockedUndecryptableError] A custom skill the request names is stored under an encryption key state the
266
+ # workspace cannot currently decrypt.
267
+ # @raise [Anthropic::Models::RequestBodyTooLargeAfterDecodingError] The compressed request body exceeds the request size limit once decoded.
268
+ # @raise [Anthropic::Models::EnforcedSpendLimitReachedError] The organization has crossed the monthly API usage threshold of its API tier.
269
+ # @raise [Anthropic::Models::CMEKKeyUnreachableError] The workspace's customer-managed encryption key could not be reached. Retry the
270
+ # request; if this continues, check that the key is available in your key
271
+ # management service, or contact Anthropic support.
272
+ # @raise [Anthropic::Models::CompactionUnavailableError] The compaction could not be completed for a transient server reason. Retry the
273
+ # request.
274
+ #
161
275
  # @return [Anthropic::Internal::Type::BaseStream<Anthropic::Models::RawMessageStartEvent, Anthropic::Models::RawMessageDeltaEvent, Anthropic::Models::RawMessageStopEvent, Anthropic::Models::RawContentBlockStartEvent, Anthropic::Models::RawContentBlockDeltaEvent, Anthropic::Models::RawContentBlockStopEvent>]
162
276
  #
163
277
  # @see Anthropic::Models::MessageCreateParams
@@ -225,6 +339,34 @@ module Anthropic
225
339
  #
226
340
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
227
341
  #
342
+ # @raise [Anthropic::Models::AvailableToolsLimitExceededError] The tools available after a message exceed a limit on their number or their
343
+ # size.
344
+ # @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError] The API key belongs to the Claude Code workspace, and the user who created it is
345
+ # no longer a member of the organization or of that workspace.
346
+ # @raise [Anthropic::Models::CompactionBlockAmbiguousError] `messages` holds more than one `compaction` block with content. Send only the
347
+ # block the conversation returned last.
348
+ # @raise [Anthropic::Models::CompactionBlockMisplacedError] The `compaction` block is not the first block of the conversation, or is in a
349
+ # `system` message.
350
+ # @raise [Anthropic::Models::CompactionContentMismatchError] The `compaction` block's `content` differs from the text its `signature`
351
+ # recorded.
352
+ # @raise [Anthropic::Models::CompactionNothingToSummarizeError] `messages` holds no `user` or `assistant` content to summarize or adopt.
353
+ # @raise [Anthropic::Models::CompactionSignatureInvalidError] The `compaction` block's `signature` does not verify.
354
+ # @raise [Anthropic::Models::CompactionToolChangesMismatchError] The `compaction` block's `tool_changes` differs from what was returned with the
355
+ # block.
356
+ # @raise [Anthropic::Models::OrganizationOnHoldError] Anthropic has disabled the organization for trust and safety reasons. An
357
+ # organization disabled for any other reason, such as billing, does not get this
358
+ # code. `appeal_url`, when present, is where the organization can appeal.
359
+ # @raise [Anthropic::Models::RequestBodyEncodingInvalidError] The request body is not valid for its `Content-Encoding`.
360
+ # @raise [Anthropic::Models::RequestBodyEncodingUnsupportedError] The request's `Content-Encoding` is not supported.
361
+ # @raise [Anthropic::Models::ToolNameConflictError] A tool made available in `messages` takes a name that an available tool of
362
+ # another kind, or of another MCP server, already holds.
363
+ # @raise [Anthropic::Models::ToolReferenceUnresolvedError] A tool change or MCP tool listing references a tool or MCP server that is not
364
+ # defined at that position in the conversation.
365
+ # @raise [Anthropic::Models::RequestBodyTooLargeAfterDecodingError] The compressed request body exceeds the request size limit once decoded.
366
+ # @raise [Anthropic::Models::EnforcedSpendLimitReachedError] The organization has crossed the monthly API usage threshold of its API tier.
367
+ # @raise [Anthropic::Models::CompactionUnavailableError] The compaction could not be completed for a transient server reason. Retry the
368
+ # request.
369
+ #
228
370
  # @return [Anthropic::Models::MessageTokensCount]
229
371
  #
230
372
  # @see Anthropic::Models::MessageCountTokensParams
@@ -19,6 +19,12 @@ module Anthropic
19
19
  #
20
20
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
21
21
  #
22
+ # @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError] The API key belongs to the Claude Code workspace, and the user who created it is
23
+ # no longer a member of the organization or of that workspace.
24
+ # @raise [Anthropic::Models::OrganizationOnHoldError] Anthropic has disabled the organization for trust and safety reasons. An
25
+ # organization disabled for any other reason, such as billing, does not get this
26
+ # code. `appeal_url`, when present, is where the organization can appeal.
27
+ #
22
28
  # @return [Anthropic::Models::ModelInfo]
23
29
  #
24
30
  # @see Anthropic::Models::ModelRetrieveParams
@@ -50,7 +56,7 @@ module Anthropic
50
56
  #
51
57
  # @param before_id [String] Query param: ID of the object to use as a cursor for pagination. When provided,
52
58
  #
53
- # @param lifecycle [Array<Symbol, Anthropic::Models::ModelListParams::Lifecycle>] Query param: Filter the list to models in any of the given lifecycle stages (`ac
59
+ # @param lifecycle [Array<Symbol, Anthropic::Models::ModelListParams::Lifecycle>] Query param: Filter the list to models in any of the given lifecycle stages (
54
60
  #
55
61
  # @param limit [Integer] Query param: Number of items to return per page.
56
62
  #
@@ -58,6 +64,12 @@ module Anthropic
58
64
  #
59
65
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
60
66
  #
67
+ # @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError] The API key belongs to the Claude Code workspace, and the user who created it is
68
+ # no longer a member of the organization or of that workspace.
69
+ # @raise [Anthropic::Models::OrganizationOnHoldError] Anthropic has disabled the organization for trust and safety reasons. An
70
+ # organization disabled for any other reason, such as billing, does not get this
71
+ # code. `appeal_url`, when present, is where the organization can appeal.
72
+ #
61
73
  # @return [Anthropic::Internal::Page<Anthropic::Models::ModelInfo>]
62
74
  #
63
75
  # @see Anthropic::Models::ModelListParams
@@ -26,7 +26,7 @@ module Anthropic
26
26
  #
27
27
  # @param limit [Integer, nil] Maximum rows to return (1-1000, default 100). The ungrouped artifact-type cube i
28
28
  #
29
- # @param page [String, nil] Opaque cursor from a previous response's `next_page` field. Only valid with `gro
29
+ # @param page [String, nil] Opaque cursor from a previous response's `next_page` field. Only valid with
30
30
  #
31
31
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
32
32
  #
@@ -27,7 +27,7 @@ module Anthropic
27
27
  #
28
28
  # @param ending_date [Date, nil] UTC date in YYYY-MM-DD format. End of the date range (exclusive). Data is typica
29
29
  #
30
- # @param filter [Array<String>, nil] Filters as `dimension:value`. Only `rbac_group_id` is supported (e.g. `filter[]=
30
+ # @param filter [Array<String>, nil] Filters as `dimension:value`. Only `rbac_group_id` is supported (e.g.
31
31
  #
32
32
  # @param limit [Integer, nil] Number of results per page (1-1000, default 100). The day series (at most 366 en
33
33
  #
@@ -39,6 +39,9 @@ module Anthropic
39
39
  #
40
40
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
41
41
  #
42
+ # @raise [Anthropic::Models::Organization::OrgAPIKeyLimitExceededError] The organization has reached its limit of active API keys.
43
+ # @raise [Anthropic::Models::Organization::WorkspaceAPIKeyLimitExceededError] The workspace has reached its limit of active API keys.
44
+ #
42
45
  # @return [Anthropic::Models::Organization::APIKey]
43
46
  #
44
47
  # @see Anthropic::Models::Organization::APIKeyUpdateParams
@@ -21,6 +21,10 @@ module Anthropic
21
21
  #
22
22
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
23
23
  #
24
+ # @raise [Anthropic::Models::UserProfileNotFoundError] The request depends on a user profile that does not exist in the organization or
25
+ # is no longer active. The request either names this user profile by ID, or names
26
+ # a resource, such as an External Key, that is bound to it.
27
+ #
24
28
  # @return [Anthropic::Models::Organization::ExternalKey]
25
29
  #
26
30
  # @see Anthropic::Models::Organization::ExternalKeyCreateParams
@@ -79,6 +83,9 @@ module Anthropic
79
83
  #
80
84
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
81
85
  #
86
+ # @raise [Anthropic::Models::Organization::ExternalKeyInWorkspacePolicyError] The External Key can't be deleted or reconfigured while the organization's
87
+ # Workspace Policy lists it as an allowed key.
88
+ #
82
89
  # @return [Anthropic::Models::Organization::ExternalKey]
83
90
  #
84
91
  # @see Anthropic::Models::Organization::ExternalKeyUpdateParams
@@ -138,6 +145,9 @@ module Anthropic
138
145
  #
139
146
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
140
147
  #
148
+ # @raise [Anthropic::Models::Organization::ExternalKeyInWorkspacePolicyError] The External Key can't be deleted or reconfigured while the organization's
149
+ # Workspace Policy lists it as an allowed key.
150
+ #
141
151
  # @return [Anthropic::Models::Organization::ExternalKeyDeleteResponse]
142
152
  #
143
153
  # @see Anthropic::Models::Organization::ExternalKeyDeleteParams
@@ -42,7 +42,7 @@ module Anthropic
42
42
  #
43
43
  # @param oauth_scope [String] Space-separated OAuth scopes. OAuth callers may only set `workspace:developer` o
44
44
  #
45
- # @param target [Anthropic::Models::Organization::Federation::ServiceAccountTarget] Identity that tokens minted via this rule act as. Currently always a `service_ac
45
+ # @param target [Anthropic::Models::Organization::Federation::ServiceAccountTarget] Identity that tokens minted via this rule act as. Currently always a
46
46
  #
47
47
  # @param applies_to_all_workspaces [Boolean] When true, enable this rule for every workspace in the org (including workspaces
48
48
  #
@@ -50,7 +50,7 @@ module Anthropic
50
50
  #
51
51
  # @param token_lifetime_seconds [Integer] Lifetime in seconds for access tokens minted via this rule (60-86400). Defaults
52
52
  #
53
- # @param workspace_id [String, nil] Tagged ID of the workspace to enable this rule for. Required unless `applies*to*
53
+ # @param workspace_id [String, nil] Tagged ID of the workspace to enable this rule for. Required unless
54
54
  #
55
55
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
56
56
  #
@@ -24,6 +24,24 @@ module Anthropic
24
24
  #
25
25
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
26
26
  #
27
+ # @raise [Anthropic::Models::Organization::AlreadyMemberError] The email address already belongs to a user in the organization. The message
28
+ # names the user.
29
+ # @raise [Anthropic::Models::Organization::CannotInviteEmailsWithUnverifiedDomainsError] The email address's domain is not one of the verified domains of the
30
+ # organization's parent organization.
31
+ # @raise [Anthropic::Models::Organization::EmailDomainNotAllowedError] The organization restricts invites to an allowed list of email domains, and the
32
+ # list is empty or does not include the email address's domain.
33
+ # @raise [Anthropic::Models::Organization::InviteAlreadyExistsError] A pending invite already exists for the email address. The message names the
34
+ # invite.
35
+ # @raise [Anthropic::Models::OrgMemberLimitExceededError] The organization has reached the member limit that Anthropic set for it. Pending
36
+ # invites count toward the limit.
37
+ # @raise [Anthropic::Models::Organization::RBACGroupGrantsOwnerAccessError] A role attached to an RBAC Group in the request grants owner access, so this API
38
+ # does not add members to that group (directly or through an invite), remove its
39
+ # members, or delete it. Make the change in the organization's admin settings in
40
+ # Claude.
41
+ # @raise [Anthropic::Models::Organization::RBACGroupOwnerAccessUnconfirmedError] The API could not finish checking whether an RBAC Group in the request grants
42
+ # owner access, so it made no change. Retrying the same request will not help.
43
+ # Make the change in the organization's admin settings in Claude.
44
+ #
27
45
  # @return [Anthropic::Models::Organization::OrganizationInvite]
28
46
  #
29
47
  # @see Anthropic::Models::Organization::InviteCreateParams
@@ -81,7 +99,7 @@ module Anthropic
81
99
  #
82
100
  # @param roles [Array<String>] Filter to items whose `role` equals one of the supplied values. Repeatable; valu
83
101
  #
84
- # @param statuses [Array<Symbol, Anthropic::Models::Organization::InviteListParams::Status>] Filter by Invite status. Repeatable; values are OR'ed together. Omit to return `
102
+ # @param statuses [Array<Symbol, Anthropic::Models::Organization::InviteListParams::Status>] Filter by Invite status. Repeatable; values are OR'ed together. Omit to return
85
103
  #
86
104
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
87
105
  #
@@ -57,6 +57,14 @@ module Anthropic
57
57
  #
58
58
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
59
59
  #
60
+ # @raise [Anthropic::Models::Organization::RBACGroupGrantsOwnerAccessError] A role attached to an RBAC Group in the request grants owner access, so this API
61
+ # does not add members to that group (directly or through an invite), remove its
62
+ # members, or delete it. Make the change in the organization's admin settings in
63
+ # Claude.
64
+ # @raise [Anthropic::Models::Organization::RBACGroupOwnerAccessUnconfirmedError] The API could not finish checking whether an RBAC Group in the request grants
65
+ # owner access, so it made no change. Retrying the same request will not help.
66
+ # Make the change in the organization's admin settings in Claude.
67
+ #
60
68
  # @return [Anthropic::Models::Organization::RBACGroups::RBACGroupMember]
61
69
  #
62
70
  # @see Anthropic::Models::Organization::RBACGroups::MemberAddParams
@@ -89,6 +97,14 @@ module Anthropic
89
97
  #
90
98
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
91
99
  #
100
+ # @raise [Anthropic::Models::Organization::RBACGroupGrantsOwnerAccessError] A role attached to an RBAC Group in the request grants owner access, so this API
101
+ # does not add members to that group (directly or through an invite), remove its
102
+ # members, or delete it. Make the change in the organization's admin settings in
103
+ # Claude.
104
+ # @raise [Anthropic::Models::Organization::RBACGroupOwnerAccessUnconfirmedError] The API could not finish checking whether an RBAC Group in the request grants
105
+ # owner access, so it made no change. Retrying the same request will not help.
106
+ # Make the change in the organization's admin settings in Claude.
107
+ #
92
108
  # @return [Anthropic::Models::Organization::RBACGroups::DeletedRBACGroupMember]
93
109
  #
94
110
  # @see Anthropic::Models::Organization::RBACGroups::MemberRemoveParams
@@ -137,6 +137,14 @@ module Anthropic
137
137
  #
138
138
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
139
139
  #
140
+ # @raise [Anthropic::Models::Organization::RBACGroupGrantsOwnerAccessError] A role attached to an RBAC Group in the request grants owner access, so this API
141
+ # does not add members to that group (directly or through an invite), remove its
142
+ # members, or delete it. Make the change in the organization's admin settings in
143
+ # Claude.
144
+ # @raise [Anthropic::Models::Organization::RBACGroupOwnerAccessUnconfirmedError] The API could not finish checking whether an RBAC Group in the request grants
145
+ # owner access, so it made no change. Retrying the same request will not help.
146
+ # Make the change in the organization's admin settings in Claude.
147
+ #
140
148
  # @return [Anthropic::Models::Organization::DeletedRBACGroup]
141
149
  #
142
150
  # @see Anthropic::Models::Organization::RBACGroupDeleteParams
@@ -28,6 +28,9 @@ module Anthropic
28
28
  #
29
29
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
30
30
  #
31
+ # @raise [Anthropic::Models::OrganizationTypeNotSupportedError] The endpoint does not support the organization's type. Each endpoint's
32
+ # description says which organization types it supports.
33
+ #
31
34
  # @return [Anthropic::Internal::PageCursor<Anthropic::Models::Organization::SpendSummary>]
32
35
  #
33
36
  # @see Anthropic::Models::Organization::SpendLimits::EffectiveListParams
@@ -103,6 +103,11 @@ module Anthropic
103
103
  #
104
104
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
105
105
  #
106
+ # @raise [Anthropic::Models::Organization::CannotRemoveLastMemberError] The user is the organization's only member. Add another member before removing
107
+ # this one.
108
+ # @raise [Anthropic::Models::ConcurrentMembershipChangeError] Another change to the organization's members is in progress. Retry the request
109
+ # once it completes.
110
+ #
106
111
  # @return [Anthropic::Models::Organization::UserRemoveResponse]
107
112
  #
108
113
  # @see Anthropic::Models::Organization::UserRemoveParams
@@ -50,6 +50,8 @@ module Anthropic
50
50
  #
51
51
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
52
52
  #
53
+ # @raise [Anthropic::Models::Organization::WorkspaceMemberLimitExceededError] The workspace has reached the member limit that Anthropic set for it.
54
+ #
53
55
  # @return [Anthropic::Models::Organization::WorkspaceMember]
54
56
  #
55
57
  # @see Anthropic::Models::Organization::Workspaces::MemberUpdateParams
@@ -124,6 +126,8 @@ module Anthropic
124
126
  #
125
127
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
126
128
  #
129
+ # @raise [Anthropic::Models::Organization::WorkspaceMemberLimitExceededError] The workspace has reached the member limit that Anthropic set for it.
130
+ #
127
131
  # @return [Anthropic::Models::Organization::WorkspaceMember]
128
132
  #
129
133
  # @see Anthropic::Models::Organization::Workspaces::MemberAddParams
@@ -22,7 +22,7 @@ module Anthropic
22
22
  #
23
23
  # @param name [String] Name of the Workspace.
24
24
  #
25
- # @param data_residency [Anthropic::Models::Organization::DataResidencyCreateConfig, nil] Data residency configuration for the workspace. If omitted, defaults to `workspa
25
+ # @param data_residency [Anthropic::Models::Organization::DataResidencyCreateConfig, nil] Data residency configuration for the workspace. If omitted, defaults to
26
26
  #
27
27
  # @param display_color [String, nil] Hex color code representing the Workspace in the Anthropic Console.
28
28
  #
@@ -34,6 +34,18 @@ module Anthropic
34
34
  #
35
35
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
36
36
  #
37
+ # @raise [Anthropic::Models::Organization::KeyProfileMismatchError] The External Key is bound to a user profile, and the Workspace does not have
38
+ # that user profile. A Workspace can use only a key bound to its own user profile
39
+ # or a key that isn't bound to one.
40
+ # @raise [Anthropic::Models::UserProfileNotFoundError] The request depends on a user profile that does not exist in the organization or
41
+ # is no longer active. The request either names this user profile by ID, or names
42
+ # a resource, such as an External Key, that is bound to it.
43
+ # @raise [Anthropic::Models::Organization::WorkspacePolicyViolationError] The request breaks the organization's Workspace Policy. The message says which
44
+ # rule it broke; an organization admin can see and change the policy in the
45
+ # Console.
46
+ # @raise [Anthropic::Models::Organization::ExternalKeyChangedError] The external key changed while the request was validating it. Send the request
47
+ # again.
48
+ #
37
49
  # @return [Anthropic::Models::Organization::Workspace]
38
50
  #
39
51
  # @see Anthropic::Models::Organization::WorkspaceCreateParams
@@ -97,6 +109,18 @@ module Anthropic
97
109
  #
98
110
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
99
111
  #
112
+ # @raise [Anthropic::Models::Organization::KeyProfileMismatchError] The External Key is bound to a user profile, and the Workspace does not have
113
+ # that user profile. A Workspace can use only a key bound to its own user profile
114
+ # or a key that isn't bound to one.
115
+ # @raise [Anthropic::Models::UserProfileNotFoundError] The request depends on a user profile that does not exist in the organization or
116
+ # is no longer active. The request either names this user profile by ID, or names
117
+ # a resource, such as an External Key, that is bound to it.
118
+ # @raise [Anthropic::Models::Organization::WorkspacePolicyViolationError] The request breaks the organization's Workspace Policy. The message says which
119
+ # rule it broke; an organization admin can see and change the policy in the
120
+ # Console.
121
+ # @raise [Anthropic::Models::Organization::ExternalKeyChangedError] The external key changed while the request was validating it. Send the request
122
+ # again.
123
+ #
100
124
  # @return [Anthropic::Models::Organization::Workspace]
101
125
  #
102
126
  # @see Anthropic::Models::Organization::WorkspaceUpdateParams
@@ -119,12 +143,14 @@ module Anthropic
119
143
  # Some parameter documentations has been truncated, see
120
144
  # {Anthropic::Models::Organization::WorkspaceListParams} for more details.
121
145
  #
122
- # @overload list(after_id: nil, before_id: nil, include_archived: nil, include_default: nil, limit: nil, request_options: {})
146
+ # @overload list(after_id: nil, before_id: nil, ids: nil, include_archived: nil, include_default: nil, limit: nil, request_options: {})
123
147
  #
124
148
  # @param after_id [String] ID of the object to use as a cursor for pagination. When provided, returns the p
125
149
  #
126
150
  # @param before_id [String] ID of the object to use as a cursor for pagination. When provided, returns the p
127
151
  #
152
+ # @param ids [Array<String>] Only the Workspaces with these IDs, at most 100. `include_archived` and
153
+ #
128
154
  # @param include_archived [Boolean] Whether to include Workspaces that have been archived in the response
129
155
  #
130
156
  # @param include_default [Boolean] Whether to include the organization's default Workspace in the response
@@ -142,7 +168,7 @@ module Anthropic
142
168
  @client.request(
143
169
  span_name: Anthropic::Internal::Tracing::SpanName::ORGANIZATION_WORKSPACES_LIST,
144
170
  span_route: "/v1/organizations/workspaces",
145
- span_query: %w[after_id before_id include_archived include_default limit],
171
+ span_query: %w[after_id before_id ids include_archived include_default limit],
146
172
  method: :get,
147
173
  path: "v1/organizations/workspaces",
148
174
  query: query,
@@ -19,6 +19,18 @@ module Anthropic
19
19
  #
20
20
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
21
21
  #
22
+ # @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError] The API key belongs to the Claude Code workspace, and the user who created it is
23
+ # no longer a member of the organization or of that workspace.
24
+ # @raise [Anthropic::Models::CMEKKeyDisabledError] The workspace's customer-managed encryption key is disabled or revoked.
25
+ # Re-enable the key, then retry.
26
+ # @raise [Anthropic::Models::CMEKKeyNetworkBlockedError] The key management service's network access controls blocked the request to the
27
+ # workspace's customer-managed encryption key. The key itself may be healthy.
28
+ # @raise [Anthropic::Models::OrganizationOnHoldError] Anthropic has disabled the organization for trust and safety reasons. An
29
+ # organization disabled for any other reason, such as billing, does not get this
30
+ # code. `appeal_url`, when present, is where the organization can appeal.
31
+ # @raise [Anthropic::Models::CMEKContextUnavailableError] The workspace's encryption settings could not be read, so the request was
32
+ # refused. Retry in a few minutes.
33
+ #
22
34
  # @return [Anthropic::Models::Skills::SkillVersion]
23
35
  #
24
36
  # @see Anthropic::Models::Skills::VersionCreateParams
@@ -59,6 +71,12 @@ module Anthropic
59
71
  #
60
72
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
61
73
  #
74
+ # @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError] The API key belongs to the Claude Code workspace, and the user who created it is
75
+ # no longer a member of the organization or of that workspace.
76
+ # @raise [Anthropic::Models::OrganizationOnHoldError] Anthropic has disabled the organization for trust and safety reasons. An
77
+ # organization disabled for any other reason, such as billing, does not get this
78
+ # code. `appeal_url`, when present, is where the organization can appeal.
79
+ #
62
80
  # @return [Anthropic::Models::Skills::SkillVersion]
63
81
  #
64
82
  # @see Anthropic::Models::Skills::VersionRetrieveParams
@@ -97,6 +115,12 @@ module Anthropic
97
115
  #
98
116
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
99
117
  #
118
+ # @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError] The API key belongs to the Claude Code workspace, and the user who created it is
119
+ # no longer a member of the organization or of that workspace.
120
+ # @raise [Anthropic::Models::OrganizationOnHoldError] Anthropic has disabled the organization for trust and safety reasons. An
121
+ # organization disabled for any other reason, such as billing, does not get this
122
+ # code. `appeal_url`, when present, is where the organization can appeal.
123
+ #
100
124
  # @return [Anthropic::Internal::PageCursor<Anthropic::Models::Skills::SkillVersion>]
101
125
  #
102
126
  # @see Anthropic::Models::Skills::VersionListParams
@@ -134,6 +158,12 @@ module Anthropic
134
158
  #
135
159
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
136
160
  #
161
+ # @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError] The API key belongs to the Claude Code workspace, and the user who created it is
162
+ # no longer a member of the organization or of that workspace.
163
+ # @raise [Anthropic::Models::OrganizationOnHoldError] Anthropic has disabled the organization for trust and safety reasons. An
164
+ # organization disabled for any other reason, such as billing, does not get this
165
+ # code. `appeal_url`, when present, is where the organization can appeal.
166
+ #
137
167
  # @return [Anthropic::Models::Skills::DeletedSkillVersion]
138
168
  #
139
169
  # @see Anthropic::Models::Skills::VersionDeleteParams
@@ -21,6 +21,18 @@ module Anthropic
21
21
  #
22
22
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
23
23
  #
24
+ # @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError] The API key belongs to the Claude Code workspace, and the user who created it is
25
+ # no longer a member of the organization or of that workspace.
26
+ # @raise [Anthropic::Models::CMEKKeyDisabledError] The workspace's customer-managed encryption key is disabled or revoked.
27
+ # Re-enable the key, then retry.
28
+ # @raise [Anthropic::Models::CMEKKeyNetworkBlockedError] The key management service's network access controls blocked the request to the
29
+ # workspace's customer-managed encryption key. The key itself may be healthy.
30
+ # @raise [Anthropic::Models::OrganizationOnHoldError] Anthropic has disabled the organization for trust and safety reasons. An
31
+ # organization disabled for any other reason, such as billing, does not get this
32
+ # code. `appeal_url`, when present, is where the organization can appeal.
33
+ # @raise [Anthropic::Models::CMEKContextUnavailableError] The workspace's encryption settings could not be read, so the request was
34
+ # refused. Retry in a few minutes.
35
+ #
24
36
  # @return [Anthropic::Models::Skill]
25
37
  #
26
38
  # @see Anthropic::Models::SkillCreateParams
@@ -58,6 +70,12 @@ module Anthropic
58
70
  #
59
71
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
60
72
  #
73
+ # @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError] The API key belongs to the Claude Code workspace, and the user who created it is
74
+ # no longer a member of the organization or of that workspace.
75
+ # @raise [Anthropic::Models::OrganizationOnHoldError] Anthropic has disabled the organization for trust and safety reasons. An
76
+ # organization disabled for any other reason, such as billing, does not get this
77
+ # code. `appeal_url`, when present, is where the organization can appeal.
78
+ #
61
79
  # @return [Anthropic::Models::Skill]
62
80
  #
63
81
  # @see Anthropic::Models::SkillRetrieveParams
@@ -92,6 +110,12 @@ module Anthropic
92
110
  #
93
111
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
94
112
  #
113
+ # @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError] The API key belongs to the Claude Code workspace, and the user who created it is
114
+ # no longer a member of the organization or of that workspace.
115
+ # @raise [Anthropic::Models::OrganizationOnHoldError] Anthropic has disabled the organization for trust and safety reasons. An
116
+ # organization disabled for any other reason, such as billing, does not get this
117
+ # code. `appeal_url`, when present, is where the organization can appeal.
118
+ #
95
119
  # @return [Anthropic::Internal::PageCursor<Anthropic::Models::Skill>]
96
120
  #
97
121
  # @see Anthropic::Models::SkillListParams
@@ -126,6 +150,12 @@ module Anthropic
126
150
  #
127
151
  # @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
128
152
  #
153
+ # @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError] The API key belongs to the Claude Code workspace, and the user who created it is
154
+ # no longer a member of the organization or of that workspace.
155
+ # @raise [Anthropic::Models::OrganizationOnHoldError] Anthropic has disabled the organization for trust and safety reasons. An
156
+ # organization disabled for any other reason, such as billing, does not get this
157
+ # code. `appeal_url`, when present, is where the organization can appeal.
158
+ #
129
159
  # @return [Anthropic::Models::DeletedSkill]
130
160
  #
131
161
  # @see Anthropic::Models::SkillDeleteParams
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Anthropic
4
- VERSION = "2.4.0"
4
+ VERSION = "2.5.0"
5
5
  end