anthropic 2.11.0 → 2.13.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 +42 -0
- data/README.md +1 -1
- data/lib/anthropic/client.rb +3 -0
- data/lib/anthropic/error_classes.rb +26 -0
- data/lib/anthropic/helpers/bedrock/client.rb +12 -2
- data/lib/anthropic/internal/tracing.rb +6 -0
- data/lib/anthropic/models/anthropic_beta.rb +3 -0
- data/lib/anthropic/models/beta/beta_approval_required_error.rb +22 -0
- data/lib/anthropic/models/beta/beta_approval_required_error_details.rb +30 -0
- data/lib/anthropic/models/beta/beta_authorization_check_unavailable_error.rb +22 -0
- data/lib/anthropic/models/beta/beta_authorization_check_unavailable_error_details.rb +22 -0
- data/lib/anthropic/models/beta/beta_human_review_not_available_error.rb +22 -0
- data/lib/anthropic/models/beta/beta_human_review_not_available_error_details.rb +22 -0
- data/lib/anthropic/models/beta/beta_managed_agents_model.rb +6 -0
- data/lib/anthropic/models/beta/beta_organization_not_eligible_error.rb +23 -0
- data/lib/anthropic/models/beta/beta_organization_not_eligible_error_details.rb +23 -0
- data/lib/anthropic/models/beta/beta_webhook_event.rb +2 -2
- data/lib/anthropic/models/beta/beta_webhook_event_data.rb +13 -2
- data/lib/anthropic/models/beta/beta_webhook_external_storage_failed_event_data.rb +39 -0
- data/lib/anthropic/models/beta/beta_webhook_external_storage_recovered_event_data.rb +39 -0
- data/lib/anthropic/models/beta/message_create_params.rb +6 -0
- data/lib/anthropic/models/beta/messages/batch_create_params.rb +6 -0
- data/lib/anthropic/models/beta/organization/analytics/beta_analytics_cost_group.rb +7 -7
- data/lib/anthropic/models/beta/organization/analytics/beta_analytics_usage_group.rb +7 -7
- data/lib/anthropic/models/beta/organization/analytics/cost_list_params.rb +11 -13
- data/lib/anthropic/models/beta/organization/analytics/usage_list_params.rb +11 -13
- data/lib/anthropic/models/beta/organization/beta_access_transparency.rb +32 -0
- data/lib/anthropic/models/beta/organization/beta_active_external_storage_status.rb +42 -0
- data/lib/anthropic/models/beta/organization/beta_anthropic_human_review.rb +32 -0
- data/lib/anthropic/models/beta/organization/beta_anthropic_human_review_param.rb +32 -0
- data/lib/anthropic/models/beta/organization/beta_available_external_storage_status.rb +43 -0
- data/lib/anthropic/models/beta/organization/beta_aws_external_storage_config.rb +45 -0
- data/lib/anthropic/models/beta/organization/beta_aws_external_storage_config_param.rb +51 -0
- data/lib/anthropic/models/beta/organization/beta_compliance_settings.rb +18 -1
- data/lib/anthropic/models/beta/organization/beta_deleted_external_storage.rb +35 -0
- data/lib/anthropic/models/beta/organization/beta_draining_external_storage_status.rb +52 -0
- data/lib/anthropic/models/beta/organization/beta_external_storage.rb +217 -0
- data/lib/anthropic/models/beta/organization/beta_external_storage_failed_check.rb +119 -0
- data/lib/anthropic/models/beta/organization/beta_external_storage_in_use_error.rb +26 -0
- data/lib/anthropic/models/beta/organization/beta_external_storage_in_use_error_details.rb +24 -0
- data/lib/anthropic/models/beta/organization/beta_external_storage_in_workspace_policy_error.rb +24 -0
- data/lib/anthropic/models/beta/organization/beta_external_storage_in_workspace_policy_error_details.rb +22 -0
- data/lib/anthropic/models/beta/organization/beta_external_storage_member.rb +36 -0
- data/lib/anthropic/models/beta/organization/beta_external_storage_member_param.rb +36 -0
- data/lib/anthropic/models/beta/organization/beta_external_storage_not_available_error.rb +24 -0
- data/lib/anthropic/models/beta/organization/beta_external_storage_not_available_error_details.rb +22 -0
- data/lib/anthropic/models/beta/organization/beta_gcp_external_storage_config.rb +45 -0
- data/lib/anthropic/models/beta/organization/beta_gcp_external_storage_config_param.rb +53 -0
- data/lib/anthropic/models/beta/organization/beta_grant_required_error.rb +25 -0
- data/lib/anthropic/models/beta/organization/beta_grant_required_error_details.rb +23 -0
- data/lib/anthropic/models/beta/organization/beta_human_review_on_with_external_storage_error.rb +27 -0
- data/lib/anthropic/models/beta/organization/beta_human_review_on_with_external_storage_error_details.rb +25 -0
- data/lib/anthropic/models/beta/organization/beta_inference_data_privacy.rb +48 -0
- data/lib/anthropic/models/beta/organization/beta_inference_data_privacy_create_param.rb +53 -0
- data/lib/anthropic/models/beta/organization/beta_inference_data_privacy_update_param.rb +53 -0
- data/lib/anthropic/models/beta/organization/beta_internal_storage.rb +21 -0
- data/lib/anthropic/models/beta/organization/beta_internal_storage_param.rb +21 -0
- data/lib/anthropic/models/beta/organization/beta_invalid_storage_arn_error.rb +26 -0
- data/lib/anthropic/models/beta/organization/beta_invalid_storage_arn_error_details.rb +24 -0
- data/lib/anthropic/models/beta/organization/beta_new_organization_webhook_endpoint.rb +2 -0
- data/lib/anthropic/models/beta/organization/beta_organization_webhook_endpoint.rb +2 -0
- data/lib/anthropic/models/beta/organization/beta_pending_configuration_external_storage_status.rb +21 -0
- data/lib/anthropic/models/beta/organization/beta_provider_not_allowed_error.rb +24 -0
- data/lib/anthropic/models/beta/organization/beta_provider_not_allowed_error_details.rb +22 -0
- data/lib/anthropic/models/beta/organization/beta_storage_already_registered_error.rb +24 -0
- data/lib/anthropic/models/beta/organization/beta_storage_already_registered_error_details.rb +22 -0
- data/lib/anthropic/models/beta/organization/beta_storage_attach_limit_reached_error.rb +25 -0
- data/lib/anthropic/models/beta/organization/beta_storage_attach_limit_reached_error_details.rb +23 -0
- data/lib/anthropic/models/beta/organization/beta_storage_changed_concurrently_error.rb +25 -0
- data/lib/anthropic/models/beta/organization/beta_storage_changed_concurrently_error_details.rb +31 -0
- data/lib/anthropic/models/beta/organization/beta_storage_member.rb +59 -0
- data/lib/anthropic/models/beta/organization/beta_storage_member_param.rb +60 -0
- data/lib/anthropic/models/beta/organization/beta_storage_not_attachable_error.rb +24 -0
- data/lib/anthropic/models/beta/organization/beta_storage_not_attachable_error_details.rb +30 -0
- data/lib/anthropic/models/beta/organization/beta_storage_profile_still_required_error.rb +26 -0
- data/lib/anthropic/models/beta/organization/beta_storage_profile_still_required_error_details.rb +24 -0
- data/lib/anthropic/models/beta/organization/beta_storage_verification_failed_error.rb +24 -0
- data/lib/anthropic/models/beta/organization/beta_storage_verification_failed_error_details.rb +44 -0
- data/lib/anthropic/models/beta/organization/beta_transcripts_storage_required_error.rb +27 -0
- data/lib/anthropic/models/beta/organization/beta_transcripts_storage_required_error_details.rb +25 -0
- data/lib/anthropic/models/beta/organization/beta_unsupported_region_error.rb +23 -0
- data/lib/anthropic/models/beta/organization/beta_unsupported_region_error_details.rb +21 -0
- data/lib/anthropic/models/beta/organization/beta_workspace.rb +12 -1
- data/lib/anthropic/models/beta/organization/beta_workspace_changed_concurrently_error.rb +26 -0
- data/lib/anthropic/models/beta/organization/beta_workspace_changed_concurrently_error_details.rb +37 -0
- data/lib/anthropic/models/beta/organization/beta_workspace_changed_concurrently_field.rb +18 -0
- data/lib/anthropic/models/beta/organization/compliance_setting_retrieve_params.rb +14 -1
- data/lib/anthropic/models/beta/organization/compliance_setting_update_params.rb +10 -1
- data/lib/anthropic/models/beta/organization/external_storage_activate_params.rb +41 -0
- data/lib/anthropic/models/beta/organization/external_storage_create_params.rb +113 -0
- data/lib/anthropic/models/beta/organization/external_storage_delete_params.rb +41 -0
- data/lib/anthropic/models/beta/organization/external_storage_list_params.rb +56 -0
- data/lib/anthropic/models/beta/organization/external_storage_retrieve_params.rb +41 -0
- data/lib/anthropic/models/beta/organization/external_storage_update_params.rb +49 -0
- data/lib/anthropic/models/beta/organization/plugins/beta_plugin_share.rb +2 -2
- data/lib/anthropic/models/beta/organization/webhook_create_params.rb +2 -0
- data/lib/anthropic/models/beta/organization/webhook_update_params.rb +2 -0
- data/lib/anthropic/models/beta/organization/workspace_archive_params.rb +15 -1
- data/lib/anthropic/models/beta/organization/workspace_create_params.rb +16 -1
- data/lib/anthropic/models/beta/organization/workspace_list_params.rb +10 -1
- data/lib/anthropic/models/beta/organization/workspace_retrieve_params.rb +14 -1
- data/lib/anthropic/models/beta/organization/workspace_update_params.rb +25 -1
- data/lib/anthropic/models/change_outcome_unknown_error.rb +20 -0
- data/lib/anthropic/models/change_outcome_unknown_error_details.rb +18 -0
- data/lib/anthropic/models/error_details.rb +184 -5
- data/lib/anthropic/models/image_dimensions_too_large_error.rb +21 -0
- data/lib/anthropic/models/image_dimensions_too_large_error_details.rb +41 -0
- data/lib/anthropic/models/model.rb +6 -0
- data/lib/anthropic/models/organization/storage_attached_during_archive_error.rb +23 -0
- data/lib/anthropic/models/organization/storage_attached_during_archive_error_details.rb +21 -0
- data/lib/anthropic/models/organization/storage_profile_mismatch_error.rb +22 -0
- data/lib/anthropic/models/organization/storage_profile_mismatch_error_details.rb +28 -0
- data/lib/anthropic/models/organization/workspace_created_incomplete_error.rb +23 -0
- data/lib/anthropic/models/organization/workspace_created_incomplete_error_details.rb +29 -0
- data/lib/anthropic/models/organization/workspace_policy_violation_error_details.rb +2 -2
- data/lib/anthropic/models/user_profile_billing_not_authorized_error.rb +1 -1
- data/lib/anthropic/models/user_profile_billing_not_authorized_error_details.rb +1 -1
- data/lib/anthropic/models/user_profile_not_billable_error.rb +2 -2
- data/lib/anthropic/models/user_profile_not_billable_error_details.rb +2 -2
- data/lib/anthropic/models/workspace_human_review_disabled_error.rb +20 -0
- data/lib/anthropic/models/workspace_human_review_disabled_error_details.rb +18 -0
- data/lib/anthropic/models.rb +12 -0
- data/lib/anthropic/resources/beta/messages/batches.rb +1 -0
- data/lib/anthropic/resources/beta/messages.rb +3 -0
- data/lib/anthropic/resources/beta/organization/analytics/cost.rb +6 -0
- data/lib/anthropic/resources/beta/organization/analytics/usage.rb +6 -1
- data/lib/anthropic/resources/beta/organization/compliance_settings.rb +17 -5
- data/lib/anthropic/resources/beta/organization/external_storage.rb +263 -0
- data/lib/anthropic/resources/beta/organization/plugins/shares.rb +3 -4
- data/lib/anthropic/resources/beta/organization/plugins/versions.rb +9 -6
- data/lib/anthropic/resources/beta/organization/plugins.rb +2 -2
- data/lib/anthropic/resources/beta/organization/workspaces.rb +82 -22
- data/lib/anthropic/resources/beta/organization.rb +4 -0
- data/lib/anthropic/resources/beta/user_profiles/action_urls.rb +5 -1
- data/lib/anthropic/resources/beta/user_profiles.rb +36 -6
- data/lib/anthropic/resources/beta.rb +3 -0
- data/lib/anthropic/resources/messages/batches.rb +1 -0
- data/lib/anthropic/resources/messages.rb +3 -0
- data/lib/anthropic/resources/organization/workspaces.rb +4 -0
- data/lib/anthropic/resources/user_profiles/action_urls.rb +5 -1
- data/lib/anthropic/resources/user_profiles.rb +30 -5
- data/lib/anthropic/version.rb +1 -1
- data/lib/anthropic.rb +85 -0
- data/rbi/anthropic/client.rbi +3 -0
- data/rbi/anthropic/internal/tracing.rbi +12 -0
- data/rbi/anthropic/models/anthropic_beta.rbi +2 -0
- data/rbi/anthropic/models/beta/beta_approval_required_error.rbi +19 -0
- data/rbi/anthropic/models/beta/beta_approval_required_error_details.rbi +42 -0
- data/rbi/anthropic/models/beta/beta_authorization_check_unavailable_error.rbi +23 -0
- data/rbi/anthropic/models/beta/beta_authorization_check_unavailable_error_details.rbi +33 -0
- data/rbi/anthropic/models/beta/beta_human_review_not_available_error.rbi +21 -0
- data/rbi/anthropic/models/beta/beta_human_review_not_available_error_details.rbi +33 -0
- data/rbi/anthropic/models/beta/beta_organization_not_eligible_error.rbi +22 -0
- data/rbi/anthropic/models/beta/beta_organization_not_eligible_error_details.rbi +34 -0
- data/rbi/anthropic/models/beta/beta_webhook_event.rbi +3 -1
- data/rbi/anthropic/models/beta/beta_webhook_event_data.rbi +13 -1
- data/rbi/anthropic/models/beta/beta_webhook_external_storage_failed_event_data.rbi +53 -0
- data/rbi/anthropic/models/beta/beta_webhook_external_storage_recovered_event_data.rbi +53 -0
- data/rbi/anthropic/models/beta/message_create_params.rbi +12 -0
- data/rbi/anthropic/models/beta/messages/batch_create_params.rbi +12 -0
- data/rbi/anthropic/models/beta/organization/analytics/beta_analytics_cost_group.rbi +12 -12
- data/rbi/anthropic/models/beta/organization/analytics/beta_analytics_usage_group.rbi +12 -12
- data/rbi/anthropic/models/beta/organization/analytics/cost_list_params.rbi +22 -26
- data/rbi/anthropic/models/beta/organization/analytics/usage_list_params.rbi +22 -26
- data/rbi/anthropic/models/beta/organization/beta_access_transparency.rbi +81 -0
- data/rbi/anthropic/models/beta/organization/beta_active_external_storage_status.rbi +57 -0
- data/rbi/anthropic/models/beta/organization/beta_anthropic_human_review.rbi +81 -0
- data/rbi/anthropic/models/beta/organization/beta_anthropic_human_review_param.rbi +81 -0
- data/rbi/anthropic/models/beta/organization/beta_available_external_storage_status.rbi +58 -0
- data/rbi/anthropic/models/beta/organization/beta_aws_external_storage_config.rbi +67 -0
- data/rbi/anthropic/models/beta/organization/beta_aws_external_storage_config_param.rbi +71 -0
- data/rbi/anthropic/models/beta/organization/beta_compliance_settings.rbi +33 -1
- data/rbi/anthropic/models/beta/organization/beta_deleted_external_storage.rbi +44 -0
- data/rbi/anthropic/models/beta/organization/beta_draining_external_storage_status.rbi +72 -0
- data/rbi/anthropic/models/beta/organization/beta_external_storage.rbi +307 -0
- data/rbi/anthropic/models/beta/organization/beta_external_storage_failed_check.rbi +359 -0
- data/rbi/anthropic/models/beta/organization/beta_external_storage_in_use_error.rbi +27 -0
- data/rbi/anthropic/models/beta/organization/beta_external_storage_in_use_error_details.rbi +34 -0
- data/rbi/anthropic/models/beta/organization/beta_external_storage_in_workspace_policy_error.rbi +25 -0
- data/rbi/anthropic/models/beta/organization/beta_external_storage_in_workspace_policy_error_details.rbi +32 -0
- data/rbi/anthropic/models/beta/organization/beta_external_storage_member.rbi +51 -0
- data/rbi/anthropic/models/beta/organization/beta_external_storage_member_param.rbi +51 -0
- data/rbi/anthropic/models/beta/organization/beta_external_storage_not_available_error.rbi +25 -0
- data/rbi/anthropic/models/beta/organization/beta_external_storage_not_available_error_details.rbi +32 -0
- data/rbi/anthropic/models/beta/organization/beta_gcp_external_storage_config.rbi +67 -0
- data/rbi/anthropic/models/beta/organization/beta_gcp_external_storage_config_param.rbi +75 -0
- data/rbi/anthropic/models/beta/organization/beta_grant_required_error.rbi +26 -0
- data/rbi/anthropic/models/beta/organization/beta_grant_required_error_details.rbi +33 -0
- data/rbi/anthropic/models/beta/organization/beta_human_review_on_with_external_storage_error.rbi +28 -0
- data/rbi/anthropic/models/beta/organization/beta_human_review_on_with_external_storage_error_details.rbi +35 -0
- data/rbi/anthropic/models/beta/organization/beta_inference_data_privacy.rbi +134 -0
- data/rbi/anthropic/models/beta/organization/beta_inference_data_privacy_create_param.rbi +153 -0
- data/rbi/anthropic/models/beta/organization/beta_inference_data_privacy_update_param.rbi +153 -0
- data/rbi/anthropic/models/beta/organization/beta_internal_storage.rbi +31 -0
- data/rbi/anthropic/models/beta/organization/beta_internal_storage_param.rbi +31 -0
- data/rbi/anthropic/models/beta/organization/beta_invalid_storage_arn_error.rbi +27 -0
- data/rbi/anthropic/models/beta/organization/beta_invalid_storage_arn_error_details.rbi +34 -0
- data/rbi/anthropic/models/beta/organization/beta_new_organization_webhook_endpoint.rbi +10 -0
- data/rbi/anthropic/models/beta/organization/beta_organization_webhook_endpoint.rbi +10 -0
- data/rbi/anthropic/models/beta/organization/beta_pending_configuration_external_storage_status.rbi +31 -0
- data/rbi/anthropic/models/beta/organization/beta_provider_not_allowed_error.rbi +25 -0
- data/rbi/anthropic/models/beta/organization/beta_provider_not_allowed_error_details.rbi +32 -0
- data/rbi/anthropic/models/beta/organization/beta_storage_already_registered_error.rbi +25 -0
- data/rbi/anthropic/models/beta/organization/beta_storage_already_registered_error_details.rbi +32 -0
- data/rbi/anthropic/models/beta/organization/beta_storage_attach_limit_reached_error.rbi +26 -0
- data/rbi/anthropic/models/beta/organization/beta_storage_attach_limit_reached_error_details.rbi +33 -0
- data/rbi/anthropic/models/beta/organization/beta_storage_changed_concurrently_error.rbi +26 -0
- data/rbi/anthropic/models/beta/organization/beta_storage_changed_concurrently_error_details.rbi +43 -0
- data/rbi/anthropic/models/beta/organization/beta_storage_member.rbi +86 -0
- data/rbi/anthropic/models/beta/organization/beta_storage_member_param.rbi +86 -0
- data/rbi/anthropic/models/beta/organization/beta_storage_not_attachable_error.rbi +25 -0
- data/rbi/anthropic/models/beta/organization/beta_storage_not_attachable_error_details.rbi +42 -0
- data/rbi/anthropic/models/beta/organization/beta_storage_profile_still_required_error.rbi +27 -0
- data/rbi/anthropic/models/beta/organization/beta_storage_profile_still_required_error_details.rbi +34 -0
- data/rbi/anthropic/models/beta/organization/beta_storage_verification_failed_error.rbi +25 -0
- data/rbi/anthropic/models/beta/organization/beta_storage_verification_failed_error_details.rbi +74 -0
- data/rbi/anthropic/models/beta/organization/beta_transcripts_storage_required_error.rbi +28 -0
- data/rbi/anthropic/models/beta/organization/beta_transcripts_storage_required_error_details.rbi +35 -0
- data/rbi/anthropic/models/beta/organization/beta_unsupported_region_error.rbi +24 -0
- data/rbi/anthropic/models/beta/organization/beta_unsupported_region_error_details.rbi +31 -0
- data/rbi/anthropic/models/beta/organization/beta_workspace.rbi +29 -1
- data/rbi/anthropic/models/beta/organization/beta_workspace_changed_concurrently_error.rbi +27 -0
- data/rbi/anthropic/models/beta/organization/beta_workspace_changed_concurrently_error_details.rbi +62 -0
- data/rbi/anthropic/models/beta/organization/beta_workspace_changed_concurrently_field.rbi +38 -0
- data/rbi/anthropic/models/beta/organization/compliance_setting_retrieve_params.rbi +35 -4
- data/rbi/anthropic/models/beta/organization/compliance_setting_update_params.rbi +25 -0
- data/rbi/anthropic/models/beta/organization/external_storage_activate_params.rbi +79 -0
- data/rbi/anthropic/models/beta/organization/external_storage_create_params.rbi +192 -0
- data/rbi/anthropic/models/beta/organization/external_storage_delete_params.rbi +79 -0
- data/rbi/anthropic/models/beta/organization/external_storage_list_params.rbi +96 -0
- data/rbi/anthropic/models/beta/organization/external_storage_retrieve_params.rbi +79 -0
- data/rbi/anthropic/models/beta/organization/external_storage_update_params.rbi +87 -0
- data/rbi/anthropic/models/beta/organization/plugins/beta_plugin_share.rbi +2 -2
- data/rbi/anthropic/models/beta/organization/webhook_create_params.rbi +10 -0
- data/rbi/anthropic/models/beta/organization/webhook_update_params.rbi +10 -0
- data/rbi/anthropic/models/beta/organization/workspace_archive_params.rbi +29 -1
- data/rbi/anthropic/models/beta/organization/workspace_create_params.rbi +40 -0
- data/rbi/anthropic/models/beta/organization/workspace_list_params.rbi +25 -0
- data/rbi/anthropic/models/beta/organization/workspace_retrieve_params.rbi +25 -0
- data/rbi/anthropic/models/beta/organization/workspace_update_params.rbi +65 -0
- data/rbi/anthropic/models/change_outcome_unknown_error.rbi +17 -0
- data/rbi/anthropic/models/change_outcome_unknown_error_details.rbi +28 -0
- data/rbi/anthropic/models/error_details.rbi +182 -2
- data/rbi/anthropic/models/image_dimensions_too_large_error.rbi +18 -0
- data/rbi/anthropic/models/image_dimensions_too_large_error_details.rbi +63 -0
- data/rbi/anthropic/models/organization/storage_attached_during_archive_error.rbi +24 -0
- data/rbi/anthropic/models/organization/storage_attached_during_archive_error_details.rbi +31 -0
- data/rbi/anthropic/models/organization/storage_profile_mismatch_error.rbi +21 -0
- data/rbi/anthropic/models/organization/storage_profile_mismatch_error_details.rbi +40 -0
- data/rbi/anthropic/models/organization/workspace_created_incomplete_error.rbi +24 -0
- data/rbi/anthropic/models/organization/workspace_created_incomplete_error_details.rbi +43 -0
- data/rbi/anthropic/models/organization/workspace_policy_violation_error_details.rbi +2 -2
- data/rbi/anthropic/models/user_profile_billing_not_authorized_error.rbi +1 -1
- data/rbi/anthropic/models/user_profile_billing_not_authorized_error_details.rbi +1 -1
- data/rbi/anthropic/models/user_profile_not_billable_error.rbi +2 -2
- data/rbi/anthropic/models/user_profile_not_billable_error_details.rbi +2 -2
- data/rbi/anthropic/models/workspace_human_review_disabled_error.rbi +17 -0
- data/rbi/anthropic/models/workspace_human_review_disabled_error_details.rbi +28 -0
- data/rbi/anthropic/models.rbi +16 -0
- data/rbi/anthropic/resources/beta/messages.rbi +18 -0
- data/rbi/anthropic/resources/beta/organization/analytics/cost.rbi +17 -14
- data/rbi/anthropic/resources/beta/organization/analytics/usage.rbi +17 -15
- data/rbi/anthropic/resources/beta/organization/compliance_settings.rbi +20 -6
- data/rbi/anthropic/resources/beta/organization/external_storage.rbi +173 -0
- data/rbi/anthropic/resources/beta/organization/plugins/shares.rbi +3 -4
- data/rbi/anthropic/resources/beta/organization/plugins/versions.rbi +9 -6
- data/rbi/anthropic/resources/beta/organization/plugins.rbi +2 -2
- data/rbi/anthropic/resources/beta/organization/workspaces.rbi +84 -33
- data/rbi/anthropic/resources/beta/organization.rbi +5 -0
- data/rbi/anthropic/resources/beta/user_profiles/action_urls.rbi +5 -1
- data/rbi/anthropic/resources/beta/user_profiles.rbi +36 -6
- data/rbi/anthropic/resources/beta.rbi +3 -0
- data/rbi/anthropic/resources/user_profiles/action_urls.rbi +5 -1
- data/rbi/anthropic/resources/user_profiles.rbi +30 -5
- data/sig/anthropic/internal/tracing.rbs +6 -0
- data/sig/anthropic/models/anthropic_beta.rbs +2 -0
- data/sig/anthropic/models/beta/beta_approval_required_error.rbs +11 -0
- data/sig/anthropic/models/beta/beta_approval_required_error_details.rbs +20 -0
- data/sig/anthropic/models/beta/beta_authorization_check_unavailable_error.rbs +11 -0
- data/sig/anthropic/models/beta/beta_authorization_check_unavailable_error_details.rbs +18 -0
- data/sig/anthropic/models/beta/beta_human_review_not_available_error.rbs +11 -0
- data/sig/anthropic/models/beta/beta_human_review_not_available_error_details.rbs +18 -0
- data/sig/anthropic/models/beta/beta_organization_not_eligible_error.rbs +11 -0
- data/sig/anthropic/models/beta/beta_organization_not_eligible_error_details.rbs +18 -0
- data/sig/anthropic/models/beta/beta_webhook_event_data.rbs +16 -0
- data/sig/anthropic/models/beta/beta_webhook_external_storage_failed_event_data.rbs +34 -0
- data/sig/anthropic/models/beta/beta_webhook_external_storage_recovered_event_data.rbs +34 -0
- data/sig/anthropic/models/beta/organization/beta_access_transparency.rbs +35 -0
- data/sig/anthropic/models/beta/organization/beta_active_external_storage_status.rbs +30 -0
- data/sig/anthropic/models/beta/organization/beta_anthropic_human_review.rbs +35 -0
- data/sig/anthropic/models/beta/organization/beta_anthropic_human_review_param.rbs +35 -0
- data/sig/anthropic/models/beta/organization/beta_available_external_storage_status.rbs +30 -0
- data/sig/anthropic/models/beta/organization/beta_aws_external_storage_config.rbs +39 -0
- data/sig/anthropic/models/beta/organization/beta_aws_external_storage_config_param.rbs +39 -0
- data/sig/anthropic/models/beta/organization/beta_compliance_settings.rbs +11 -2
- data/sig/anthropic/models/beta/organization/beta_deleted_external_storage.rbs +20 -0
- data/sig/anthropic/models/beta/organization/beta_draining_external_storage_status.rbs +39 -0
- data/sig/anthropic/models/beta/organization/beta_external_storage.rbs +161 -0
- data/sig/anthropic/models/beta/organization/beta_external_storage_failed_check.rbs +138 -0
- data/sig/anthropic/models/beta/organization/beta_external_storage_in_use_error.rbs +13 -0
- data/sig/anthropic/models/beta/organization/beta_external_storage_in_use_error_details.rbs +18 -0
- data/sig/anthropic/models/beta/organization/beta_external_storage_in_workspace_policy_error.rbs +13 -0
- data/sig/anthropic/models/beta/organization/beta_external_storage_in_workspace_policy_error_details.rbs +20 -0
- data/sig/anthropic/models/beta/organization/beta_external_storage_member.rbs +23 -0
- data/sig/anthropic/models/beta/organization/beta_external_storage_member_param.rbs +23 -0
- data/sig/anthropic/models/beta/organization/beta_external_storage_not_available_error.rbs +13 -0
- data/sig/anthropic/models/beta/organization/beta_external_storage_not_available_error_details.rbs +18 -0
- data/sig/anthropic/models/beta/organization/beta_gcp_external_storage_config.rbs +39 -0
- data/sig/anthropic/models/beta/organization/beta_gcp_external_storage_config_param.rbs +39 -0
- data/sig/anthropic/models/beta/organization/beta_grant_required_error.rbs +13 -0
- data/sig/anthropic/models/beta/organization/beta_grant_required_error_details.rbs +17 -0
- data/sig/anthropic/models/beta/organization/beta_human_review_on_with_external_storage_error.rbs +13 -0
- data/sig/anthropic/models/beta/organization/beta_human_review_on_with_external_storage_error_details.rbs +20 -0
- data/sig/anthropic/models/beta/organization/beta_inference_data_privacy.rbs +46 -0
- data/sig/anthropic/models/beta/organization/beta_inference_data_privacy_create_param.rbs +46 -0
- data/sig/anthropic/models/beta/organization/beta_inference_data_privacy_update_param.rbs +46 -0
- data/sig/anthropic/models/beta/organization/beta_internal_storage.rbs +17 -0
- data/sig/anthropic/models/beta/organization/beta_internal_storage_param.rbs +17 -0
- data/sig/anthropic/models/beta/organization/beta_invalid_storage_arn_error.rbs +13 -0
- data/sig/anthropic/models/beta/organization/beta_invalid_storage_arn_error_details.rbs +18 -0
- data/sig/anthropic/models/beta/organization/beta_new_organization_webhook_endpoint.rbs +4 -0
- data/sig/anthropic/models/beta/organization/beta_organization_webhook_endpoint.rbs +4 -0
- data/sig/anthropic/models/beta/organization/beta_pending_configuration_external_storage_status.rbs +18 -0
- data/sig/anthropic/models/beta/organization/beta_provider_not_allowed_error.rbs +13 -0
- data/sig/anthropic/models/beta/organization/beta_provider_not_allowed_error_details.rbs +18 -0
- data/sig/anthropic/models/beta/organization/beta_storage_already_registered_error.rbs +13 -0
- data/sig/anthropic/models/beta/organization/beta_storage_already_registered_error_details.rbs +18 -0
- data/sig/anthropic/models/beta/organization/beta_storage_attach_limit_reached_error.rbs +13 -0
- data/sig/anthropic/models/beta/organization/beta_storage_attach_limit_reached_error_details.rbs +18 -0
- data/sig/anthropic/models/beta/organization/beta_storage_changed_concurrently_error.rbs +13 -0
- data/sig/anthropic/models/beta/organization/beta_storage_changed_concurrently_error_details.rbs +26 -0
- data/sig/anthropic/models/beta/organization/beta_storage_member.rbs +42 -0
- data/sig/anthropic/models/beta/organization/beta_storage_member_param.rbs +42 -0
- data/sig/anthropic/models/beta/organization/beta_storage_not_attachable_error.rbs +13 -0
- data/sig/anthropic/models/beta/organization/beta_storage_not_attachable_error_details.rbs +23 -0
- data/sig/anthropic/models/beta/organization/beta_storage_profile_still_required_error.rbs +13 -0
- data/sig/anthropic/models/beta/organization/beta_storage_profile_still_required_error_details.rbs +18 -0
- data/sig/anthropic/models/beta/organization/beta_storage_verification_failed_error.rbs +13 -0
- data/sig/anthropic/models/beta/organization/beta_storage_verification_failed_error_details.rbs +34 -0
- data/sig/anthropic/models/beta/organization/beta_transcripts_storage_required_error.rbs +13 -0
- data/sig/anthropic/models/beta/organization/beta_transcripts_storage_required_error_details.rbs +18 -0
- data/sig/anthropic/models/beta/organization/beta_unsupported_region_error.rbs +13 -0
- data/sig/anthropic/models/beta/organization/beta_unsupported_region_error_details.rbs +18 -0
- data/sig/anthropic/models/beta/organization/beta_workspace.rbs +11 -2
- data/sig/anthropic/models/beta/organization/beta_workspace_changed_concurrently_error.rbs +13 -0
- data/sig/anthropic/models/beta/organization/beta_workspace_changed_concurrently_error_details.rbs +29 -0
- data/sig/anthropic/models/beta/organization/beta_workspace_changed_concurrently_field.rbs +18 -0
- data/sig/anthropic/models/beta/organization/compliance_setting_retrieve_params.rbs +16 -3
- data/sig/anthropic/models/beta/organization/compliance_setting_update_params.rbs +10 -1
- data/sig/anthropic/models/beta/organization/external_storage_activate_params.rbs +39 -0
- data/sig/anthropic/models/beta/organization/external_storage_create_params.rbs +92 -0
- data/sig/anthropic/models/beta/organization/external_storage_delete_params.rbs +39 -0
- data/sig/anthropic/models/beta/organization/external_storage_list_params.rbs +51 -0
- data/sig/anthropic/models/beta/organization/external_storage_retrieve_params.rbs +39 -0
- data/sig/anthropic/models/beta/organization/external_storage_update_params.rbs +44 -0
- data/sig/anthropic/models/beta/organization/webhook_create_params.rbs +4 -0
- data/sig/anthropic/models/beta/organization/webhook_update_params.rbs +4 -0
- data/sig/anthropic/models/beta/organization/workspace_archive_params.rbs +12 -1
- data/sig/anthropic/models/beta/organization/workspace_create_params.rbs +5 -0
- data/sig/anthropic/models/beta/organization/workspace_list_params.rbs +10 -1
- data/sig/anthropic/models/beta/organization/workspace_retrieve_params.rbs +12 -1
- data/sig/anthropic/models/beta/organization/workspace_update_params.rbs +15 -1
- data/sig/anthropic/models/change_outcome_unknown_error.rbs +9 -0
- data/sig/anthropic/models/change_outcome_unknown_error_details.rbs +14 -0
- data/sig/anthropic/models/error_details.rbs +188 -1
- data/sig/anthropic/models/image_dimensions_too_large_error.rbs +9 -0
- data/sig/anthropic/models/image_dimensions_too_large_error_details.rbs +30 -0
- data/sig/anthropic/models/organization/storage_attached_during_archive_error.rbs +11 -0
- data/sig/anthropic/models/organization/storage_attached_during_archive_error_details.rbs +16 -0
- data/sig/anthropic/models/organization/storage_profile_mismatch_error.rbs +11 -0
- data/sig/anthropic/models/organization/storage_profile_mismatch_error_details.rbs +21 -0
- data/sig/anthropic/models/organization/workspace_created_incomplete_error.rbs +11 -0
- data/sig/anthropic/models/organization/workspace_created_incomplete_error_details.rbs +24 -0
- data/sig/anthropic/models/workspace_human_review_disabled_error.rbs +9 -0
- data/sig/anthropic/models/workspace_human_review_disabled_error_details.rbs +14 -0
- data/sig/anthropic/models.rbs +12 -0
- data/sig/anthropic/resources/beta/organization/compliance_settings.rbs +2 -0
- data/sig/anthropic/resources/beta/organization/external_storage.rbs +52 -0
- data/sig/anthropic/resources/beta/organization/workspaces.rbs +6 -0
- data/sig/anthropic/resources/beta/organization.rbs +2 -0
- metadata +257 -2
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
class BetaWebhookExternalStorageRecoveredEventData < Anthropic::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute id
|
|
8
|
+
# ID (`estrg_...`) of the External Storage whose bucket failed Anthropic's check
|
|
9
|
+
# or passes it again.
|
|
10
|
+
#
|
|
11
|
+
# @return [String]
|
|
12
|
+
required :id, String
|
|
13
|
+
|
|
14
|
+
# @!attribute organization_id
|
|
15
|
+
#
|
|
16
|
+
# @return [String]
|
|
17
|
+
required :organization_id, String
|
|
18
|
+
|
|
19
|
+
# @!attribute type
|
|
20
|
+
#
|
|
21
|
+
# @return [Symbol, :"external_storage.recovered"]
|
|
22
|
+
required :type, const: :"external_storage.recovered"
|
|
23
|
+
|
|
24
|
+
# @!method initialize(id:, organization_id:, type: :"external_storage.recovered")
|
|
25
|
+
# Some parameter documentations has been truncated, see
|
|
26
|
+
# {Anthropic::Models::Beta::BetaWebhookExternalStorageRecoveredEventData} for more
|
|
27
|
+
# details.
|
|
28
|
+
#
|
|
29
|
+
# @param id [String] ID (`estrg_...`) of the External Storage whose bucket failed Anthropic's check o
|
|
30
|
+
#
|
|
31
|
+
# @param organization_id [String]
|
|
32
|
+
#
|
|
33
|
+
# @param type [Symbol, :"external_storage.recovered"]
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
BetaWebhookExternalStorageRecoveredEventData = Beta::BetaWebhookExternalStorageRecoveredEventData
|
|
38
|
+
end
|
|
39
|
+
end
|
|
@@ -119,6 +119,12 @@ module Anthropic
|
|
|
119
119
|
# rejected rather than billed to you. Omit the field, or send `"bill_to": "self"`
|
|
120
120
|
# (the default), to be billed as usual.
|
|
121
121
|
#
|
|
122
|
+
# Message Batches does not currently support billing the customer behind a user
|
|
123
|
+
# profile. In a batch, omit the field or send `"bill_to": "self"`. A request in a
|
|
124
|
+
# batch that sets `"bill_to": "user_profile"` gets an `errored` result with an
|
|
125
|
+
# `invalid_request_error`, nobody is billed for it, and the batch's other requests
|
|
126
|
+
# run as usual.
|
|
127
|
+
#
|
|
122
128
|
# @return [Anthropic::Models::Beta::BetaBillingPolicy, nil]
|
|
123
129
|
optional :billing_policy, -> { Anthropic::Beta::BetaBillingPolicy }, nil?: true
|
|
124
130
|
|
|
@@ -197,6 +197,12 @@ module Anthropic
|
|
|
197
197
|
# rejected rather than billed to you. Omit the field, or send `"bill_to": "self"`
|
|
198
198
|
# (the default), to be billed as usual.
|
|
199
199
|
#
|
|
200
|
+
# Message Batches does not currently support billing the customer behind a user
|
|
201
|
+
# profile. In a batch, omit the field or send `"bill_to": "self"`. A request in a
|
|
202
|
+
# batch that sets `"bill_to": "user_profile"` gets an `errored` result with an
|
|
203
|
+
# `invalid_request_error`, nobody is billed for it, and the batch's other requests
|
|
204
|
+
# run as usual.
|
|
205
|
+
#
|
|
200
206
|
# @return [Anthropic::Models::Beta::BetaBillingPolicy, nil]
|
|
201
207
|
optional :billing_policy, -> { Anthropic::Beta::BetaBillingPolicy }, nil?: true
|
|
202
208
|
|
|
@@ -161,8 +161,7 @@ module Anthropic
|
|
|
161
161
|
|
|
162
162
|
# @!attribute service_tier
|
|
163
163
|
# Service tier the usage was served at. Populated only when `service_tier` is in
|
|
164
|
-
# `group_by[]`; null for usage with no service tier (for example, code execution)
|
|
165
|
-
# and for Claude Enterprise usage.
|
|
164
|
+
# `group_by[]`; null for usage with no service tier (for example, code execution).
|
|
166
165
|
#
|
|
167
166
|
# @return [Symbol, Anthropic::Models::Beta::Organization::BetaAnalyticsServiceTier, nil]
|
|
168
167
|
required :service_tier,
|
|
@@ -207,15 +206,16 @@ module Anthropic
|
|
|
207
206
|
# @!attribute user_profile_id
|
|
208
207
|
# User profile the usage was attributed to, as a tagged `uprof_` ID. Populated
|
|
209
208
|
# only when `user_profile_id` is in `group_by[]`; null for usage that named no
|
|
210
|
-
# profile
|
|
209
|
+
# profile.
|
|
211
210
|
#
|
|
212
211
|
# @return [String, nil]
|
|
213
212
|
required :user_profile_id, String, nil?: true
|
|
214
213
|
|
|
215
214
|
# @!attribute workspace_id
|
|
216
|
-
# Workspace the usage occurred in, as a tagged workspace ID, including
|
|
217
|
-
# organization's default workspace. Populated only when `workspace_id` is
|
|
218
|
-
# `group_by[]`; null for Claude Enterprise
|
|
215
|
+
# Workspace the usage occurred in, as a tagged workspace ID, including a Claude
|
|
216
|
+
# Platform organization's default workspace. Populated only when `workspace_id` is
|
|
217
|
+
# in `group_by[]`; null for usage in a Claude Enterprise organization's default
|
|
218
|
+
# workspace, which is its only workspace.
|
|
219
219
|
#
|
|
220
220
|
# @return [String, nil]
|
|
221
221
|
required :workspace_id, String, nil?: true
|
|
@@ -270,7 +270,7 @@ module Anthropic
|
|
|
270
270
|
#
|
|
271
271
|
# @param user_profile_id [String, nil] User profile the usage was attributed to, as a tagged `uprof_` ID. Populated onl
|
|
272
272
|
#
|
|
273
|
-
# @param workspace_id [String, nil] Workspace the usage occurred in, as a tagged workspace ID, including
|
|
273
|
+
# @param workspace_id [String, nil] Workspace the usage occurred in, as a tagged workspace ID, including a Claude Pl
|
|
274
274
|
end
|
|
275
275
|
end
|
|
276
276
|
end
|
|
@@ -151,8 +151,7 @@ module Anthropic
|
|
|
151
151
|
|
|
152
152
|
# @!attribute service_tier
|
|
153
153
|
# Service tier the usage was served at. Populated only when `service_tier` is in
|
|
154
|
-
# `group_by[]`; null for usage with no service tier (for example, code execution)
|
|
155
|
-
# and for Claude Enterprise usage.
|
|
154
|
+
# `group_by[]`; null for usage with no service tier (for example, code execution).
|
|
156
155
|
#
|
|
157
156
|
# @return [Symbol, Anthropic::Models::Beta::Organization::BetaAnalyticsServiceTier, nil]
|
|
158
157
|
required :service_tier,
|
|
@@ -187,15 +186,16 @@ module Anthropic
|
|
|
187
186
|
# @!attribute user_profile_id
|
|
188
187
|
# User profile the usage was attributed to, as a tagged `uprof_` ID. Populated
|
|
189
188
|
# only when `user_profile_id` is in `group_by[]`; null for usage that named no
|
|
190
|
-
# profile
|
|
189
|
+
# profile.
|
|
191
190
|
#
|
|
192
191
|
# @return [String, nil]
|
|
193
192
|
required :user_profile_id, String, nil?: true
|
|
194
193
|
|
|
195
194
|
# @!attribute workspace_id
|
|
196
|
-
# Workspace the usage occurred in, as a tagged workspace ID, including
|
|
197
|
-
# organization's default workspace. Populated only when `workspace_id` is
|
|
198
|
-
# `group_by[]`; null for Claude Enterprise
|
|
195
|
+
# Workspace the usage occurred in, as a tagged workspace ID, including a Claude
|
|
196
|
+
# Platform organization's default workspace. Populated only when `workspace_id` is
|
|
197
|
+
# in `group_by[]`; null for usage in a Claude Enterprise organization's default
|
|
198
|
+
# workspace, which is its only workspace.
|
|
199
199
|
#
|
|
200
200
|
# @return [String, nil]
|
|
201
201
|
required :workspace_id, String, nil?: true
|
|
@@ -246,7 +246,7 @@ module Anthropic
|
|
|
246
246
|
#
|
|
247
247
|
# @param user_profile_id [String, nil] User profile the usage was attributed to, as a tagged `uprof_` ID. Populated onl
|
|
248
248
|
#
|
|
249
|
-
# @param workspace_id [String, nil] Workspace the usage occurred in, as a tagged workspace ID, including
|
|
249
|
+
# @param workspace_id [String, nil] Workspace the usage occurred in, as a tagged workspace ID, including a Claude Pl
|
|
250
250
|
end
|
|
251
251
|
end
|
|
252
252
|
end
|
|
@@ -41,8 +41,7 @@ module Anthropic
|
|
|
41
41
|
|
|
42
42
|
# @!attribute agent_ids
|
|
43
43
|
# Filter to usage incurred by sessions of specific Claude Managed Agents agents.
|
|
44
|
-
# Use `group_by[]=agent_id` to break out per-agent values.
|
|
45
|
-
# organizations only.
|
|
44
|
+
# Use `group_by[]=agent_id` to break out per-agent values.
|
|
46
45
|
#
|
|
47
46
|
# @return [Array<String>, nil]
|
|
48
47
|
optional :agent_ids, Anthropic::Internal::Type::ArrayOf[String], nil?: true
|
|
@@ -52,7 +51,7 @@ module Anthropic
|
|
|
52
51
|
# (`apikey_...`), whichever identity the usage is attributed to. Include an empty
|
|
53
52
|
# entry (`api_key_ids[]=`) to also match usage that no API key authenticated. Use
|
|
54
53
|
# `group_by[]=api_key_id` to break out per-key values; usage without a key has a
|
|
55
|
-
# null `api_key_id`.
|
|
54
|
+
# null `api_key_id`.
|
|
56
55
|
#
|
|
57
56
|
# @return [Array<String>, nil]
|
|
58
57
|
optional :api_key_ids, Anthropic::Internal::Type::ArrayOf[String], nil?: true
|
|
@@ -92,7 +91,7 @@ module Anthropic
|
|
|
92
91
|
# @!attribute deployment_ids
|
|
93
92
|
# Filter to usage incurred by Claude Managed Agents sessions that specific
|
|
94
93
|
# deployments started. Use `group_by[]=deployment_id` to break out per-deployment
|
|
95
|
-
# values.
|
|
94
|
+
# values.
|
|
96
95
|
#
|
|
97
96
|
# @return [Array<String>, nil]
|
|
98
97
|
optional :deployment_ids, Anthropic::Internal::Type::ArrayOf[String], nil?: true
|
|
@@ -108,7 +107,7 @@ module Anthropic
|
|
|
108
107
|
# @!attribute environment_ids
|
|
109
108
|
# Filter to usage incurred by Claude Managed Agents sessions that ran in specific
|
|
110
109
|
# environments. Use `group_by[]=environment_id` to break out per-environment
|
|
111
|
-
# values.
|
|
110
|
+
# values.
|
|
112
111
|
#
|
|
113
112
|
# @return [Array<String>, nil]
|
|
114
113
|
optional :environment_ids, Anthropic::Internal::Type::ArrayOf[String], nil?: true
|
|
@@ -187,8 +186,10 @@ module Anthropic
|
|
|
187
186
|
# @!attribute organization_ids
|
|
188
187
|
# Filter a parent organization's report to specific child organizations, by
|
|
189
188
|
# organization UUID or `org_` ID; an ID that is not one of its child organizations
|
|
190
|
-
# matches nothing.
|
|
191
|
-
#
|
|
189
|
+
# matches nothing. The report leaves out child organizations with HIPAA readiness
|
|
190
|
+
# enabled, and naming one returns a 400 error. Requires an API key created at the
|
|
191
|
+
# parent organization level. Use `group_by[]=organization_id` to break out
|
|
192
|
+
# per-organization values.
|
|
192
193
|
#
|
|
193
194
|
# @return [Array<String>, nil]
|
|
194
195
|
optional :organization_ids, Anthropic::Internal::Type::ArrayOf[String], nil?: true
|
|
@@ -220,8 +221,7 @@ module Anthropic
|
|
|
220
221
|
|
|
221
222
|
# @!attribute service_tiers
|
|
222
223
|
# Filter to specific service tiers. Use `group_by[]=service_tier` to break out
|
|
223
|
-
# per-tier values.
|
|
224
|
-
# Claude Enterprise organization.
|
|
224
|
+
# per-tier values.
|
|
225
225
|
#
|
|
226
226
|
# @return [Array<Symbol, Anthropic::Models::Beta::Organization::BetaAnalyticsServiceTier>, nil]
|
|
227
227
|
optional :service_tiers,
|
|
@@ -233,7 +233,7 @@ module Anthropic
|
|
|
233
233
|
# @!attribute session_ids
|
|
234
234
|
# Filter to usage incurred by specific Claude Managed Agents sessions, by tagged
|
|
235
235
|
# session ID (`sesn_...`). Use `group_by[]=session_id` to break out per-session
|
|
236
|
-
# values.
|
|
236
|
+
# values.
|
|
237
237
|
#
|
|
238
238
|
# @return [Array<String>, nil]
|
|
239
239
|
optional :session_ids, Anthropic::Internal::Type::ArrayOf[String], nil?: true
|
|
@@ -273,15 +273,13 @@ module Anthropic
|
|
|
273
273
|
# @!attribute user_profile_ids
|
|
274
274
|
# Filter to usage attributed to specific user profiles, by tagged user profile ID
|
|
275
275
|
# (`uprof_...`). Use `group_by[]=user_profile_id` to break out per-profile values.
|
|
276
|
-
# Claude Platform organizations only.
|
|
277
276
|
#
|
|
278
277
|
# @return [Array<String>, nil]
|
|
279
278
|
optional :user_profile_ids, Anthropic::Internal::Type::ArrayOf[String], nil?: true
|
|
280
279
|
|
|
281
280
|
# @!attribute workspace_ids
|
|
282
281
|
# Filter to usage in specific workspaces, by tagged workspace ID (`wrkspc_...`).
|
|
283
|
-
# Use `group_by[]=workspace_id` to break out per-workspace values.
|
|
284
|
-
# organizations only; matches nothing for a Claude Enterprise organization.
|
|
282
|
+
# Use `group_by[]=workspace_id` to break out per-workspace values.
|
|
285
283
|
#
|
|
286
284
|
# @return [Array<String>, nil]
|
|
287
285
|
optional :workspace_ids, Anthropic::Internal::Type::ArrayOf[String], nil?: true
|
|
@@ -41,8 +41,7 @@ module Anthropic
|
|
|
41
41
|
|
|
42
42
|
# @!attribute agent_ids
|
|
43
43
|
# Filter to usage incurred by sessions of specific Claude Managed Agents agents.
|
|
44
|
-
# Use `group_by[]=agent_id` to break out per-agent values.
|
|
45
|
-
# organizations only.
|
|
44
|
+
# Use `group_by[]=agent_id` to break out per-agent values.
|
|
46
45
|
#
|
|
47
46
|
# @return [Array<String>, nil]
|
|
48
47
|
optional :agent_ids, Anthropic::Internal::Type::ArrayOf[String], nil?: true
|
|
@@ -52,7 +51,7 @@ module Anthropic
|
|
|
52
51
|
# (`apikey_...`), whichever identity the usage is attributed to. Include an empty
|
|
53
52
|
# entry (`api_key_ids[]=`) to also match usage that no API key authenticated. Use
|
|
54
53
|
# `group_by[]=api_key_id` to break out per-key values; usage without a key has a
|
|
55
|
-
# null `api_key_id`.
|
|
54
|
+
# null `api_key_id`.
|
|
56
55
|
#
|
|
57
56
|
# @return [Array<String>, nil]
|
|
58
57
|
optional :api_key_ids, Anthropic::Internal::Type::ArrayOf[String], nil?: true
|
|
@@ -92,7 +91,7 @@ module Anthropic
|
|
|
92
91
|
# @!attribute deployment_ids
|
|
93
92
|
# Filter to usage incurred by Claude Managed Agents sessions that specific
|
|
94
93
|
# deployments started. Use `group_by[]=deployment_id` to break out per-deployment
|
|
95
|
-
# values.
|
|
94
|
+
# values.
|
|
96
95
|
#
|
|
97
96
|
# @return [Array<String>, nil]
|
|
98
97
|
optional :deployment_ids, Anthropic::Internal::Type::ArrayOf[String], nil?: true
|
|
@@ -108,7 +107,7 @@ module Anthropic
|
|
|
108
107
|
# @!attribute environment_ids
|
|
109
108
|
# Filter to usage incurred by Claude Managed Agents sessions that ran in specific
|
|
110
109
|
# environments. Use `group_by[]=environment_id` to break out per-environment
|
|
111
|
-
# values.
|
|
110
|
+
# values.
|
|
112
111
|
#
|
|
113
112
|
# @return [Array<String>, nil]
|
|
114
113
|
optional :environment_ids, Anthropic::Internal::Type::ArrayOf[String], nil?: true
|
|
@@ -181,8 +180,10 @@ module Anthropic
|
|
|
181
180
|
# @!attribute organization_ids
|
|
182
181
|
# Filter a parent organization's report to specific child organizations, by
|
|
183
182
|
# organization UUID or `org_` ID; an ID that is not one of its child organizations
|
|
184
|
-
# matches nothing.
|
|
185
|
-
#
|
|
183
|
+
# matches nothing. The report leaves out child organizations with HIPAA readiness
|
|
184
|
+
# enabled, and naming one returns a 400 error. Requires an API key created at the
|
|
185
|
+
# parent organization level. Use `group_by[]=organization_id` to break out
|
|
186
|
+
# per-organization values.
|
|
186
187
|
#
|
|
187
188
|
# @return [Array<String>, nil]
|
|
188
189
|
optional :organization_ids, Anthropic::Internal::Type::ArrayOf[String], nil?: true
|
|
@@ -214,8 +215,7 @@ module Anthropic
|
|
|
214
215
|
|
|
215
216
|
# @!attribute service_tiers
|
|
216
217
|
# Filter to specific service tiers. Use `group_by[]=service_tier` to break out
|
|
217
|
-
# per-tier values.
|
|
218
|
-
# Claude Enterprise organization.
|
|
218
|
+
# per-tier values.
|
|
219
219
|
#
|
|
220
220
|
# @return [Array<Symbol, Anthropic::Models::Beta::Organization::BetaAnalyticsServiceTier>, nil]
|
|
221
221
|
optional :service_tiers,
|
|
@@ -227,7 +227,7 @@ module Anthropic
|
|
|
227
227
|
# @!attribute session_ids
|
|
228
228
|
# Filter to usage incurred by specific Claude Managed Agents sessions, by tagged
|
|
229
229
|
# session ID (`sesn_...`). Use `group_by[]=session_id` to break out per-session
|
|
230
|
-
# values.
|
|
230
|
+
# values.
|
|
231
231
|
#
|
|
232
232
|
# @return [Array<String>, nil]
|
|
233
233
|
optional :session_ids, Anthropic::Internal::Type::ArrayOf[String], nil?: true
|
|
@@ -267,15 +267,13 @@ module Anthropic
|
|
|
267
267
|
# @!attribute user_profile_ids
|
|
268
268
|
# Filter to usage attributed to specific user profiles, by tagged user profile ID
|
|
269
269
|
# (`uprof_...`). Use `group_by[]=user_profile_id` to break out per-profile values.
|
|
270
|
-
# Claude Platform organizations only.
|
|
271
270
|
#
|
|
272
271
|
# @return [Array<String>, nil]
|
|
273
272
|
optional :user_profile_ids, Anthropic::Internal::Type::ArrayOf[String], nil?: true
|
|
274
273
|
|
|
275
274
|
# @!attribute workspace_ids
|
|
276
275
|
# Filter to usage in specific workspaces, by tagged workspace ID (`wrkspc_...`).
|
|
277
|
-
# Use `group_by[]=workspace_id` to break out per-workspace values.
|
|
278
|
-
# organizations only; matches nothing for a Claude Enterprise organization.
|
|
276
|
+
# Use `group_by[]=workspace_id` to break out per-workspace values.
|
|
279
277
|
#
|
|
280
278
|
# @return [Array<String>, nil]
|
|
281
279
|
optional :workspace_ids, Anthropic::Internal::Type::ArrayOf[String], nil?: true
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
module Organization
|
|
7
|
+
class BetaAccessTransparency < Anthropic::Internal::Type::BaseModel
|
|
8
|
+
# @!attribute type
|
|
9
|
+
#
|
|
10
|
+
# @return [Symbol, Anthropic::Models::Beta::Organization::BetaAccessTransparency::Type]
|
|
11
|
+
required :type, enum: -> { Anthropic::Beta::Organization::BetaAccessTransparency::Type }
|
|
12
|
+
|
|
13
|
+
# @!method initialize(type:)
|
|
14
|
+
# Whether Access Transparency is on. Read-only.
|
|
15
|
+
#
|
|
16
|
+
# @param type [Symbol, Anthropic::Models::Beta::Organization::BetaAccessTransparency::Type]
|
|
17
|
+
|
|
18
|
+
# @see Anthropic::Models::Beta::Organization::BetaAccessTransparency#type
|
|
19
|
+
module Type
|
|
20
|
+
extend Anthropic::Internal::Type::Enum
|
|
21
|
+
|
|
22
|
+
DISABLED = :disabled
|
|
23
|
+
ENABLED = :enabled
|
|
24
|
+
|
|
25
|
+
# @!method self.values
|
|
26
|
+
# @return [Array<Symbol>]
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
module Organization
|
|
7
|
+
class BetaActiveExternalStorageStatus < Anthropic::Internal::Type::BaseModel
|
|
8
|
+
# @!attribute healthy
|
|
9
|
+
# Whether the bucket passed its latest recorded check. It can stay `true` after
|
|
10
|
+
# the bucket stops working, so don't use it for monitoring.
|
|
11
|
+
#
|
|
12
|
+
# @return [Boolean]
|
|
13
|
+
required :healthy, Anthropic::Internal::Type::Boolean
|
|
14
|
+
|
|
15
|
+
# @!attribute last_checked_at
|
|
16
|
+
# When the bucket's latest recorded check ran, in RFC 3339.
|
|
17
|
+
#
|
|
18
|
+
# @return [Time]
|
|
19
|
+
required :last_checked_at, Time
|
|
20
|
+
|
|
21
|
+
# @!attribute type
|
|
22
|
+
#
|
|
23
|
+
# @return [Symbol, :active]
|
|
24
|
+
required :type, const: :active
|
|
25
|
+
|
|
26
|
+
# @!method initialize(healthy:, last_checked_at:, type: :active)
|
|
27
|
+
# At least one Workspace has the storage attached.
|
|
28
|
+
#
|
|
29
|
+
# Some parameter documentations has been truncated, see
|
|
30
|
+
# {Anthropic::Models::Beta::Organization::BetaActiveExternalStorageStatus} for
|
|
31
|
+
# more details.
|
|
32
|
+
#
|
|
33
|
+
# @param healthy [Boolean] Whether the bucket passed its latest recorded check. It can stay `true` after th
|
|
34
|
+
#
|
|
35
|
+
# @param last_checked_at [Time] When the bucket's latest recorded check ran, in RFC 3339.
|
|
36
|
+
#
|
|
37
|
+
# @param type [Symbol, :active]
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
end
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
module Organization
|
|
7
|
+
class BetaAnthropicHumanReview < Anthropic::Internal::Type::BaseModel
|
|
8
|
+
# @!attribute type
|
|
9
|
+
#
|
|
10
|
+
# @return [Symbol, Anthropic::Models::Beta::Organization::BetaAnthropicHumanReview::Type]
|
|
11
|
+
required :type, enum: -> { Anthropic::Beta::Organization::BetaAnthropicHumanReview::Type }
|
|
12
|
+
|
|
13
|
+
# @!method initialize(type:)
|
|
14
|
+
# The Workspace's human review setting.
|
|
15
|
+
#
|
|
16
|
+
# @param type [Symbol, Anthropic::Models::Beta::Organization::BetaAnthropicHumanReview::Type]
|
|
17
|
+
|
|
18
|
+
# @see Anthropic::Models::Beta::Organization::BetaAnthropicHumanReview#type
|
|
19
|
+
module Type
|
|
20
|
+
extend Anthropic::Internal::Type::Enum
|
|
21
|
+
|
|
22
|
+
DISABLED = :disabled
|
|
23
|
+
ENABLED = :enabled
|
|
24
|
+
|
|
25
|
+
# @!method self.values
|
|
26
|
+
# @return [Array<Symbol>]
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
module Organization
|
|
7
|
+
class BetaAnthropicHumanReviewParam < Anthropic::Internal::Type::BaseModel
|
|
8
|
+
# @!attribute type
|
|
9
|
+
#
|
|
10
|
+
# @return [Symbol, Anthropic::Models::Beta::Organization::BetaAnthropicHumanReviewParam::Type]
|
|
11
|
+
required :type, enum: -> { Anthropic::Beta::Organization::BetaAnthropicHumanReviewParam::Type }
|
|
12
|
+
|
|
13
|
+
# @!method initialize(type:)
|
|
14
|
+
# Whether Anthropic's human review applies to the Workspace's inference data.
|
|
15
|
+
#
|
|
16
|
+
# @param type [Symbol, Anthropic::Models::Beta::Organization::BetaAnthropicHumanReviewParam::Type]
|
|
17
|
+
|
|
18
|
+
# @see Anthropic::Models::Beta::Organization::BetaAnthropicHumanReviewParam#type
|
|
19
|
+
module Type
|
|
20
|
+
extend Anthropic::Internal::Type::Enum
|
|
21
|
+
|
|
22
|
+
DISABLED = :disabled
|
|
23
|
+
ENABLED = :enabled
|
|
24
|
+
|
|
25
|
+
# @!method self.values
|
|
26
|
+
# @return [Array<Symbol>]
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
module Organization
|
|
7
|
+
class BetaAvailableExternalStorageStatus < Anthropic::Internal::Type::BaseModel
|
|
8
|
+
# @!attribute healthy
|
|
9
|
+
# Whether the bucket passed its latest recorded check. It can stay `true` after
|
|
10
|
+
# the bucket stops working, so don't use it for monitoring.
|
|
11
|
+
#
|
|
12
|
+
# @return [Boolean]
|
|
13
|
+
required :healthy, Anthropic::Internal::Type::Boolean
|
|
14
|
+
|
|
15
|
+
# @!attribute last_checked_at
|
|
16
|
+
# When the bucket's latest recorded check ran, in RFC 3339.
|
|
17
|
+
#
|
|
18
|
+
# @return [Time]
|
|
19
|
+
required :last_checked_at, Time
|
|
20
|
+
|
|
21
|
+
# @!attribute type
|
|
22
|
+
#
|
|
23
|
+
# @return [Symbol, :available]
|
|
24
|
+
required :type, const: :available
|
|
25
|
+
|
|
26
|
+
# @!method initialize(healthy:, last_checked_at:, type: :available)
|
|
27
|
+
# The storage is verified, no Workspace has it attached, and Anthropic doesn't use
|
|
28
|
+
# the bucket.
|
|
29
|
+
#
|
|
30
|
+
# Some parameter documentations has been truncated, see
|
|
31
|
+
# {Anthropic::Models::Beta::Organization::BetaAvailableExternalStorageStatus} for
|
|
32
|
+
# more details.
|
|
33
|
+
#
|
|
34
|
+
# @param healthy [Boolean] Whether the bucket passed its latest recorded check. It can stay `true` after th
|
|
35
|
+
#
|
|
36
|
+
# @param last_checked_at [Time] When the bucket's latest recorded check ran, in RFC 3339.
|
|
37
|
+
#
|
|
38
|
+
# @param type [Symbol, :available]
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
module Organization
|
|
7
|
+
class BetaAWSExternalStorageConfig < Anthropic::Internal::Type::BaseModel
|
|
8
|
+
# @!attribute account_id
|
|
9
|
+
# 12-digit ID of the AWS account that owns the bucket.
|
|
10
|
+
#
|
|
11
|
+
# @return [String]
|
|
12
|
+
required :account_id, String
|
|
13
|
+
|
|
14
|
+
# @!attribute bucket_name
|
|
15
|
+
# The bucket's name, without `s3://`.
|
|
16
|
+
#
|
|
17
|
+
# @return [String]
|
|
18
|
+
required :bucket_name, String
|
|
19
|
+
|
|
20
|
+
# @!attribute region
|
|
21
|
+
# The bucket's AWS region.
|
|
22
|
+
#
|
|
23
|
+
# @return [String]
|
|
24
|
+
required :region, String
|
|
25
|
+
|
|
26
|
+
# @!attribute type
|
|
27
|
+
#
|
|
28
|
+
# @return [Symbol, :aws]
|
|
29
|
+
required :type, const: :aws
|
|
30
|
+
|
|
31
|
+
# @!method initialize(account_id:, bucket_name:, region:, type: :aws)
|
|
32
|
+
# An Amazon S3 bucket.
|
|
33
|
+
#
|
|
34
|
+
# @param account_id [String] 12-digit ID of the AWS account that owns the bucket.
|
|
35
|
+
#
|
|
36
|
+
# @param bucket_name [String] The bucket's name, without `s3://`.
|
|
37
|
+
#
|
|
38
|
+
# @param region [String] The bucket's AWS region.
|
|
39
|
+
#
|
|
40
|
+
# @param type [Symbol, :aws]
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
module Organization
|
|
7
|
+
class BetaAWSExternalStorageConfigParam < Anthropic::Internal::Type::BaseModel
|
|
8
|
+
# @!attribute account_id
|
|
9
|
+
# 12-digit ID of the AWS account that owns the bucket.
|
|
10
|
+
#
|
|
11
|
+
# @return [String]
|
|
12
|
+
required :account_id, String
|
|
13
|
+
|
|
14
|
+
# @!attribute bucket_name
|
|
15
|
+
# The bucket's name, without `s3://`: 3 to 63 lower-case letters, digits and
|
|
16
|
+
# hyphens, starting and ending with a letter or digit.
|
|
17
|
+
#
|
|
18
|
+
# @return [String]
|
|
19
|
+
required :bucket_name, String
|
|
20
|
+
|
|
21
|
+
# @!attribute region
|
|
22
|
+
# The bucket's AWS region. Activating the storage fails if Anthropic can't use
|
|
23
|
+
# buckets in that region.
|
|
24
|
+
#
|
|
25
|
+
# @return [String]
|
|
26
|
+
required :region, String
|
|
27
|
+
|
|
28
|
+
# @!attribute type
|
|
29
|
+
#
|
|
30
|
+
# @return [Symbol, :aws]
|
|
31
|
+
required :type, const: :aws
|
|
32
|
+
|
|
33
|
+
# @!method initialize(account_id:, bucket_name:, region:, type: :aws)
|
|
34
|
+
# An Amazon S3 bucket.
|
|
35
|
+
#
|
|
36
|
+
# Some parameter documentations has been truncated, see
|
|
37
|
+
# {Anthropic::Models::Beta::Organization::BetaAWSExternalStorageConfigParam} for
|
|
38
|
+
# more details.
|
|
39
|
+
#
|
|
40
|
+
# @param account_id [String] 12-digit ID of the AWS account that owns the bucket.
|
|
41
|
+
#
|
|
42
|
+
# @param bucket_name [String] The bucket's name, without `s3://`: 3 to 63 lower-case letters, digits and hyphe
|
|
43
|
+
#
|
|
44
|
+
# @param region [String] The bucket's AWS region. Activating the storage fails if Anthropic can't use buc
|
|
45
|
+
#
|
|
46
|
+
# @param type [Symbol, :aws]
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
end
|
|
@@ -17,9 +17,26 @@ module Anthropic
|
|
|
17
17
|
# @return [Symbol, :compliance_settings]
|
|
18
18
|
required :type, const: :compliance_settings
|
|
19
19
|
|
|
20
|
-
# @!
|
|
20
|
+
# @!attribute access_transparency
|
|
21
|
+
# Read-only. Whether Access Transparency is on for the organization. Returned only
|
|
22
|
+
# when the request sends the `anthropic-beta: efs-2026-10-01` header and Access
|
|
23
|
+
# Transparency is available to the organization; otherwise omitted. If the status
|
|
24
|
+
# can't be read, getting Compliance Settings returns an error; an update still
|
|
25
|
+
# saves, but then reports `disabled` whatever the real status, so get the settings
|
|
26
|
+
# again to check it.
|
|
27
|
+
#
|
|
28
|
+
# @return [Anthropic::Models::Beta::Organization::BetaAccessTransparency, nil]
|
|
29
|
+
optional :access_transparency, -> { Anthropic::Beta::Organization::BetaAccessTransparency }
|
|
30
|
+
|
|
31
|
+
# @!method initialize(state:, access_transparency: nil, type: :compliance_settings)
|
|
32
|
+
# Some parameter documentations has been truncated, see
|
|
33
|
+
# {Anthropic::Models::Beta::Organization::BetaComplianceSettings} for more
|
|
34
|
+
# details.
|
|
35
|
+
#
|
|
21
36
|
# @param state [Anthropic::Models::Beta::Organization::BetaComplianceSettingsStateEnabled, Anthropic::Models::Beta::Organization::BetaComplianceSettingsStateDisabled] Whether the Compliance API is enabled for this organization.
|
|
22
37
|
#
|
|
38
|
+
# @param access_transparency [Anthropic::Models::Beta::Organization::BetaAccessTransparency] Read-only. Whether Access Transparency is on for the organization. Returned only
|
|
39
|
+
#
|
|
23
40
|
# @param type [Symbol, :compliance_settings]
|
|
24
41
|
end
|
|
25
42
|
end
|