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
|
@@ -25,6 +25,16 @@ module Anthropic
|
|
|
25
25
|
#
|
|
26
26
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
27
27
|
#
|
|
28
|
+
# @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError] The API key belongs to the Claude Code workspace, and the user who created it is
|
|
29
|
+
# no longer a member of the organization or of that workspace.
|
|
30
|
+
# @raise [Anthropic::Models::CMEKKeyDisabledError] The workspace's customer-managed encryption key is disabled or revoked.
|
|
31
|
+
# Re-enable the key, then retry.
|
|
32
|
+
# @raise [Anthropic::Models::CMEKKeyNetworkBlockedError] The key management service's network access controls blocked the request to the
|
|
33
|
+
# workspace's customer-managed encryption key. The key itself may be healthy.
|
|
34
|
+
# @raise [Anthropic::Models::OrganizationOnHoldError] Anthropic has disabled the organization for trust and safety reasons. An
|
|
35
|
+
# organization disabled for any other reason, such as billing, does not get this
|
|
36
|
+
# code. `appeal_url`, when present, is where the organization can appeal.
|
|
37
|
+
#
|
|
28
38
|
# @return [Anthropic::Internal::PageCursor<Anthropic::Models::Beta::BetaFileMetadata>]
|
|
29
39
|
#
|
|
30
40
|
# @see Anthropic::Models::Beta::FileListParams
|
|
@@ -65,6 +75,16 @@ module Anthropic
|
|
|
65
75
|
#
|
|
66
76
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
67
77
|
#
|
|
78
|
+
# @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError] The API key belongs to the Claude Code workspace, and the user who created it is
|
|
79
|
+
# no longer a member of the organization or of that workspace.
|
|
80
|
+
# @raise [Anthropic::Models::CMEKKeyDisabledError] The workspace's customer-managed encryption key is disabled or revoked.
|
|
81
|
+
# Re-enable the key, then retry.
|
|
82
|
+
# @raise [Anthropic::Models::CMEKKeyNetworkBlockedError] The key management service's network access controls blocked the request to the
|
|
83
|
+
# workspace's customer-managed encryption key. The key itself may be healthy.
|
|
84
|
+
# @raise [Anthropic::Models::OrganizationOnHoldError] Anthropic has disabled the organization for trust and safety reasons. An
|
|
85
|
+
# organization disabled for any other reason, such as billing, does not get this
|
|
86
|
+
# code. `appeal_url`, when present, is where the organization can appeal.
|
|
87
|
+
#
|
|
68
88
|
# @return [Anthropic::Models::Beta::BetaDeletedFile]
|
|
69
89
|
#
|
|
70
90
|
# @see Anthropic::Models::Beta::FileDeleteParams
|
|
@@ -98,6 +118,19 @@ module Anthropic
|
|
|
98
118
|
#
|
|
99
119
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
100
120
|
#
|
|
121
|
+
# @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError] The API key belongs to the Claude Code workspace, and the user who created it is
|
|
122
|
+
# no longer a member of the organization or of that workspace.
|
|
123
|
+
# @raise [Anthropic::Models::CMEKKeyDisabledError] The workspace's customer-managed encryption key is disabled or revoked.
|
|
124
|
+
# Re-enable the key, then retry.
|
|
125
|
+
# @raise [Anthropic::Models::CMEKKeyNetworkBlockedError] The key management service's network access controls blocked the request to the
|
|
126
|
+
# workspace's customer-managed encryption key. The key itself may be healthy.
|
|
127
|
+
# @raise [Anthropic::Models::FileNotDownloadableError] The file has `downloadable: false`. Only files generated by a tool, such as the
|
|
128
|
+
# code execution tool, can be downloaded.
|
|
129
|
+
# @raise [Anthropic::Models::OrganizationOnHoldError] Anthropic has disabled the organization for trust and safety reasons. An
|
|
130
|
+
# organization disabled for any other reason, such as billing, does not get this
|
|
131
|
+
# code. `appeal_url`, when present, is where the organization can appeal.
|
|
132
|
+
# @raise [Anthropic::Models::FileExpiredError] The file's `expires_at` has passed, so its content is no longer available.
|
|
133
|
+
#
|
|
101
134
|
# @return [StringIO]
|
|
102
135
|
#
|
|
103
136
|
# @see Anthropic::Models::Beta::FileDownloadParams
|
|
@@ -134,6 +167,16 @@ module Anthropic
|
|
|
134
167
|
#
|
|
135
168
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
136
169
|
#
|
|
170
|
+
# @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError] The API key belongs to the Claude Code workspace, and the user who created it is
|
|
171
|
+
# no longer a member of the organization or of that workspace.
|
|
172
|
+
# @raise [Anthropic::Models::CMEKKeyDisabledError] The workspace's customer-managed encryption key is disabled or revoked.
|
|
173
|
+
# Re-enable the key, then retry.
|
|
174
|
+
# @raise [Anthropic::Models::CMEKKeyNetworkBlockedError] The key management service's network access controls blocked the request to the
|
|
175
|
+
# workspace's customer-managed encryption key. The key itself may be healthy.
|
|
176
|
+
# @raise [Anthropic::Models::OrganizationOnHoldError] Anthropic has disabled the organization for trust and safety reasons. An
|
|
177
|
+
# organization disabled for any other reason, such as billing, does not get this
|
|
178
|
+
# code. `appeal_url`, when present, is where the organization can appeal.
|
|
179
|
+
#
|
|
137
180
|
# @return [Anthropic::Models::Beta::BetaFileMetadata]
|
|
138
181
|
#
|
|
139
182
|
# @see Anthropic::Models::Beta::FileRetrieveMetadataParams
|
|
@@ -159,7 +202,7 @@ module Anthropic
|
|
|
159
202
|
#
|
|
160
203
|
# @overload upload(file:, expires_in_seconds: nil, betas: nil, workspace_id: nil, request_options: {})
|
|
161
204
|
#
|
|
162
|
-
# @param file [Pathname, StringIO, IO, String, Anthropic::FilePart] Body param: The file to upload. Only the final path component of the part's
|
|
205
|
+
# @param file [Pathname, StringIO, IO, String, Anthropic::FilePart] Body param: The file to upload. Only the final path component of the part's
|
|
163
206
|
#
|
|
164
207
|
# @param expires_in_seconds [Integer] Body param: Seconds from upload until the file expires and its bytes become perm
|
|
165
208
|
#
|
|
@@ -169,6 +212,18 @@ module Anthropic
|
|
|
169
212
|
#
|
|
170
213
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
171
214
|
#
|
|
215
|
+
# @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError] The API key belongs to the Claude Code workspace, and the user who created it is
|
|
216
|
+
# no longer a member of the organization or of that workspace.
|
|
217
|
+
# @raise [Anthropic::Models::CMEKKeyDisabledError] The workspace's customer-managed encryption key is disabled or revoked.
|
|
218
|
+
# Re-enable the key, then retry.
|
|
219
|
+
# @raise [Anthropic::Models::CMEKKeyNetworkBlockedError] The key management service's network access controls blocked the request to the
|
|
220
|
+
# workspace's customer-managed encryption key. The key itself may be healthy.
|
|
221
|
+
# @raise [Anthropic::Models::OrganizationOnHoldError] Anthropic has disabled the organization for trust and safety reasons. An
|
|
222
|
+
# organization disabled for any other reason, such as billing, does not get this
|
|
223
|
+
# code. `appeal_url`, when present, is where the organization can appeal.
|
|
224
|
+
# @raise [Anthropic::Models::StorageQuotaExceededError] The organization's file storage quota is exhausted. Delete files to free up
|
|
225
|
+
# space, then retry the upload.
|
|
226
|
+
#
|
|
172
227
|
# @return [Anthropic::Models::Beta::BetaFileMetadata]
|
|
173
228
|
#
|
|
174
229
|
# @see Anthropic::Models::Beta::FileUploadParams
|
|
@@ -20,7 +20,7 @@ module Anthropic
|
|
|
20
20
|
#
|
|
21
21
|
# @param view [Symbol, Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsMemoryView] Query param: Whether a `memory` or `memory_version` in the response includes its
|
|
22
22
|
#
|
|
23
|
-
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] Header param: This endpoint is in beta: requests must send
|
|
23
|
+
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] Header param: This endpoint is in beta: requests must send
|
|
24
24
|
#
|
|
25
25
|
# @param workspace_id [String] Header param: Optional header to select the Workspace for this request. The valu
|
|
26
26
|
#
|
|
@@ -64,7 +64,7 @@ module Anthropic
|
|
|
64
64
|
#
|
|
65
65
|
# @param view [Symbol, Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsMemoryView] Query param: Whether a `memory` or `memory_version` in the response includes its
|
|
66
66
|
#
|
|
67
|
-
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] Header param: This endpoint is in beta: requests must send
|
|
67
|
+
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] Header param: This endpoint is in beta: requests must send
|
|
68
68
|
#
|
|
69
69
|
# @param workspace_id [String] Header param: Optional header to select the Workspace for this request. The valu
|
|
70
70
|
#
|
|
@@ -121,7 +121,7 @@ module Anthropic
|
|
|
121
121
|
#
|
|
122
122
|
# @param precondition [Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsPrecondition] Body param: The condition that the memory must meet for the update to apply. Omi
|
|
123
123
|
#
|
|
124
|
-
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] Header param: This endpoint is in beta: requests must send
|
|
124
|
+
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] Header param: This endpoint is in beta: requests must send
|
|
125
125
|
#
|
|
126
126
|
# @param workspace_id [String] Header param: Optional header to select the Workspace for this request. The valu
|
|
127
127
|
#
|
|
@@ -173,11 +173,11 @@ module Anthropic
|
|
|
173
173
|
#
|
|
174
174
|
# @param page [String] Query param: The `next_page` value from a previous response, to get the next pag
|
|
175
175
|
#
|
|
176
|
-
# @param path_prefix [String] Query param: Return only memories whose path starts with this prefix, such as
|
|
176
|
+
# @param path_prefix [String] Query param: Return only memories whose path starts with this prefix, such as
|
|
177
177
|
#
|
|
178
178
|
# @param view [Symbol, Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsMemoryView] Query param: Whether each memory in the response includes `content`. Defaults to
|
|
179
179
|
#
|
|
180
|
-
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] Header param: This endpoint is in beta: requests must send
|
|
180
|
+
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] Header param: This endpoint is in beta: requests must send
|
|
181
181
|
#
|
|
182
182
|
# @param workspace_id [String] Header param: Optional header to select the Workspace for this request. The valu
|
|
183
183
|
#
|
|
@@ -223,7 +223,7 @@ module Anthropic
|
|
|
223
223
|
#
|
|
224
224
|
# @param expected_content_sha256 [String] Query param: Delete the memory only if its current `content_sha256` equals this
|
|
225
225
|
#
|
|
226
|
-
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] Header param: This endpoint is in beta: requests must send
|
|
226
|
+
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] Header param: This endpoint is in beta: requests must send
|
|
227
227
|
#
|
|
228
228
|
# @param workspace_id [String] Header param: Optional header to select the Workspace for this request. The valu
|
|
229
229
|
#
|
|
@@ -19,7 +19,7 @@ module Anthropic
|
|
|
19
19
|
#
|
|
20
20
|
# @param view [Symbol, Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsMemoryView] Query param: Whether a `memory` or `memory_version` in the response includes its
|
|
21
21
|
#
|
|
22
|
-
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] Header param: This endpoint is in beta: requests must send
|
|
22
|
+
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] Header param: This endpoint is in beta: requests must send
|
|
23
23
|
#
|
|
24
24
|
# @param workspace_id [String] Header param: Optional header to select the Workspace for this request. The valu
|
|
25
25
|
#
|
|
@@ -65,8 +65,7 @@ module Anthropic
|
|
|
65
65
|
#
|
|
66
66
|
# @overload list(memory_store_id, api_key_id: nil, created_at_gte: nil, created_at_lte: nil, limit: nil, memory_id: nil, operation: nil, page: nil, service_account_id: nil, session_id: nil, view: nil, betas: nil, workspace_id: nil, request_options: {})
|
|
67
67
|
#
|
|
68
|
-
# @param memory_store_id [String] Path param: The ID of the memory store whose version history to list
|
|
69
|
-
# (`memstore\_
|
|
68
|
+
# @param memory_store_id [String] Path param: The ID of the memory store whose version history to list (
|
|
70
69
|
#
|
|
71
70
|
# @param api_key_id [String] Query param: Return only versions written with the API key that has this ID.
|
|
72
71
|
#
|
|
@@ -82,13 +81,13 @@ module Anthropic
|
|
|
82
81
|
#
|
|
83
82
|
# @param page [String] Query param: The `next_page` value from a previous response, to get the next pag
|
|
84
83
|
#
|
|
85
|
-
# @param service_account_id [String] Query param: Return only versions written by the service account with this ID (
|
|
84
|
+
# @param service_account_id [String] Query param: Return only versions written by the service account with this ID (
|
|
86
85
|
#
|
|
87
86
|
# @param session_id [String] Query param: Return only versions written by the session with this ID.
|
|
88
87
|
#
|
|
89
88
|
# @param view [Symbol, Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsMemoryView] Query param: Whether a `memory` or `memory_version` in the response includes its
|
|
90
89
|
#
|
|
91
|
-
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] Header param: This endpoint is in beta: requests must send
|
|
90
|
+
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] Header param: This endpoint is in beta: requests must send
|
|
92
91
|
#
|
|
93
92
|
# @param workspace_id [String] Header param: Optional header to select the Workspace for this request. The valu
|
|
94
93
|
#
|
|
@@ -158,7 +157,7 @@ module Anthropic
|
|
|
158
157
|
#
|
|
159
158
|
# @param memory_store_id [String] Path param: The ID of the memory store that holds the version (`memstore_...`).
|
|
160
159
|
#
|
|
161
|
-
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] Header param: This endpoint is in beta: requests must send
|
|
160
|
+
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] Header param: This endpoint is in beta: requests must send
|
|
162
161
|
#
|
|
163
162
|
# @param workspace_id [String] Header param: Optional header to select the Workspace for this request. The valu
|
|
164
163
|
#
|
|
@@ -23,7 +23,7 @@ module Anthropic
|
|
|
23
23
|
#
|
|
24
24
|
# @param metadata [Hash{Symbol=>String}] Body param: Key-value pairs for your own use, such as the end user that the stor
|
|
25
25
|
#
|
|
26
|
-
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] Header param: This endpoint is in beta: requests must send
|
|
26
|
+
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] Header param: This endpoint is in beta: requests must send
|
|
27
27
|
#
|
|
28
28
|
# @param workspace_id [String] Header param: Optional header to select the Workspace for this request. The valu
|
|
29
29
|
#
|
|
@@ -58,7 +58,7 @@ module Anthropic
|
|
|
58
58
|
#
|
|
59
59
|
# @param memory_store_id [String] The ID of the memory store to retrieve (`memstore_...`).
|
|
60
60
|
#
|
|
61
|
-
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] This endpoint is in beta: requests must send `agent-memory-2026-07-22` or
|
|
61
|
+
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] This endpoint is in beta: requests must send `agent-memory-2026-07-22` or
|
|
62
62
|
#
|
|
63
63
|
# @param workspace_id [String] Optional header to select the Workspace for this request. The value is a Workspa
|
|
64
64
|
#
|
|
@@ -97,7 +97,7 @@ module Anthropic
|
|
|
97
97
|
#
|
|
98
98
|
# @param name [String, nil] Body param: The new name of the memory store, 1 to 255 characters long, without
|
|
99
99
|
#
|
|
100
|
-
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] Header param: This endpoint is in beta: requests must send
|
|
100
|
+
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] Header param: This endpoint is in beta: requests must send
|
|
101
101
|
#
|
|
102
102
|
# @param workspace_id [String] Header param: Optional header to select the Workspace for this request. The valu
|
|
103
103
|
#
|
|
@@ -140,7 +140,7 @@ module Anthropic
|
|
|
140
140
|
#
|
|
141
141
|
# @param page [String] Query param: The `next_page` value from a previous response, to get the next pag
|
|
142
142
|
#
|
|
143
|
-
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] Header param: This endpoint is in beta: requests must send
|
|
143
|
+
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] Header param: This endpoint is in beta: requests must send
|
|
144
144
|
#
|
|
145
145
|
# @param workspace_id [String] Header param: Optional header to select the Workspace for this request. The valu
|
|
146
146
|
#
|
|
@@ -180,7 +180,7 @@ module Anthropic
|
|
|
180
180
|
#
|
|
181
181
|
# @param memory_store_id [String] The ID of the memory store to delete (`memstore_...`).
|
|
182
182
|
#
|
|
183
|
-
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] This endpoint is in beta: requests must send `agent-memory-2026-07-22` or
|
|
183
|
+
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] This endpoint is in beta: requests must send `agent-memory-2026-07-22` or
|
|
184
184
|
#
|
|
185
185
|
# @param workspace_id [String] Optional header to select the Workspace for this request. The value is a Workspa
|
|
186
186
|
#
|
|
@@ -213,7 +213,7 @@ module Anthropic
|
|
|
213
213
|
#
|
|
214
214
|
# @param memory_store_id [String] The ID of the memory store to archive (`memstore_...`).
|
|
215
215
|
#
|
|
216
|
-
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] This endpoint is in beta: requests must send `agent-memory-2026-07-22` or
|
|
216
|
+
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] This endpoint is in beta: requests must send `agent-memory-2026-07-22` or
|
|
217
217
|
#
|
|
218
218
|
# @param workspace_id [String] Optional header to select the Workspace for this request. The value is a Workspa
|
|
219
219
|
#
|
|
@@ -29,6 +29,15 @@ module Anthropic
|
|
|
29
29
|
#
|
|
30
30
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
31
31
|
#
|
|
32
|
+
# @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError] The API key belongs to the Claude Code workspace, and the user who created it is
|
|
33
|
+
# no longer a member of the organization or of that workspace.
|
|
34
|
+
# @raise [Anthropic::Models::CMEKKeyDisabledError] The workspace's customer-managed encryption key is disabled or revoked.
|
|
35
|
+
# Re-enable the key, then retry.
|
|
36
|
+
# @raise [Anthropic::Models::OrganizationOnHoldError] Anthropic has disabled the organization for trust and safety reasons. An
|
|
37
|
+
# organization disabled for any other reason, such as billing, does not get this
|
|
38
|
+
# code. `appeal_url`, when present, is where the organization can appeal.
|
|
39
|
+
# @raise [Anthropic::Models::EnforcedSpendLimitReachedError] The organization has crossed the monthly API usage threshold of its API tier.
|
|
40
|
+
#
|
|
32
41
|
# @return [Anthropic::Models::Beta::Messages::BetaMessageBatch]
|
|
33
42
|
#
|
|
34
43
|
# @see Anthropic::Models::Beta::Messages::BatchCreateParams
|
|
@@ -74,6 +83,12 @@ module Anthropic
|
|
|
74
83
|
#
|
|
75
84
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
76
85
|
#
|
|
86
|
+
# @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError] The API key belongs to the Claude Code workspace, and the user who created it is
|
|
87
|
+
# no longer a member of the organization or of that workspace.
|
|
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
|
+
#
|
|
77
92
|
# @return [Anthropic::Models::Beta::Messages::BetaMessageBatch]
|
|
78
93
|
#
|
|
79
94
|
# @see Anthropic::Models::Beta::Messages::BatchRetrieveParams
|
|
@@ -115,6 +130,12 @@ module Anthropic
|
|
|
115
130
|
#
|
|
116
131
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
117
132
|
#
|
|
133
|
+
# @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError] The API key belongs to the Claude Code workspace, and the user who created it is
|
|
134
|
+
# no longer a member of the organization or of that workspace.
|
|
135
|
+
# @raise [Anthropic::Models::OrganizationOnHoldError] Anthropic has disabled the organization for trust and safety reasons. An
|
|
136
|
+
# organization disabled for any other reason, such as billing, does not get this
|
|
137
|
+
# code. `appeal_url`, when present, is where the organization can appeal.
|
|
138
|
+
#
|
|
118
139
|
# @return [Anthropic::Internal::Page<Anthropic::Models::Beta::Messages::BetaMessageBatch>]
|
|
119
140
|
#
|
|
120
141
|
# @see Anthropic::Models::Beta::Messages::BatchListParams
|
|
@@ -161,6 +182,12 @@ module Anthropic
|
|
|
161
182
|
#
|
|
162
183
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
163
184
|
#
|
|
185
|
+
# @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError] The API key belongs to the Claude Code workspace, and the user who created it is
|
|
186
|
+
# no longer a member of the organization or of that workspace.
|
|
187
|
+
# @raise [Anthropic::Models::OrganizationOnHoldError] Anthropic has disabled the organization for trust and safety reasons. An
|
|
188
|
+
# organization disabled for any other reason, such as billing, does not get this
|
|
189
|
+
# code. `appeal_url`, when present, is where the organization can appeal.
|
|
190
|
+
#
|
|
164
191
|
# @return [Anthropic::Models::Beta::Messages::BetaDeletedMessageBatch]
|
|
165
192
|
#
|
|
166
193
|
# @see Anthropic::Models::Beta::Messages::BatchDeleteParams
|
|
@@ -205,6 +232,12 @@ module Anthropic
|
|
|
205
232
|
#
|
|
206
233
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
207
234
|
#
|
|
235
|
+
# @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError] The API key belongs to the Claude Code workspace, and the user who created it is
|
|
236
|
+
# no longer a member of the organization or of that workspace.
|
|
237
|
+
# @raise [Anthropic::Models::OrganizationOnHoldError] Anthropic has disabled the organization for trust and safety reasons. An
|
|
238
|
+
# organization disabled for any other reason, such as billing, does not get this
|
|
239
|
+
# code. `appeal_url`, when present, is where the organization can appeal.
|
|
240
|
+
#
|
|
208
241
|
# @return [Anthropic::Models::Beta::Messages::BetaMessageBatch]
|
|
209
242
|
#
|
|
210
243
|
# @see Anthropic::Models::Beta::Messages::BatchCancelParams
|
|
@@ -245,6 +278,14 @@ module Anthropic
|
|
|
245
278
|
#
|
|
246
279
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
247
280
|
#
|
|
281
|
+
# @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError] The API key belongs to the Claude Code workspace, and the user who created it is
|
|
282
|
+
# no longer a member of the organization or of that workspace.
|
|
283
|
+
# @raise [Anthropic::Models::CMEKKeyDisabledError] The workspace's customer-managed encryption key is disabled or revoked.
|
|
284
|
+
# Re-enable the key, then retry.
|
|
285
|
+
# @raise [Anthropic::Models::OrganizationOnHoldError] Anthropic has disabled the organization for trust and safety reasons. An
|
|
286
|
+
# organization disabled for any other reason, such as billing, does not get this
|
|
287
|
+
# code. `appeal_url`, when present, is where the organization can appeal.
|
|
288
|
+
#
|
|
248
289
|
# @return [Anthropic::Internal::Type::BaseStream<Anthropic::Models::Beta::Messages::BetaMessageBatchIndividualResponse>]
|
|
249
290
|
#
|
|
250
291
|
# @see Anthropic::Models::Beta::Messages::BatchResultsParams
|
|
@@ -132,6 +132,63 @@ module Anthropic
|
|
|
132
132
|
#
|
|
133
133
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
134
134
|
#
|
|
135
|
+
# @raise [Anthropic::Models::AvailableToolsLimitExceededError] The tools available after a message exceed a limit on their number or their
|
|
136
|
+
# size.
|
|
137
|
+
# @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError] The API key belongs to the Claude Code workspace, and the user who created it is
|
|
138
|
+
# no longer a member of the organization or of that workspace.
|
|
139
|
+
# @raise [Anthropic::Models::ClaudeCodeVersionTooOldError] The request comes from a Claude Code version older than the minimum that the
|
|
140
|
+
# requested model or the organization requires. Update Claude Code, then retry.
|
|
141
|
+
# @raise [Anthropic::Models::CMEKKeyDisabledError] The workspace's customer-managed encryption key is disabled or revoked.
|
|
142
|
+
# Re-enable the key, then retry.
|
|
143
|
+
# @raise [Anthropic::Models::CMEKKeyNetworkBlockedError] The key management service's network access controls blocked the request to the
|
|
144
|
+
# workspace's customer-managed encryption key. The key itself may be healthy.
|
|
145
|
+
# @raise [Anthropic::Models::CompactionBlockAmbiguousError] `messages` holds more than one `compaction` block with content. Send only the
|
|
146
|
+
# block the conversation returned last.
|
|
147
|
+
# @raise [Anthropic::Models::CompactionBlockMisplacedError] The `compaction` block is not the first block of the conversation, or is in a
|
|
148
|
+
# `system` message.
|
|
149
|
+
# @raise [Anthropic::Models::CompactionContentMismatchError] The `compaction` block's `content` differs from the text its `signature`
|
|
150
|
+
# recorded.
|
|
151
|
+
# @raise [Anthropic::Models::CompactionIncompleteTurnError] The compaction request ends on an `assistant` turn that is not finished.
|
|
152
|
+
# @raise [Anthropic::Models::CompactionNothingToSummarizeError] `messages` holds no `user` or `assistant` content to summarize or adopt.
|
|
153
|
+
# @raise [Anthropic::Models::CompactionSignatureInvalidError] The `compaction` block's `signature` does not verify.
|
|
154
|
+
# @raise [Anthropic::Models::CompactionTooManyToolReferencesError] The conversation references more distinct tools than a `compaction` block can
|
|
155
|
+
# record.
|
|
156
|
+
# @raise [Anthropic::Models::CompactionToolChangesMismatchError] The `compaction` block's `tool_changes` differs from what was returned with the
|
|
157
|
+
# block.
|
|
158
|
+
# @raise [Anthropic::Models::OrganizationOnHoldError] Anthropic has disabled the organization for trust and safety reasons. An
|
|
159
|
+
# organization disabled for any other reason, such as billing, does not get this
|
|
160
|
+
# code. `appeal_url`, when present, is where the organization can appeal.
|
|
161
|
+
# @raise [Anthropic::Models::RequestBodyEncodingInvalidError] The request body is not valid for its `Content-Encoding`.
|
|
162
|
+
# @raise [Anthropic::Models::RequestBodyEncodingUnsupportedError] The request's `Content-Encoding` is not supported.
|
|
163
|
+
# @raise [Anthropic::Models::ThreadAlreadyContinuedError] The response that `previous_message_id` names has already been continued, and
|
|
164
|
+
# each response can be continued only once. Continue from the Thread's most recent
|
|
165
|
+
# response `id`.
|
|
166
|
+
# @raise [Anthropic::Models::ThreadContinueInFlightError] Another request is still continuing from the same `previous_message_id`. Wait
|
|
167
|
+
# for it to complete and continue from its response `id`, or replay the full
|
|
168
|
+
# conversation with `thread: {"type": "create"}`.
|
|
169
|
+
# @raise [Anthropic::Models::ThreadFingerprintMismatchError] A field that must stay the same across a Thread's turns differs from the value
|
|
170
|
+
# stored with the Thread; the message names each such field. Send the stored
|
|
171
|
+
# values, or replay the full conversation with `thread: {"type": "create"}` to
|
|
172
|
+
# change them.
|
|
173
|
+
# @raise [Anthropic::Models::ThreadUnsupportedRequestError] The request combines `thread` with a request field or an organization setting
|
|
174
|
+
# that Threads do not support; `unsupported`, when present, names it. Send the
|
|
175
|
+
# full conversation without `thread`, or change that field.
|
|
176
|
+
# @raise [Anthropic::Models::ToolNameConflictError] A tool made available in `messages` takes a name that an available tool of
|
|
177
|
+
# another kind, or of another MCP server, already holds.
|
|
178
|
+
# @raise [Anthropic::Models::ToolReferenceUnresolvedError] A tool change or MCP tool listing references a tool or MCP server that is not
|
|
179
|
+
# defined at that position in the conversation.
|
|
180
|
+
# @raise [Anthropic::Models::ThreadNotFoundError] No usable Thread state was found for `previous_message_id`. Replay the full
|
|
181
|
+
# conversation with `thread: {"type": "create"}` to start a new Thread.
|
|
182
|
+
# @raise [Anthropic::Models::SkillReadBlockedUndecryptableError] A custom skill the request names is stored under an encryption key state the
|
|
183
|
+
# workspace cannot currently decrypt.
|
|
184
|
+
# @raise [Anthropic::Models::RequestBodyTooLargeAfterDecodingError] The compressed request body exceeds the request size limit once decoded.
|
|
185
|
+
# @raise [Anthropic::Models::EnforcedSpendLimitReachedError] The organization has crossed the monthly API usage threshold of its API tier.
|
|
186
|
+
# @raise [Anthropic::Models::CMEKKeyUnreachableError] The workspace's customer-managed encryption key could not be reached. Retry the
|
|
187
|
+
# request; if this continues, check that the key is available in your key
|
|
188
|
+
# management service, or contact Anthropic support.
|
|
189
|
+
# @raise [Anthropic::Models::CompactionUnavailableError] The compaction could not be completed for a transient server reason. Retry the
|
|
190
|
+
# request.
|
|
191
|
+
#
|
|
135
192
|
# @return [Anthropic::Models::Beta::BetaMessage]
|
|
136
193
|
#
|
|
137
194
|
# @see Anthropic::Models::Beta::MessageCreateParams
|
|
@@ -252,6 +309,63 @@ module Anthropic
|
|
|
252
309
|
#
|
|
253
310
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
254
311
|
#
|
|
312
|
+
# @raise [Anthropic::Models::AvailableToolsLimitExceededError] The tools available after a message exceed a limit on their number or their
|
|
313
|
+
# size.
|
|
314
|
+
# @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError] The API key belongs to the Claude Code workspace, and the user who created it is
|
|
315
|
+
# no longer a member of the organization or of that workspace.
|
|
316
|
+
# @raise [Anthropic::Models::ClaudeCodeVersionTooOldError] The request comes from a Claude Code version older than the minimum that the
|
|
317
|
+
# requested model or the organization requires. Update Claude Code, then retry.
|
|
318
|
+
# @raise [Anthropic::Models::CMEKKeyDisabledError] The workspace's customer-managed encryption key is disabled or revoked.
|
|
319
|
+
# Re-enable the key, then retry.
|
|
320
|
+
# @raise [Anthropic::Models::CMEKKeyNetworkBlockedError] The key management service's network access controls blocked the request to the
|
|
321
|
+
# workspace's customer-managed encryption key. The key itself may be healthy.
|
|
322
|
+
# @raise [Anthropic::Models::CompactionBlockAmbiguousError] `messages` holds more than one `compaction` block with content. Send only the
|
|
323
|
+
# block the conversation returned last.
|
|
324
|
+
# @raise [Anthropic::Models::CompactionBlockMisplacedError] The `compaction` block is not the first block of the conversation, or is in a
|
|
325
|
+
# `system` message.
|
|
326
|
+
# @raise [Anthropic::Models::CompactionContentMismatchError] The `compaction` block's `content` differs from the text its `signature`
|
|
327
|
+
# recorded.
|
|
328
|
+
# @raise [Anthropic::Models::CompactionIncompleteTurnError] The compaction request ends on an `assistant` turn that is not finished.
|
|
329
|
+
# @raise [Anthropic::Models::CompactionNothingToSummarizeError] `messages` holds no `user` or `assistant` content to summarize or adopt.
|
|
330
|
+
# @raise [Anthropic::Models::CompactionSignatureInvalidError] The `compaction` block's `signature` does not verify.
|
|
331
|
+
# @raise [Anthropic::Models::CompactionTooManyToolReferencesError] The conversation references more distinct tools than a `compaction` block can
|
|
332
|
+
# record.
|
|
333
|
+
# @raise [Anthropic::Models::CompactionToolChangesMismatchError] The `compaction` block's `tool_changes` differs from what was returned with the
|
|
334
|
+
# block.
|
|
335
|
+
# @raise [Anthropic::Models::OrganizationOnHoldError] Anthropic has disabled the organization for trust and safety reasons. An
|
|
336
|
+
# organization disabled for any other reason, such as billing, does not get this
|
|
337
|
+
# code. `appeal_url`, when present, is where the organization can appeal.
|
|
338
|
+
# @raise [Anthropic::Models::RequestBodyEncodingInvalidError] The request body is not valid for its `Content-Encoding`.
|
|
339
|
+
# @raise [Anthropic::Models::RequestBodyEncodingUnsupportedError] The request's `Content-Encoding` is not supported.
|
|
340
|
+
# @raise [Anthropic::Models::ThreadAlreadyContinuedError] The response that `previous_message_id` names has already been continued, and
|
|
341
|
+
# each response can be continued only once. Continue from the Thread's most recent
|
|
342
|
+
# response `id`.
|
|
343
|
+
# @raise [Anthropic::Models::ThreadContinueInFlightError] Another request is still continuing from the same `previous_message_id`. Wait
|
|
344
|
+
# for it to complete and continue from its response `id`, or replay the full
|
|
345
|
+
# conversation with `thread: {"type": "create"}`.
|
|
346
|
+
# @raise [Anthropic::Models::ThreadFingerprintMismatchError] A field that must stay the same across a Thread's turns differs from the value
|
|
347
|
+
# stored with the Thread; the message names each such field. Send the stored
|
|
348
|
+
# values, or replay the full conversation with `thread: {"type": "create"}` to
|
|
349
|
+
# change them.
|
|
350
|
+
# @raise [Anthropic::Models::ThreadUnsupportedRequestError] The request combines `thread` with a request field or an organization setting
|
|
351
|
+
# that Threads do not support; `unsupported`, when present, names it. Send the
|
|
352
|
+
# full conversation without `thread`, or change that field.
|
|
353
|
+
# @raise [Anthropic::Models::ToolNameConflictError] A tool made available in `messages` takes a name that an available tool of
|
|
354
|
+
# another kind, or of another MCP server, already holds.
|
|
355
|
+
# @raise [Anthropic::Models::ToolReferenceUnresolvedError] A tool change or MCP tool listing references a tool or MCP server that is not
|
|
356
|
+
# defined at that position in the conversation.
|
|
357
|
+
# @raise [Anthropic::Models::ThreadNotFoundError] No usable Thread state was found for `previous_message_id`. Replay the full
|
|
358
|
+
# conversation with `thread: {"type": "create"}` to start a new Thread.
|
|
359
|
+
# @raise [Anthropic::Models::SkillReadBlockedUndecryptableError] A custom skill the request names is stored under an encryption key state the
|
|
360
|
+
# workspace cannot currently decrypt.
|
|
361
|
+
# @raise [Anthropic::Models::RequestBodyTooLargeAfterDecodingError] The compressed request body exceeds the request size limit once decoded.
|
|
362
|
+
# @raise [Anthropic::Models::EnforcedSpendLimitReachedError] The organization has crossed the monthly API usage threshold of its API tier.
|
|
363
|
+
# @raise [Anthropic::Models::CMEKKeyUnreachableError] The workspace's customer-managed encryption key could not be reached. Retry the
|
|
364
|
+
# request; if this continues, check that the key is available in your key
|
|
365
|
+
# management service, or contact Anthropic support.
|
|
366
|
+
# @raise [Anthropic::Models::CompactionUnavailableError] The compaction could not be completed for a transient server reason. Retry the
|
|
367
|
+
# request.
|
|
368
|
+
#
|
|
255
369
|
# @return [Anthropic::Internal::Type::BaseStream<Anthropic::Models::Beta::BetaRawMessageStartEvent, Anthropic::Models::Beta::BetaRawMessageDeltaEvent, Anthropic::Models::Beta::BetaRawMessageStopEvent, Anthropic::Models::Beta::BetaRawContentBlockStartEvent, Anthropic::Models::Beta::BetaRawContentBlockDeltaEvent, Anthropic::Models::Beta::BetaRawContentBlockStopEvent>]
|
|
256
370
|
#
|
|
257
371
|
# @see Anthropic::Models::Beta::MessageCreateParams
|
|
@@ -338,6 +452,34 @@ module Anthropic
|
|
|
338
452
|
#
|
|
339
453
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
340
454
|
#
|
|
455
|
+
# @raise [Anthropic::Models::AvailableToolsLimitExceededError] The tools available after a message exceed a limit on their number or their
|
|
456
|
+
# size.
|
|
457
|
+
# @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError] The API key belongs to the Claude Code workspace, and the user who created it is
|
|
458
|
+
# no longer a member of the organization or of that workspace.
|
|
459
|
+
# @raise [Anthropic::Models::CompactionBlockAmbiguousError] `messages` holds more than one `compaction` block with content. Send only the
|
|
460
|
+
# block the conversation returned last.
|
|
461
|
+
# @raise [Anthropic::Models::CompactionBlockMisplacedError] The `compaction` block is not the first block of the conversation, or is in a
|
|
462
|
+
# `system` message.
|
|
463
|
+
# @raise [Anthropic::Models::CompactionContentMismatchError] The `compaction` block's `content` differs from the text its `signature`
|
|
464
|
+
# recorded.
|
|
465
|
+
# @raise [Anthropic::Models::CompactionNothingToSummarizeError] `messages` holds no `user` or `assistant` content to summarize or adopt.
|
|
466
|
+
# @raise [Anthropic::Models::CompactionSignatureInvalidError] The `compaction` block's `signature` does not verify.
|
|
467
|
+
# @raise [Anthropic::Models::CompactionToolChangesMismatchError] The `compaction` block's `tool_changes` differs from what was returned with the
|
|
468
|
+
# block.
|
|
469
|
+
# @raise [Anthropic::Models::OrganizationOnHoldError] Anthropic has disabled the organization for trust and safety reasons. An
|
|
470
|
+
# organization disabled for any other reason, such as billing, does not get this
|
|
471
|
+
# code. `appeal_url`, when present, is where the organization can appeal.
|
|
472
|
+
# @raise [Anthropic::Models::RequestBodyEncodingInvalidError] The request body is not valid for its `Content-Encoding`.
|
|
473
|
+
# @raise [Anthropic::Models::RequestBodyEncodingUnsupportedError] The request's `Content-Encoding` is not supported.
|
|
474
|
+
# @raise [Anthropic::Models::ToolNameConflictError] A tool made available in `messages` takes a name that an available tool of
|
|
475
|
+
# another kind, or of another MCP server, already holds.
|
|
476
|
+
# @raise [Anthropic::Models::ToolReferenceUnresolvedError] A tool change or MCP tool listing references a tool or MCP server that is not
|
|
477
|
+
# defined at that position in the conversation.
|
|
478
|
+
# @raise [Anthropic::Models::RequestBodyTooLargeAfterDecodingError] The compressed request body exceeds the request size limit once decoded.
|
|
479
|
+
# @raise [Anthropic::Models::EnforcedSpendLimitReachedError] The organization has crossed the monthly API usage threshold of its API tier.
|
|
480
|
+
# @raise [Anthropic::Models::CompactionUnavailableError] The compaction could not be completed for a transient server reason. Retry the
|
|
481
|
+
# request.
|
|
482
|
+
#
|
|
341
483
|
# @return [Anthropic::Models::Beta::BetaMessageTokensCount]
|
|
342
484
|
#
|
|
343
485
|
# @see Anthropic::Models::Beta::MessageCountTokensParams
|
|
@@ -22,6 +22,12 @@ module Anthropic
|
|
|
22
22
|
#
|
|
23
23
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
24
24
|
#
|
|
25
|
+
# @raise [Anthropic::Models::ClaudeCodeKeyCreatorNotMemberError] The API key belongs to the Claude Code workspace, and the user who created it is
|
|
26
|
+
# no longer a member of the organization or of that workspace.
|
|
27
|
+
# @raise [Anthropic::Models::OrganizationOnHoldError] Anthropic has disabled the organization for trust and safety reasons. An
|
|
28
|
+
# organization disabled for any other reason, such as billing, does not get this
|
|
29
|
+
# code. `appeal_url`, when present, is where the organization can appeal.
|
|
30
|
+
#
|
|
25
31
|
# @return [Anthropic::Models::Beta::BetaModelInfo]
|
|
26
32
|
#
|
|
27
33
|
# @see Anthropic::Models::Beta::ModelRetrieveParams
|
|
@@ -54,7 +60,7 @@ module Anthropic
|
|
|
54
60
|
#
|
|
55
61
|
# @param before_id [String] Query param: ID of the object to use as a cursor for pagination. When provided,
|
|
56
62
|
#
|
|
57
|
-
# @param lifecycle [Array<Symbol, Anthropic::Models::Beta::ModelListParams::Lifecycle>] Query param: Filter the list to models in any of the given lifecycle stages (
|
|
63
|
+
# @param lifecycle [Array<Symbol, Anthropic::Models::Beta::ModelListParams::Lifecycle>] Query param: Filter the list to models in any of the given lifecycle stages (
|
|
58
64
|
#
|
|
59
65
|
# @param limit [Integer] Query param: Number of items to return per page.
|
|
60
66
|
#
|
|
@@ -64,6 +70,12 @@ module Anthropic
|
|
|
64
70
|
#
|
|
65
71
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
66
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
|
+
#
|
|
67
79
|
# @return [Anthropic::Internal::Page<Anthropic::Models::Beta::BetaModelInfo>]
|
|
68
80
|
#
|
|
69
81
|
# @see Anthropic::Models::Beta::ModelListParams
|
|
@@ -27,7 +27,7 @@ module Anthropic
|
|
|
27
27
|
#
|
|
28
28
|
# @param limit [Integer, nil] Maximum rows to return (1-1000, default 100). The ungrouped artifact-type cube i
|
|
29
29
|
#
|
|
30
|
-
# @param page [String, nil] Opaque cursor from a previous response's `next_page` field. Only valid with
|
|
30
|
+
# @param page [String, nil] Opaque cursor from a previous response's `next_page` field. Only valid with
|
|
31
31
|
#
|
|
32
32
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
33
33
|
#
|
|
@@ -25,7 +25,7 @@ module Anthropic
|
|
|
25
25
|
#
|
|
26
26
|
# @param actor_ids [Array<String>, nil] Query param: Filter to usage attributed to specific identities, by tagged ID: a
|
|
27
27
|
#
|
|
28
|
-
# @param actor_types [Array<Symbol, Anthropic::Models::Beta::Organization::BetaAnalyticsActorType>, nil] Query param: Filter to usage attributed to specific kinds of identity. Use
|
|
28
|
+
# @param actor_types [Array<Symbol, Anthropic::Models::Beta::Organization::BetaAnalyticsActorType>, nil] Query param: Filter to usage attributed to specific kinds of identity. Use
|
|
29
29
|
#
|
|
30
30
|
# @param agent_ids [Array<String>, nil] Query param: Filter to usage incurred by sessions of specific Claude Managed Age
|
|
31
31
|
#
|
|
@@ -35,7 +35,7 @@ module Anthropic
|
|
|
35
35
|
#
|
|
36
36
|
# @param claude_tag_user_ids [Array<String>, nil] Query param: Filter to Claude Tag (Claude in Slack) usage attributed to specific
|
|
37
37
|
#
|
|
38
|
-
# @param context_windows [Array<Symbol, Anthropic::Models::Beta::Organization::BetaAnalyticsContextWindow>, nil] Query param: Filter to specific context-window pricing tiers. Use
|
|
38
|
+
# @param context_windows [Array<Symbol, Anthropic::Models::Beta::Organization::BetaAnalyticsContextWindow>, nil] Query param: Filter to specific context-window pricing tiers. Use
|
|
39
39
|
#
|
|
40
40
|
# @param deployment_ids [Array<String>, nil] Query param: Filter to usage incurred by Claude Managed Agents sessions that spe
|
|
41
41
|
#
|
|
@@ -43,13 +43,13 @@ module Anthropic
|
|
|
43
43
|
#
|
|
44
44
|
# @param environment_ids [Array<String>, nil] Query param: Filter to usage incurred by Claude Managed Agents sessions that ran
|
|
45
45
|
#
|
|
46
|
-
# @param exclude_deleted_users [Boolean] Query param: If true, omit rows whose `actor` is a `user_actor` with
|
|
46
|
+
# @param exclude_deleted_users [Boolean] Query param: If true, omit rows whose `actor` is a `user_actor` with
|
|
47
47
|
#
|
|
48
|
-
# @param group_by [Array<Symbol, Anthropic::Models::Beta::Organization::Analytics::BetaAnalyticsCostGroupBy>, nil] Query param: Dimensions to break cost out by (at most 5, not counting
|
|
48
|
+
# @param group_by [Array<Symbol, Anthropic::Models::Beta::Organization::Analytics::BetaAnalyticsCostGroupBy>, nil] Query param: Dimensions to break cost out by (at most 5, not counting
|
|
49
49
|
#
|
|
50
50
|
# @param inference_geos [Array<Symbol, Anthropic::Models::Beta::Organization::BetaAnalyticsInferenceGeoFilter>, nil] Query param: Filter to specific inference regions. `not_available` matches rows
|
|
51
51
|
#
|
|
52
|
-
# @param limit [Integer] Query param: Number of rows per page (1-1000, default 20). `cost_type
|
|
52
|
+
# @param limit [Integer] Query param: Number of rows per page (1-1000, default 20). `cost_type`/
|
|
53
53
|
#
|
|
54
54
|
# @param models [Array<String>, nil] Query param: Models to include. Defaults to all models. Use `group_by[]=model` t
|
|
55
55
|
#
|
|
@@ -67,7 +67,7 @@ module Anthropic
|
|
|
67
67
|
#
|
|
68
68
|
# @param session_ids [Array<String>, nil] Query param: Filter to usage incurred by specific Claude Managed Agents sessions
|
|
69
69
|
#
|
|
70
|
-
# @param slack_channel_ids [Array<String>, nil] Query param: Filter to usage originating from specific Slack channels. Use
|
|
70
|
+
# @param slack_channel_ids [Array<String>, nil] Query param: Filter to usage originating from specific Slack channels. Use
|
|
71
71
|
#
|
|
72
72
|
# @param speeds [Array<Symbol, Anthropic::Models::Beta::Organization::BetaAnalyticsSpeed>, nil] Query param: Filter to fast or standard inference mode. Use `group_by[]=speed` t
|
|
73
73
|
#
|
|
@@ -75,9 +75,9 @@ module Anthropic
|
|
|
75
75
|
#
|
|
76
76
|
# @param user_profile_ids [Array<String>, nil] Query param: Filter to usage attributed to specific user profiles, by tagged use
|
|
77
77
|
#
|
|
78
|
-
# @param workspace_ids [Array<String>, nil] Query param: Filter to usage in specific workspaces, by tagged workspace ID (
|
|
78
|
+
# @param workspace_ids [Array<String>, nil] Query param: Filter to usage in specific workspaces, by tagged workspace ID (
|
|
79
79
|
#
|
|
80
|
-
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] Header param: This endpoint is in beta: requests must send
|
|
80
|
+
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] Header param: This endpoint is in beta: requests must send
|
|
81
81
|
#
|
|
82
82
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
83
83
|
#
|
|
@@ -36,13 +36,13 @@ module Anthropic
|
|
|
36
36
|
#
|
|
37
37
|
# @param context_windows [Array<Symbol, Anthropic::Models::Beta::Organization::BetaAnalyticsContextWindow>, nil] Filter to specific context-window pricing tiers. Use `group_by[]=context_window`
|
|
38
38
|
#
|
|
39
|
-
# @param ending_at [Time, nil] End of range, exclusive. When omitted, defaults to the earlier of now and
|
|
39
|
+
# @param ending_at [Time, nil] End of range, exclusive. When omitted, defaults to the earlier of now and
|
|
40
40
|
#
|
|
41
41
|
# @param group_by [Array<Symbol, Anthropic::Models::Beta::Organization::Analytics::CostReportListParams::GroupBy>, nil] Dimensions to break each time bucket out by. Defaults to no grouping (one total
|
|
42
42
|
#
|
|
43
43
|
# @param inference_geos [Array<Symbol, Anthropic::Models::Beta::Organization::BetaAnalyticsInferenceGeoFilter>, nil] Filter to specific inference regions. `not_available` matches rows where the reg
|
|
44
44
|
#
|
|
45
|
-
# @param limit [Integer, nil] Maximum number of time buckets per page. Defaults and caps vary by
|
|
45
|
+
# @param limit [Integer, nil] Maximum number of time buckets per page. Defaults and caps vary by
|
|
46
46
|
#
|
|
47
47
|
# @param models [Array<String>, nil] Models to include. Defaults to all models. Use `group_by[]=model` to break out p
|
|
48
48
|
#
|
|
@@ -52,7 +52,7 @@ module Anthropic
|
|
|
52
52
|
#
|
|
53
53
|
# @param rbac_group_ids [Array<String>, nil] Filter to usage attributed to specific RBAC groups. Accepts tagged RBAC group ID
|
|
54
54
|
#
|
|
55
|
-
# @param slack_channel_ids [Array<String>, nil] Filter to usage originating from specific Slack channels. Use
|
|
55
|
+
# @param slack_channel_ids [Array<String>, nil] Filter to usage originating from specific Slack channels. Use
|
|
56
56
|
#
|
|
57
57
|
# @param speeds [Array<Symbol, Anthropic::Models::Beta::Organization::Analytics::CostReportListParams::Speed>, nil] Filter to fast or standard inference mode. Use `group_by[]=speed` to break out p
|
|
58
58
|
#
|