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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +39 -0
- data/README.md +3 -3
- data/lib/anthropic/error_classes.rb +100 -0
- data/lib/anthropic/errors.rb +73 -30
- data/lib/anthropic/foundry.rb +5 -0
- data/lib/anthropic/helpers/foundry/client.rb +207 -0
- data/lib/anthropic/internal/type/enum.rb +2 -2
- data/lib/anthropic/internal/type/file_input.rb +1 -1
- data/lib/anthropic/internal/util.rb +2 -2
- data/lib/anthropic/models/available_tools_limit_exceeded_error.rb +20 -0
- data/lib/anthropic/models/available_tools_limit_exceeded_error_details.rb +18 -0
- data/lib/anthropic/models/beta/beta_advisor_redacted_result_block.rb +1 -1
- data/lib/anthropic/models/beta/beta_advisor_result_block.rb +1 -1
- data/lib/anthropic/models/beta/beta_advisor_tool_20260301.rb +3 -3
- data/lib/anthropic/models/beta/beta_billing_frozen_error.rb +22 -0
- data/lib/anthropic/models/beta/beta_billing_frozen_error_details.rb +22 -0
- data/lib/anthropic/models/beta/beta_cloud_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_compaction_block.rb +1 -1
- data/lib/anthropic/models/beta/beta_content_block_param.rb +8 -2
- data/lib/anthropic/models/beta/beta_dream.rb +3 -3
- data/lib/anthropic/models/beta/beta_environment.rb +2 -2
- data/lib/anthropic/models/beta/beta_environment_archived_error.rb +21 -0
- data/lib/anthropic/models/beta/beta_environment_archived_error_details.rb +21 -0
- data/lib/anthropic/models/beta/beta_environment_create_disabled_error.rb +22 -0
- data/lib/anthropic/models/beta/beta_environment_create_disabled_error_details.rb +22 -0
- data/lib/anthropic/models/beta/beta_environment_not_found_error.rb +21 -0
- data/lib/anthropic/models/beta/beta_environment_not_found_error_details.rb +21 -0
- data/lib/anthropic/models/beta/beta_environment_update_disabled_error.rb +22 -0
- data/lib/anthropic/models/beta/beta_environment_update_disabled_error_details.rb +22 -0
- data/lib/anthropic/models/beta/beta_fallback_block_param.rb +15 -7
- data/lib/anthropic/models/beta/beta_fallback_param.rb +2 -2
- data/lib/anthropic/models/beta/beta_fallback_refusal_trigger.rb +1 -1
- data/lib/anthropic/models/beta/beta_image_transformations_param.rb +1 -1
- data/lib/anthropic/models/beta/beta_invalid_config_type_change_error.rb +22 -0
- data/lib/anthropic/models/beta/beta_invalid_config_type_change_error_details.rb +22 -0
- data/lib/anthropic/models/beta/beta_invalid_metadata_error.rb +22 -0
- data/lib/anthropic/models/beta/beta_invalid_metadata_error_details.rb +22 -0
- data/lib/anthropic/models/beta/beta_managed_agents_agent.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_agent_with_overrides_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_cron_schedule.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_cron_schedule_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_deployment_run.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_memory_store_resource_config.rb +3 -4
- data/lib/anthropic/models/beta/beta_managed_agents_memory_store_resource_param.rb +3 -4
- data/lib/anthropic/models/beta/beta_managed_agents_model_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_model_config_params.rb +8 -4
- data/lib/anthropic/models/beta/beta_managed_agents_outcome_evaluation_resource.rb +3 -3
- data/lib/anthropic/models/beta/beta_managed_agents_schedule.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_schedule_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_session.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_session_resource_config.rb +1 -2
- data/lib/anthropic/models/beta/beta_model_capabilities.rb +1 -1
- data/lib/anthropic/models/beta/beta_output_tokens_details.rb +4 -4
- data/lib/anthropic/models/beta/beta_raw_content_block_delta.rb +1 -1
- data/lib/anthropic/models/beta/beta_response_tool_addition_block.rb +1 -1
- data/lib/anthropic/models/beta/beta_thinking_block_binding.rb +1 -1
- data/lib/anthropic/models/beta/beta_thinking_delta.rb +1 -1
- data/lib/anthropic/models/beta/beta_user_profile.rb +1 -1
- data/lib/anthropic/models/beta/beta_user_profile_external_user_details.rb +2 -2
- data/lib/anthropic/models/beta/beta_user_profile_external_user_details_params.rb +2 -2
- data/lib/anthropic/models/beta/deployment_create_params.rb +1 -2
- data/lib/anthropic/models/beta/deployment_run_list_params.rb +1 -1
- data/lib/anthropic/models/beta/deployment_update_params.rb +1 -2
- data/lib/anthropic/models/beta/dream_create_params.rb +2 -2
- data/lib/anthropic/models/beta/environment_create_params.rb +1 -1
- data/lib/anthropic/models/beta/environment_update_params.rb +1 -1
- data/lib/anthropic/models/beta/environments/beta_heartbeat_precondition_failed_error.rb +24 -0
- data/lib/anthropic/models/beta/environments/beta_heartbeat_precondition_failed_error_details.rb +30 -0
- data/lib/anthropic/models/beta/environments/beta_self_hosted_work.rb +2 -2
- data/lib/anthropic/models/beta/environments/beta_session_work_data.rb +2 -2
- data/lib/anthropic/models/beta/environments/beta_work_lease_state.rb +62 -0
- data/lib/anthropic/models/beta/file_list_params.rb +1 -1
- data/lib/anthropic/models/beta/memory_store_archive_params.rb +1 -1
- data/lib/anthropic/models/beta/memory_store_create_params.rb +1 -1
- data/lib/anthropic/models/beta/memory_store_delete_params.rb +1 -1
- data/lib/anthropic/models/beta/memory_store_list_params.rb +1 -1
- data/lib/anthropic/models/beta/memory_store_retrieve_params.rb +1 -1
- data/lib/anthropic/models/beta/memory_store_update_params.rb +1 -1
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory.rb +2 -3
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_list_item.rb +2 -3
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_path_conflict_error.rb +1 -1
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_version.rb +1 -1
- data/lib/anthropic/models/beta/memory_stores/memory_create_params.rb +1 -1
- data/lib/anthropic/models/beta/memory_stores/memory_delete_params.rb +1 -1
- data/lib/anthropic/models/beta/memory_stores/memory_list_params.rb +1 -1
- data/lib/anthropic/models/beta/memory_stores/memory_retrieve_params.rb +1 -1
- data/lib/anthropic/models/beta/memory_stores/memory_update_params.rb +1 -1
- data/lib/anthropic/models/beta/memory_stores/memory_version_list_params.rb +1 -1
- data/lib/anthropic/models/beta/memory_stores/memory_version_redact_params.rb +1 -1
- data/lib/anthropic/models/beta/memory_stores/memory_version_retrieve_params.rb +1 -1
- data/lib/anthropic/models/beta/messages/batch_create_params.rb +1 -1
- data/lib/anthropic/models/beta/model_list_params.rb +1 -1
- data/lib/anthropic/models/beta/organization/analytics/artifact_list_params.rb +3 -3
- data/lib/anthropic/models/beta/organization/analytics/beta_analytics_cost_group.rb +14 -16
- data/lib/anthropic/models/beta/organization/analytics/beta_analytics_cost_metrics.rb +0 -1
- data/lib/anthropic/models/beta/organization/analytics/beta_analytics_usage_group.rb +14 -16
- data/lib/anthropic/models/beta/organization/analytics/beta_analytics_usage_metrics.rb +1 -1
- data/lib/anthropic/models/beta/organization/analytics/connector_list_params.rb +1 -2
- data/lib/anthropic/models/beta/organization/analytics/cost_list_params.rb +18 -22
- data/lib/anthropic/models/beta/organization/analytics/cost_report_list_params.rb +5 -7
- data/lib/anthropic/models/beta/organization/analytics/plugin_list_params.rb +2 -2
- data/lib/anthropic/models/beta/organization/analytics/skill_list_params.rb +2 -2
- data/lib/anthropic/models/beta/organization/analytics/summary_list_params.rb +1 -1
- data/lib/anthropic/models/beta/organization/analytics/usage_list_params.rb +18 -21
- data/lib/anthropic/models/beta/organization/analytics/usage_report_list_params.rb +5 -7
- data/lib/anthropic/models/beta/organization/analytics/user_cost_report_list_params.rb +5 -7
- data/lib/anthropic/models/beta/organization/analytics/user_usage_report_list_params.rb +5 -7
- data/lib/anthropic/models/beta/organization/beta_analytics_actor.rb +1 -1
- data/lib/anthropic/models/beta/organization/beta_analytics_artifact_activity.rb +1 -1
- data/lib/anthropic/models/beta/organization/beta_analytics_connector_activity.rb +2 -3
- data/lib/anthropic/models/beta/organization/beta_analytics_cost_bucketed_result.rb +10 -13
- data/lib/anthropic/models/beta/organization/beta_analytics_cost_users_item.rb +10 -13
- data/lib/anthropic/models/beta/organization/beta_analytics_plugin_activity.rb +3 -3
- data/lib/anthropic/models/beta/organization/beta_analytics_product_filter.rb +1 -1
- data/lib/anthropic/models/beta/organization/beta_analytics_report_user_actor.rb +1 -1
- data/lib/anthropic/models/beta/organization/beta_analytics_single_day_activity_summary.rb +7 -8
- data/lib/anthropic/models/beta/organization/beta_analytics_skill_activity.rb +4 -5
- data/lib/anthropic/models/beta/organization/beta_analytics_usage_bucketed_result.rb +10 -12
- data/lib/anthropic/models/beta/organization/beta_analytics_usage_cost_product_filter.rb +1 -1
- data/lib/anthropic/models/beta/organization/beta_analytics_usage_users_item.rb +11 -13
- data/lib/anthropic/models/beta/organization/beta_analytics_user_activity.rb +2 -2
- data/lib/anthropic/models/beta/organization/beta_analytics_user_actor.rb +2 -3
- data/lib/anthropic/models/beta/organization/beta_api_key.rb +1 -1
- data/lib/anthropic/models/beta/organization/beta_api_key_scope_missing_error.rb +24 -0
- data/lib/anthropic/models/beta/organization/beta_api_key_scope_missing_error_details.rb +22 -0
- data/lib/anthropic/models/beta/organization/beta_azure_external_key_config.rb +1 -1
- data/lib/anthropic/models/beta/organization/beta_azure_external_key_config_param.rb +1 -1
- data/lib/anthropic/models/beta/organization/beta_claude_tag_slack_channel_identifiers.rb +1 -1
- data/lib/anthropic/models/beta/organization/beta_claude_tag_writes_not_enabled_error.rb +23 -0
- data/lib/anthropic/models/beta/organization/beta_claude_tag_writes_not_enabled_error_details.rb +21 -0
- data/lib/anthropic/models/beta/organization/beta_compliance_configuration_restricted_error.rb +24 -0
- data/lib/anthropic/models/beta/organization/beta_compliance_configuration_restricted_error_details.rb +22 -0
- data/lib/anthropic/models/beta/organization/beta_external_key.rb +3 -4
- data/lib/anthropic/models/beta/organization/beta_organization_level_scoped_api_key_required_error.rb +23 -0
- data/lib/anthropic/models/beta/organization/beta_organization_level_scoped_api_key_required_error_details.rb +21 -0
- data/lib/anthropic/models/beta/organization/beta_organization_rate_limit.rb +2 -2
- data/lib/anthropic/models/beta/organization/beta_organization_rate_limit_batch_group.rb +1 -1
- data/lib/anthropic/models/beta/organization/beta_organization_rate_limit_files_group.rb +1 -1
- data/lib/anthropic/models/beta/organization/beta_organization_rate_limit_model_group.rb +1 -1
- data/lib/anthropic/models/beta/organization/beta_organization_rate_limit_skills_group.rb +1 -1
- data/lib/anthropic/models/beta/organization/beta_organization_rate_limit_token_count_group.rb +1 -1
- data/lib/anthropic/models/beta/organization/beta_organization_rate_limit_value.rb +1 -1
- data/lib/anthropic/models/beta/organization/beta_organization_rate_limit_web_search_group.rb +1 -1
- data/lib/anthropic/models/beta/organization/beta_plugin.rb +24 -18
- data/lib/anthropic/models/beta/organization/beta_plugin_content_scan.rb +1 -1
- data/lib/anthropic/models/beta/organization/beta_plugin_marketplace.rb +1 -1
- data/lib/anthropic/models/beta/organization/beta_plugin_name_taken_error.rb +24 -0
- data/lib/anthropic/models/beta/organization/beta_plugin_name_taken_error_details.rb +28 -0
- data/lib/anthropic/models/beta/organization/beta_registration_pending_error.rb +24 -0
- data/lib/anthropic/models/beta/organization/beta_registration_pending_error_details.rb +34 -0
- data/lib/anthropic/models/beta/organization/beta_scan_failed_error.rb +24 -0
- data/lib/anthropic/models/beta/organization/beta_scan_failed_error_details.rb +28 -0
- data/lib/anthropic/models/beta/organization/beta_scan_pending_error.rb +24 -0
- data/lib/anthropic/models/beta/organization/beta_scan_pending_error_details.rb +28 -0
- data/lib/anthropic/models/beta/organization/beta_service_account.rb +1 -1
- data/lib/anthropic/models/beta/organization/beta_skill_name_taken_error.rb +24 -0
- data/lib/anthropic/models/beta/organization/beta_skill_name_taken_error_details.rb +28 -0
- data/lib/anthropic/models/beta/organization/beta_slack_channel_set_up_environment_not_found_error.rb +25 -0
- data/lib/anthropic/models/beta/organization/beta_slack_channel_set_up_environment_not_found_error_details.rb +31 -0
- data/lib/anthropic/models/beta/organization/beta_slack_channel_set_up_settings_conflict_error.rb +24 -0
- data/lib/anthropic/models/beta/organization/beta_slack_channel_set_up_settings_conflict_error_details.rb +31 -0
- data/lib/anthropic/models/beta/organization/beta_slack_channel_set_up_settings_refused_error.rb +24 -0
- data/lib/anthropic/models/beta/organization/beta_slack_channel_set_up_settings_refused_error_details.rb +31 -0
- data/lib/anthropic/models/beta/organization/beta_spend_limit.rb +2 -2
- data/lib/anthropic/models/beta/organization/beta_spend_limits_admin_api_writes_not_enabled_error.rb +24 -0
- data/lib/anthropic/models/beta/organization/beta_spend_limits_admin_api_writes_not_enabled_error_details.rb +22 -0
- data/lib/anthropic/models/beta/organization/beta_telemetry_destination_delivery_health.rb +1 -1
- data/lib/anthropic/models/beta/organization/claude_tag/bundle_list_params.rb +1 -1
- data/lib/anthropic/models/beta/organization/claude_tag/bundle_retrieve_params.rb +1 -1
- data/lib/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_bundle_target.rb +2 -2
- data/lib/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_bundle_target_create.rb +2 -2
- data/lib/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_slack_channel_bundle_target.rb +1 -1
- data/lib/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_slack_channel_bundle_target_create.rb +1 -1
- data/lib/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_slack_workspace_bundle_target.rb +1 -1
- data/lib/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_slack_workspace_bundle_target_create.rb +1 -1
- data/lib/anthropic/models/beta/organization/claude_tag/bundles/target_create_params.rb +1 -1
- data/lib/anthropic/models/beta/organization/claude_tag/bundles/target_delete_params.rb +1 -1
- data/lib/anthropic/models/beta/organization/claude_tag/bundles/target_list_params.rb +1 -1
- data/lib/anthropic/models/beta/organization/claude_tag/bundles/target_retrieve_params.rb +1 -1
- data/lib/anthropic/models/beta/organization/claude_tag/slack_channel_create_params.rb +1 -1
- data/lib/anthropic/models/beta/organization/claude_tag/slack_channel_delete_params.rb +1 -1
- data/lib/anthropic/models/beta/organization/claude_tag/slack_channel_list_params.rb +1 -1
- data/lib/anthropic/models/beta/organization/claude_tag/slack_channel_retrieve_params.rb +1 -1
- data/lib/anthropic/models/beta/organization/claude_tag/slack_channel_update_params.rb +1 -1
- data/lib/anthropic/models/beta/organization/claude_tag/slack_workspace_list_params.rb +2 -2
- data/lib/anthropic/models/beta/organization/claude_tag/slack_workspace_retrieve_params.rb +1 -1
- data/lib/anthropic/models/beta/organization/claude_tag/slack_workspace_update_params.rb +1 -1
- data/lib/anthropic/models/beta/organization/external_key_create_params.rb +1 -1
- data/lib/anthropic/models/beta/organization/external_key_update_params.rb +1 -1
- data/lib/anthropic/models/beta/organization/federation/beta_federation_rule.rb +1 -1
- data/lib/anthropic/models/beta/organization/federation/rule_create_params.rb +2 -2
- data/lib/anthropic/models/beta/organization/invite_list_params.rb +1 -1
- data/lib/anthropic/models/beta/organization/plugins/beta_plugin_version.rb +7 -2
- data/lib/anthropic/models/beta/organization/plugins/installation_setting_set_params.rb +1 -1
- data/lib/anthropic/models/beta/organization/plugins/share_list_params.rb +1 -1
- data/lib/anthropic/models/beta/organization/rbac_groups/beta_deleted_rbac_group_member.rb +1 -1
- data/lib/anthropic/models/beta/organization/rbac_roles/beta_rbac_role_permission.rb +1 -1
- data/lib/anthropic/models/beta/organization/spend_limit_list_params.rb +1 -2
- data/lib/anthropic/models/beta/organization/telemetry_destination_create_params.rb +2 -3
- data/lib/anthropic/models/beta/organization/telemetry_destination_list_params.rb +1 -1
- data/lib/anthropic/models/beta/organization/telemetry_destination_update_params.rb +1 -1
- data/lib/anthropic/models/beta/organization/workspace_create_params.rb +1 -1
- data/lib/anthropic/models/beta/organization/workspace_list_params.rb +11 -1
- data/lib/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit.rb +2 -2
- data/lib/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit_value.rb +3 -3
- data/lib/anthropic/models/beta/session_create_params.rb +1 -2
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_auto_evaluated_permission_deny.rb +1 -2
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_memory_store_resource.rb +3 -4
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_send_session_events.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_requires_action.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_resource.rb +1 -2
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_status_idle_event.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_idle_event.rb +3 -3
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_rescheduled_event.rb +2 -2
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_running_event.rb +2 -2
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_terminated_event.rb +2 -2
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_thread_usage.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_span_outcome_evaluation_end_event.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_span_outcome_evaluation_ongoing_event.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_define_outcome_event.rb +1 -1
- data/lib/anthropic/models/beta/sessions/event_list_params.rb +1 -1
- data/lib/anthropic/models/beta/sessions/event_stream_params.rb +0 -1
- data/lib/anthropic/models/beta/sessions/resource_retrieve_response.rb +1 -2
- data/lib/anthropic/models/beta/sessions/resource_update_response.rb +1 -2
- data/lib/anthropic/models/beta/sessions/threads/event_stream_params.rb +0 -1
- data/lib/anthropic/models/beta/user_profile_list_params.rb +1 -1
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_refresh_object.rb +1 -1
- data/lib/anthropic/models/beta_unsupported_charset_error.rb +20 -0
- data/lib/anthropic/models/beta_unsupported_charset_error_details.rb +18 -0
- data/lib/anthropic/models/claude_code_key_creator_not_member_error.rb +20 -0
- data/lib/anthropic/models/claude_code_key_creator_not_member_error_details.rb +18 -0
- data/lib/anthropic/models/claude_code_version_too_old_error.rb +20 -0
- data/lib/anthropic/models/claude_code_version_too_old_error_details.rb +18 -0
- data/lib/anthropic/models/cmek_context_unavailable_error.rb +20 -0
- data/lib/anthropic/models/cmek_context_unavailable_error_details.rb +18 -0
- data/lib/anthropic/models/cmek_key_disabled_error.rb +20 -0
- data/lib/anthropic/models/cmek_key_disabled_error_details.rb +18 -0
- data/lib/anthropic/models/cmek_key_network_blocked_error.rb +20 -0
- data/lib/anthropic/models/cmek_key_network_blocked_error_details.rb +18 -0
- data/lib/anthropic/models/cmek_key_unreachable_error.rb +21 -0
- data/lib/anthropic/models/cmek_key_unreachable_error_details.rb +19 -0
- data/lib/anthropic/models/compaction_block_ambiguous_error.rb +20 -0
- data/lib/anthropic/models/compaction_block_ambiguous_error_details.rb +18 -0
- data/lib/anthropic/models/compaction_block_misplaced_error.rb +20 -0
- data/lib/anthropic/models/compaction_block_misplaced_error_details.rb +18 -0
- data/lib/anthropic/models/compaction_content_mismatch_error.rb +20 -0
- data/lib/anthropic/models/compaction_content_mismatch_error_details.rb +18 -0
- data/lib/anthropic/models/compaction_incomplete_turn_error.rb +19 -0
- data/lib/anthropic/models/compaction_incomplete_turn_error_details.rb +17 -0
- data/lib/anthropic/models/compaction_nothing_to_summarize_error.rb +19 -0
- data/lib/anthropic/models/compaction_nothing_to_summarize_error_details.rb +17 -0
- data/lib/anthropic/models/compaction_signature_invalid_error.rb +19 -0
- data/lib/anthropic/models/compaction_signature_invalid_error_details.rb +17 -0
- data/lib/anthropic/models/compaction_too_many_tool_references_error.rb +20 -0
- data/lib/anthropic/models/compaction_too_many_tool_references_error_details.rb +18 -0
- data/lib/anthropic/models/compaction_tool_changes_mismatch_error.rb +20 -0
- data/lib/anthropic/models/compaction_tool_changes_mismatch_error_details.rb +18 -0
- data/lib/anthropic/models/compaction_unavailable_error.rb +20 -0
- data/lib/anthropic/models/compaction_unavailable_error_details.rb +18 -0
- data/lib/anthropic/models/concurrent_membership_change_error.rb +20 -0
- data/lib/anthropic/models/concurrent_membership_change_error_details.rb +18 -0
- data/lib/anthropic/models/enforced_spend_limit_reached_error.rb +19 -0
- data/lib/anthropic/models/enforced_spend_limit_reached_error_details.rb +17 -0
- data/lib/anthropic/models/error_details.rb +505 -0
- data/lib/anthropic/models/error_type.rb +5 -2
- data/lib/anthropic/models/file_expired_error.rb +19 -0
- data/lib/anthropic/models/file_expired_error_details.rb +17 -0
- data/lib/anthropic/models/file_list_params.rb +1 -1
- data/lib/anthropic/models/file_not_downloadable_error.rb +20 -0
- data/lib/anthropic/models/file_not_downloadable_error_details.rb +18 -0
- data/lib/anthropic/models/image_transformations_param.rb +1 -1
- data/lib/anthropic/models/messages/batch_create_params.rb +1 -1
- data/lib/anthropic/models/model_capabilities.rb +1 -1
- data/lib/anthropic/models/model_list_params.rb +1 -1
- data/lib/anthropic/models/org_member_limit_exceeded_error.rb +20 -0
- data/lib/anthropic/models/org_member_limit_exceeded_error_details.rb +18 -0
- data/lib/anthropic/models/organization/already_member_error.rb +22 -0
- data/lib/anthropic/models/organization/already_member_error_details.rb +20 -0
- data/lib/anthropic/models/organization/analytics/artifact_list_params.rb +3 -3
- data/lib/anthropic/models/organization/analytics/connector_list_params.rb +1 -2
- data/lib/anthropic/models/organization/analytics/plugin_list_params.rb +2 -2
- data/lib/anthropic/models/organization/analytics/skill_list_params.rb +2 -2
- data/lib/anthropic/models/organization/analytics/summary_list_params.rb +1 -1
- data/lib/anthropic/models/organization/analytics_artifact_activity.rb +1 -1
- data/lib/anthropic/models/organization/analytics_connector_activity.rb +2 -3
- data/lib/anthropic/models/organization/analytics_plugin_activity.rb +3 -3
- data/lib/anthropic/models/organization/analytics_single_day_activity_summary.rb +7 -8
- data/lib/anthropic/models/organization/analytics_skill_activity.rb +4 -5
- data/lib/anthropic/models/organization/analytics_user_activity.rb +2 -2
- data/lib/anthropic/models/organization/api_key.rb +1 -1
- data/lib/anthropic/models/organization/azure_external_key_config.rb +1 -1
- data/lib/anthropic/models/organization/azure_external_key_config_param.rb +1 -1
- data/lib/anthropic/models/organization/cannot_invite_emails_with_unverified_domains_error.rb +22 -0
- data/lib/anthropic/models/organization/cannot_invite_emails_with_unverified_domains_error_details.rb +20 -0
- data/lib/anthropic/models/organization/cannot_remove_last_member_error.rb +22 -0
- data/lib/anthropic/models/organization/cannot_remove_last_member_error_details.rb +20 -0
- data/lib/anthropic/models/organization/email_domain_not_allowed_error.rb +22 -0
- data/lib/anthropic/models/organization/email_domain_not_allowed_error_details.rb +20 -0
- data/lib/anthropic/models/organization/external_key.rb +3 -4
- data/lib/anthropic/models/organization/external_key_changed_error.rb +22 -0
- data/lib/anthropic/models/organization/external_key_changed_error_details.rb +20 -0
- data/lib/anthropic/models/organization/external_key_create_params.rb +1 -1
- data/lib/anthropic/models/organization/external_key_in_workspace_policy_error.rb +22 -0
- data/lib/anthropic/models/organization/external_key_in_workspace_policy_error_details.rb +20 -0
- data/lib/anthropic/models/organization/external_key_update_params.rb +1 -1
- data/lib/anthropic/models/organization/federation/rule_create_params.rb +2 -2
- data/lib/anthropic/models/organization/invite_already_exists_error.rb +22 -0
- data/lib/anthropic/models/organization/invite_already_exists_error_details.rb +20 -0
- data/lib/anthropic/models/organization/invite_list_params.rb +1 -1
- data/lib/anthropic/models/organization/key_profile_mismatch_error.rb +23 -0
- data/lib/anthropic/models/organization/key_profile_mismatch_error_details.rb +21 -0
- data/lib/anthropic/models/organization/org_api_key_limit_exceeded_error.rb +21 -0
- data/lib/anthropic/models/organization/org_api_key_limit_exceeded_error_details.rb +19 -0
- data/lib/anthropic/models/organization/organization_rate_limit.rb +2 -2
- data/lib/anthropic/models/organization/organization_rate_limit_batch_group.rb +1 -1
- data/lib/anthropic/models/organization/organization_rate_limit_files_group.rb +1 -1
- data/lib/anthropic/models/organization/organization_rate_limit_model_group.rb +1 -1
- data/lib/anthropic/models/organization/organization_rate_limit_skills_group.rb +1 -1
- data/lib/anthropic/models/organization/organization_rate_limit_token_count_group.rb +1 -1
- data/lib/anthropic/models/organization/organization_rate_limit_value.rb +1 -1
- data/lib/anthropic/models/organization/organization_rate_limit_web_search_group.rb +1 -1
- data/lib/anthropic/models/organization/rbac_group_grants_owner_access_error.rb +24 -0
- data/lib/anthropic/models/organization/rbac_group_grants_owner_access_error_details.rb +22 -0
- data/lib/anthropic/models/organization/rbac_group_owner_access_unconfirmed_error.rb +23 -0
- data/lib/anthropic/models/organization/rbac_group_owner_access_unconfirmed_error_details.rb +21 -0
- data/lib/anthropic/models/organization/rbac_groups/deleted_rbac_group_member.rb +1 -1
- data/lib/anthropic/models/organization/rbac_roles/rbac_role_permission.rb +1 -1
- data/lib/anthropic/models/organization/service_account.rb +1 -1
- data/lib/anthropic/models/organization/spend_limit.rb +2 -2
- data/lib/anthropic/models/organization/workspace_api_key_limit_exceeded_error.rb +21 -0
- data/lib/anthropic/models/organization/workspace_api_key_limit_exceeded_error_details.rb +19 -0
- data/lib/anthropic/models/organization/workspace_create_params.rb +1 -1
- data/lib/anthropic/models/organization/workspace_list_params.rb +11 -1
- data/lib/anthropic/models/organization/workspace_member_limit_exceeded_error.rb +21 -0
- data/lib/anthropic/models/organization/workspace_member_limit_exceeded_error_details.rb +19 -0
- data/lib/anthropic/models/organization/workspace_policy_field.rb +16 -0
- data/lib/anthropic/models/organization/workspace_policy_violation_error.rb +23 -0
- data/lib/anthropic/models/organization/workspace_policy_violation_error_details.rb +29 -0
- data/lib/anthropic/models/organization/workspaces/workspace_rate_limit.rb +2 -2
- data/lib/anthropic/models/organization/workspaces/workspace_rate_limit_value.rb +3 -3
- data/lib/anthropic/models/organization_on_hold_error.rb +21 -0
- data/lib/anthropic/models/organization_on_hold_error_details.rb +25 -0
- data/lib/anthropic/models/organization_type_not_supported_error.rb +20 -0
- data/lib/anthropic/models/organization_type_not_supported_error_details.rb +18 -0
- data/lib/anthropic/models/output_tokens_details.rb +4 -4
- data/lib/anthropic/models/raw_content_block_delta.rb +1 -1
- data/lib/anthropic/models/request_body_encoding_invalid_error.rb +19 -0
- data/lib/anthropic/models/request_body_encoding_invalid_error_details.rb +17 -0
- data/lib/anthropic/models/request_body_encoding_unsupported_error.rb +19 -0
- data/lib/anthropic/models/request_body_encoding_unsupported_error_details.rb +17 -0
- data/lib/anthropic/models/request_body_too_large_after_decoding_error.rb +19 -0
- data/lib/anthropic/models/request_body_too_large_after_decoding_error_details.rb +17 -0
- data/lib/anthropic/models/skill_read_blocked_undecryptable_error.rb +20 -0
- data/lib/anthropic/models/skill_read_blocked_undecryptable_error_details.rb +18 -0
- data/lib/anthropic/models/storage_quota_exceeded_error.rb +20 -0
- data/lib/anthropic/models/storage_quota_exceeded_error_details.rb +18 -0
- data/lib/anthropic/models/thinking_delta.rb +1 -1
- data/lib/anthropic/models/thread_already_continued_error.rb +21 -0
- data/lib/anthropic/models/thread_already_continued_error_details.rb +19 -0
- data/lib/anthropic/models/thread_continue_in_flight_error.rb +21 -0
- data/lib/anthropic/models/thread_continue_in_flight_error_details.rb +19 -0
- data/lib/anthropic/models/thread_fingerprint_mismatch_error.rb +22 -0
- data/lib/anthropic/models/thread_fingerprint_mismatch_error_details.rb +20 -0
- data/lib/anthropic/models/thread_not_found_error.rb +20 -0
- data/lib/anthropic/models/thread_not_found_error_details.rb +18 -0
- data/lib/anthropic/models/thread_unsupported_feature_name.rb +20 -0
- data/lib/anthropic/models/thread_unsupported_request_error.rb +21 -0
- data/lib/anthropic/models/thread_unsupported_request_error_details.rb +34 -0
- data/lib/anthropic/models/tool_name_conflict_error.rb +20 -0
- data/lib/anthropic/models/tool_name_conflict_error_details.rb +18 -0
- data/lib/anthropic/models/tool_reference_unresolved_error.rb +20 -0
- data/lib/anthropic/models/tool_reference_unresolved_error_details.rb +18 -0
- data/lib/anthropic/models/user_profile.rb +1 -1
- data/lib/anthropic/models/user_profile_enforcement_action.rb +1 -1
- data/lib/anthropic/models/user_profile_enforcement_action_ban.rb +1 -1
- data/lib/anthropic/models/user_profile_enforcement_action_restriction.rb +1 -1
- data/lib/anthropic/models/user_profile_external_user_details.rb +2 -2
- data/lib/anthropic/models/user_profile_external_user_details_params.rb +2 -2
- data/lib/anthropic/models/user_profile_list_params.rb +1 -1
- data/lib/anthropic/models/user_profile_not_found_error.rb +21 -0
- data/lib/anthropic/models/user_profile_not_found_error_details.rb +19 -0
- data/lib/anthropic/models.rb +155 -0
- data/lib/anthropic/resources/beta/agents/versions.rb +1 -1
- data/lib/anthropic/resources/beta/agents.rb +4 -4
- data/lib/anthropic/resources/beta/deployment_runs.rb +1 -1
- data/lib/anthropic/resources/beta/deployments.rb +3 -3
- data/lib/anthropic/resources/beta/dreams.rb +1 -1
- data/lib/anthropic/resources/beta/environments/work.rb +29 -0
- data/lib/anthropic/resources/beta/environments.rb +44 -1
- data/lib/anthropic/resources/beta/files.rb +56 -1
- data/lib/anthropic/resources/beta/memory_stores/memories.rb +6 -6
- data/lib/anthropic/resources/beta/memory_stores/memory_versions.rb +5 -6
- data/lib/anthropic/resources/beta/memory_stores.rb +6 -6
- data/lib/anthropic/resources/beta/messages/batches.rb +41 -0
- data/lib/anthropic/resources/beta/messages.rb +142 -0
- data/lib/anthropic/resources/beta/models.rb +13 -1
- data/lib/anthropic/resources/beta/organization/analytics/artifacts.rb +1 -1
- data/lib/anthropic/resources/beta/organization/analytics/cost.rb +8 -8
- data/lib/anthropic/resources/beta/organization/analytics/cost_report.rb +3 -3
- data/lib/anthropic/resources/beta/organization/analytics/summaries.rb +1 -1
- data/lib/anthropic/resources/beta/organization/analytics/usage.rb +7 -7
- data/lib/anthropic/resources/beta/organization/analytics/usage_report.rb +3 -3
- data/lib/anthropic/resources/beta/organization/analytics/user_cost_report.rb +9 -7
- data/lib/anthropic/resources/beta/organization/analytics/user_usage_report.rb +9 -7
- data/lib/anthropic/resources/beta/organization/api_keys.rb +3 -0
- data/lib/anthropic/resources/beta/organization/claude_tag/bundles/targets.rb +32 -4
- data/lib/anthropic/resources/beta/organization/claude_tag/bundles.rb +16 -2
- data/lib/anthropic/resources/beta/organization/claude_tag/slack_channels.rb +56 -5
- data/lib/anthropic/resources/beta/organization/claude_tag/slack_workspaces.rb +30 -3
- data/lib/anthropic/resources/beta/organization/external_keys.rb +10 -0
- data/lib/anthropic/resources/beta/organization/federation/rules.rb +2 -2
- data/lib/anthropic/resources/beta/organization/invites.rb +19 -1
- data/lib/anthropic/resources/beta/organization/plugin_marketplaces.rb +8 -5
- data/lib/anthropic/resources/beta/organization/plugins/installation_settings.rb +3 -3
- data/lib/anthropic/resources/beta/organization/plugins/shares.rb +1 -1
- data/lib/anthropic/resources/beta/organization/plugins/versions.rb +20 -4
- data/lib/anthropic/resources/beta/organization/plugins.rb +31 -4
- data/lib/anthropic/resources/beta/organization/rbac_groups/members.rb +16 -0
- data/lib/anthropic/resources/beta/organization/rbac_groups.rb +8 -0
- data/lib/anthropic/resources/beta/organization/spend_limits/effective.rb +3 -0
- data/lib/anthropic/resources/beta/organization/spend_limits.rb +18 -2
- data/lib/anthropic/resources/beta/organization/telemetry_destinations/workspaces.rb +3 -3
- data/lib/anthropic/resources/beta/organization/telemetry_destinations.rb +4 -4
- data/lib/anthropic/resources/beta/organization/users.rb +5 -0
- data/lib/anthropic/resources/beta/organization/webhooks.rb +2 -2
- data/lib/anthropic/resources/beta/organization/workspaces/members.rb +4 -0
- data/lib/anthropic/resources/beta/organization/workspaces.rb +28 -2
- data/lib/anthropic/resources/beta/sessions/events.rb +4 -4
- data/lib/anthropic/resources/beta/sessions/resources.rb +7 -7
- data/lib/anthropic/resources/beta/sessions/threads/events.rb +3 -3
- data/lib/anthropic/resources/beta/sessions/threads.rb +3 -3
- data/lib/anthropic/resources/beta/sessions.rb +4 -4
- data/lib/anthropic/resources/beta/skills/versions.rb +30 -0
- data/lib/anthropic/resources/beta/skills.rb +30 -0
- data/lib/anthropic/resources/beta/tunnels/certificates.rb +4 -4
- data/lib/anthropic/resources/beta/tunnels.rb +3 -3
- data/lib/anthropic/resources/beta/vaults/credentials.rb +7 -7
- data/lib/anthropic/resources/beta/vaults.rb +4 -4
- data/lib/anthropic/resources/files.rb +56 -1
- data/lib/anthropic/resources/messages/batches.rb +41 -0
- data/lib/anthropic/resources/messages.rb +142 -0
- data/lib/anthropic/resources/models.rb +13 -1
- data/lib/anthropic/resources/organization/analytics/artifacts.rb +1 -1
- data/lib/anthropic/resources/organization/analytics/summaries.rb +1 -1
- data/lib/anthropic/resources/organization/api_keys.rb +3 -0
- data/lib/anthropic/resources/organization/external_keys.rb +10 -0
- data/lib/anthropic/resources/organization/federation/rules.rb +2 -2
- data/lib/anthropic/resources/organization/invites.rb +19 -1
- data/lib/anthropic/resources/organization/rbac_groups/members.rb +16 -0
- data/lib/anthropic/resources/organization/rbac_groups.rb +8 -0
- data/lib/anthropic/resources/organization/spend_limits/effective.rb +3 -0
- data/lib/anthropic/resources/organization/users.rb +5 -0
- data/lib/anthropic/resources/organization/workspaces/members.rb +4 -0
- data/lib/anthropic/resources/organization/workspaces.rb +29 -3
- data/lib/anthropic/resources/skills/versions.rb +30 -0
- data/lib/anthropic/resources/skills.rb +30 -0
- data/lib/anthropic/version.rb +1 -1
- data/lib/anthropic.rb +151 -0
- data/rbi/anthropic/error_classes.rbi +15 -0
- data/rbi/anthropic/errors.rbi +56 -5
- data/rbi/anthropic/foundry.rbi +5 -0
- data/rbi/anthropic/helpers/foundry/client.rbi +116 -0
- data/rbi/anthropic/internal/type/file_input.rbi +1 -1
- data/rbi/anthropic/models/available_tools_limit_exceeded_error.rbi +17 -0
- data/rbi/anthropic/models/available_tools_limit_exceeded_error_details.rbi +28 -0
- data/rbi/anthropic/models/beta/beta_advisor_tool_20260301.rbi +6 -6
- data/rbi/anthropic/models/beta/beta_billing_frozen_error.rbi +19 -0
- data/rbi/anthropic/models/beta/beta_billing_frozen_error_details.rbi +32 -0
- data/rbi/anthropic/models/beta/beta_dream.rbi +2 -2
- data/rbi/anthropic/models/beta/beta_environment.rbi +2 -2
- data/rbi/anthropic/models/beta/beta_environment_archived_error.rbi +18 -0
- data/rbi/anthropic/models/beta/beta_environment_archived_error_details.rbi +32 -0
- data/rbi/anthropic/models/beta/beta_environment_create_disabled_error.rbi +21 -0
- data/rbi/anthropic/models/beta/beta_environment_create_disabled_error_details.rbi +33 -0
- data/rbi/anthropic/models/beta/beta_environment_not_found_error.rbi +18 -0
- data/rbi/anthropic/models/beta/beta_environment_not_found_error_details.rbi +32 -0
- data/rbi/anthropic/models/beta/beta_environment_update_disabled_error.rbi +21 -0
- data/rbi/anthropic/models/beta/beta_environment_update_disabled_error_details.rbi +33 -0
- data/rbi/anthropic/models/beta/beta_fallback_block_param.rbi +15 -7
- data/rbi/anthropic/models/beta/beta_invalid_config_type_change_error.rbi +21 -0
- data/rbi/anthropic/models/beta/beta_invalid_config_type_change_error_details.rbi +33 -0
- data/rbi/anthropic/models/beta/beta_invalid_metadata_error.rbi +19 -0
- data/rbi/anthropic/models/beta/beta_invalid_metadata_error_details.rbi +32 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_cron_schedule.rbi +2 -2
- data/rbi/anthropic/models/beta/beta_managed_agents_cron_schedule_params.rbi +2 -2
- data/rbi/anthropic/models/beta/beta_managed_agents_memory_store_resource_config.rbi +4 -4
- data/rbi/anthropic/models/beta/beta_managed_agents_memory_store_resource_param.rbi +4 -4
- data/rbi/anthropic/models/beta/beta_managed_agents_model_config_params.rbi +9 -3
- data/rbi/anthropic/models/beta/beta_managed_agents_outcome_evaluation_resource.rbi +2 -2
- data/rbi/anthropic/models/beta/beta_managed_agents_schedule.rbi +2 -2
- data/rbi/anthropic/models/beta/beta_managed_agents_schedule_params.rbi +2 -2
- data/rbi/anthropic/models/beta/beta_managed_agents_session_resource_config.rbi +2 -2
- data/rbi/anthropic/models/beta/beta_output_tokens_details.rbi +8 -8
- data/rbi/anthropic/models/beta/deployment_create_params.rbi +2 -2
- data/rbi/anthropic/models/beta/deployment_update_params.rbi +2 -2
- data/rbi/anthropic/models/beta/environments/beta_heartbeat_precondition_failed_error.rbi +25 -0
- data/rbi/anthropic/models/beta/environments/beta_heartbeat_precondition_failed_error_details.rbi +62 -0
- data/rbi/anthropic/models/beta/environments/beta_self_hosted_work.rbi +2 -2
- data/rbi/anthropic/models/beta/environments/beta_session_work_data.rbi +2 -2
- data/rbi/anthropic/models/beta/environments/beta_work_lease_state.rbi +125 -0
- data/rbi/anthropic/models/beta/organization/analytics/artifact_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/analytics/beta_analytics_cost_group.rbi +12 -14
- data/rbi/anthropic/models/beta/organization/analytics/beta_analytics_usage_group.rbi +12 -14
- data/rbi/anthropic/models/beta/organization/analytics/connector_list_params.rbi +2 -4
- data/rbi/anthropic/models/beta/organization/analytics/cost_list_params.rbi +26 -32
- data/rbi/anthropic/models/beta/organization/analytics/cost_report_list_params.rbi +4 -8
- data/rbi/anthropic/models/beta/organization/analytics/plugin_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/analytics/skill_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/analytics/usage_list_params.rbi +26 -32
- data/rbi/anthropic/models/beta/organization/analytics/usage_report_list_params.rbi +4 -8
- data/rbi/anthropic/models/beta/organization/analytics/user_cost_report_list_params.rbi +4 -8
- data/rbi/anthropic/models/beta/organization/analytics/user_usage_report_list_params.rbi +4 -8
- data/rbi/anthropic/models/beta/organization/beta_analytics_connector_activity.rbi +2 -4
- data/rbi/anthropic/models/beta/organization/beta_analytics_cost_bucketed_result.rbi +12 -14
- data/rbi/anthropic/models/beta/organization/beta_analytics_cost_users_item.rbi +12 -14
- data/rbi/anthropic/models/beta/organization/beta_analytics_plugin_activity.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/beta_analytics_product_filter.rbi +1 -1
- data/rbi/anthropic/models/beta/organization/beta_analytics_single_day_activity_summary.rbi +8 -10
- data/rbi/anthropic/models/beta/organization/beta_analytics_skill_activity.rbi +2 -4
- data/rbi/anthropic/models/beta/organization/beta_analytics_usage_bucketed_result.rbi +12 -14
- data/rbi/anthropic/models/beta/organization/beta_analytics_usage_cost_product_filter.rbi +1 -1
- data/rbi/anthropic/models/beta/organization/beta_analytics_usage_users_item.rbi +12 -14
- data/rbi/anthropic/models/beta/organization/beta_analytics_user_activity.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/beta_analytics_user_actor.rbi +2 -4
- data/rbi/anthropic/models/beta/organization/beta_api_key_scope_missing_error.rbi +25 -0
- data/rbi/anthropic/models/beta/organization/beta_api_key_scope_missing_error_details.rbi +32 -0
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_writes_not_enabled_error.rbi +24 -0
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_writes_not_enabled_error_details.rbi +31 -0
- data/rbi/anthropic/models/beta/organization/beta_compliance_configuration_restricted_error.rbi +25 -0
- data/rbi/anthropic/models/beta/organization/beta_compliance_configuration_restricted_error_details.rbi +32 -0
- data/rbi/anthropic/models/beta/organization/beta_external_key.rbi +2 -4
- data/rbi/anthropic/models/beta/organization/beta_organization_level_scoped_api_key_required_error.rbi +24 -0
- data/rbi/anthropic/models/beta/organization/beta_organization_level_scoped_api_key_required_error_details.rbi +31 -0
- data/rbi/anthropic/models/beta/organization/beta_plugin.rbi +36 -27
- data/rbi/anthropic/models/beta/organization/beta_plugin_name_taken_error.rbi +25 -0
- data/rbi/anthropic/models/beta/organization/beta_plugin_name_taken_error_details.rbi +43 -0
- data/rbi/anthropic/models/beta/organization/beta_registration_pending_error.rbi +25 -0
- data/rbi/anthropic/models/beta/organization/beta_registration_pending_error_details.rbi +56 -0
- data/rbi/anthropic/models/beta/organization/beta_scan_failed_error.rbi +23 -0
- data/rbi/anthropic/models/beta/organization/beta_scan_failed_error_details.rbi +41 -0
- data/rbi/anthropic/models/beta/organization/beta_scan_pending_error.rbi +23 -0
- data/rbi/anthropic/models/beta/organization/beta_scan_pending_error_details.rbi +41 -0
- data/rbi/anthropic/models/beta/organization/beta_skill_name_taken_error.rbi +25 -0
- data/rbi/anthropic/models/beta/organization/beta_skill_name_taken_error_details.rbi +39 -0
- data/rbi/anthropic/models/beta/organization/beta_slack_channel_set_up_environment_not_found_error.rbi +26 -0
- data/rbi/anthropic/models/beta/organization/beta_slack_channel_set_up_environment_not_found_error_details.rbi +47 -0
- data/rbi/anthropic/models/beta/organization/beta_slack_channel_set_up_settings_conflict_error.rbi +25 -0
- data/rbi/anthropic/models/beta/organization/beta_slack_channel_set_up_settings_conflict_error_details.rbi +48 -0
- data/rbi/anthropic/models/beta/organization/beta_slack_channel_set_up_settings_refused_error.rbi +25 -0
- data/rbi/anthropic/models/beta/organization/beta_slack_channel_set_up_settings_refused_error_details.rbi +48 -0
- data/rbi/anthropic/models/beta/organization/beta_spend_limits_admin_api_writes_not_enabled_error.rbi +25 -0
- data/rbi/anthropic/models/beta/organization/beta_spend_limits_admin_api_writes_not_enabled_error_details.rbi +32 -0
- data/rbi/anthropic/models/beta/organization/plugins/beta_plugin_version.rbi +12 -2
- data/rbi/anthropic/models/beta/organization/rbac_roles/beta_rbac_role_permission.rbi +2 -2
- data/rbi/anthropic/models/beta/organization/telemetry_destination_create_params.rbi +2 -4
- data/rbi/anthropic/models/beta/organization/workspace_list_params.rbi +15 -0
- data/rbi/anthropic/models/beta/session_create_params.rbi +2 -2
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_memory_store_resource.rbi +4 -4
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_resource.rbi +2 -2
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_idle_event.rbi +2 -2
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_rescheduled_event.rbi +2 -2
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_running_event.rbi +2 -2
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_terminated_event.rbi +2 -2
- data/rbi/anthropic/models/beta/sessions/resource_retrieve_response.rbi +2 -2
- data/rbi/anthropic/models/beta/sessions/resource_update_response.rbi +2 -2
- data/rbi/anthropic/models/beta_unsupported_charset_error.rbi +17 -0
- data/rbi/anthropic/models/beta_unsupported_charset_error_details.rbi +28 -0
- data/rbi/anthropic/models/claude_code_key_creator_not_member_error.rbi +17 -0
- data/rbi/anthropic/models/claude_code_key_creator_not_member_error_details.rbi +28 -0
- data/rbi/anthropic/models/claude_code_version_too_old_error.rbi +17 -0
- data/rbi/anthropic/models/claude_code_version_too_old_error_details.rbi +28 -0
- data/rbi/anthropic/models/cmek_context_unavailable_error.rbi +17 -0
- data/rbi/anthropic/models/cmek_context_unavailable_error_details.rbi +28 -0
- data/rbi/anthropic/models/cmek_key_disabled_error.rbi +17 -0
- data/rbi/anthropic/models/cmek_key_disabled_error_details.rbi +28 -0
- data/rbi/anthropic/models/cmek_key_network_blocked_error.rbi +17 -0
- data/rbi/anthropic/models/cmek_key_network_blocked_error_details.rbi +28 -0
- data/rbi/anthropic/models/cmek_key_unreachable_error.rbi +18 -0
- data/rbi/anthropic/models/cmek_key_unreachable_error_details.rbi +29 -0
- data/rbi/anthropic/models/compaction_block_ambiguous_error.rbi +17 -0
- data/rbi/anthropic/models/compaction_block_ambiguous_error_details.rbi +28 -0
- data/rbi/anthropic/models/compaction_block_misplaced_error.rbi +17 -0
- data/rbi/anthropic/models/compaction_block_misplaced_error_details.rbi +28 -0
- data/rbi/anthropic/models/compaction_content_mismatch_error.rbi +17 -0
- data/rbi/anthropic/models/compaction_content_mismatch_error_details.rbi +28 -0
- data/rbi/anthropic/models/compaction_incomplete_turn_error.rbi +16 -0
- data/rbi/anthropic/models/compaction_incomplete_turn_error_details.rbi +27 -0
- data/rbi/anthropic/models/compaction_nothing_to_summarize_error.rbi +16 -0
- data/rbi/anthropic/models/compaction_nothing_to_summarize_error_details.rbi +27 -0
- data/rbi/anthropic/models/compaction_signature_invalid_error.rbi +16 -0
- data/rbi/anthropic/models/compaction_signature_invalid_error_details.rbi +27 -0
- data/rbi/anthropic/models/compaction_too_many_tool_references_error.rbi +17 -0
- data/rbi/anthropic/models/compaction_too_many_tool_references_error_details.rbi +28 -0
- data/rbi/anthropic/models/compaction_tool_changes_mismatch_error.rbi +17 -0
- data/rbi/anthropic/models/compaction_tool_changes_mismatch_error_details.rbi +28 -0
- data/rbi/anthropic/models/compaction_unavailable_error.rbi +17 -0
- data/rbi/anthropic/models/compaction_unavailable_error_details.rbi +28 -0
- data/rbi/anthropic/models/concurrent_membership_change_error.rbi +17 -0
- data/rbi/anthropic/models/concurrent_membership_change_error_details.rbi +28 -0
- data/rbi/anthropic/models/enforced_spend_limit_reached_error.rbi +16 -0
- data/rbi/anthropic/models/enforced_spend_limit_reached_error_details.rbi +27 -0
- data/rbi/anthropic/models/error_details.rbi +497 -0
- data/rbi/anthropic/models/error_type.rbi +11 -2
- data/rbi/anthropic/models/file_expired_error.rbi +16 -0
- data/rbi/anthropic/models/file_expired_error_details.rbi +27 -0
- data/rbi/anthropic/models/file_not_downloadable_error.rbi +17 -0
- data/rbi/anthropic/models/file_not_downloadable_error_details.rbi +28 -0
- data/rbi/anthropic/models/org_member_limit_exceeded_error.rbi +17 -0
- data/rbi/anthropic/models/org_member_limit_exceeded_error_details.rbi +28 -0
- data/rbi/anthropic/models/organization/already_member_error.rbi +19 -0
- data/rbi/anthropic/models/organization/already_member_error_details.rbi +30 -0
- data/rbi/anthropic/models/organization/analytics/artifact_list_params.rbi +4 -4
- data/rbi/anthropic/models/organization/analytics/connector_list_params.rbi +2 -4
- data/rbi/anthropic/models/organization/analytics/plugin_list_params.rbi +4 -4
- data/rbi/anthropic/models/organization/analytics/skill_list_params.rbi +4 -4
- data/rbi/anthropic/models/organization/analytics_connector_activity.rbi +2 -4
- data/rbi/anthropic/models/organization/analytics_plugin_activity.rbi +4 -4
- data/rbi/anthropic/models/organization/analytics_single_day_activity_summary.rbi +8 -10
- data/rbi/anthropic/models/organization/analytics_skill_activity.rbi +2 -4
- data/rbi/anthropic/models/organization/analytics_user_activity.rbi +4 -4
- data/rbi/anthropic/models/organization/cannot_invite_emails_with_unverified_domains_error.rbi +23 -0
- data/rbi/anthropic/models/organization/cannot_invite_emails_with_unverified_domains_error_details.rbi +30 -0
- data/rbi/anthropic/models/organization/cannot_remove_last_member_error.rbi +21 -0
- data/rbi/anthropic/models/organization/cannot_remove_last_member_error_details.rbi +30 -0
- data/rbi/anthropic/models/organization/email_domain_not_allowed_error.rbi +21 -0
- data/rbi/anthropic/models/organization/email_domain_not_allowed_error_details.rbi +30 -0
- data/rbi/anthropic/models/organization/external_key.rbi +2 -4
- data/rbi/anthropic/models/organization/external_key_changed_error.rbi +19 -0
- data/rbi/anthropic/models/organization/external_key_changed_error_details.rbi +30 -0
- data/rbi/anthropic/models/organization/external_key_in_workspace_policy_error.rbi +23 -0
- data/rbi/anthropic/models/organization/external_key_in_workspace_policy_error_details.rbi +30 -0
- data/rbi/anthropic/models/organization/invite_already_exists_error.rbi +21 -0
- data/rbi/anthropic/models/organization/invite_already_exists_error_details.rbi +30 -0
- data/rbi/anthropic/models/organization/key_profile_mismatch_error.rbi +20 -0
- data/rbi/anthropic/models/organization/key_profile_mismatch_error_details.rbi +31 -0
- data/rbi/anthropic/models/organization/org_api_key_limit_exceeded_error.rbi +20 -0
- data/rbi/anthropic/models/organization/org_api_key_limit_exceeded_error_details.rbi +29 -0
- data/rbi/anthropic/models/organization/rbac_group_grants_owner_access_error.rbi +25 -0
- data/rbi/anthropic/models/organization/rbac_group_grants_owner_access_error_details.rbi +32 -0
- data/rbi/anthropic/models/organization/rbac_group_owner_access_unconfirmed_error.rbi +24 -0
- data/rbi/anthropic/models/organization/rbac_group_owner_access_unconfirmed_error_details.rbi +31 -0
- data/rbi/anthropic/models/organization/rbac_roles/rbac_role_permission.rbi +2 -2
- data/rbi/anthropic/models/organization/workspace_api_key_limit_exceeded_error.rbi +22 -0
- data/rbi/anthropic/models/organization/workspace_api_key_limit_exceeded_error_details.rbi +29 -0
- data/rbi/anthropic/models/organization/workspace_list_params.rbi +15 -0
- data/rbi/anthropic/models/organization/workspace_member_limit_exceeded_error.rbi +22 -0
- data/rbi/anthropic/models/organization/workspace_member_limit_exceeded_error_details.rbi +29 -0
- data/rbi/anthropic/models/organization/workspace_policy_field.rbi +33 -0
- data/rbi/anthropic/models/organization/workspace_policy_violation_error.rbi +22 -0
- data/rbi/anthropic/models/organization/workspace_policy_violation_error_details.rbi +53 -0
- data/rbi/anthropic/models/organization_on_hold_error.rbi +18 -0
- data/rbi/anthropic/models/organization_on_hold_error_details.rbi +38 -0
- data/rbi/anthropic/models/organization_type_not_supported_error.rbi +17 -0
- data/rbi/anthropic/models/organization_type_not_supported_error_details.rbi +28 -0
- data/rbi/anthropic/models/output_tokens_details.rbi +8 -8
- data/rbi/anthropic/models/request_body_encoding_invalid_error.rbi +16 -0
- data/rbi/anthropic/models/request_body_encoding_invalid_error_details.rbi +27 -0
- data/rbi/anthropic/models/request_body_encoding_unsupported_error.rbi +16 -0
- data/rbi/anthropic/models/request_body_encoding_unsupported_error_details.rbi +27 -0
- data/rbi/anthropic/models/request_body_too_large_after_decoding_error.rbi +16 -0
- data/rbi/anthropic/models/request_body_too_large_after_decoding_error_details.rbi +27 -0
- data/rbi/anthropic/models/skill_read_blocked_undecryptable_error.rbi +17 -0
- data/rbi/anthropic/models/skill_read_blocked_undecryptable_error_details.rbi +28 -0
- data/rbi/anthropic/models/storage_quota_exceeded_error.rbi +17 -0
- data/rbi/anthropic/models/storage_quota_exceeded_error_details.rbi +28 -0
- data/rbi/anthropic/models/thread_already_continued_error.rbi +18 -0
- data/rbi/anthropic/models/thread_already_continued_error_details.rbi +29 -0
- data/rbi/anthropic/models/thread_continue_in_flight_error.rbi +18 -0
- data/rbi/anthropic/models/thread_continue_in_flight_error_details.rbi +29 -0
- data/rbi/anthropic/models/thread_fingerprint_mismatch_error.rbi +19 -0
- data/rbi/anthropic/models/thread_fingerprint_mismatch_error_details.rbi +30 -0
- data/rbi/anthropic/models/thread_not_found_error.rbi +17 -0
- data/rbi/anthropic/models/thread_not_found_error_details.rbi +28 -0
- data/rbi/anthropic/models/thread_unsupported_feature_name.rbi +44 -0
- data/rbi/anthropic/models/thread_unsupported_request_error.rbi +18 -0
- data/rbi/anthropic/models/thread_unsupported_request_error_details.rbi +65 -0
- data/rbi/anthropic/models/tool_name_conflict_error.rbi +17 -0
- data/rbi/anthropic/models/tool_name_conflict_error_details.rbi +28 -0
- data/rbi/anthropic/models/tool_reference_unresolved_error.rbi +17 -0
- data/rbi/anthropic/models/tool_reference_unresolved_error_details.rbi +28 -0
- data/rbi/anthropic/models/user_profile_not_found_error.rbi +18 -0
- data/rbi/anthropic/models/user_profile_not_found_error_details.rbi +29 -0
- data/rbi/anthropic/models.rbi +204 -0
- data/rbi/anthropic/resources/beta/organization/analytics/artifacts.rbi +2 -2
- data/rbi/anthropic/resources/beta/organization/analytics/connectors.rbi +1 -2
- data/rbi/anthropic/resources/beta/organization/analytics/cost.rbi +12 -15
- data/rbi/anthropic/resources/beta/organization/analytics/cost_report.rbi +2 -4
- data/rbi/anthropic/resources/beta/organization/analytics/plugins.rbi +2 -2
- data/rbi/anthropic/resources/beta/organization/analytics/skills.rbi +2 -2
- data/rbi/anthropic/resources/beta/organization/analytics/usage.rbi +12 -15
- data/rbi/anthropic/resources/beta/organization/analytics/usage_report.rbi +2 -4
- data/rbi/anthropic/resources/beta/organization/analytics/user_cost_report.rbi +8 -8
- data/rbi/anthropic/resources/beta/organization/analytics/user_usage_report.rbi +8 -8
- data/rbi/anthropic/resources/beta/organization/telemetry_destinations.rbi +1 -2
- data/rbi/anthropic/resources/beta/organization/workspaces.rbi +5 -0
- data/rbi/anthropic/resources/organization/analytics/artifacts.rbi +2 -2
- data/rbi/anthropic/resources/organization/analytics/connectors.rbi +1 -2
- data/rbi/anthropic/resources/organization/analytics/plugins.rbi +2 -2
- data/rbi/anthropic/resources/organization/analytics/skills.rbi +2 -2
- data/rbi/anthropic/resources/organization/workspaces.rbi +5 -0
- data/sig/anthropic/error_classes.rbs +5 -0
- data/sig/anthropic/errors.rbs +44 -3
- data/sig/anthropic/foundry.rbs +3 -0
- data/sig/anthropic/helpers/foundry/client.rbs +44 -0
- data/sig/anthropic/models/available_tools_limit_exceeded_error.rbs +9 -0
- data/sig/anthropic/models/available_tools_limit_exceeded_error_details.rbs +14 -0
- data/sig/anthropic/models/beta/beta_billing_frozen_error.rbs +11 -0
- data/sig/anthropic/models/beta/beta_billing_frozen_error_details.rbs +17 -0
- data/sig/anthropic/models/beta/beta_environment_archived_error.rbs +11 -0
- data/sig/anthropic/models/beta/beta_environment_archived_error_details.rbs +18 -0
- data/sig/anthropic/models/beta/beta_environment_create_disabled_error.rbs +11 -0
- data/sig/anthropic/models/beta/beta_environment_create_disabled_error_details.rbs +18 -0
- data/sig/anthropic/models/beta/beta_environment_not_found_error.rbs +11 -0
- data/sig/anthropic/models/beta/beta_environment_not_found_error_details.rbs +18 -0
- data/sig/anthropic/models/beta/beta_environment_update_disabled_error.rbs +11 -0
- data/sig/anthropic/models/beta/beta_environment_update_disabled_error_details.rbs +18 -0
- data/sig/anthropic/models/beta/beta_invalid_config_type_change_error.rbs +11 -0
- data/sig/anthropic/models/beta/beta_invalid_config_type_change_error_details.rbs +18 -0
- data/sig/anthropic/models/beta/beta_invalid_metadata_error.rbs +11 -0
- data/sig/anthropic/models/beta/beta_invalid_metadata_error_details.rbs +18 -0
- data/sig/anthropic/models/beta/environments/beta_heartbeat_precondition_failed_error.rbs +13 -0
- data/sig/anthropic/models/beta/environments/beta_heartbeat_precondition_failed_error_details.rbs +29 -0
- data/sig/anthropic/models/beta/environments/beta_work_lease_state.rbs +53 -0
- data/sig/anthropic/models/beta/organization/beta_api_key_scope_missing_error.rbs +13 -0
- data/sig/anthropic/models/beta/organization/beta_api_key_scope_missing_error_details.rbs +18 -0
- data/sig/anthropic/models/beta/organization/beta_claude_tag_writes_not_enabled_error.rbs +13 -0
- data/sig/anthropic/models/beta/organization/beta_claude_tag_writes_not_enabled_error_details.rbs +18 -0
- data/sig/anthropic/models/beta/organization/beta_compliance_configuration_restricted_error.rbs +13 -0
- data/sig/anthropic/models/beta/organization/beta_compliance_configuration_restricted_error_details.rbs +20 -0
- data/sig/anthropic/models/beta/organization/beta_organization_level_scoped_api_key_required_error.rbs +13 -0
- data/sig/anthropic/models/beta/organization/beta_organization_level_scoped_api_key_required_error_details.rbs +22 -0
- data/sig/anthropic/models/beta/organization/beta_plugin_name_taken_error.rbs +13 -0
- data/sig/anthropic/models/beta/organization/beta_plugin_name_taken_error_details.rbs +23 -0
- data/sig/anthropic/models/beta/organization/beta_registration_pending_error.rbs +13 -0
- data/sig/anthropic/models/beta/organization/beta_registration_pending_error_details.rbs +34 -0
- data/sig/anthropic/models/beta/organization/beta_scan_failed_error.rbs +13 -0
- data/sig/anthropic/models/beta/organization/beta_scan_failed_error_details.rbs +26 -0
- data/sig/anthropic/models/beta/organization/beta_scan_pending_error.rbs +13 -0
- data/sig/anthropic/models/beta/organization/beta_scan_pending_error_details.rbs +26 -0
- data/sig/anthropic/models/beta/organization/beta_skill_name_taken_error.rbs +13 -0
- data/sig/anthropic/models/beta/organization/beta_skill_name_taken_error_details.rbs +23 -0
- data/sig/anthropic/models/beta/organization/beta_slack_channel_set_up_environment_not_found_error.rbs +13 -0
- data/sig/anthropic/models/beta/organization/beta_slack_channel_set_up_environment_not_found_error_details.rbs +29 -0
- data/sig/anthropic/models/beta/organization/beta_slack_channel_set_up_settings_conflict_error.rbs +13 -0
- data/sig/anthropic/models/beta/organization/beta_slack_channel_set_up_settings_conflict_error_details.rbs +29 -0
- data/sig/anthropic/models/beta/organization/beta_slack_channel_set_up_settings_refused_error.rbs +13 -0
- data/sig/anthropic/models/beta/organization/beta_slack_channel_set_up_settings_refused_error_details.rbs +29 -0
- data/sig/anthropic/models/beta/organization/beta_spend_limits_admin_api_writes_not_enabled_error.rbs +13 -0
- data/sig/anthropic/models/beta/organization/beta_spend_limits_admin_api_writes_not_enabled_error_details.rbs +22 -0
- data/sig/anthropic/models/beta/organization/workspace_list_params.rbs +7 -0
- data/sig/anthropic/models/beta_unsupported_charset_error.rbs +9 -0
- data/sig/anthropic/models/beta_unsupported_charset_error_details.rbs +14 -0
- data/sig/anthropic/models/claude_code_key_creator_not_member_error.rbs +9 -0
- data/sig/anthropic/models/claude_code_key_creator_not_member_error_details.rbs +14 -0
- data/sig/anthropic/models/claude_code_version_too_old_error.rbs +9 -0
- data/sig/anthropic/models/claude_code_version_too_old_error_details.rbs +14 -0
- data/sig/anthropic/models/cmek_context_unavailable_error.rbs +9 -0
- data/sig/anthropic/models/cmek_context_unavailable_error_details.rbs +14 -0
- data/sig/anthropic/models/cmek_key_disabled_error.rbs +9 -0
- data/sig/anthropic/models/cmek_key_disabled_error_details.rbs +13 -0
- data/sig/anthropic/models/cmek_key_network_blocked_error.rbs +9 -0
- data/sig/anthropic/models/cmek_key_network_blocked_error_details.rbs +14 -0
- data/sig/anthropic/models/cmek_key_unreachable_error.rbs +9 -0
- data/sig/anthropic/models/cmek_key_unreachable_error_details.rbs +14 -0
- data/sig/anthropic/models/compaction_block_ambiguous_error.rbs +9 -0
- data/sig/anthropic/models/compaction_block_ambiguous_error_details.rbs +14 -0
- data/sig/anthropic/models/compaction_block_misplaced_error.rbs +9 -0
- data/sig/anthropic/models/compaction_block_misplaced_error_details.rbs +14 -0
- data/sig/anthropic/models/compaction_content_mismatch_error.rbs +9 -0
- data/sig/anthropic/models/compaction_content_mismatch_error_details.rbs +14 -0
- data/sig/anthropic/models/compaction_incomplete_turn_error.rbs +9 -0
- data/sig/anthropic/models/compaction_incomplete_turn_error_details.rbs +14 -0
- data/sig/anthropic/models/compaction_nothing_to_summarize_error.rbs +9 -0
- data/sig/anthropic/models/compaction_nothing_to_summarize_error_details.rbs +14 -0
- data/sig/anthropic/models/compaction_signature_invalid_error.rbs +9 -0
- data/sig/anthropic/models/compaction_signature_invalid_error_details.rbs +14 -0
- data/sig/anthropic/models/compaction_too_many_tool_references_error.rbs +9 -0
- data/sig/anthropic/models/compaction_too_many_tool_references_error_details.rbs +16 -0
- data/sig/anthropic/models/compaction_tool_changes_mismatch_error.rbs +9 -0
- data/sig/anthropic/models/compaction_tool_changes_mismatch_error_details.rbs +14 -0
- data/sig/anthropic/models/compaction_unavailable_error.rbs +9 -0
- data/sig/anthropic/models/compaction_unavailable_error_details.rbs +14 -0
- data/sig/anthropic/models/concurrent_membership_change_error.rbs +9 -0
- data/sig/anthropic/models/concurrent_membership_change_error_details.rbs +14 -0
- data/sig/anthropic/models/enforced_spend_limit_reached_error.rbs +9 -0
- data/sig/anthropic/models/enforced_spend_limit_reached_error_details.rbs +14 -0
- data/sig/anthropic/models/error_details.rbs +512 -0
- data/sig/anthropic/models/error_type.rbs +10 -4
- data/sig/anthropic/models/file_expired_error.rbs +9 -0
- data/sig/anthropic/models/file_expired_error_details.rbs +13 -0
- data/sig/anthropic/models/file_not_downloadable_error.rbs +9 -0
- data/sig/anthropic/models/file_not_downloadable_error_details.rbs +14 -0
- data/sig/anthropic/models/org_member_limit_exceeded_error.rbs +9 -0
- data/sig/anthropic/models/org_member_limit_exceeded_error_details.rbs +14 -0
- data/sig/anthropic/models/organization/already_member_error.rbs +11 -0
- data/sig/anthropic/models/organization/already_member_error_details.rbs +15 -0
- data/sig/anthropic/models/organization/cannot_invite_emails_with_unverified_domains_error.rbs +11 -0
- data/sig/anthropic/models/organization/cannot_invite_emails_with_unverified_domains_error_details.rbs +20 -0
- data/sig/anthropic/models/organization/cannot_remove_last_member_error.rbs +11 -0
- data/sig/anthropic/models/organization/cannot_remove_last_member_error_details.rbs +16 -0
- data/sig/anthropic/models/organization/email_domain_not_allowed_error.rbs +11 -0
- data/sig/anthropic/models/organization/email_domain_not_allowed_error_details.rbs +16 -0
- data/sig/anthropic/models/organization/external_key_changed_error.rbs +11 -0
- data/sig/anthropic/models/organization/external_key_changed_error_details.rbs +16 -0
- data/sig/anthropic/models/organization/external_key_in_workspace_policy_error.rbs +11 -0
- data/sig/anthropic/models/organization/external_key_in_workspace_policy_error_details.rbs +16 -0
- data/sig/anthropic/models/organization/invite_already_exists_error.rbs +11 -0
- data/sig/anthropic/models/organization/invite_already_exists_error_details.rbs +16 -0
- data/sig/anthropic/models/organization/key_profile_mismatch_error.rbs +11 -0
- data/sig/anthropic/models/organization/key_profile_mismatch_error_details.rbs +16 -0
- data/sig/anthropic/models/organization/org_api_key_limit_exceeded_error.rbs +11 -0
- data/sig/anthropic/models/organization/org_api_key_limit_exceeded_error_details.rbs +16 -0
- data/sig/anthropic/models/organization/rbac_group_grants_owner_access_error.rbs +11 -0
- data/sig/anthropic/models/organization/rbac_group_grants_owner_access_error_details.rbs +16 -0
- data/sig/anthropic/models/organization/rbac_group_owner_access_unconfirmed_error.rbs +11 -0
- data/sig/anthropic/models/organization/rbac_group_owner_access_unconfirmed_error_details.rbs +18 -0
- data/sig/anthropic/models/organization/workspace_api_key_limit_exceeded_error.rbs +11 -0
- data/sig/anthropic/models/organization/workspace_api_key_limit_exceeded_error_details.rbs +16 -0
- data/sig/anthropic/models/organization/workspace_list_params.rbs +7 -0
- data/sig/anthropic/models/organization/workspace_member_limit_exceeded_error.rbs +11 -0
- data/sig/anthropic/models/organization/workspace_member_limit_exceeded_error_details.rbs +16 -0
- data/sig/anthropic/models/organization/workspace_policy_field.rbs +15 -0
- data/sig/anthropic/models/organization/workspace_policy_violation_error.rbs +11 -0
- data/sig/anthropic/models/organization/workspace_policy_violation_error_details.rbs +27 -0
- data/sig/anthropic/models/organization_on_hold_error.rbs +9 -0
- data/sig/anthropic/models/organization_on_hold_error_details.rbs +19 -0
- data/sig/anthropic/models/organization_type_not_supported_error.rbs +9 -0
- data/sig/anthropic/models/organization_type_not_supported_error_details.rbs +14 -0
- data/sig/anthropic/models/request_body_encoding_invalid_error.rbs +9 -0
- data/sig/anthropic/models/request_body_encoding_invalid_error_details.rbs +14 -0
- data/sig/anthropic/models/request_body_encoding_unsupported_error.rbs +9 -0
- data/sig/anthropic/models/request_body_encoding_unsupported_error_details.rbs +14 -0
- data/sig/anthropic/models/request_body_too_large_after_decoding_error.rbs +9 -0
- data/sig/anthropic/models/request_body_too_large_after_decoding_error_details.rbs +16 -0
- data/sig/anthropic/models/skill_read_blocked_undecryptable_error.rbs +9 -0
- data/sig/anthropic/models/skill_read_blocked_undecryptable_error_details.rbs +14 -0
- data/sig/anthropic/models/storage_quota_exceeded_error.rbs +9 -0
- data/sig/anthropic/models/storage_quota_exceeded_error_details.rbs +14 -0
- data/sig/anthropic/models/thread_already_continued_error.rbs +9 -0
- data/sig/anthropic/models/thread_already_continued_error_details.rbs +14 -0
- data/sig/anthropic/models/thread_continue_in_flight_error.rbs +9 -0
- data/sig/anthropic/models/thread_continue_in_flight_error_details.rbs +14 -0
- data/sig/anthropic/models/thread_fingerprint_mismatch_error.rbs +9 -0
- data/sig/anthropic/models/thread_fingerprint_mismatch_error_details.rbs +14 -0
- data/sig/anthropic/models/thread_not_found_error.rbs +9 -0
- data/sig/anthropic/models/thread_not_found_error_details.rbs +13 -0
- data/sig/anthropic/models/thread_unsupported_feature_name.rbs +26 -0
- data/sig/anthropic/models/thread_unsupported_request_error.rbs +9 -0
- data/sig/anthropic/models/thread_unsupported_request_error_details.rbs +25 -0
- data/sig/anthropic/models/tool_name_conflict_error.rbs +9 -0
- data/sig/anthropic/models/tool_name_conflict_error_details.rbs +13 -0
- data/sig/anthropic/models/tool_reference_unresolved_error.rbs +9 -0
- data/sig/anthropic/models/tool_reference_unresolved_error_details.rbs +14 -0
- data/sig/anthropic/models/user_profile_not_found_error.rbs +9 -0
- data/sig/anthropic/models/user_profile_not_found_error_details.rbs +14 -0
- data/sig/anthropic/models.rbs +152 -0
- data/sig/anthropic/resources/beta/organization/workspaces.rbs +1 -0
- data/sig/anthropic/resources/organization/workspaces.rbs +1 -0
- 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 (
|
|
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
|
|
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.
|
|
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
|
|
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
|
|
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
|
|
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
|
data/lib/anthropic/version.rb
CHANGED