anthropic 1.81.0 → 2.0.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 +37 -0
- data/LICENSE +197 -4
- data/LICENSE-MIT +11 -0
- data/README.md +2 -2
- data/lib/anthropic/client.rb +65 -72
- data/lib/anthropic/credentials.rb +4 -4
- data/lib/anthropic/helpers/aws/client.rb +2 -2
- data/lib/anthropic/helpers/aws_auth.rb +3 -10
- data/lib/anthropic/helpers/bedrock/client.rb +7 -12
- data/lib/anthropic/helpers/bedrock/mantle_client.rb +3 -11
- data/lib/anthropic/helpers/google_cloud/client.rb +6 -17
- data/lib/anthropic/helpers/tools/runner.rb +8 -6
- data/lib/anthropic/helpers/vertex/client.rb +7 -5
- data/lib/anthropic/internal/report_page_cursor.rb +1 -1
- data/lib/anthropic/internal/tracing.rb +10 -4
- data/lib/anthropic/internal/transport/base_client.rb +8 -5
- data/lib/anthropic/models/anthropic_beta.rb +3 -0
- data/lib/anthropic/models/assistant_message_param.rb +21 -0
- data/lib/anthropic/models/beta/agent_create_params.rb +3 -3
- data/lib/anthropic/models/beta/agent_update_params.rb +3 -3
- data/lib/anthropic/models/beta/beta_assistant_message_param.rb +25 -0
- data/lib/anthropic/models/beta/beta_dream.rb +5 -15
- data/lib/anthropic/models/beta/beta_dream_input.rb +2 -2
- data/lib/anthropic/models/beta/beta_dream_memory_store_input.rb +4 -14
- data/lib/anthropic/models/beta/beta_dream_memory_store_output.rb +4 -14
- data/lib/anthropic/models/beta/beta_dream_output.rb +4 -14
- data/lib/anthropic/models/beta/beta_dream_sessions_input.rb +4 -14
- data/lib/anthropic/models/beta/beta_environment_delete_response.rb +4 -16
- data/lib/anthropic/models/beta/beta_managed_agents_advisor.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_advisor_params.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_agent.rb +10 -20
- data/lib/anthropic/models/beta/beta_managed_agents_agent_archived_deployment_paused_reason_error.rb +4 -15
- data/lib/anthropic/models/beta/beta_managed_agents_agent_archived_run_error.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_agent_message_preview.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_agent_params.rb +5 -15
- data/lib/anthropic/models/beta/beta_managed_agents_agent_reference.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_agent_thinking_preview.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_agent_toolset20260401.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_agent_toolset20260401_params.rb +5 -15
- data/lib/anthropic/models/beta/beta_managed_agents_agent_toolset_default_config.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_agent_toolset_default_config_params.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_agent_with_overrides_params.rb +8 -18
- data/lib/anthropic/models/beta/beta_managed_agents_always_allow_policy.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_always_ask_policy.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_anthropic_skill.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_anthropic_skill_params.rb +5 -15
- data/lib/anthropic/models/beta/beta_managed_agents_bash_tool_config.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_bash_tool_config_params.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_branch_checkout.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_budget_limit.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_commit_checkout.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_cron_schedule.rb +5 -15
- data/lib/anthropic/models/beta/beta_managed_agents_cron_schedule_params.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_custom_skill.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_custom_skill_params.rb +5 -15
- data/lib/anthropic/models/beta/beta_managed_agents_custom_tool.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_custom_tool_params.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_deleted_memory_store.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_deleted_session.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_deleted_vault.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_delta_content.rb +5 -15
- data/lib/anthropic/models/beta/beta_managed_agents_delta_event.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_deployment.rb +5 -15
- data/lib/anthropic/models/beta/beta_managed_agents_deployment_initial_event.rb +3 -3
- data/lib/anthropic/models/beta/beta_managed_agents_deployment_initial_event_params.rb +3 -3
- data/lib/anthropic/models/beta/beta_managed_agents_deployment_paused_reason.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_deployment_paused_reason_error.rb +14 -38
- data/lib/anthropic/models/beta/beta_managed_agents_deployment_run.rb +20 -30
- data/lib/anthropic/models/beta/beta_managed_agents_deployment_system_message_event.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_deployment_user_define_outcome_event.rb +7 -17
- data/lib/anthropic/models/beta/beta_managed_agents_deployment_user_message_event.rb +8 -18
- data/lib/anthropic/models/beta/beta_managed_agents_edit_tool_config.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_edit_tool_config_params.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_effort_high.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_effort_low.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_effort_max.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_effort_medium.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_effort_xhigh.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_environment_archived_deployment_paused_reason_error.rb +4 -15
- data/lib/anthropic/models/beta/beta_managed_agents_environment_archived_run_error.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_environment_not_found_deployment_paused_reason_error.rb +4 -15
- data/lib/anthropic/models/beta/beta_managed_agents_environment_not_found_run_error.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_error_deployment_paused_reason.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_file_not_found_deployment_paused_reason_error.rb +4 -15
- data/lib/anthropic/models/beta/beta_managed_agents_file_not_found_run_error.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_file_resource_config.rb +5 -15
- data/lib/anthropic/models/beta/beta_managed_agents_file_resource_params.rb +5 -15
- data/lib/anthropic/models/beta/beta_managed_agents_github_repository_resource_config.rb +7 -17
- data/lib/anthropic/models/beta/beta_managed_agents_github_repository_resource_params.rb +7 -17
- data/lib/anthropic/models/beta/beta_managed_agents_glob_tool_config.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_glob_tool_config_params.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_grep_tool_config.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_grep_tool_config_params.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_manual_deployment_paused_reason.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_manual_trigger_context.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_mcp_egress_blocked_deployment_paused_reason_error.rb +4 -15
- data/lib/anthropic/models/beta/beta_managed_agents_mcp_egress_blocked_run_error.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_mcp_server_url_definition.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_mcp_tool_config.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_mcp_tool_config_params.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_mcp_toolset.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config_params.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_mcp_toolset_params.rb +5 -15
- data/lib/anthropic/models/beta/beta_managed_agents_memory_store.rb +5 -15
- data/lib/anthropic/models/beta/beta_managed_agents_memory_store_archived_deployment_paused_reason_error.rb +4 -15
- data/lib/anthropic/models/beta/beta_managed_agents_memory_store_archived_run_error.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_memory_store_resource_config.rb +5 -15
- data/lib/anthropic/models/beta/beta_managed_agents_memory_store_resource_param.rb +5 -15
- data/lib/anthropic/models/beta/beta_managed_agents_model_config.rb +5 -5
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent_coordinator.rb +6 -16
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent_coordinator_params.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent_self_params.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_organization_disabled_deployment_paused_reason_error.rb +4 -15
- data/lib/anthropic/models/beta/beta_managed_agents_organization_disabled_run_error.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_outcome_evaluation_resource.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_read_tool_config.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_read_tool_config_params.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_schedule.rb +5 -15
- data/lib/anthropic/models/beta/beta_managed_agents_schedule_params.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_schedule_trigger_context.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_self_hosted_resources_unsupported_deployment_paused_reason_error.rb +4 -15
- data/lib/anthropic/models/beta/beta_managed_agents_self_hosted_resources_unsupported_run_error.rb +4 -15
- data/lib/anthropic/models/beta/beta_managed_agents_session.rb +5 -15
- data/lib/anthropic/models/beta/beta_managed_agents_session_agent.rb +10 -20
- data/lib/anthropic/models/beta/beta_managed_agents_session_agent_update.rb +3 -3
- data/lib/anthropic/models/beta/beta_managed_agents_session_creation_rejected_run_error.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_session_multiagent.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_session_multiagent_coordinator.rb +6 -16
- data/lib/anthropic/models/beta/beta_managed_agents_session_rate_limited_run_error.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_session_resource_config.rb +3 -3
- data/lib/anthropic/models/beta/beta_managed_agents_session_resource_not_found_deployment_paused_reason_error.rb +4 -15
- data/lib/anthropic/models/beta/beta_managed_agents_session_resource_not_found_run_error.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_session_thread_agent.rb +10 -20
- data/lib/anthropic/models/beta/beta_managed_agents_session_updated_event.rb +5 -15
- data/lib/anthropic/models/beta/beta_managed_agents_session_usage_event.rb +5 -15
- data/lib/anthropic/models/beta/beta_managed_agents_skill_not_found_deployment_paused_reason_error.rb +4 -15
- data/lib/anthropic/models/beta/beta_managed_agents_skill_not_found_run_error.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_skill_params.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_start_event.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_start_event_preview.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_system_content_block.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_system_message_event.rb +5 -15
- data/lib/anthropic/models/beta/beta_managed_agents_trigger_context.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_unknown_deployment_paused_reason_error.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_unknown_run_error.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_url_mcp_server_params.rb +5 -15
- data/lib/anthropic/models/beta/beta_managed_agents_user_tool_result_event.rb +9 -19
- data/lib/anthropic/models/beta/beta_managed_agents_vault.rb +5 -15
- data/lib/anthropic/models/beta/beta_managed_agents_vault_archived_deployment_paused_reason_error.rb +4 -15
- data/lib/anthropic/models/beta/beta_managed_agents_vault_archived_run_error.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_vault_not_found_deployment_paused_reason_error.rb +4 -15
- data/lib/anthropic/models/beta/beta_managed_agents_vault_not_found_run_error.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config_params.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_web_search_tool_config.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_web_search_tool_config_params.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_workspace_archived_deployment_paused_reason_error.rb +4 -15
- data/lib/anthropic/models/beta/beta_managed_agents_workspace_archived_run_error.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_write_tool_config.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_write_tool_config_params.rb +2 -2
- data/lib/anthropic/models/beta/beta_message_content_param.rb +24 -0
- data/lib/anthropic/models/beta/beta_message_param.rb +37 -71
- data/lib/anthropic/models/beta/beta_output_behavior.rb +2 -2
- data/lib/anthropic/models/beta/beta_output_behavior_create_new.rb +4 -14
- data/lib/anthropic/models/beta/beta_output_behavior_update_existing.rb +4 -14
- data/lib/anthropic/models/beta/beta_system_message_param.rb +160 -0
- data/lib/anthropic/models/beta/beta_user_message_param.rb +25 -0
- data/lib/anthropic/models/beta/beta_user_profile.rb +4 -16
- data/lib/anthropic/models/beta/beta_user_profile_enrollment_url.rb +4 -16
- data/lib/anthropic/models/beta/beta_webhook_event.rb +2 -2
- data/lib/anthropic/models/beta/beta_webhook_event_data.rb +16 -2
- data/lib/anthropic/models/beta/beta_webhook_user_profile_enforcement_action_opened_event_data.rb +43 -0
- data/lib/anthropic/models/beta/beta_webhook_user_profile_enforcement_action_resolved_event_data.rb +43 -0
- data/lib/anthropic/models/beta/deployment_create_params.rb +3 -3
- data/lib/anthropic/models/beta/deployment_update_params.rb +3 -3
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_actor.rb +3 -3
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_api_actor.rb +4 -14
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_conflict_error.rb +4 -14
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_content_sha256_precondition.rb +5 -16
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_deleted_memory.rb +4 -14
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_error.rb +3 -6
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory.rb +5 -15
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_list_item.rb +2 -2
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_path_conflict_error.rb +5 -15
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_precondition_failed_error.rb +5 -16
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_prefix.rb +4 -14
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_version.rb +5 -15
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_precondition.rb +5 -15
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_session_actor.rb +4 -14
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_user_actor.rb +5 -15
- data/lib/anthropic/models/beta/message_count_tokens_params.rb +4 -5
- data/lib/anthropic/models/beta/message_create_params.rb +5 -59
- data/lib/anthropic/models/beta/messages/batch_create_params.rb +5 -59
- data/lib/anthropic/models/beta/organization/beta_api_key.rb +2 -15
- data/lib/anthropic/models/beta/organization/beta_api_key_workspace_scope.rb +3 -4
- data/lib/anthropic/models/beta/organization/beta_deleted_organization_webhook_endpoint.rb +31 -0
- data/lib/anthropic/models/beta/organization/beta_new_organization_webhook_endpoint.rb +113 -0
- data/lib/anthropic/models/beta/organization/beta_organization_rate_limit.rb +6 -46
- data/lib/anthropic/models/beta/organization/beta_organization_webhook_endpoint.rb +104 -0
- data/lib/anthropic/models/beta/organization/beta_organization_webhook_endpoint_signing_secret.rb +28 -0
- data/lib/anthropic/models/beta/organization/beta_organization_webhook_endpoint_state.rb +20 -0
- data/lib/anthropic/models/beta/organization/beta_rbac_role.rb +1 -12
- data/lib/anthropic/models/beta/organization/spend_limit_list_params.rb +16 -3
- data/lib/anthropic/models/beta/organization/webhook_create_params.rb +73 -0
- data/lib/anthropic/models/beta/organization/webhook_delete_params.rb +38 -0
- data/lib/anthropic/models/beta/organization/webhook_list_params.rb +75 -0
- data/lib/anthropic/models/beta/organization/webhook_regenerate_signing_secret_params.rb +39 -0
- data/lib/anthropic/models/beta/organization/webhook_retrieve_params.rb +38 -0
- data/lib/anthropic/models/beta/organization/webhook_update_params.rb +105 -0
- data/lib/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit.rb +6 -47
- data/lib/anthropic/models/beta/session_create_params.rb +5 -5
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_custom_tool_use_event.rb +5 -15
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_mcp_tool_result_event.rb +9 -19
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_mcp_tool_use_event.rb +5 -15
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_message_event.rb +6 -16
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_thinking_event.rb +4 -14
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_context_compacted_event.rb +4 -15
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_message_received_event.rb +9 -20
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_message_sent_event.rb +9 -19
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_result_event.rb +9 -19
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_use_event.rb +5 -15
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_base64_document_source.rb +4 -14
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_base64_image_source.rb +4 -14
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_billing_error.rb +7 -17
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_credential_host_unreachable_error.rb +8 -19
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_delete_session_resource.rb +4 -14
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_document_block.rb +10 -20
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_event_params.rb +7 -13
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_file_document_source.rb +4 -14
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_file_image_source.rb +4 -14
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_file_resource.rb +5 -15
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_file_rubric.rb +4 -14
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_file_rubric_params.rb +4 -14
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_github_repository_resource.rb +7 -17
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_image_block.rb +7 -17
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_inline_agent.rb +5 -5
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_mcp_authentication_failed_error.rb +7 -18
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_mcp_connection_failed_error.rb +7 -17
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_memory_store_resource.rb +5 -15
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_model_overloaded_error.rb +7 -17
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_model_rate_limited_error.rb +7 -17
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_model_request_failed_error.rb +7 -17
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_plain_text_document_source.rb +7 -30
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_redacted_block.rb +4 -14
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_repository_authentication_error.rb +3 -3
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_repository_checkout_error.rb +3 -3
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_repository_clone_error.rb +3 -3
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_repository_forbidden_error.rb +3 -3
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_repository_not_found_error.rb +3 -3
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_retry_status_exhausted.rb +4 -14
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_retry_status_retrying.rb +4 -14
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_retry_status_terminal.rb +4 -14
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_search_result_block.rb +4 -14
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_search_result_content.rb +4 -14
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_send_session_events.rb +7 -7
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_budget_reached.rb +4 -14
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_deleted_event.rb +4 -14
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_end_turn.rb +4 -14
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_error_event.rb +12 -28
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_event.rb +35 -62
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_requires_action.rb +4 -14
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_resource.rb +3 -3
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_retries_exhausted.rb +4 -14
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_status_idle_event.rb +8 -18
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_status_rescheduled_event.rb +4 -15
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_status_running_event.rb +4 -14
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_status_terminated_event.rb +4 -15
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_thread.rb +7 -17
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_thread_created_event.rb +5 -15
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_idle_event.rb +8 -19
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_rescheduled_event.rb +4 -15
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_running_event.rb +4 -15
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_terminated_event.rb +4 -15
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_span_model_request_end_event.rb +4 -14
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_span_model_request_start_event.rb +4 -14
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_span_outcome_evaluation_end_event.rb +5 -16
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_span_outcome_evaluation_ongoing_event.rb +4 -15
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_span_outcome_evaluation_start_event.rb +4 -15
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_stream_session_events.rb +37 -64
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_stream_session_thread_events.rb +37 -64
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_system_message_event_params.rb +4 -14
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_text_block.rb +4 -14
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_text_rubric.rb +4 -14
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_text_rubric_params.rb +4 -14
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_unknown_error.rb +7 -17
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_url_document_source.rb +5 -15
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_url_image_source.rb +5 -15
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_custom_tool_result_event.rb +9 -19
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_custom_tool_result_event_params.rb +9 -20
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_define_outcome_event.rb +6 -16
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_define_outcome_event_params.rb +7 -18
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_interrupt_event.rb +5 -15
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_interrupt_event_params.rb +5 -15
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_message_event.rb +9 -19
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_message_event_params.rb +8 -18
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_tool_confirmation_event.rb +5 -15
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_tool_confirmation_event_params.rb +5 -16
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_tool_result_event_params.rb +9 -19
- data/lib/anthropic/models/beta/sessions/resource_retrieve_response.rb +3 -3
- data/lib/anthropic/models/beta/sessions/resource_update_response.rb +3 -3
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_credential.rb +8 -21
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_credential_networking_params.rb +2 -7
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_credential_validation.rb +5 -15
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_deleted_credential.rb +4 -14
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_auth_response.rb +6 -22
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_create_params.rb +5 -16
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_update_params.rb +5 -16
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_limited_credential_networking_params.rb +4 -15
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_limited_credential_networking_response.rb +4 -15
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_auth_response.rb +5 -15
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_create_params.rb +5 -15
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_params.rb +3 -3
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_response.rb +3 -12
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_update_params.rb +2 -8
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_update_params.rb +5 -15
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_static_bearer_auth_response.rb +4 -14
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_static_bearer_create_params.rb +4 -14
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_static_bearer_update_params.rb +5 -15
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_basic_param.rb +4 -14
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_basic_response.rb +4 -15
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_basic_update_param.rb +5 -16
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_none_param.rb +4 -14
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_none_response.rb +4 -14
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_post_param.rb +4 -14
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_post_response.rb +4 -14
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_post_update_param.rb +5 -16
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_unrestricted_credential_networking_params.rb +4 -15
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_unrestricted_credential_networking_response.rb +4 -15
- data/lib/anthropic/models/beta/vaults/credential_create_params.rb +3 -6
- data/lib/anthropic/models/beta/vaults/credential_update_params.rb +3 -6
- data/lib/anthropic/models/message_content_param.rb +19 -0
- data/lib/anthropic/models/message_count_tokens_params.rb +4 -5
- data/lib/anthropic/models/message_create_params.rb +5 -59
- data/lib/anthropic/models/message_param.rb +33 -28
- data/lib/anthropic/models/messages/batch_create_params.rb +5 -59
- data/lib/anthropic/models/model_list_params.rb +1 -13
- data/lib/anthropic/models/model_retrieve_params.rb +1 -13
- data/lib/anthropic/models/organization/api_key.rb +1 -1
- data/lib/anthropic/models/organization/api_key_workspace_scope.rb +3 -4
- data/lib/anthropic/models/organization/organization_rate_limit.rb +5 -8
- data/lib/anthropic/models/organization/workspaces/workspace_rate_limit.rb +5 -8
- data/lib/anthropic/models/system_message_param.rb +36 -0
- data/lib/anthropic/models/user_message_param.rb +21 -0
- data/lib/anthropic/models.rb +8 -4
- data/lib/anthropic/resources/beta/messages.rb +8 -32
- data/lib/anthropic/resources/beta/organization/spend_limits.rb +11 -7
- data/lib/anthropic/resources/beta/organization/webhooks.rb +287 -0
- data/lib/anthropic/resources/beta/organization.rb +4 -0
- data/lib/anthropic/resources/beta/sessions/resources.rb +3 -3
- data/lib/anthropic/resources/beta/webhooks.rb +1 -0
- data/lib/anthropic/resources/messages.rb +7 -25
- data/lib/anthropic/resources/models.rb +4 -11
- data/lib/anthropic/version.rb +1 -1
- data/lib/anthropic.rb +22 -3
- data/rbi/anthropic/client.rbi +19 -7
- data/rbi/anthropic/helpers/bedrock/client.rbi +0 -5
- data/rbi/anthropic/helpers/bedrock/mantle_client.rbi +0 -4
- data/rbi/anthropic/helpers/google_cloud/client.rbi +0 -4
- data/rbi/anthropic/helpers/tools/runner.rbi +5 -1
- data/rbi/anthropic/helpers/vertex/client.rbi +0 -2
- data/rbi/anthropic/internal/tracing.rbi +8 -1
- data/rbi/anthropic/models/anthropic_beta.rbi +2 -0
- data/rbi/anthropic/models/assistant_message_param.rbi +35 -0
- data/rbi/anthropic/models/beta/beta_assistant_message_param.rbi +45 -0
- data/rbi/anthropic/models/beta/beta_dream.rbi +6 -24
- data/rbi/anthropic/models/beta/beta_dream_memory_store_input.rbi +6 -42
- data/rbi/anthropic/models/beta/beta_dream_memory_store_output.rbi +6 -42
- data/rbi/anthropic/models/beta/beta_dream_output.rbi +6 -38
- data/rbi/anthropic/models/beta/beta_dream_sessions_input.rbi +6 -38
- data/rbi/anthropic/models/beta/beta_environment_delete_response.rbi +4 -51
- data/rbi/anthropic/models/beta/beta_managed_agents_advisor.rbi +4 -45
- data/rbi/anthropic/models/beta/beta_managed_agents_advisor_params.rbi +4 -51
- data/rbi/anthropic/models/beta/beta_managed_agents_agent.rbi +6 -34
- data/rbi/anthropic/models/beta/beta_managed_agents_agent_archived_deployment_paused_reason_error.rbi +4 -49
- data/rbi/anthropic/models/beta/beta_managed_agents_agent_archived_run_error.rbi +4 -51
- data/rbi/anthropic/models/beta/beta_managed_agents_agent_message_preview.rbi +4 -51
- data/rbi/anthropic/models/beta/beta_managed_agents_agent_params.rbi +7 -46
- data/rbi/anthropic/models/beta/beta_managed_agents_agent_reference.rbi +6 -51
- data/rbi/anthropic/models/beta/beta_managed_agents_agent_thinking_preview.rbi +4 -51
- data/rbi/anthropic/models/beta/beta_managed_agents_agent_toolset20260401.rbi +4 -39
- data/rbi/anthropic/models/beta/beta_managed_agents_agent_toolset20260401_params.rbi +6 -41
- data/rbi/anthropic/models/beta/beta_managed_agents_agent_with_overrides_params.rbi +6 -41
- data/rbi/anthropic/models/beta/beta_managed_agents_always_allow_policy.rbi +4 -49
- data/rbi/anthropic/models/beta/beta_managed_agents_always_ask_policy.rbi +4 -49
- data/rbi/anthropic/models/beta/beta_managed_agents_anthropic_skill.rbi +6 -49
- data/rbi/anthropic/models/beta/beta_managed_agents_anthropic_skill_params.rbi +6 -45
- data/rbi/anthropic/models/beta/beta_managed_agents_branch_checkout.rbi +4 -51
- data/rbi/anthropic/models/beta/beta_managed_agents_budget_limit.rbi +4 -36
- data/rbi/anthropic/models/beta/beta_managed_agents_commit_checkout.rbi +4 -51
- data/rbi/anthropic/models/beta/beta_managed_agents_cron_schedule.rbi +6 -41
- data/rbi/anthropic/models/beta/beta_managed_agents_cron_schedule_params.rbi +6 -47
- data/rbi/anthropic/models/beta/beta_managed_agents_custom_skill.rbi +6 -45
- data/rbi/anthropic/models/beta/beta_managed_agents_custom_skill_params.rbi +6 -45
- data/rbi/anthropic/models/beta/beta_managed_agents_custom_tool.rbi +4 -35
- data/rbi/anthropic/models/beta/beta_managed_agents_custom_tool_params.rbi +4 -39
- data/rbi/anthropic/models/beta/beta_managed_agents_deleted_memory_store.rbi +4 -51
- data/rbi/anthropic/models/beta/beta_managed_agents_deleted_session.rbi +4 -51
- data/rbi/anthropic/models/beta/beta_managed_agents_deleted_vault.rbi +4 -50
- data/rbi/anthropic/models/beta/beta_managed_agents_delta_content.rbi +6 -41
- data/rbi/anthropic/models/beta/beta_managed_agents_delta_event.rbi +4 -35
- data/rbi/anthropic/models/beta/beta_managed_agents_deployment.rbi +6 -37
- data/rbi/anthropic/models/beta/beta_managed_agents_deployment_run.rbi +4 -39
- data/rbi/anthropic/models/beta/beta_managed_agents_deployment_system_message_event.rbi +4 -39
- data/rbi/anthropic/models/beta/beta_managed_agents_deployment_user_define_outcome_event.rbi +6 -41
- data/rbi/anthropic/models/beta/beta_managed_agents_deployment_user_message_event.rbi +4 -39
- data/rbi/anthropic/models/beta/beta_managed_agents_effort_high.rbi +4 -42
- data/rbi/anthropic/models/beta/beta_managed_agents_effort_low.rbi +4 -42
- data/rbi/anthropic/models/beta/beta_managed_agents_effort_max.rbi +4 -42
- data/rbi/anthropic/models/beta/beta_managed_agents_effort_medium.rbi +4 -48
- data/rbi/anthropic/models/beta/beta_managed_agents_effort_xhigh.rbi +4 -43
- data/rbi/anthropic/models/beta/beta_managed_agents_environment_archived_deployment_paused_reason_error.rbi +4 -49
- data/rbi/anthropic/models/beta/beta_managed_agents_environment_archived_run_error.rbi +4 -51
- data/rbi/anthropic/models/beta/beta_managed_agents_environment_not_found_deployment_paused_reason_error.rbi +4 -49
- data/rbi/anthropic/models/beta/beta_managed_agents_environment_not_found_run_error.rbi +4 -51
- data/rbi/anthropic/models/beta/beta_managed_agents_error_deployment_paused_reason.rbi +4 -39
- data/rbi/anthropic/models/beta/beta_managed_agents_file_not_found_deployment_paused_reason_error.rbi +4 -49
- data/rbi/anthropic/models/beta/beta_managed_agents_file_not_found_run_error.rbi +4 -51
- data/rbi/anthropic/models/beta/beta_managed_agents_file_resource_config.rbi +6 -45
- data/rbi/anthropic/models/beta/beta_managed_agents_file_resource_params.rbi +6 -45
- data/rbi/anthropic/models/beta/beta_managed_agents_github_repository_resource_config.rbi +6 -41
- data/rbi/anthropic/models/beta/beta_managed_agents_github_repository_resource_params.rbi +6 -41
- data/rbi/anthropic/models/beta/beta_managed_agents_manual_deployment_paused_reason.rbi +4 -49
- data/rbi/anthropic/models/beta/beta_managed_agents_manual_trigger_context.rbi +4 -49
- data/rbi/anthropic/models/beta/beta_managed_agents_mcp_egress_blocked_deployment_paused_reason_error.rbi +4 -49
- data/rbi/anthropic/models/beta/beta_managed_agents_mcp_egress_blocked_run_error.rbi +4 -51
- data/rbi/anthropic/models/beta/beta_managed_agents_mcp_server_url_definition.rbi +6 -51
- data/rbi/anthropic/models/beta/beta_managed_agents_mcp_toolset.rbi +4 -35
- data/rbi/anthropic/models/beta/beta_managed_agents_mcp_toolset_params.rbi +6 -41
- data/rbi/anthropic/models/beta/beta_managed_agents_memory_store.rbi +6 -37
- data/rbi/anthropic/models/beta/beta_managed_agents_memory_store_archived_deployment_paused_reason_error.rbi +4 -49
- data/rbi/anthropic/models/beta/beta_managed_agents_memory_store_archived_run_error.rbi +4 -51
- data/rbi/anthropic/models/beta/beta_managed_agents_memory_store_resource_config.rbi +6 -41
- data/rbi/anthropic/models/beta/beta_managed_agents_memory_store_resource_param.rbi +6 -41
- data/rbi/anthropic/models/beta/beta_managed_agents_multiagent_coordinator.rbi +4 -39
- data/rbi/anthropic/models/beta/beta_managed_agents_multiagent_coordinator_params.rbi +4 -39
- data/rbi/anthropic/models/beta/beta_managed_agents_multiagent_self_params.rbi +4 -49
- data/rbi/anthropic/models/beta/beta_managed_agents_organization_disabled_deployment_paused_reason_error.rbi +4 -49
- data/rbi/anthropic/models/beta/beta_managed_agents_organization_disabled_run_error.rbi +4 -51
- data/rbi/anthropic/models/beta/beta_managed_agents_outcome_evaluation_resource.rbi +4 -39
- data/rbi/anthropic/models/beta/beta_managed_agents_schedule.rbi +6 -37
- data/rbi/anthropic/models/beta/beta_managed_agents_schedule_params.rbi +6 -47
- data/rbi/anthropic/models/beta/beta_managed_agents_schedule_trigger_context.rbi +4 -49
- data/rbi/anthropic/models/beta/beta_managed_agents_self_hosted_resources_unsupported_deployment_paused_reason_error.rbi +4 -49
- data/rbi/anthropic/models/beta/beta_managed_agents_self_hosted_resources_unsupported_run_error.rbi +4 -51
- data/rbi/anthropic/models/beta/beta_managed_agents_session.rbi +6 -35
- data/rbi/anthropic/models/beta/beta_managed_agents_session_agent.rbi +6 -41
- data/rbi/anthropic/models/beta/beta_managed_agents_session_creation_rejected_run_error.rbi +4 -51
- data/rbi/anthropic/models/beta/beta_managed_agents_session_multiagent_coordinator.rbi +4 -39
- data/rbi/anthropic/models/beta/beta_managed_agents_session_rate_limited_run_error.rbi +4 -51
- data/rbi/anthropic/models/beta/beta_managed_agents_session_resource_not_found_deployment_paused_reason_error.rbi +4 -49
- data/rbi/anthropic/models/beta/beta_managed_agents_session_resource_not_found_run_error.rbi +4 -51
- data/rbi/anthropic/models/beta/beta_managed_agents_session_thread_agent.rbi +6 -41
- data/rbi/anthropic/models/beta/beta_managed_agents_session_updated_event.rbi +6 -41
- data/rbi/anthropic/models/beta/beta_managed_agents_session_usage_event.rbi +6 -41
- data/rbi/anthropic/models/beta/beta_managed_agents_skill_not_found_deployment_paused_reason_error.rbi +4 -49
- data/rbi/anthropic/models/beta/beta_managed_agents_skill_not_found_run_error.rbi +4 -51
- data/rbi/anthropic/models/beta/beta_managed_agents_start_event.rbi +4 -35
- data/rbi/anthropic/models/beta/beta_managed_agents_system_content_block.rbi +4 -51
- data/rbi/anthropic/models/beta/beta_managed_agents_system_message_event.rbi +6 -41
- data/rbi/anthropic/models/beta/beta_managed_agents_unknown_deployment_paused_reason_error.rbi +4 -49
- data/rbi/anthropic/models/beta/beta_managed_agents_unknown_run_error.rbi +4 -51
- data/rbi/anthropic/models/beta/beta_managed_agents_url_mcp_server_params.rbi +7 -52
- data/rbi/anthropic/models/beta/beta_managed_agents_user_tool_result_event.rbi +6 -41
- data/rbi/anthropic/models/beta/beta_managed_agents_vault.rbi +6 -34
- data/rbi/anthropic/models/beta/beta_managed_agents_vault_archived_deployment_paused_reason_error.rbi +4 -49
- data/rbi/anthropic/models/beta/beta_managed_agents_vault_archived_run_error.rbi +4 -51
- data/rbi/anthropic/models/beta/beta_managed_agents_vault_not_found_deployment_paused_reason_error.rbi +4 -49
- data/rbi/anthropic/models/beta/beta_managed_agents_vault_not_found_run_error.rbi +4 -51
- data/rbi/anthropic/models/beta/beta_managed_agents_workspace_archived_deployment_paused_reason_error.rbi +4 -49
- data/rbi/anthropic/models/beta/beta_managed_agents_workspace_archived_run_error.rbi +4 -51
- data/rbi/anthropic/models/beta/beta_message_content_param.rbi +37 -0
- data/rbi/anthropic/models/beta/beta_message_param.rbi +49 -145
- data/rbi/anthropic/models/beta/beta_output_behavior_create_new.rbi +4 -42
- data/rbi/anthropic/models/beta/beta_output_behavior_update_existing.rbi +6 -49
- data/rbi/anthropic/models/beta/beta_system_message_param.rbi +300 -0
- data/rbi/anthropic/models/beta/beta_user_message_param.rbi +45 -0
- data/rbi/anthropic/models/beta/beta_user_profile.rbi +7 -32
- data/rbi/anthropic/models/beta/beta_user_profile_enrollment_url.rbi +8 -48
- data/rbi/anthropic/models/beta/beta_webhook_event.rbi +3 -1
- data/rbi/anthropic/models/beta/beta_webhook_event_data.rbi +19 -4
- data/rbi/anthropic/models/beta/beta_webhook_user_profile_enforcement_action_opened_event_data.rbi +65 -0
- data/rbi/anthropic/models/beta/beta_webhook_user_profile_enforcement_action_resolved_event_data.rbi +65 -0
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_api_actor.rbi +4 -49
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_conflict_error.rbi +4 -49
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_content_sha256_precondition.rbi +7 -50
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_deleted_memory.rbi +4 -51
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_memory.rbi +6 -41
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_memory_path_conflict_error.rbi +6 -41
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_memory_precondition_failed_error.rbi +5 -50
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_memory_prefix.rbi +4 -51
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_memory_version.rbi +6 -41
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_precondition.rbi +7 -50
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_session_actor.rbi +4 -49
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_user_actor.rbi +5 -50
- data/rbi/anthropic/models/beta/message_count_tokens_params.rbi +29 -7
- data/rbi/anthropic/models/beta/message_create_params.rbi +29 -76
- data/rbi/anthropic/models/beta/messages/batch_create_params.rbi +32 -79
- data/rbi/anthropic/models/beta/organization/beta_api_key.rbi +3 -16
- data/rbi/anthropic/models/beta/organization/beta_api_key_workspace_scope.rbi +4 -6
- data/rbi/anthropic/models/beta/organization/beta_deleted_organization_webhook_endpoint.rbi +41 -0
- data/rbi/anthropic/models/beta/organization/beta_new_organization_webhook_endpoint.rbi +175 -0
- data/rbi/anthropic/models/beta/organization/beta_organization_rate_limit.rbi +5 -86
- data/rbi/anthropic/models/beta/organization/beta_organization_webhook_endpoint.rbi +164 -0
- data/rbi/anthropic/models/beta/organization/beta_organization_webhook_endpoint_signing_secret.rbi +37 -0
- data/rbi/anthropic/models/beta/organization/beta_organization_webhook_endpoint_state.rbi +44 -0
- data/rbi/anthropic/models/beta/organization/beta_rbac_role.rbi +0 -10
- data/rbi/anthropic/models/beta/organization/spend_limit_list_params.rbi +21 -2
- data/rbi/anthropic/models/beta/organization/webhook_create_params.rbi +151 -0
- data/rbi/anthropic/models/beta/organization/webhook_delete_params.rbi +75 -0
- data/rbi/anthropic/models/beta/organization/webhook_list_params.rbi +153 -0
- data/rbi/anthropic/models/beta/organization/webhook_regenerate_signing_secret_params.rbi +75 -0
- data/rbi/anthropic/models/beta/organization/webhook_retrieve_params.rbi +75 -0
- data/rbi/anthropic/models/beta/organization/webhook_update_params.rbi +241 -0
- data/rbi/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit.rbi +5 -86
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_custom_tool_use_event.rbi +6 -41
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_mcp_tool_result_event.rbi +6 -41
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_mcp_tool_use_event.rbi +6 -41
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_message_event.rbi +4 -39
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_thinking_event.rbi +6 -49
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_context_compacted_event.rbi +6 -49
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_message_received_event.rbi +6 -41
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_message_sent_event.rbi +6 -41
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_result_event.rbi +6 -41
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_use_event.rbi +6 -41
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_base64_document_source.rbi +6 -49
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_base64_image_source.rbi +6 -49
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_billing_error.rbi +4 -39
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_credential_host_unreachable_error.rbi +6 -41
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_delete_session_resource.rbi +4 -51
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_document_block.rbi +7 -46
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_file_document_source.rbi +4 -49
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_file_image_source.rbi +4 -49
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_file_resource.rbi +6 -41
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_file_rubric.rbi +4 -49
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_file_rubric_params.rbi +4 -49
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_github_repository_resource.rbi +6 -41
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_image_block.rbi +4 -39
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_mcp_authentication_failed_error.rbi +4 -39
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_mcp_connection_failed_error.rbi +4 -39
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_memory_store_resource.rbi +6 -41
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_model_overloaded_error.rbi +4 -39
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_model_rate_limited_error.rbi +4 -39
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_model_request_failed_error.rbi +4 -39
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_plain_text_document_source.rbi +8 -87
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_redacted_block.rbi +4 -49
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_retry_status_exhausted.rbi +4 -49
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_retry_status_retrying.rbi +4 -49
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_retry_status_terminal.rbi +4 -49
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_search_result_block.rbi +4 -39
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_search_result_content.rbi +4 -51
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_budget_reached.rbi +4 -49
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_deleted_event.rbi +6 -49
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_end_turn.rbi +4 -49
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_error_event.rbi +4 -39
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_requires_action.rbi +6 -47
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_retries_exhausted.rbi +4 -49
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_status_idle_event.rbi +4 -39
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_status_rescheduled_event.rbi +6 -49
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_status_running_event.rbi +6 -49
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_status_terminated_event.rbi +6 -49
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_thread.rbi +6 -41
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_thread_created_event.rbi +6 -41
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_idle_event.rbi +4 -39
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_rescheduled_event.rbi +4 -39
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_running_event.rbi +4 -39
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_terminated_event.rbi +4 -39
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_span_model_request_end_event.rbi +4 -39
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_span_model_request_start_event.rbi +6 -49
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_span_outcome_evaluation_end_event.rbi +6 -41
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_span_outcome_evaluation_ongoing_event.rbi +4 -39
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_span_outcome_evaluation_start_event.rbi +4 -39
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_system_message_event_params.rbi +4 -39
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_text_block.rbi +4 -51
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_text_rubric.rbi +4 -49
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_text_rubric_params.rbi +4 -49
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_unknown_error.rbi +4 -39
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_url_document_source.rbi +5 -52
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_url_image_source.rbi +5 -52
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_custom_tool_result_event.rbi +6 -41
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_custom_tool_result_event_params.rbi +6 -41
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_define_outcome_event.rbi +4 -39
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_define_outcome_event_params.rbi +6 -41
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_interrupt_event.rbi +6 -41
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_interrupt_event_params.rbi +7 -46
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_message_event.rbi +6 -41
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_message_event_params.rbi +4 -39
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_tool_confirmation_event.rbi +6 -41
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_tool_confirmation_event_params.rbi +6 -41
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_tool_result_event_params.rbi +6 -41
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_credential.rbi +6 -41
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_credential_validation.rbi +6 -41
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_deleted_credential.rbi +4 -51
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_auth_response.rbi +4 -39
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_create_params.rbi +6 -41
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_update_params.rbi +6 -41
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_limited_credential_networking_params.rbi +6 -47
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_limited_credential_networking_response.rbi +6 -47
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_auth_response.rbi +6 -41
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_create_params.rbi +6 -41
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_update_params.rbi +6 -41
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_static_bearer_auth_response.rbi +6 -49
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_static_bearer_create_params.rbi +6 -47
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_static_bearer_update_params.rbi +7 -50
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_basic_param.rbi +6 -49
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_basic_response.rbi +4 -49
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_basic_update_param.rbi +7 -48
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_none_param.rbi +4 -49
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_none_response.rbi +4 -49
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_post_param.rbi +6 -49
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_post_response.rbi +4 -49
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_post_update_param.rbi +7 -48
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_unrestricted_credential_networking_params.rbi +4 -49
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_unrestricted_credential_networking_response.rbi +4 -49
- data/rbi/anthropic/models/message_content_param.rbi +28 -0
- data/rbi/anthropic/models/message_count_tokens_params.rbi +29 -7
- data/rbi/anthropic/models/message_create_params.rbi +29 -76
- data/rbi/anthropic/models/message_param.rbi +28 -52
- data/rbi/anthropic/models/messages/batch_create_params.rbi +32 -79
- data/rbi/anthropic/models/model_list_params.rbi +0 -19
- data/rbi/anthropic/models/model_retrieve_params.rbi +0 -19
- data/rbi/anthropic/models/organization/api_key.rbi +2 -3
- data/rbi/anthropic/models/organization/api_key_workspace_scope.rbi +4 -6
- data/rbi/anthropic/models/organization/organization_rate_limit.rbi +5 -8
- data/rbi/anthropic/models/organization/workspaces/workspace_rate_limit.rbi +5 -8
- data/rbi/anthropic/models/system_message_param.rbi +59 -0
- data/rbi/anthropic/models/user_message_param.rbi +35 -0
- data/rbi/anthropic/models.rbi +8 -4
- data/rbi/anthropic/resources/beta/messages.rbi +46 -124
- data/rbi/anthropic/resources/beta/organization/spend_limits.rbi +12 -4
- data/rbi/anthropic/resources/beta/organization/webhooks.rbi +248 -0
- data/rbi/anthropic/resources/beta/organization.rbi +3 -0
- data/rbi/anthropic/resources/beta/sessions/resources.rbi +3 -4
- data/rbi/anthropic/resources/messages.rbi +36 -93
- data/rbi/anthropic/resources/models.rbi +0 -6
- data/sig/anthropic/client.rbs +2 -2
- data/sig/anthropic/helpers/bedrock/client.rbs +0 -4
- data/sig/anthropic/helpers/google_cloud/client.rbs +0 -2
- data/sig/anthropic/helpers/vertex/client.rbs +0 -2
- data/sig/anthropic/internal/tracing.rbs +6 -1
- data/sig/anthropic/models/anthropic_beta.rbs +2 -0
- data/sig/anthropic/models/assistant_message_param.rbs +22 -0
- data/sig/anthropic/models/beta/beta_assistant_message_param.rbs +29 -0
- data/sig/anthropic/models/beta/beta_dream.rbs +5 -15
- data/sig/anthropic/models/beta/beta_dream_memory_store_input.rbs +4 -23
- data/sig/anthropic/models/beta/beta_dream_memory_store_output.rbs +4 -23
- data/sig/anthropic/models/beta/beta_dream_output.rbs +4 -24
- data/sig/anthropic/models/beta/beta_dream_sessions_input.rbs +4 -23
- data/sig/anthropic/models/beta/beta_environment_delete_response.rbs +4 -23
- data/sig/anthropic/models/beta/beta_managed_agents_advisor.rbs +4 -24
- data/sig/anthropic/models/beta/beta_managed_agents_advisor_params.rbs +4 -23
- data/sig/anthropic/models/beta/beta_managed_agents_agent.rbs +5 -15
- data/sig/anthropic/models/beta/beta_managed_agents_agent_archived_deployment_paused_reason_error.rbs +4 -20
- data/sig/anthropic/models/beta/beta_managed_agents_agent_archived_run_error.rbs +4 -23
- data/sig/anthropic/models/beta/beta_managed_agents_agent_message_preview.rbs +4 -23
- data/sig/anthropic/models/beta/beta_managed_agents_agent_params.rbs +4 -26
- data/sig/anthropic/models/beta/beta_managed_agents_agent_reference.rbs +4 -26
- data/sig/anthropic/models/beta/beta_managed_agents_agent_thinking_preview.rbs +4 -23
- data/sig/anthropic/models/beta/beta_managed_agents_agent_toolset20260401.rbs +4 -14
- data/sig/anthropic/models/beta/beta_managed_agents_agent_toolset20260401_params.rbs +5 -15
- data/sig/anthropic/models/beta/beta_managed_agents_agent_with_overrides_params.rbs +5 -15
- data/sig/anthropic/models/beta/beta_managed_agents_always_allow_policy.rbs +4 -21
- data/sig/anthropic/models/beta/beta_managed_agents_always_ask_policy.rbs +4 -21
- data/sig/anthropic/models/beta/beta_managed_agents_anthropic_skill.rbs +5 -23
- data/sig/anthropic/models/beta/beta_managed_agents_anthropic_skill_params.rbs +5 -23
- data/sig/anthropic/models/beta/beta_managed_agents_branch_checkout.rbs +4 -24
- data/sig/anthropic/models/beta/beta_managed_agents_budget_limit.rbs +4 -17
- data/sig/anthropic/models/beta/beta_managed_agents_commit_checkout.rbs +4 -24
- data/sig/anthropic/models/beta/beta_managed_agents_cron_schedule.rbs +5 -15
- data/sig/anthropic/models/beta/beta_managed_agents_cron_schedule_params.rbs +4 -22
- data/sig/anthropic/models/beta/beta_managed_agents_custom_skill.rbs +5 -23
- data/sig/anthropic/models/beta/beta_managed_agents_custom_skill_params.rbs +5 -23
- data/sig/anthropic/models/beta/beta_managed_agents_custom_tool.rbs +4 -14
- data/sig/anthropic/models/beta/beta_managed_agents_custom_tool_params.rbs +4 -14
- data/sig/anthropic/models/beta/beta_managed_agents_deleted_memory_store.rbs +4 -23
- data/sig/anthropic/models/beta/beta_managed_agents_deleted_session.rbs +4 -23
- data/sig/anthropic/models/beta/beta_managed_agents_deleted_vault.rbs +4 -23
- data/sig/anthropic/models/beta/beta_managed_agents_delta_content.rbs +5 -15
- data/sig/anthropic/models/beta/beta_managed_agents_delta_event.rbs +4 -14
- data/sig/anthropic/models/beta/beta_managed_agents_deployment.rbs +5 -15
- data/sig/anthropic/models/beta/beta_managed_agents_deployment_run.rbs +4 -14
- data/sig/anthropic/models/beta/beta_managed_agents_deployment_system_message_event.rbs +4 -14
- data/sig/anthropic/models/beta/beta_managed_agents_deployment_user_define_outcome_event.rbs +5 -15
- data/sig/anthropic/models/beta/beta_managed_agents_deployment_user_message_event.rbs +4 -14
- data/sig/anthropic/models/beta/beta_managed_agents_effort_high.rbs +4 -19
- data/sig/anthropic/models/beta/beta_managed_agents_effort_low.rbs +4 -19
- data/sig/anthropic/models/beta/beta_managed_agents_effort_max.rbs +4 -19
- data/sig/anthropic/models/beta/beta_managed_agents_effort_medium.rbs +4 -19
- data/sig/anthropic/models/beta/beta_managed_agents_effort_xhigh.rbs +4 -19
- data/sig/anthropic/models/beta/beta_managed_agents_environment_archived_deployment_paused_reason_error.rbs +4 -20
- data/sig/anthropic/models/beta/beta_managed_agents_environment_archived_run_error.rbs +4 -20
- data/sig/anthropic/models/beta/beta_managed_agents_environment_not_found_deployment_paused_reason_error.rbs +4 -20
- data/sig/anthropic/models/beta/beta_managed_agents_environment_not_found_run_error.rbs +4 -20
- data/sig/anthropic/models/beta/beta_managed_agents_error_deployment_paused_reason.rbs +4 -14
- data/sig/anthropic/models/beta/beta_managed_agents_file_not_found_deployment_paused_reason_error.rbs +4 -20
- data/sig/anthropic/models/beta/beta_managed_agents_file_not_found_run_error.rbs +4 -23
- data/sig/anthropic/models/beta/beta_managed_agents_file_resource_config.rbs +5 -23
- data/sig/anthropic/models/beta/beta_managed_agents_file_resource_params.rbs +5 -23
- data/sig/anthropic/models/beta/beta_managed_agents_github_repository_resource_config.rbs +5 -15
- data/sig/anthropic/models/beta/beta_managed_agents_github_repository_resource_params.rbs +5 -15
- data/sig/anthropic/models/beta/beta_managed_agents_manual_deployment_paused_reason.rbs +4 -20
- data/sig/anthropic/models/beta/beta_managed_agents_manual_trigger_context.rbs +4 -21
- data/sig/anthropic/models/beta/beta_managed_agents_mcp_egress_blocked_deployment_paused_reason_error.rbs +4 -20
- data/sig/anthropic/models/beta/beta_managed_agents_mcp_egress_blocked_run_error.rbs +4 -20
- data/sig/anthropic/models/beta/beta_managed_agents_mcp_server_url_definition.rbs +4 -26
- data/sig/anthropic/models/beta/beta_managed_agents_mcp_toolset.rbs +4 -14
- data/sig/anthropic/models/beta/beta_managed_agents_mcp_toolset_params.rbs +5 -15
- data/sig/anthropic/models/beta/beta_managed_agents_memory_store.rbs +5 -15
- data/sig/anthropic/models/beta/beta_managed_agents_memory_store_archived_deployment_paused_reason_error.rbs +4 -20
- data/sig/anthropic/models/beta/beta_managed_agents_memory_store_archived_run_error.rbs +4 -20
- data/sig/anthropic/models/beta/beta_managed_agents_memory_store_resource_config.rbs +5 -15
- data/sig/anthropic/models/beta/beta_managed_agents_memory_store_resource_param.rbs +5 -15
- data/sig/anthropic/models/beta/beta_managed_agents_multiagent_coordinator.rbs +4 -14
- data/sig/anthropic/models/beta/beta_managed_agents_multiagent_coordinator_params.rbs +4 -14
- data/sig/anthropic/models/beta/beta_managed_agents_multiagent_self_params.rbs +4 -21
- data/sig/anthropic/models/beta/beta_managed_agents_organization_disabled_deployment_paused_reason_error.rbs +4 -20
- data/sig/anthropic/models/beta/beta_managed_agents_organization_disabled_run_error.rbs +4 -20
- data/sig/anthropic/models/beta/beta_managed_agents_outcome_evaluation_resource.rbs +4 -14
- data/sig/anthropic/models/beta/beta_managed_agents_schedule.rbs +5 -15
- data/sig/anthropic/models/beta/beta_managed_agents_schedule_params.rbs +4 -22
- data/sig/anthropic/models/beta/beta_managed_agents_schedule_trigger_context.rbs +4 -23
- data/sig/anthropic/models/beta/beta_managed_agents_self_hosted_resources_unsupported_deployment_paused_reason_error.rbs +4 -18
- data/sig/anthropic/models/beta/beta_managed_agents_self_hosted_resources_unsupported_run_error.rbs +4 -17
- data/sig/anthropic/models/beta/beta_managed_agents_session.rbs +5 -15
- data/sig/anthropic/models/beta/beta_managed_agents_session_agent.rbs +5 -15
- data/sig/anthropic/models/beta/beta_managed_agents_session_creation_rejected_run_error.rbs +4 -17
- data/sig/anthropic/models/beta/beta_managed_agents_session_multiagent_coordinator.rbs +4 -14
- data/sig/anthropic/models/beta/beta_managed_agents_session_rate_limited_run_error.rbs +4 -20
- data/sig/anthropic/models/beta/beta_managed_agents_session_resource_not_found_deployment_paused_reason_error.rbs +4 -20
- data/sig/anthropic/models/beta/beta_managed_agents_session_resource_not_found_run_error.rbs +4 -17
- data/sig/anthropic/models/beta/beta_managed_agents_session_thread_agent.rbs +5 -15
- data/sig/anthropic/models/beta/beta_managed_agents_session_updated_event.rbs +5 -15
- data/sig/anthropic/models/beta/beta_managed_agents_session_usage_event.rbs +5 -15
- data/sig/anthropic/models/beta/beta_managed_agents_skill_not_found_deployment_paused_reason_error.rbs +4 -20
- data/sig/anthropic/models/beta/beta_managed_agents_skill_not_found_run_error.rbs +4 -23
- data/sig/anthropic/models/beta/beta_managed_agents_start_event.rbs +4 -14
- data/sig/anthropic/models/beta/beta_managed_agents_system_content_block.rbs +4 -23
- data/sig/anthropic/models/beta/beta_managed_agents_system_message_event.rbs +5 -15
- data/sig/anthropic/models/beta/beta_managed_agents_unknown_deployment_paused_reason_error.rbs +4 -20
- data/sig/anthropic/models/beta/beta_managed_agents_unknown_run_error.rbs +4 -23
- data/sig/anthropic/models/beta/beta_managed_agents_url_mcp_server_params.rbs +4 -26
- data/sig/anthropic/models/beta/beta_managed_agents_user_tool_result_event.rbs +5 -15
- data/sig/anthropic/models/beta/beta_managed_agents_vault.rbs +5 -15
- data/sig/anthropic/models/beta/beta_managed_agents_vault_archived_deployment_paused_reason_error.rbs +4 -20
- data/sig/anthropic/models/beta/beta_managed_agents_vault_archived_run_error.rbs +4 -23
- data/sig/anthropic/models/beta/beta_managed_agents_vault_not_found_deployment_paused_reason_error.rbs +4 -20
- data/sig/anthropic/models/beta/beta_managed_agents_vault_not_found_run_error.rbs +4 -23
- data/sig/anthropic/models/beta/beta_managed_agents_workspace_archived_deployment_paused_reason_error.rbs +4 -20
- data/sig/anthropic/models/beta/beta_managed_agents_workspace_archived_run_error.rbs +4 -20
- data/sig/anthropic/models/beta/beta_message_content_param.rbs +18 -0
- data/sig/anthropic/models/beta/beta_message_param.rbs +30 -50
- data/sig/anthropic/models/beta/beta_output_behavior_create_new.rbs +4 -19
- data/sig/anthropic/models/beta/beta_output_behavior_update_existing.rbs +4 -20
- data/sig/anthropic/models/beta/beta_system_message_param.rbs +116 -0
- data/sig/anthropic/models/beta/beta_user_message_param.rbs +29 -0
- data/sig/anthropic/models/beta/beta_user_profile.rbs +5 -15
- data/sig/anthropic/models/beta/beta_user_profile_enrollment_url.rbs +5 -23
- data/sig/anthropic/models/beta/beta_webhook_event_data.rbs +23 -2
- data/sig/anthropic/models/beta/beta_webhook_user_profile_enforcement_action_opened_event_data.rbs +39 -0
- data/sig/anthropic/models/beta/beta_webhook_user_profile_enforcement_action_resolved_event_data.rbs +39 -0
- data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_api_actor.rbs +4 -23
- data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_conflict_error.rbs +4 -23
- data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_content_sha256_precondition.rbs +5 -21
- data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_deleted_memory.rbs +4 -23
- data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_memory.rbs +5 -15
- data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_memory_path_conflict_error.rbs +5 -15
- data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_memory_precondition_failed_error.rbs +5 -18
- data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_memory_prefix.rbs +4 -23
- data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_memory_version.rbs +5 -15
- data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_precondition.rbs +5 -21
- data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_session_actor.rbs +4 -23
- data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_user_actor.rbs +4 -23
- data/sig/anthropic/models/beta/message_count_tokens_params.rbs +4 -4
- data/sig/anthropic/models/beta/message_create_params.rbs +4 -25
- data/sig/anthropic/models/beta/messages/batch_create_params.rbs +7 -28
- data/sig/anthropic/models/beta/organization/beta_api_key.rbs +2 -7
- data/sig/anthropic/models/beta/organization/beta_deleted_organization_webhook_endpoint.rbs +20 -0
- data/sig/anthropic/models/beta/organization/beta_new_organization_webhook_endpoint.rbs +82 -0
- data/sig/anthropic/models/beta/organization/beta_organization_rate_limit.rbs +0 -26
- data/sig/anthropic/models/beta/organization/beta_organization_webhook_endpoint.rbs +77 -0
- data/sig/anthropic/models/beta/organization/beta_organization_webhook_endpoint_signing_secret.rbs +18 -0
- data/sig/anthropic/models/beta/organization/beta_organization_webhook_endpoint_state.rbs +18 -0
- data/sig/anthropic/models/beta/organization/beta_rbac_role.rbs +0 -5
- data/sig/anthropic/models/beta/organization/spend_limit_list_params.rbs +7 -0
- data/sig/anthropic/models/beta/organization/webhook_create_params.rbs +71 -0
- data/sig/anthropic/models/beta/organization/webhook_delete_params.rbs +39 -0
- data/sig/anthropic/models/beta/organization/webhook_list_params.rbs +67 -0
- data/sig/anthropic/models/beta/organization/webhook_regenerate_signing_secret_params.rbs +39 -0
- data/sig/anthropic/models/beta/organization/webhook_retrieve_params.rbs +39 -0
- data/sig/anthropic/models/beta/organization/webhook_update_params.rbs +102 -0
- data/sig/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit.rbs +0 -26
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_custom_tool_use_event.rbs +5 -15
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_mcp_tool_result_event.rbs +5 -15
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_mcp_tool_use_event.rbs +5 -15
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_message_event.rbs +4 -14
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_thinking_event.rbs +4 -18
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_context_compacted_event.rbs +4 -14
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_message_received_event.rbs +5 -15
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_message_sent_event.rbs +5 -15
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_result_event.rbs +5 -15
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_use_event.rbs +5 -15
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_base64_document_source.rbs +4 -22
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_base64_image_source.rbs +4 -22
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_billing_error.rbs +4 -14
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_credential_host_unreachable_error.rbs +5 -15
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_delete_session_resource.rbs +4 -23
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_document_block.rbs +7 -18
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_file_document_source.rbs +4 -23
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_file_image_source.rbs +4 -23
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_file_resource.rbs +5 -15
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_file_rubric.rbs +4 -24
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_file_rubric_params.rbs +4 -23
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_github_repository_resource.rbs +5 -15
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_image_block.rbs +4 -14
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_mcp_authentication_failed_error.rbs +4 -14
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_mcp_connection_failed_error.rbs +4 -14
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_memory_store_resource.rbs +5 -15
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_model_overloaded_error.rbs +4 -14
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_model_rate_limited_error.rbs +4 -14
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_model_request_failed_error.rbs +4 -14
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_plain_text_document_source.rbs +7 -31
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_redacted_block.rbs +4 -21
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_retry_status_exhausted.rbs +4 -21
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_retry_status_retrying.rbs +4 -21
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_retry_status_terminal.rbs +4 -21
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_search_result_block.rbs +4 -14
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_search_result_content.rbs +4 -23
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_budget_reached.rbs +4 -20
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_deleted_event.rbs +4 -18
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_end_turn.rbs +4 -21
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_error_event.rbs +4 -14
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_requires_action.rbs +4 -20
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_retries_exhausted.rbs +4 -20
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_status_idle_event.rbs +4 -14
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_status_rescheduled_event.rbs +4 -14
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_status_running_event.rbs +4 -18
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_status_terminated_event.rbs +4 -18
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_thread.rbs +5 -15
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_thread_created_event.rbs +5 -15
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_idle_event.rbs +4 -14
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_rescheduled_event.rbs +4 -14
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_running_event.rbs +4 -14
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_terminated_event.rbs +4 -14
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_span_model_request_end_event.rbs +4 -14
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_span_model_request_start_event.rbs +4 -18
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_span_outcome_evaluation_end_event.rbs +5 -15
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_span_outcome_evaluation_ongoing_event.rbs +4 -14
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_span_outcome_evaluation_start_event.rbs +4 -14
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_system_message_event_params.rbs +4 -14
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_text_block.rbs +4 -24
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_text_rubric.rbs +4 -24
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_text_rubric_params.rbs +4 -23
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_unknown_error.rbs +4 -14
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_url_document_source.rbs +4 -23
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_url_image_source.rbs +4 -24
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_custom_tool_result_event.rbs +5 -15
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_custom_tool_result_event_params.rbs +5 -15
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_define_outcome_event.rbs +4 -14
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_define_outcome_event_params.rbs +5 -15
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_interrupt_event.rbs +5 -15
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_interrupt_event_params.rbs +5 -18
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_message_event.rbs +5 -15
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_message_event_params.rbs +4 -14
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_tool_confirmation_event.rbs +5 -15
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_tool_confirmation_event_params.rbs +5 -15
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_tool_result_event_params.rbs +5 -15
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_credential.rbs +5 -15
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_credential_validation.rbs +5 -15
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_deleted_credential.rbs +4 -23
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_auth_response.rbs +4 -14
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_create_params.rbs +5 -15
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_update_params.rbs +5 -15
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_limited_credential_networking_params.rbs +4 -20
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_limited_credential_networking_response.rbs +4 -20
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_auth_response.rbs +5 -15
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_create_params.rbs +5 -15
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_update_params.rbs +5 -15
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_static_bearer_auth_response.rbs +4 -20
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_static_bearer_create_params.rbs +4 -18
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_static_bearer_update_params.rbs +4 -23
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_basic_param.rbs +4 -20
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_basic_response.rbs +4 -20
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_basic_update_param.rbs +5 -21
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_none_param.rbs +4 -20
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_none_response.rbs +4 -20
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_post_param.rbs +4 -20
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_post_response.rbs +4 -20
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_post_update_param.rbs +5 -21
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_unrestricted_credential_networking_params.rbs +4 -20
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_unrestricted_credential_networking_response.rbs +4 -20
- data/sig/anthropic/models/message_content_param.rbs +14 -0
- data/sig/anthropic/models/message_count_tokens_params.rbs +4 -4
- data/sig/anthropic/models/message_create_params.rbs +4 -25
- data/sig/anthropic/models/message_param.rbs +26 -28
- data/sig/anthropic/models/messages/batch_create_params.rbs +7 -28
- data/sig/anthropic/models/model_list_params.rbs +0 -9
- data/sig/anthropic/models/model_retrieve_params.rbs +1 -13
- data/sig/anthropic/models/system_message_param.rbs +32 -0
- data/sig/anthropic/models/user_message_param.rbs +22 -0
- data/sig/anthropic/models.rbs +9 -5
- data/sig/anthropic/resources/beta/messages.rbs +4 -13
- data/sig/anthropic/resources/beta/organization/spend_limits.rbs +1 -0
- data/sig/anthropic/resources/beta/organization/webhooks.rbs +58 -0
- data/sig/anthropic/resources/beta/organization.rbs +2 -0
- data/sig/anthropic/resources/beta/sessions/resources.rbs +1 -1
- data/sig/anthropic/resources/messages.rbs +4 -13
- data/sig/anthropic/resources/models.rbs +0 -2
- metadata +70 -12
- data/lib/anthropic/models/completion.rb +0 -67
- data/lib/anthropic/models/completion_create_params.rb +0 -159
- data/lib/anthropic/resources/completions.rb +0 -149
- data/rbi/anthropic/models/completion.rbi +0 -95
- data/rbi/anthropic/models/completion_create_params.rbi +0 -236
- data/rbi/anthropic/resources/completions.rbi +0 -218
- data/sig/anthropic/models/completion.rbs +0 -40
- data/sig/anthropic/models/completion_create_params.rbs +0 -87
- data/sig/anthropic/resources/completions.rbs +0 -35
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
module Organization
|
|
7
|
+
# @see Anthropic::Resources::Beta::Organization::Webhooks#create
|
|
8
|
+
class WebhookCreateParams < Anthropic::Internal::Type::BaseModel
|
|
9
|
+
extend Anthropic::Internal::Type::RequestParameters::Converter
|
|
10
|
+
include Anthropic::Internal::Type::RequestParameters
|
|
11
|
+
|
|
12
|
+
# @!attribute enabled_events
|
|
13
|
+
# The event types to deliver to the endpoint. Must list at least one.
|
|
14
|
+
#
|
|
15
|
+
# @return [Array<Symbol, Anthropic::Models::Beta::Organization::WebhookCreateParams::EnabledEvent>]
|
|
16
|
+
required :enabled_events,
|
|
17
|
+
-> { Anthropic::Internal::Type::ArrayOf[enum: Anthropic::Beta::Organization::WebhookCreateParams::EnabledEvent] }
|
|
18
|
+
|
|
19
|
+
# @!attribute url
|
|
20
|
+
# The HTTPS URL that deliveries are sent to.
|
|
21
|
+
#
|
|
22
|
+
# @return [String]
|
|
23
|
+
required :url, String
|
|
24
|
+
|
|
25
|
+
# @!attribute description
|
|
26
|
+
# Notes about the endpoint.
|
|
27
|
+
#
|
|
28
|
+
# @return [String, nil]
|
|
29
|
+
optional :description, String
|
|
30
|
+
|
|
31
|
+
# @!attribute name
|
|
32
|
+
# A short label for the endpoint.
|
|
33
|
+
#
|
|
34
|
+
# @return [String, nil]
|
|
35
|
+
optional :name, String
|
|
36
|
+
|
|
37
|
+
# @!attribute betas
|
|
38
|
+
# This endpoint is in beta: requests must send `webhooks-2026-10-07` in this
|
|
39
|
+
# header.
|
|
40
|
+
#
|
|
41
|
+
# @return [Array<Symbol, String, Anthropic::Models::AnthropicBeta>, nil]
|
|
42
|
+
optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }
|
|
43
|
+
|
|
44
|
+
# @!method initialize(enabled_events:, url:, description: nil, name: nil, betas: nil, request_options: {})
|
|
45
|
+
# Some parameter documentations has been truncated, see
|
|
46
|
+
# {Anthropic::Models::Beta::Organization::WebhookCreateParams} for more details.
|
|
47
|
+
#
|
|
48
|
+
# @param enabled_events [Array<Symbol, Anthropic::Models::Beta::Organization::WebhookCreateParams::EnabledEvent>] The event types to deliver to the endpoint. Must list at least one.
|
|
49
|
+
#
|
|
50
|
+
# @param url [String] The HTTPS URL that deliveries are sent to.
|
|
51
|
+
#
|
|
52
|
+
# @param description [String] Notes about the endpoint.
|
|
53
|
+
#
|
|
54
|
+
# @param name [String] A short label for the endpoint.
|
|
55
|
+
#
|
|
56
|
+
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] This endpoint is in beta: requests must send `webhooks-2026-10-07` in this heade
|
|
57
|
+
#
|
|
58
|
+
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}]
|
|
59
|
+
|
|
60
|
+
module EnabledEvent
|
|
61
|
+
extend Anthropic::Internal::Type::Enum
|
|
62
|
+
|
|
63
|
+
USER_PROFILE_ENFORCEMENT_ACTION_OPENED = :"user_profile.enforcement_action_opened"
|
|
64
|
+
USER_PROFILE_ENFORCEMENT_ACTION_RESOLVED = :"user_profile.enforcement_action_resolved"
|
|
65
|
+
|
|
66
|
+
# @!method self.values
|
|
67
|
+
# @return [Array<Symbol>]
|
|
68
|
+
end
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
end
|
|
72
|
+
end
|
|
73
|
+
end
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
module Organization
|
|
7
|
+
# @see Anthropic::Resources::Beta::Organization::Webhooks#delete
|
|
8
|
+
class WebhookDeleteParams < Anthropic::Internal::Type::BaseModel
|
|
9
|
+
extend Anthropic::Internal::Type::RequestParameters::Converter
|
|
10
|
+
include Anthropic::Internal::Type::RequestParameters
|
|
11
|
+
|
|
12
|
+
# @!attribute webhook_endpoint_id
|
|
13
|
+
# ID of the webhook endpoint.
|
|
14
|
+
#
|
|
15
|
+
# @return [String]
|
|
16
|
+
required :webhook_endpoint_id, String
|
|
17
|
+
|
|
18
|
+
# @!attribute betas
|
|
19
|
+
# This endpoint is in beta: requests must send `webhooks-2026-10-07` in this
|
|
20
|
+
# header.
|
|
21
|
+
#
|
|
22
|
+
# @return [Array<Symbol, String, Anthropic::Models::AnthropicBeta>, nil]
|
|
23
|
+
optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }
|
|
24
|
+
|
|
25
|
+
# @!method initialize(webhook_endpoint_id:, betas: nil, request_options: {})
|
|
26
|
+
# Some parameter documentations has been truncated, see
|
|
27
|
+
# {Anthropic::Models::Beta::Organization::WebhookDeleteParams} for more details.
|
|
28
|
+
#
|
|
29
|
+
# @param webhook_endpoint_id [String] ID of the webhook endpoint.
|
|
30
|
+
#
|
|
31
|
+
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] This endpoint is in beta: requests must send `webhooks-2026-10-07` in this heade
|
|
32
|
+
#
|
|
33
|
+
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}]
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
module Organization
|
|
7
|
+
# @see Anthropic::Resources::Beta::Organization::Webhooks#list
|
|
8
|
+
class WebhookListParams < Anthropic::Internal::Type::BaseModel
|
|
9
|
+
extend Anthropic::Internal::Type::RequestParameters::Converter
|
|
10
|
+
include Anthropic::Internal::Type::RequestParameters
|
|
11
|
+
|
|
12
|
+
# @!attribute after_id
|
|
13
|
+
# ID of the object to use as a cursor for pagination. When provided, returns the
|
|
14
|
+
# page of results immediately after this object.
|
|
15
|
+
#
|
|
16
|
+
# @return [String, nil]
|
|
17
|
+
optional :after_id, String, nil?: true
|
|
18
|
+
|
|
19
|
+
# @!attribute before_id
|
|
20
|
+
# ID of a webhook endpoint to use as a cursor. Returns the first `limit` endpoints
|
|
21
|
+
# that come before it in list order, not the `limit` endpoints just before it.
|
|
22
|
+
#
|
|
23
|
+
# @return [String, nil]
|
|
24
|
+
optional :before_id, String, nil?: true
|
|
25
|
+
|
|
26
|
+
# @!attribute limit
|
|
27
|
+
# Number of items to return per page, up to `100`. The default, `0`, means `20`.
|
|
28
|
+
#
|
|
29
|
+
# @return [Integer, nil]
|
|
30
|
+
optional :limit, Integer
|
|
31
|
+
|
|
32
|
+
# @!attribute order
|
|
33
|
+
# Sort order by `created_at`. Defaults to `desc`, newest first.
|
|
34
|
+
#
|
|
35
|
+
# @return [Symbol, Anthropic::Models::Beta::Organization::WebhookListParams::Order, nil]
|
|
36
|
+
optional :order, enum: -> { Anthropic::Beta::Organization::WebhookListParams::Order }, nil?: true
|
|
37
|
+
|
|
38
|
+
# @!attribute betas
|
|
39
|
+
# This endpoint is in beta: requests must send `webhooks-2026-10-07` in this
|
|
40
|
+
# header.
|
|
41
|
+
#
|
|
42
|
+
# @return [Array<Symbol, String, Anthropic::Models::AnthropicBeta>, nil]
|
|
43
|
+
optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }
|
|
44
|
+
|
|
45
|
+
# @!method initialize(after_id: nil, before_id: nil, limit: nil, order: nil, betas: nil, request_options: {})
|
|
46
|
+
# Some parameter documentations has been truncated, see
|
|
47
|
+
# {Anthropic::Models::Beta::Organization::WebhookListParams} for more details.
|
|
48
|
+
#
|
|
49
|
+
# @param after_id [String, nil] ID of the object to use as a cursor for pagination. When provided, returns the p
|
|
50
|
+
#
|
|
51
|
+
# @param before_id [String, nil] ID of a webhook endpoint to use as a cursor. Returns the first `limit` endpoints
|
|
52
|
+
#
|
|
53
|
+
# @param limit [Integer] Number of items to return per page, up to `100`. The default, `0`, means `20`.
|
|
54
|
+
#
|
|
55
|
+
# @param order [Symbol, Anthropic::Models::Beta::Organization::WebhookListParams::Order, nil] Sort order by `created_at`. Defaults to `desc`, newest first.
|
|
56
|
+
#
|
|
57
|
+
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] This endpoint is in beta: requests must send `webhooks-2026-10-07` in this heade
|
|
58
|
+
#
|
|
59
|
+
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}]
|
|
60
|
+
|
|
61
|
+
# Sort order by `created_at`. Defaults to `desc`, newest first.
|
|
62
|
+
module Order
|
|
63
|
+
extend Anthropic::Internal::Type::Enum
|
|
64
|
+
|
|
65
|
+
ASC = :asc
|
|
66
|
+
DESC = :desc
|
|
67
|
+
|
|
68
|
+
# @!method self.values
|
|
69
|
+
# @return [Array<Symbol>]
|
|
70
|
+
end
|
|
71
|
+
end
|
|
72
|
+
end
|
|
73
|
+
end
|
|
74
|
+
end
|
|
75
|
+
end
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
module Organization
|
|
7
|
+
# @see Anthropic::Resources::Beta::Organization::Webhooks#regenerate_signing_secret
|
|
8
|
+
class WebhookRegenerateSigningSecretParams < Anthropic::Internal::Type::BaseModel
|
|
9
|
+
extend Anthropic::Internal::Type::RequestParameters::Converter
|
|
10
|
+
include Anthropic::Internal::Type::RequestParameters
|
|
11
|
+
|
|
12
|
+
# @!attribute webhook_endpoint_id
|
|
13
|
+
# ID of the webhook endpoint.
|
|
14
|
+
#
|
|
15
|
+
# @return [String]
|
|
16
|
+
required :webhook_endpoint_id, String
|
|
17
|
+
|
|
18
|
+
# @!attribute betas
|
|
19
|
+
# This endpoint is in beta: requests must send `webhooks-2026-10-07` in this
|
|
20
|
+
# header.
|
|
21
|
+
#
|
|
22
|
+
# @return [Array<Symbol, String, Anthropic::Models::AnthropicBeta>, nil]
|
|
23
|
+
optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }
|
|
24
|
+
|
|
25
|
+
# @!method initialize(webhook_endpoint_id:, betas: nil, request_options: {})
|
|
26
|
+
# Some parameter documentations has been truncated, see
|
|
27
|
+
# {Anthropic::Models::Beta::Organization::WebhookRegenerateSigningSecretParams}
|
|
28
|
+
# for more details.
|
|
29
|
+
#
|
|
30
|
+
# @param webhook_endpoint_id [String] ID of the webhook endpoint.
|
|
31
|
+
#
|
|
32
|
+
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] This endpoint is in beta: requests must send `webhooks-2026-10-07` in this heade
|
|
33
|
+
#
|
|
34
|
+
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}]
|
|
35
|
+
end
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
module Organization
|
|
7
|
+
# @see Anthropic::Resources::Beta::Organization::Webhooks#retrieve
|
|
8
|
+
class WebhookRetrieveParams < Anthropic::Internal::Type::BaseModel
|
|
9
|
+
extend Anthropic::Internal::Type::RequestParameters::Converter
|
|
10
|
+
include Anthropic::Internal::Type::RequestParameters
|
|
11
|
+
|
|
12
|
+
# @!attribute webhook_endpoint_id
|
|
13
|
+
# ID of the webhook endpoint.
|
|
14
|
+
#
|
|
15
|
+
# @return [String]
|
|
16
|
+
required :webhook_endpoint_id, String
|
|
17
|
+
|
|
18
|
+
# @!attribute betas
|
|
19
|
+
# This endpoint is in beta: requests must send `webhooks-2026-10-07` in this
|
|
20
|
+
# header.
|
|
21
|
+
#
|
|
22
|
+
# @return [Array<Symbol, String, Anthropic::Models::AnthropicBeta>, nil]
|
|
23
|
+
optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }
|
|
24
|
+
|
|
25
|
+
# @!method initialize(webhook_endpoint_id:, betas: nil, request_options: {})
|
|
26
|
+
# Some parameter documentations has been truncated, see
|
|
27
|
+
# {Anthropic::Models::Beta::Organization::WebhookRetrieveParams} for more details.
|
|
28
|
+
#
|
|
29
|
+
# @param webhook_endpoint_id [String] ID of the webhook endpoint.
|
|
30
|
+
#
|
|
31
|
+
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] This endpoint is in beta: requests must send `webhooks-2026-10-07` in this heade
|
|
32
|
+
#
|
|
33
|
+
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}]
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
module Organization
|
|
7
|
+
# @see Anthropic::Resources::Beta::Organization::Webhooks#update
|
|
8
|
+
class WebhookUpdateParams < Anthropic::Internal::Type::BaseModel
|
|
9
|
+
extend Anthropic::Internal::Type::RequestParameters::Converter
|
|
10
|
+
include Anthropic::Internal::Type::RequestParameters
|
|
11
|
+
|
|
12
|
+
# @!attribute webhook_endpoint_id
|
|
13
|
+
# ID of the webhook endpoint.
|
|
14
|
+
#
|
|
15
|
+
# @return [String]
|
|
16
|
+
required :webhook_endpoint_id, String
|
|
17
|
+
|
|
18
|
+
# @!attribute description
|
|
19
|
+
# Notes about the endpoint.
|
|
20
|
+
#
|
|
21
|
+
# @return [String, nil]
|
|
22
|
+
optional :description, String
|
|
23
|
+
|
|
24
|
+
# @!attribute enabled_events
|
|
25
|
+
# The event types to deliver to the endpoint. Replaces the whole set; an empty
|
|
26
|
+
# list leaves it unchanged.
|
|
27
|
+
#
|
|
28
|
+
# @return [Array<Symbol, Anthropic::Models::Beta::Organization::WebhookUpdateParams::EnabledEvent>, nil]
|
|
29
|
+
optional :enabled_events,
|
|
30
|
+
-> { Anthropic::Internal::Type::ArrayOf[enum: Anthropic::Beta::Organization::WebhookUpdateParams::EnabledEvent] }
|
|
31
|
+
|
|
32
|
+
# @!attribute name
|
|
33
|
+
# A short label for the endpoint.
|
|
34
|
+
#
|
|
35
|
+
# @return [String, nil]
|
|
36
|
+
optional :name, String
|
|
37
|
+
|
|
38
|
+
# @!attribute state
|
|
39
|
+
# `disabled` stops deliveries. `enabled` resumes them and clears
|
|
40
|
+
# `disabled_reason`. Events that happen while the endpoint is disabled are never
|
|
41
|
+
# delivered.
|
|
42
|
+
#
|
|
43
|
+
# @return [Symbol, Anthropic::Models::Beta::Organization::WebhookUpdateParams::State, nil]
|
|
44
|
+
optional :state, enum: -> { Anthropic::Beta::Organization::WebhookUpdateParams::State }
|
|
45
|
+
|
|
46
|
+
# @!attribute url
|
|
47
|
+
# The HTTPS URL that deliveries are sent to.
|
|
48
|
+
#
|
|
49
|
+
# @return [String, nil]
|
|
50
|
+
optional :url, String
|
|
51
|
+
|
|
52
|
+
# @!attribute betas
|
|
53
|
+
# This endpoint is in beta: requests must send `webhooks-2026-10-07` in this
|
|
54
|
+
# header.
|
|
55
|
+
#
|
|
56
|
+
# @return [Array<Symbol, String, Anthropic::Models::AnthropicBeta>, nil]
|
|
57
|
+
optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }
|
|
58
|
+
|
|
59
|
+
# @!method initialize(webhook_endpoint_id:, description: nil, enabled_events: nil, name: nil, state: nil, url: nil, betas: nil, request_options: {})
|
|
60
|
+
# Some parameter documentations has been truncated, see
|
|
61
|
+
# {Anthropic::Models::Beta::Organization::WebhookUpdateParams} for more details.
|
|
62
|
+
#
|
|
63
|
+
# @param webhook_endpoint_id [String] ID of the webhook endpoint.
|
|
64
|
+
#
|
|
65
|
+
# @param description [String] Notes about the endpoint.
|
|
66
|
+
#
|
|
67
|
+
# @param enabled_events [Array<Symbol, Anthropic::Models::Beta::Organization::WebhookUpdateParams::EnabledEvent>] The event types to deliver to the endpoint. Replaces the whole set; an empty lis
|
|
68
|
+
#
|
|
69
|
+
# @param name [String] A short label for the endpoint.
|
|
70
|
+
#
|
|
71
|
+
# @param state [Symbol, Anthropic::Models::Beta::Organization::WebhookUpdateParams::State] `disabled` stops deliveries. `enabled` resumes them and clears `disabled_reason`
|
|
72
|
+
#
|
|
73
|
+
# @param url [String] The HTTPS URL that deliveries are sent to.
|
|
74
|
+
#
|
|
75
|
+
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] This endpoint is in beta: requests must send `webhooks-2026-10-07` in this heade
|
|
76
|
+
#
|
|
77
|
+
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}]
|
|
78
|
+
|
|
79
|
+
module EnabledEvent
|
|
80
|
+
extend Anthropic::Internal::Type::Enum
|
|
81
|
+
|
|
82
|
+
USER_PROFILE_ENFORCEMENT_ACTION_OPENED = :"user_profile.enforcement_action_opened"
|
|
83
|
+
USER_PROFILE_ENFORCEMENT_ACTION_RESOLVED = :"user_profile.enforcement_action_resolved"
|
|
84
|
+
|
|
85
|
+
# @!method self.values
|
|
86
|
+
# @return [Array<Symbol>]
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
# `disabled` stops deliveries. `enabled` resumes them and clears
|
|
90
|
+
# `disabled_reason`. Events that happen while the endpoint is disabled are never
|
|
91
|
+
# delivered.
|
|
92
|
+
module State
|
|
93
|
+
extend Anthropic::Internal::Type::Enum
|
|
94
|
+
|
|
95
|
+
DISABLED = :disabled
|
|
96
|
+
ENABLED = :enabled
|
|
97
|
+
|
|
98
|
+
# @!method self.values
|
|
99
|
+
# @return [Array<Symbol>]
|
|
100
|
+
end
|
|
101
|
+
end
|
|
102
|
+
end
|
|
103
|
+
end
|
|
104
|
+
end
|
|
105
|
+
end
|
|
@@ -8,25 +8,11 @@ module Anthropic
|
|
|
8
8
|
# @see Anthropic::Resources::Beta::Organization::Workspaces::RateLimits#update
|
|
9
9
|
class BetaWorkspaceRateLimit < Anthropic::Internal::Type::BaseModel
|
|
10
10
|
# @!attribute group
|
|
11
|
-
# The rate-limit group this entry's limits apply to.
|
|
12
|
-
# `group_type`.
|
|
11
|
+
# The rate-limit group this entry's limits apply to.
|
|
13
12
|
#
|
|
14
13
|
# @return [Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitModelGroup, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitBatchGroup, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitTokenCountGroup, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitFilesGroup, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitSkillsGroup, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitWebSearchGroup]
|
|
15
14
|
required :group, union: -> { Anthropic::Beta::Organization::Workspaces::BetaWorkspaceRateLimit::Group }
|
|
16
15
|
|
|
17
|
-
# @!attribute group_type
|
|
18
|
-
# @deprecated Use `group.type` instead. `group_type` is still returned and always equals
|
|
19
|
-
# `group.type`.
|
|
20
|
-
#
|
|
21
|
-
# Deprecated: use `group.type` instead. The kind of rate-limit group this entry
|
|
22
|
-
# represents. `model_group` entries apply to a family of models (listed in
|
|
23
|
-
# `models`); other values apply to an API-surface category and have `models` set
|
|
24
|
-
# to `null`. Always equal to `group.type`.
|
|
25
|
-
#
|
|
26
|
-
# @return [Symbol, Anthropic::Models::Beta::Organization::Workspaces::BetaWorkspaceRateLimit::GroupType]
|
|
27
|
-
required :group_type,
|
|
28
|
-
enum: -> { Anthropic::Beta::Organization::Workspaces::BetaWorkspaceRateLimit::GroupType }
|
|
29
|
-
|
|
30
16
|
# @!attribute limits
|
|
31
17
|
# The workspace's limiter values for this group. By default only the limiter types
|
|
32
18
|
# with a workspace-level override are listed. With `include_inherited` set to
|
|
@@ -39,7 +25,7 @@ module Anthropic
|
|
|
39
25
|
|
|
40
26
|
# @!attribute models
|
|
41
27
|
# Model names this entry's limits apply to, including aliases. `null` when
|
|
42
|
-
# `
|
|
28
|
+
# `group.type` is not `"model_group"`.
|
|
43
29
|
#
|
|
44
30
|
# @return [Array<String>, nil]
|
|
45
31
|
required :models, Anthropic::Internal::Type::ArrayOf[String], nil?: true
|
|
@@ -62,19 +48,16 @@ module Anthropic
|
|
|
62
48
|
# @return [String]
|
|
63
49
|
required :workspace_id, String
|
|
64
50
|
|
|
65
|
-
# @!method initialize(group:,
|
|
51
|
+
# @!method initialize(group:, limits:, models:, rate_limit_id:, workspace_id:, type: :workspace_rate_limit)
|
|
66
52
|
# Some parameter documentations has been truncated, see
|
|
67
53
|
# {Anthropic::Models::Beta::Organization::Workspaces::BetaWorkspaceRateLimit} for
|
|
68
54
|
# more details.
|
|
69
55
|
#
|
|
70
|
-
# @param group [Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitModelGroup, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitBatchGroup, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitTokenCountGroup, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitFilesGroup, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitSkillsGroup, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitWebSearchGroup] The rate-limit group this entry's limits apply to.
|
|
71
|
-
#
|
|
72
|
-
# @param group_type [Symbol, Anthropic::Models::Beta::Organization::Workspaces::BetaWorkspaceRateLimit::GroupType] Deprecated: use `group.type` instead. The kind of rate-limit group this entry re
|
|
56
|
+
# @param group [Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitModelGroup, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitBatchGroup, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitTokenCountGroup, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitFilesGroup, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitSkillsGroup, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitWebSearchGroup] The rate-limit group this entry's limits apply to.
|
|
73
57
|
#
|
|
74
58
|
# @param limits [Array<Anthropic::Models::Beta::Organization::Workspaces::BetaWorkspaceRateLimitValue>] The workspace's limiter values for this group. By default only the limiter types
|
|
75
59
|
#
|
|
76
|
-
# @param models [Array<String>, nil] Model names this entry's limits apply to, including aliases. `null` when
|
|
77
|
-
# `group\_
|
|
60
|
+
# @param models [Array<String>, nil] Model names this entry's limits apply to, including aliases. `null` when `group.
|
|
78
61
|
#
|
|
79
62
|
# @param rate_limit_id [String] The `id` of the organization's RateLimit entry this entry applies to.
|
|
80
63
|
#
|
|
@@ -82,8 +65,7 @@ module Anthropic
|
|
|
82
65
|
#
|
|
83
66
|
# @param type [Symbol, :workspace_rate_limit] Object type. Always `workspace_rate_limit` for workspace rate-limit entries.
|
|
84
67
|
|
|
85
|
-
# The rate-limit group this entry's limits apply to.
|
|
86
|
-
# `group_type`.
|
|
68
|
+
# The rate-limit group this entry's limits apply to.
|
|
87
69
|
#
|
|
88
70
|
# @see Anthropic::Models::Beta::Organization::Workspaces::BetaWorkspaceRateLimit#group
|
|
89
71
|
module Group
|
|
@@ -156,29 +138,6 @@ module Anthropic
|
|
|
156
138
|
end
|
|
157
139
|
end
|
|
158
140
|
end
|
|
159
|
-
|
|
160
|
-
# @deprecated Use `group.type` instead. `group_type` is still returned and always equals
|
|
161
|
-
# `group.type`.
|
|
162
|
-
#
|
|
163
|
-
# Deprecated: use `group.type` instead. The kind of rate-limit group this entry
|
|
164
|
-
# represents. `model_group` entries apply to a family of models (listed in
|
|
165
|
-
# `models`); other values apply to an API-surface category and have `models` set
|
|
166
|
-
# to `null`. Always equal to `group.type`.
|
|
167
|
-
#
|
|
168
|
-
# @see Anthropic::Models::Beta::Organization::Workspaces::BetaWorkspaceRateLimit#group_type
|
|
169
|
-
module GroupType
|
|
170
|
-
extend Anthropic::Internal::Type::Enum
|
|
171
|
-
|
|
172
|
-
BATCH = :batch
|
|
173
|
-
FILES = :files
|
|
174
|
-
MODEL_GROUP = :model_group
|
|
175
|
-
SKILLS = :skills
|
|
176
|
-
TOKEN_COUNT = :token_count
|
|
177
|
-
WEB_SEARCH = :web_search
|
|
178
|
-
|
|
179
|
-
# @!method self.values
|
|
180
|
-
# @return [Array<Symbol>]
|
|
181
|
-
end
|
|
182
141
|
end
|
|
183
142
|
end
|
|
184
143
|
end
|
|
@@ -172,9 +172,9 @@ module Anthropic
|
|
|
172
172
|
def self.new(type:, **args)
|
|
173
173
|
case type.to_sym
|
|
174
174
|
when :"user.message"
|
|
175
|
-
Anthropic::Beta::Sessions::BetaManagedAgentsUserMessageEventParams.new(
|
|
175
|
+
Anthropic::Beta::Sessions::BetaManagedAgentsUserMessageEventParams.new(**args)
|
|
176
176
|
when :"user.define_outcome"
|
|
177
|
-
Anthropic::Beta::Sessions::BetaManagedAgentsUserDefineOutcomeEventParams.new(
|
|
177
|
+
Anthropic::Beta::Sessions::BetaManagedAgentsUserDefineOutcomeEventParams.new(**args)
|
|
178
178
|
else
|
|
179
179
|
raise ArgumentError, "unknown type: #{type}"
|
|
180
180
|
end
|
|
@@ -242,11 +242,11 @@ module Anthropic
|
|
|
242
242
|
def self.new(type:, **args)
|
|
243
243
|
case type.to_sym
|
|
244
244
|
when :github_repository
|
|
245
|
-
Anthropic::Beta::BetaManagedAgentsGitHubRepositoryResourceParams.new(
|
|
245
|
+
Anthropic::Beta::BetaManagedAgentsGitHubRepositoryResourceParams.new(**args)
|
|
246
246
|
when :file
|
|
247
|
-
Anthropic::Beta::BetaManagedAgentsFileResourceParams.new(
|
|
247
|
+
Anthropic::Beta::BetaManagedAgentsFileResourceParams.new(**args)
|
|
248
248
|
when :memory_store
|
|
249
|
-
Anthropic::Beta::BetaManagedAgentsMemoryStoreResourceParam.new(
|
|
249
|
+
Anthropic::Beta::BetaManagedAgentsMemoryStoreResourceParam.new(**args)
|
|
250
250
|
else
|
|
251
251
|
raise ArgumentError, "unknown type: #{type}"
|
|
252
252
|
end
|
|
@@ -31,8 +31,8 @@ module Anthropic
|
|
|
31
31
|
|
|
32
32
|
# @!attribute type
|
|
33
33
|
#
|
|
34
|
-
# @return [Symbol,
|
|
35
|
-
required :type,
|
|
34
|
+
# @return [Symbol, :"agent.custom_tool_use"]
|
|
35
|
+
required :type, const: :"agent.custom_tool_use"
|
|
36
36
|
|
|
37
37
|
# @!attribute session_thread_id
|
|
38
38
|
# When set, this event was cross-posted from a subagent's thread to surface its
|
|
@@ -44,7 +44,7 @@ module Anthropic
|
|
|
44
44
|
# @return [String, nil]
|
|
45
45
|
optional :session_thread_id, String, nil?: true
|
|
46
46
|
|
|
47
|
-
# @!method initialize(id:, input:, name:, processed_at:,
|
|
47
|
+
# @!method initialize(id:, input:, name:, processed_at:, session_thread_id: nil, type: :"agent.custom_tool_use")
|
|
48
48
|
# Event emitted when the agent calls a custom tool. The session goes idle until
|
|
49
49
|
# the client sends a `user.custom_tool_result` event with the result. The client
|
|
50
50
|
# can send it as soon as this event arrives, without waiting for
|
|
@@ -62,19 +62,9 @@ module Anthropic
|
|
|
62
62
|
#
|
|
63
63
|
# @param processed_at [Time] Timestamp when this tool use was processed.
|
|
64
64
|
#
|
|
65
|
-
# @param type [Symbol, Anthropic::Models::Beta::Sessions::BetaManagedAgentsAgentCustomToolUseEvent::Type]
|
|
66
|
-
#
|
|
67
65
|
# @param session_thread_id [String, nil] When set, this event was cross-posted from a subagent's thread to surface its cu
|
|
68
|
-
|
|
69
|
-
#
|
|
70
|
-
module Type
|
|
71
|
-
extend Anthropic::Internal::Type::Enum
|
|
72
|
-
|
|
73
|
-
AGENT_CUSTOM_TOOL_USE = :"agent.custom_tool_use"
|
|
74
|
-
|
|
75
|
-
# @!method self.values
|
|
76
|
-
# @return [Array<Symbol>]
|
|
77
|
-
end
|
|
66
|
+
#
|
|
67
|
+
# @param type [Symbol, :"agent.custom_tool_use"]
|
|
78
68
|
end
|
|
79
69
|
end
|
|
80
70
|
end
|
|
@@ -25,8 +25,8 @@ module Anthropic
|
|
|
25
25
|
|
|
26
26
|
# @!attribute type
|
|
27
27
|
#
|
|
28
|
-
# @return [Symbol,
|
|
29
|
-
required :type,
|
|
28
|
+
# @return [Symbol, :"agent.mcp_tool_result"]
|
|
29
|
+
required :type, const: :"agent.mcp_tool_result"
|
|
30
30
|
|
|
31
31
|
# @!attribute content
|
|
32
32
|
# The result content returned by the tool.
|
|
@@ -41,7 +41,7 @@ module Anthropic
|
|
|
41
41
|
# @return [Boolean, nil]
|
|
42
42
|
optional :is_error, Anthropic::Internal::Type::Boolean, nil?: true
|
|
43
43
|
|
|
44
|
-
# @!method initialize(id:, mcp_tool_use_id:, processed_at:,
|
|
44
|
+
# @!method initialize(id:, mcp_tool_use_id:, processed_at:, content: nil, is_error: nil, type: :"agent.mcp_tool_result")
|
|
45
45
|
# Event representing the result of an MCP tool execution.
|
|
46
46
|
#
|
|
47
47
|
# @param id [String] Unique identifier for this event.
|
|
@@ -50,21 +50,11 @@ module Anthropic
|
|
|
50
50
|
#
|
|
51
51
|
# @param processed_at [Time] Timestamp when this event was processed.
|
|
52
52
|
#
|
|
53
|
-
# @param type [Symbol, Anthropic::Models::Beta::Sessions::BetaManagedAgentsAgentMCPToolResultEvent::Type]
|
|
54
|
-
#
|
|
55
53
|
# @param content [Array<Anthropic::Models::Beta::Sessions::BetaManagedAgentsTextBlock, Anthropic::Models::Beta::Sessions::BetaManagedAgentsImageBlock, Anthropic::Models::Beta::Sessions::BetaManagedAgentsDocumentBlock, Anthropic::Models::Beta::Sessions::BetaManagedAgentsSearchResultBlock>] The result content returned by the tool.
|
|
56
54
|
#
|
|
57
55
|
# @param is_error [Boolean, nil] Whether the tool execution resulted in an error.
|
|
58
|
-
|
|
59
|
-
#
|
|
60
|
-
module Type
|
|
61
|
-
extend Anthropic::Internal::Type::Enum
|
|
62
|
-
|
|
63
|
-
AGENT_MCP_TOOL_RESULT = :"agent.mcp_tool_result"
|
|
64
|
-
|
|
65
|
-
# @!method self.values
|
|
66
|
-
# @return [Array<Symbol>]
|
|
67
|
-
end
|
|
56
|
+
#
|
|
57
|
+
# @param type [Symbol, :"agent.mcp_tool_result"]
|
|
68
58
|
|
|
69
59
|
# Content block in a tool result. Can be `text`, `image`, `document`, or
|
|
70
60
|
# `search_result`.
|
|
@@ -124,13 +114,13 @@ module Anthropic
|
|
|
124
114
|
def self.new(type:, **args)
|
|
125
115
|
case type.to_sym
|
|
126
116
|
when :text
|
|
127
|
-
Anthropic::Beta::Sessions::BetaManagedAgentsTextBlock.new(
|
|
117
|
+
Anthropic::Beta::Sessions::BetaManagedAgentsTextBlock.new(**args)
|
|
128
118
|
when :image
|
|
129
|
-
Anthropic::Beta::Sessions::BetaManagedAgentsImageBlock.new(
|
|
119
|
+
Anthropic::Beta::Sessions::BetaManagedAgentsImageBlock.new(**args)
|
|
130
120
|
when :document
|
|
131
|
-
Anthropic::Beta::Sessions::BetaManagedAgentsDocumentBlock.new(
|
|
121
|
+
Anthropic::Beta::Sessions::BetaManagedAgentsDocumentBlock.new(**args)
|
|
132
122
|
when :search_result
|
|
133
|
-
Anthropic::Beta::Sessions::BetaManagedAgentsSearchResultBlock.new(
|
|
123
|
+
Anthropic::Beta::Sessions::BetaManagedAgentsSearchResultBlock.new(**args)
|
|
134
124
|
else
|
|
135
125
|
raise ArgumentError, "unknown type: #{type}"
|
|
136
126
|
end
|
|
@@ -37,8 +37,8 @@ module Anthropic
|
|
|
37
37
|
|
|
38
38
|
# @!attribute type
|
|
39
39
|
#
|
|
40
|
-
# @return [Symbol,
|
|
41
|
-
required :type,
|
|
40
|
+
# @return [Symbol, :"agent.mcp_tool_use"]
|
|
41
|
+
required :type, const: :"agent.mcp_tool_use"
|
|
42
42
|
|
|
43
43
|
# @!attribute evaluated_permission
|
|
44
44
|
# The evaluated permission policy for this tool invocation.
|
|
@@ -68,7 +68,7 @@ module Anthropic
|
|
|
68
68
|
# @return [String, nil]
|
|
69
69
|
optional :session_thread_id, String, nil?: true
|
|
70
70
|
|
|
71
|
-
# @!method initialize(id:, input:, mcp_server_name:, name:, processed_at:,
|
|
71
|
+
# @!method initialize(id:, input:, mcp_server_name:, name:, processed_at:, evaluated_permission: nil, evaluation: nil, session_thread_id: nil, type: :"agent.mcp_tool_use")
|
|
72
72
|
# Event emitted when the agent invokes a tool provided by an MCP server.
|
|
73
73
|
#
|
|
74
74
|
# Some parameter documentations has been truncated, see
|
|
@@ -85,23 +85,13 @@ module Anthropic
|
|
|
85
85
|
#
|
|
86
86
|
# @param processed_at [Time] Timestamp when this event was processed.
|
|
87
87
|
#
|
|
88
|
-
# @param type [Symbol, Anthropic::Models::Beta::Sessions::BetaManagedAgentsAgentMCPToolUseEvent::Type]
|
|
89
|
-
#
|
|
90
88
|
# @param evaluated_permission [Symbol, Anthropic::Models::Beta::Sessions::BetaManagedAgentsAgentEvaluatedPermission] The evaluated permission policy for this tool invocation.
|
|
91
89
|
#
|
|
92
90
|
# @param evaluation [Anthropic::Models::Beta::Sessions::BetaManagedAgentsAgentToolEvaluationAlwaysAllow, Anthropic::Models::Beta::Sessions::BetaManagedAgentsAgentToolEvaluationAlwaysAsk, Anthropic::Models::Beta::Sessions::BetaManagedAgentsAgentToolEvaluationAuto] Which resolved permission_policy produced evaluated_permission: always_allow, al
|
|
93
91
|
#
|
|
94
92
|
# @param session_thread_id [String, nil] When set, this event was cross-posted from a subagent's thread to surface its pe
|
|
95
|
-
|
|
96
|
-
#
|
|
97
|
-
module Type
|
|
98
|
-
extend Anthropic::Internal::Type::Enum
|
|
99
|
-
|
|
100
|
-
AGENT_MCP_TOOL_USE = :"agent.mcp_tool_use"
|
|
101
|
-
|
|
102
|
-
# @!method self.values
|
|
103
|
-
# @return [Array<Symbol>]
|
|
104
|
-
end
|
|
93
|
+
#
|
|
94
|
+
# @param type [Symbol, :"agent.mcp_tool_use"]
|
|
105
95
|
end
|
|
106
96
|
end
|
|
107
97
|
end
|