anthropic 1.79.0 → 1.80.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 +23 -1
- data/README.md +1 -1
- data/lib/anthropic/helpers/refusal_fallback.rb +52 -21
- data/lib/anthropic/models/beta/agent_archive_params.rb +3 -2
- data/lib/anthropic/models/beta/agent_create_params.rb +3 -2
- data/lib/anthropic/models/beta/agent_list_params.rb +3 -2
- data/lib/anthropic/models/beta/agent_retrieve_params.rb +3 -2
- data/lib/anthropic/models/beta/agent_update_params.rb +3 -2
- data/lib/anthropic/models/beta/agents/version_list_params.rb +3 -2
- data/lib/anthropic/models/beta/beta_thinking_types.rb +17 -2
- data/lib/anthropic/models/beta/deployment_archive_params.rb +3 -2
- data/lib/anthropic/models/beta/deployment_create_params.rb +3 -2
- data/lib/anthropic/models/beta/deployment_list_params.rb +3 -2
- data/lib/anthropic/models/beta/deployment_pause_params.rb +3 -2
- data/lib/anthropic/models/beta/deployment_retrieve_params.rb +3 -2
- data/lib/anthropic/models/beta/deployment_run_list_params.rb +3 -2
- data/lib/anthropic/models/beta/deployment_run_params.rb +3 -2
- data/lib/anthropic/models/beta/deployment_run_retrieve_params.rb +3 -2
- data/lib/anthropic/models/beta/deployment_unpause_params.rb +3 -2
- data/lib/anthropic/models/beta/deployment_update_params.rb +3 -2
- data/lib/anthropic/models/beta/dream_archive_params.rb +3 -2
- data/lib/anthropic/models/beta/dream_cancel_params.rb +3 -2
- data/lib/anthropic/models/beta/dream_create_params.rb +3 -2
- data/lib/anthropic/models/beta/dream_list_params.rb +3 -2
- data/lib/anthropic/models/beta/dream_retrieve_params.rb +3 -2
- data/lib/anthropic/models/beta/memory_store_archive_params.rb +3 -2
- data/lib/anthropic/models/beta/memory_store_create_params.rb +3 -2
- data/lib/anthropic/models/beta/memory_store_delete_params.rb +3 -2
- data/lib/anthropic/models/beta/memory_store_list_params.rb +3 -2
- data/lib/anthropic/models/beta/memory_store_retrieve_params.rb +3 -2
- data/lib/anthropic/models/beta/memory_store_update_params.rb +3 -2
- data/lib/anthropic/models/beta/memory_stores/memory_create_params.rb +3 -2
- data/lib/anthropic/models/beta/memory_stores/memory_delete_params.rb +3 -2
- data/lib/anthropic/models/beta/memory_stores/memory_list_params.rb +3 -2
- data/lib/anthropic/models/beta/memory_stores/memory_retrieve_params.rb +3 -2
- data/lib/anthropic/models/beta/memory_stores/memory_update_params.rb +3 -2
- data/lib/anthropic/models/beta/memory_stores/memory_version_list_params.rb +3 -2
- data/lib/anthropic/models/beta/memory_stores/memory_version_redact_params.rb +3 -2
- data/lib/anthropic/models/beta/memory_stores/memory_version_retrieve_params.rb +3 -2
- data/lib/anthropic/models/beta/message_count_tokens_params.rb +10 -0
- data/lib/anthropic/models/beta/message_create_params.rb +10 -0
- data/lib/anthropic/models/beta/messages/batch_create_params.rb +10 -0
- data/lib/anthropic/models/beta/organization/beta_spend_limit.rb +14 -4
- data/lib/anthropic/models/beta/organization/beta_spend_limit_usage_tier_scope.rb +25 -0
- data/lib/anthropic/models/beta/organization/beta_spend_summary.rb +28 -8
- data/lib/anthropic/models/beta/organization/telemetry_destination_create_params.rb +3 -2
- data/lib/anthropic/models/beta/organization/telemetry_destination_delete_params.rb +7 -2
- data/lib/anthropic/models/beta/organization/telemetry_destination_list_params.rb +3 -2
- data/lib/anthropic/models/beta/organization/telemetry_destination_retrieve_params.rb +7 -2
- data/lib/anthropic/models/beta/organization/telemetry_destination_test_params.rb +7 -2
- data/lib/anthropic/models/beta/organization/telemetry_destination_update_params.rb +3 -2
- data/lib/anthropic/models/beta/organization/telemetry_destinations/workspace_add_params.rb +7 -2
- data/lib/anthropic/models/beta/organization/telemetry_destinations/workspace_list_params.rb +3 -2
- data/lib/anthropic/models/beta/organization/telemetry_destinations/workspace_remove_params.rb +7 -2
- data/lib/anthropic/models/beta/session_archive_params.rb +3 -2
- data/lib/anthropic/models/beta/session_create_params.rb +3 -2
- data/lib/anthropic/models/beta/session_delete_params.rb +3 -2
- data/lib/anthropic/models/beta/session_list_params.rb +3 -2
- data/lib/anthropic/models/beta/session_retrieve_params.rb +3 -2
- data/lib/anthropic/models/beta/session_update_params.rb +3 -2
- data/lib/anthropic/models/beta/sessions/event_list_params.rb +3 -2
- data/lib/anthropic/models/beta/sessions/event_send_params.rb +3 -2
- data/lib/anthropic/models/beta/sessions/event_stream_params.rb +3 -2
- data/lib/anthropic/models/beta/sessions/resource_add_params.rb +3 -2
- data/lib/anthropic/models/beta/sessions/resource_delete_params.rb +3 -2
- data/lib/anthropic/models/beta/sessions/resource_list_params.rb +3 -2
- data/lib/anthropic/models/beta/sessions/resource_retrieve_params.rb +3 -2
- data/lib/anthropic/models/beta/sessions/resource_update_params.rb +3 -2
- data/lib/anthropic/models/beta/sessions/thread_archive_params.rb +3 -2
- data/lib/anthropic/models/beta/sessions/thread_list_params.rb +3 -2
- data/lib/anthropic/models/beta/sessions/thread_retrieve_params.rb +3 -2
- data/lib/anthropic/models/beta/sessions/threads/event_list_params.rb +3 -2
- data/lib/anthropic/models/beta/sessions/threads/event_stream_params.rb +3 -2
- data/lib/anthropic/models/beta/tunnel_archive_params.rb +3 -2
- data/lib/anthropic/models/beta/tunnel_create_params.rb +3 -2
- data/lib/anthropic/models/beta/tunnel_list_params.rb +3 -2
- data/lib/anthropic/models/beta/tunnel_retrieve_params.rb +3 -2
- data/lib/anthropic/models/beta/tunnel_reveal_token_params.rb +3 -2
- data/lib/anthropic/models/beta/tunnel_rotate_token_params.rb +3 -2
- data/lib/anthropic/models/beta/tunnels/certificate_archive_params.rb +3 -2
- data/lib/anthropic/models/beta/tunnels/certificate_create_params.rb +3 -2
- data/lib/anthropic/models/beta/tunnels/certificate_list_params.rb +3 -2
- data/lib/anthropic/models/beta/tunnels/certificate_retrieve_params.rb +3 -2
- data/lib/anthropic/models/beta/user_profile_create_enrollment_url_params.rb +3 -2
- data/lib/anthropic/models/beta/user_profile_create_params.rb +3 -2
- data/lib/anthropic/models/beta/user_profile_list_params.rb +3 -2
- data/lib/anthropic/models/beta/user_profile_retrieve_params.rb +3 -2
- data/lib/anthropic/models/beta/user_profile_update_params.rb +3 -2
- data/lib/anthropic/models/beta/vault_archive_params.rb +3 -2
- data/lib/anthropic/models/beta/vault_create_params.rb +3 -2
- data/lib/anthropic/models/beta/vault_delete_params.rb +3 -2
- data/lib/anthropic/models/beta/vault_list_params.rb +3 -2
- data/lib/anthropic/models/beta/vault_retrieve_params.rb +3 -2
- data/lib/anthropic/models/beta/vault_update_params.rb +3 -2
- data/lib/anthropic/models/beta/vaults/credential_archive_params.rb +3 -2
- data/lib/anthropic/models/beta/vaults/credential_create_params.rb +3 -2
- data/lib/anthropic/models/beta/vaults/credential_delete_params.rb +3 -2
- data/lib/anthropic/models/beta/vaults/credential_list_params.rb +3 -2
- data/lib/anthropic/models/beta/vaults/credential_mcp_oauth_validate_params.rb +3 -2
- data/lib/anthropic/models/beta/vaults/credential_retrieve_params.rb +3 -2
- data/lib/anthropic/models/beta/vaults/credential_update_params.rb +3 -2
- data/lib/anthropic/models/message_count_tokens_params.rb +32 -1
- data/lib/anthropic/models/message_create_params.rb +32 -1
- data/lib/anthropic/models/messages/batch_create_params.rb +38 -1
- data/lib/anthropic/models/thinking_types.rb +17 -2
- data/lib/anthropic/models/usage.rb +22 -1
- data/lib/anthropic/resources/beta/agents/versions.rb +1 -1
- data/lib/anthropic/resources/beta/agents.rb +5 -5
- data/lib/anthropic/resources/beta/deployment_runs.rb +2 -2
- data/lib/anthropic/resources/beta/deployments.rb +8 -8
- data/lib/anthropic/resources/beta/dreams.rb +5 -5
- data/lib/anthropic/resources/beta/memory_stores/memories.rb +5 -5
- data/lib/anthropic/resources/beta/memory_stores/memory_versions.rb +3 -3
- data/lib/anthropic/resources/beta/memory_stores.rb +6 -6
- data/lib/anthropic/resources/beta/organization/spend_limits.rb +3 -2
- data/lib/anthropic/resources/beta/organization/telemetry_destinations/workspaces.rb +11 -3
- data/lib/anthropic/resources/beta/organization/telemetry_destinations.rb +18 -6
- data/lib/anthropic/resources/beta/sessions/events.rb +3 -3
- data/lib/anthropic/resources/beta/sessions/resources.rb +5 -5
- data/lib/anthropic/resources/beta/sessions/threads/events.rb +2 -2
- data/lib/anthropic/resources/beta/sessions/threads.rb +3 -3
- data/lib/anthropic/resources/beta/sessions.rb +6 -6
- data/lib/anthropic/resources/beta/tunnels/certificates.rb +4 -4
- data/lib/anthropic/resources/beta/tunnels.rb +6 -6
- data/lib/anthropic/resources/beta/user_profiles.rb +5 -5
- data/lib/anthropic/resources/beta/vaults/credentials.rb +7 -7
- data/lib/anthropic/resources/beta/vaults.rb +6 -6
- data/lib/anthropic/resources/messages.rb +12 -4
- data/lib/anthropic/version.rb +1 -1
- data/lib/anthropic.rb +1 -0
- data/rbi/anthropic/models/beta/agent_archive_params.rbi +4 -2
- data/rbi/anthropic/models/beta/agent_create_params.rbi +4 -2
- data/rbi/anthropic/models/beta/agent_list_params.rbi +4 -2
- data/rbi/anthropic/models/beta/agent_retrieve_params.rbi +4 -2
- data/rbi/anthropic/models/beta/agent_update_params.rbi +4 -2
- data/rbi/anthropic/models/beta/agents/version_list_params.rbi +4 -2
- data/rbi/anthropic/models/beta/beta_thinking_types.rbi +31 -2
- data/rbi/anthropic/models/beta/deployment_archive_params.rbi +4 -2
- data/rbi/anthropic/models/beta/deployment_create_params.rbi +4 -2
- data/rbi/anthropic/models/beta/deployment_list_params.rbi +4 -2
- data/rbi/anthropic/models/beta/deployment_pause_params.rbi +4 -2
- data/rbi/anthropic/models/beta/deployment_retrieve_params.rbi +4 -2
- data/rbi/anthropic/models/beta/deployment_run_list_params.rbi +4 -2
- data/rbi/anthropic/models/beta/deployment_run_params.rbi +4 -2
- data/rbi/anthropic/models/beta/deployment_run_retrieve_params.rbi +4 -2
- data/rbi/anthropic/models/beta/deployment_unpause_params.rbi +4 -2
- data/rbi/anthropic/models/beta/deployment_update_params.rbi +4 -2
- data/rbi/anthropic/models/beta/dream_archive_params.rbi +4 -2
- data/rbi/anthropic/models/beta/dream_cancel_params.rbi +4 -2
- data/rbi/anthropic/models/beta/dream_create_params.rbi +4 -2
- data/rbi/anthropic/models/beta/dream_list_params.rbi +4 -2
- data/rbi/anthropic/models/beta/dream_retrieve_params.rbi +4 -2
- data/rbi/anthropic/models/beta/memory_store_archive_params.rbi +4 -2
- data/rbi/anthropic/models/beta/memory_store_create_params.rbi +4 -2
- data/rbi/anthropic/models/beta/memory_store_delete_params.rbi +4 -2
- data/rbi/anthropic/models/beta/memory_store_list_params.rbi +4 -2
- data/rbi/anthropic/models/beta/memory_store_retrieve_params.rbi +4 -2
- data/rbi/anthropic/models/beta/memory_store_update_params.rbi +4 -2
- data/rbi/anthropic/models/beta/memory_stores/memory_create_params.rbi +4 -2
- data/rbi/anthropic/models/beta/memory_stores/memory_delete_params.rbi +4 -2
- data/rbi/anthropic/models/beta/memory_stores/memory_list_params.rbi +4 -2
- data/rbi/anthropic/models/beta/memory_stores/memory_retrieve_params.rbi +4 -2
- data/rbi/anthropic/models/beta/memory_stores/memory_update_params.rbi +4 -2
- data/rbi/anthropic/models/beta/memory_stores/memory_version_list_params.rbi +4 -2
- data/rbi/anthropic/models/beta/memory_stores/memory_version_redact_params.rbi +4 -2
- data/rbi/anthropic/models/beta/memory_stores/memory_version_retrieve_params.rbi +4 -2
- data/rbi/anthropic/models/beta/message_count_tokens_params.rbi +15 -0
- data/rbi/anthropic/models/beta/message_create_params.rbi +15 -0
- data/rbi/anthropic/models/beta/messages/batch_create_params.rbi +15 -0
- data/rbi/anthropic/models/beta/organization/beta_spend_limit.rbi +9 -2
- data/rbi/anthropic/models/beta/organization/beta_spend_limit_usage_tier_scope.rbi +38 -0
- data/rbi/anthropic/models/beta/organization/beta_spend_summary.rbi +18 -4
- data/rbi/anthropic/models/beta/organization/telemetry_destination_create_params.rbi +4 -2
- data/rbi/anthropic/models/beta/organization/telemetry_destination_delete_params.rbi +4 -2
- data/rbi/anthropic/models/beta/organization/telemetry_destination_list_params.rbi +4 -2
- data/rbi/anthropic/models/beta/organization/telemetry_destination_retrieve_params.rbi +4 -2
- data/rbi/anthropic/models/beta/organization/telemetry_destination_test_params.rbi +4 -2
- data/rbi/anthropic/models/beta/organization/telemetry_destination_update_params.rbi +4 -2
- data/rbi/anthropic/models/beta/organization/telemetry_destinations/workspace_add_params.rbi +4 -2
- data/rbi/anthropic/models/beta/organization/telemetry_destinations/workspace_list_params.rbi +4 -2
- data/rbi/anthropic/models/beta/organization/telemetry_destinations/workspace_remove_params.rbi +4 -2
- data/rbi/anthropic/models/beta/session_archive_params.rbi +4 -2
- data/rbi/anthropic/models/beta/session_create_params.rbi +4 -2
- data/rbi/anthropic/models/beta/session_delete_params.rbi +4 -2
- data/rbi/anthropic/models/beta/session_list_params.rbi +4 -2
- data/rbi/anthropic/models/beta/session_retrieve_params.rbi +4 -2
- data/rbi/anthropic/models/beta/session_update_params.rbi +4 -2
- data/rbi/anthropic/models/beta/sessions/event_list_params.rbi +4 -2
- data/rbi/anthropic/models/beta/sessions/event_send_params.rbi +4 -2
- data/rbi/anthropic/models/beta/sessions/event_stream_params.rbi +4 -2
- data/rbi/anthropic/models/beta/sessions/resource_add_params.rbi +4 -2
- data/rbi/anthropic/models/beta/sessions/resource_delete_params.rbi +4 -2
- data/rbi/anthropic/models/beta/sessions/resource_list_params.rbi +4 -2
- data/rbi/anthropic/models/beta/sessions/resource_retrieve_params.rbi +4 -2
- data/rbi/anthropic/models/beta/sessions/resource_update_params.rbi +4 -2
- data/rbi/anthropic/models/beta/sessions/thread_archive_params.rbi +4 -2
- data/rbi/anthropic/models/beta/sessions/thread_list_params.rbi +4 -2
- data/rbi/anthropic/models/beta/sessions/thread_retrieve_params.rbi +4 -2
- data/rbi/anthropic/models/beta/sessions/threads/event_list_params.rbi +4 -2
- data/rbi/anthropic/models/beta/sessions/threads/event_stream_params.rbi +4 -2
- data/rbi/anthropic/models/beta/tunnel_archive_params.rbi +4 -2
- data/rbi/anthropic/models/beta/tunnel_create_params.rbi +4 -2
- data/rbi/anthropic/models/beta/tunnel_list_params.rbi +4 -2
- data/rbi/anthropic/models/beta/tunnel_retrieve_params.rbi +4 -2
- data/rbi/anthropic/models/beta/tunnel_reveal_token_params.rbi +4 -2
- data/rbi/anthropic/models/beta/tunnel_rotate_token_params.rbi +4 -2
- data/rbi/anthropic/models/beta/tunnels/certificate_archive_params.rbi +4 -2
- data/rbi/anthropic/models/beta/tunnels/certificate_create_params.rbi +4 -2
- data/rbi/anthropic/models/beta/tunnels/certificate_list_params.rbi +4 -2
- data/rbi/anthropic/models/beta/tunnels/certificate_retrieve_params.rbi +4 -2
- data/rbi/anthropic/models/beta/user_profile_create_enrollment_url_params.rbi +4 -2
- data/rbi/anthropic/models/beta/user_profile_create_params.rbi +4 -2
- data/rbi/anthropic/models/beta/user_profile_list_params.rbi +4 -2
- data/rbi/anthropic/models/beta/user_profile_retrieve_params.rbi +4 -2
- data/rbi/anthropic/models/beta/user_profile_update_params.rbi +4 -2
- data/rbi/anthropic/models/beta/vault_archive_params.rbi +4 -2
- data/rbi/anthropic/models/beta/vault_create_params.rbi +4 -2
- data/rbi/anthropic/models/beta/vault_delete_params.rbi +4 -2
- data/rbi/anthropic/models/beta/vault_list_params.rbi +4 -2
- data/rbi/anthropic/models/beta/vault_retrieve_params.rbi +4 -2
- data/rbi/anthropic/models/beta/vault_update_params.rbi +4 -2
- data/rbi/anthropic/models/beta/vaults/credential_archive_params.rbi +4 -2
- data/rbi/anthropic/models/beta/vaults/credential_create_params.rbi +4 -2
- data/rbi/anthropic/models/beta/vaults/credential_delete_params.rbi +4 -2
- data/rbi/anthropic/models/beta/vaults/credential_list_params.rbi +4 -2
- data/rbi/anthropic/models/beta/vaults/credential_mcp_oauth_validate_params.rbi +4 -2
- data/rbi/anthropic/models/beta/vaults/credential_retrieve_params.rbi +4 -2
- data/rbi/anthropic/models/beta/vaults/credential_update_params.rbi +4 -2
- data/rbi/anthropic/models/message_count_tokens_params.rbi +57 -0
- data/rbi/anthropic/models/message_create_params.rbi +49 -0
- data/rbi/anthropic/models/messages/batch_create_params.rbi +73 -0
- data/rbi/anthropic/models/thinking_types.rbi +27 -2
- data/rbi/anthropic/models/usage.rbi +29 -3
- data/rbi/anthropic/resources/beta/agents/versions.rbi +2 -1
- data/rbi/anthropic/resources/beta/agents.rbi +10 -5
- data/rbi/anthropic/resources/beta/deployment_runs.rbi +4 -2
- data/rbi/anthropic/resources/beta/deployments.rbi +16 -8
- data/rbi/anthropic/resources/beta/dreams.rbi +10 -5
- data/rbi/anthropic/resources/beta/memory_stores/memories.rbi +10 -5
- data/rbi/anthropic/resources/beta/memory_stores/memory_versions.rbi +6 -3
- data/rbi/anthropic/resources/beta/memory_stores.rbi +12 -6
- data/rbi/anthropic/resources/beta/messages.rbi +15 -0
- data/rbi/anthropic/resources/beta/organization/spend_limits.rbi +3 -2
- data/rbi/anthropic/resources/beta/organization/telemetry_destinations/workspaces.rbi +6 -3
- data/rbi/anthropic/resources/beta/organization/telemetry_destinations.rbi +12 -6
- data/rbi/anthropic/resources/beta/sessions/events.rbi +6 -3
- data/rbi/anthropic/resources/beta/sessions/resources.rbi +10 -5
- data/rbi/anthropic/resources/beta/sessions/threads/events.rbi +4 -2
- data/rbi/anthropic/resources/beta/sessions/threads.rbi +6 -3
- data/rbi/anthropic/resources/beta/sessions.rbi +12 -6
- data/rbi/anthropic/resources/beta/tunnels/certificates.rbi +8 -4
- data/rbi/anthropic/resources/beta/tunnels.rbi +12 -6
- data/rbi/anthropic/resources/beta/user_profiles.rbi +13 -5
- data/rbi/anthropic/resources/beta/vaults/credentials.rbi +14 -7
- data/rbi/anthropic/resources/beta/vaults.rbi +12 -6
- data/rbi/anthropic/resources/messages.rbi +32 -0
- data/sig/anthropic/models/beta/beta_thinking_types.rbs +5 -0
- data/sig/anthropic/models/beta/organization/beta_spend_limit.rbs +6 -0
- data/sig/anthropic/models/beta/organization/beta_spend_limit_usage_tier_scope.rbs +17 -0
- data/sig/anthropic/models/beta/organization/beta_spend_summary.rbs +12 -0
- data/sig/anthropic/models/message_count_tokens_params.rbs +16 -0
- data/sig/anthropic/models/message_create_params.rbs +16 -0
- data/sig/anthropic/models/messages/batch_create_params.rbs +16 -0
- data/sig/anthropic/models/thinking_types.rbs +5 -0
- data/sig/anthropic/models/usage.rbs +19 -3
- data/sig/anthropic/resources/messages.rbs +4 -0
- metadata +5 -2
|
@@ -44,12 +44,12 @@ module Anthropic
|
|
|
44
44
|
|
|
45
45
|
# @!attribute scope
|
|
46
46
|
#
|
|
47
|
-
# @return [Anthropic::Models::Beta::Organization::BetaSpendLimitUserScope, Anthropic::Models::Beta::Organization::BetaSpendLimitSeatTierScope, Anthropic::Models::Beta::Organization::BetaSpendLimitRBACGroupScope, Anthropic::Models::Beta::Organization::BetaSpendLimitOrganizationServiceScope, Anthropic::Models::Beta::Organization::BetaSpendLimitOrganizationScope, Anthropic::Models::Beta::Organization::BetaSpendLimitWorkspaceScope]
|
|
47
|
+
# @return [Anthropic::Models::Beta::Organization::BetaSpendLimitUserScope, Anthropic::Models::Beta::Organization::BetaSpendLimitSeatTierScope, Anthropic::Models::Beta::Organization::BetaSpendLimitRBACGroupScope, Anthropic::Models::Beta::Organization::BetaSpendLimitOrganizationServiceScope, Anthropic::Models::Beta::Organization::BetaSpendLimitOrganizationScope, Anthropic::Models::Beta::Organization::BetaSpendLimitWorkspaceScope, Anthropic::Models::Beta::Organization::BetaSpendLimitUsageTierScope]
|
|
48
48
|
required :scope, union: -> { Anthropic::Beta::Organization::BetaSpendSummary::Scope }
|
|
49
49
|
|
|
50
50
|
# @!attribute source
|
|
51
51
|
#
|
|
52
|
-
# @return [Anthropic::Models::Beta::Organization::BetaSpendLimitUserScope, Anthropic::Models::Beta::Organization::BetaSpendLimitSeatTierScope, Anthropic::Models::Beta::Organization::BetaSpendLimitRBACGroupScope, Anthropic::Models::Beta::Organization::BetaSpendLimitOrganizationServiceScope, Anthropic::Models::Beta::Organization::BetaSpendLimitOrganizationScope, Anthropic::Models::Beta::Organization::BetaSpendLimitWorkspaceScope]
|
|
52
|
+
# @return [Anthropic::Models::Beta::Organization::BetaSpendLimitUserScope, Anthropic::Models::Beta::Organization::BetaSpendLimitSeatTierScope, Anthropic::Models::Beta::Organization::BetaSpendLimitRBACGroupScope, Anthropic::Models::Beta::Organization::BetaSpendLimitOrganizationServiceScope, Anthropic::Models::Beta::Organization::BetaSpendLimitOrganizationScope, Anthropic::Models::Beta::Organization::BetaSpendLimitWorkspaceScope, Anthropic::Models::Beta::Organization::BetaSpendLimitUsageTierScope]
|
|
53
53
|
required :source, union: -> { Anthropic::Beta::Organization::BetaSpendSummary::Source }
|
|
54
54
|
|
|
55
55
|
# @!attribute spend_limit_id
|
|
@@ -73,9 +73,9 @@ module Anthropic
|
|
|
73
73
|
#
|
|
74
74
|
# @param period_to_date_spend [String] The member's spend so far in the current period, as a non-negative decimal strin
|
|
75
75
|
#
|
|
76
|
-
# @param scope [Anthropic::Models::Beta::Organization::BetaSpendLimitUserScope, Anthropic::Models::Beta::Organization::BetaSpendLimitSeatTierScope, Anthropic::Models::Beta::Organization::BetaSpendLimitRBACGroupScope, Anthropic::Models::Beta::Organization::BetaSpendLimitOrganizationServiceScope, Anthropic::Models::Beta::Organization::BetaSpendLimitOrganizationScope, Anthropic::Models::Beta::Organization::BetaSpendLimitWorkspaceScope]
|
|
76
|
+
# @param scope [Anthropic::Models::Beta::Organization::BetaSpendLimitUserScope, Anthropic::Models::Beta::Organization::BetaSpendLimitSeatTierScope, Anthropic::Models::Beta::Organization::BetaSpendLimitRBACGroupScope, Anthropic::Models::Beta::Organization::BetaSpendLimitOrganizationServiceScope, Anthropic::Models::Beta::Organization::BetaSpendLimitOrganizationScope, Anthropic::Models::Beta::Organization::BetaSpendLimitWorkspaceScope, Anthropic::Models::Beta::Organization::BetaSpendLimitUsageTierScope]
|
|
77
77
|
#
|
|
78
|
-
# @param source [Anthropic::Models::Beta::Organization::BetaSpendLimitUserScope, Anthropic::Models::Beta::Organization::BetaSpendLimitSeatTierScope, Anthropic::Models::Beta::Organization::BetaSpendLimitRBACGroupScope, Anthropic::Models::Beta::Organization::BetaSpendLimitOrganizationServiceScope, Anthropic::Models::Beta::Organization::BetaSpendLimitOrganizationScope, Anthropic::Models::Beta::Organization::BetaSpendLimitWorkspaceScope]
|
|
78
|
+
# @param source [Anthropic::Models::Beta::Organization::BetaSpendLimitUserScope, Anthropic::Models::Beta::Organization::BetaSpendLimitSeatTierScope, Anthropic::Models::Beta::Organization::BetaSpendLimitRBACGroupScope, Anthropic::Models::Beta::Organization::BetaSpendLimitOrganizationServiceScope, Anthropic::Models::Beta::Organization::BetaSpendLimitOrganizationScope, Anthropic::Models::Beta::Organization::BetaSpendLimitWorkspaceScope, Anthropic::Models::Beta::Organization::BetaSpendLimitUsageTierScope]
|
|
79
79
|
#
|
|
80
80
|
# @param spend_limit_id [String]
|
|
81
81
|
|
|
@@ -162,6 +162,13 @@ module Anthropic
|
|
|
162
162
|
# Scope selecting one workspace of a Claude Console organization.
|
|
163
163
|
variant :workspace, -> { Anthropic::Beta::Organization::BetaSpendLimitWorkspaceScope }
|
|
164
164
|
|
|
165
|
+
# Scope of the monthly spend cap Anthropic sets for a Claude Console
|
|
166
|
+
# organization from its usage tier, or a higher cap Anthropic granted the
|
|
167
|
+
# organization. Read-only; its `created_at` and `updated_at` are the
|
|
168
|
+
# organization's creation time, so `amount` can change while `updated_at` stays
|
|
169
|
+
# the same.
|
|
170
|
+
variant :usage_tier, -> { Anthropic::Beta::Organization::BetaSpendLimitUsageTierScope }
|
|
171
|
+
|
|
165
172
|
module Type
|
|
166
173
|
extend Anthropic::Internal::Type::Enum
|
|
167
174
|
|
|
@@ -171,13 +178,14 @@ module Anthropic
|
|
|
171
178
|
ORGANIZATION_SERVICE = :organization_service
|
|
172
179
|
ORGANIZATION = :organization
|
|
173
180
|
WORKSPACE = :workspace
|
|
181
|
+
USAGE_TIER = :usage_tier
|
|
174
182
|
|
|
175
183
|
# @!method self.values
|
|
176
184
|
# @return [Array<Symbol>]
|
|
177
185
|
end
|
|
178
186
|
|
|
179
187
|
# @!method self.variants
|
|
180
|
-
# @return [Array(Anthropic::Models::Beta::Organization::BetaSpendLimitUserScope, Anthropic::Models::Beta::Organization::BetaSpendLimitSeatTierScope, Anthropic::Models::Beta::Organization::BetaSpendLimitRBACGroupScope, Anthropic::Models::Beta::Organization::BetaSpendLimitOrganizationServiceScope, Anthropic::Models::Beta::Organization::BetaSpendLimitOrganizationScope, Anthropic::Models::Beta::Organization::BetaSpendLimitWorkspaceScope)]
|
|
188
|
+
# @return [Array(Anthropic::Models::Beta::Organization::BetaSpendLimitUserScope, Anthropic::Models::Beta::Organization::BetaSpendLimitSeatTierScope, Anthropic::Models::Beta::Organization::BetaSpendLimitRBACGroupScope, Anthropic::Models::Beta::Organization::BetaSpendLimitOrganizationServiceScope, Anthropic::Models::Beta::Organization::BetaSpendLimitOrganizationScope, Anthropic::Models::Beta::Organization::BetaSpendLimitWorkspaceScope, Anthropic::Models::Beta::Organization::BetaSpendLimitUsageTierScope)]
|
|
181
189
|
|
|
182
190
|
# Creates a new instance of the variant class whose `type` matches the given
|
|
183
191
|
# value, passing the remaining arguments to its constructor.
|
|
@@ -197,7 +205,7 @@ module Anthropic
|
|
|
197
205
|
# @option args [String] :workspace_id Tagged ID of the workspace the spend limit applies to.
|
|
198
206
|
#
|
|
199
207
|
# @raise [ArgumentError]
|
|
200
|
-
# @return [Anthropic::Models::Beta::Organization::BetaSpendLimitUserScope, Anthropic::Models::Beta::Organization::BetaSpendLimitSeatTierScope, Anthropic::Models::Beta::Organization::BetaSpendLimitRBACGroupScope, Anthropic::Models::Beta::Organization::BetaSpendLimitOrganizationServiceScope, Anthropic::Models::Beta::Organization::BetaSpendLimitOrganizationScope, Anthropic::Models::Beta::Organization::BetaSpendLimitWorkspaceScope]
|
|
208
|
+
# @return [Anthropic::Models::Beta::Organization::BetaSpendLimitUserScope, Anthropic::Models::Beta::Organization::BetaSpendLimitSeatTierScope, Anthropic::Models::Beta::Organization::BetaSpendLimitRBACGroupScope, Anthropic::Models::Beta::Organization::BetaSpendLimitOrganizationServiceScope, Anthropic::Models::Beta::Organization::BetaSpendLimitOrganizationScope, Anthropic::Models::Beta::Organization::BetaSpendLimitWorkspaceScope, Anthropic::Models::Beta::Organization::BetaSpendLimitUsageTierScope]
|
|
201
209
|
def self.new(type:, **args)
|
|
202
210
|
case type.to_sym
|
|
203
211
|
when :user
|
|
@@ -212,6 +220,8 @@ module Anthropic
|
|
|
212
220
|
Anthropic::Beta::Organization::BetaSpendLimitOrganizationScope.new(**args)
|
|
213
221
|
when :workspace
|
|
214
222
|
Anthropic::Beta::Organization::BetaSpendLimitWorkspaceScope.new(**args)
|
|
223
|
+
when :usage_tier
|
|
224
|
+
Anthropic::Beta::Organization::BetaSpendLimitUsageTierScope.new(**args)
|
|
215
225
|
else
|
|
216
226
|
raise ArgumentError, "unknown type: #{type}"
|
|
217
227
|
end
|
|
@@ -239,6 +249,13 @@ module Anthropic
|
|
|
239
249
|
# Scope selecting one workspace of a Claude Console organization.
|
|
240
250
|
variant :workspace, -> { Anthropic::Beta::Organization::BetaSpendLimitWorkspaceScope }
|
|
241
251
|
|
|
252
|
+
# Scope of the monthly spend cap Anthropic sets for a Claude Console
|
|
253
|
+
# organization from its usage tier, or a higher cap Anthropic granted the
|
|
254
|
+
# organization. Read-only; its `created_at` and `updated_at` are the
|
|
255
|
+
# organization's creation time, so `amount` can change while `updated_at` stays
|
|
256
|
+
# the same.
|
|
257
|
+
variant :usage_tier, -> { Anthropic::Beta::Organization::BetaSpendLimitUsageTierScope }
|
|
258
|
+
|
|
242
259
|
module Type
|
|
243
260
|
extend Anthropic::Internal::Type::Enum
|
|
244
261
|
|
|
@@ -248,13 +265,14 @@ module Anthropic
|
|
|
248
265
|
ORGANIZATION_SERVICE = :organization_service
|
|
249
266
|
ORGANIZATION = :organization
|
|
250
267
|
WORKSPACE = :workspace
|
|
268
|
+
USAGE_TIER = :usage_tier
|
|
251
269
|
|
|
252
270
|
# @!method self.values
|
|
253
271
|
# @return [Array<Symbol>]
|
|
254
272
|
end
|
|
255
273
|
|
|
256
274
|
# @!method self.variants
|
|
257
|
-
# @return [Array(Anthropic::Models::Beta::Organization::BetaSpendLimitUserScope, Anthropic::Models::Beta::Organization::BetaSpendLimitSeatTierScope, Anthropic::Models::Beta::Organization::BetaSpendLimitRBACGroupScope, Anthropic::Models::Beta::Organization::BetaSpendLimitOrganizationServiceScope, Anthropic::Models::Beta::Organization::BetaSpendLimitOrganizationScope, Anthropic::Models::Beta::Organization::BetaSpendLimitWorkspaceScope)]
|
|
275
|
+
# @return [Array(Anthropic::Models::Beta::Organization::BetaSpendLimitUserScope, Anthropic::Models::Beta::Organization::BetaSpendLimitSeatTierScope, Anthropic::Models::Beta::Organization::BetaSpendLimitRBACGroupScope, Anthropic::Models::Beta::Organization::BetaSpendLimitOrganizationServiceScope, Anthropic::Models::Beta::Organization::BetaSpendLimitOrganizationScope, Anthropic::Models::Beta::Organization::BetaSpendLimitWorkspaceScope, Anthropic::Models::Beta::Organization::BetaSpendLimitUsageTierScope)]
|
|
258
276
|
|
|
259
277
|
# Creates a new instance of the variant class whose `type` matches the given
|
|
260
278
|
# value, passing the remaining arguments to its constructor.
|
|
@@ -274,7 +292,7 @@ module Anthropic
|
|
|
274
292
|
# @option args [String] :workspace_id Tagged ID of the workspace the spend limit applies to.
|
|
275
293
|
#
|
|
276
294
|
# @raise [ArgumentError]
|
|
277
|
-
# @return [Anthropic::Models::Beta::Organization::BetaSpendLimitUserScope, Anthropic::Models::Beta::Organization::BetaSpendLimitSeatTierScope, Anthropic::Models::Beta::Organization::BetaSpendLimitRBACGroupScope, Anthropic::Models::Beta::Organization::BetaSpendLimitOrganizationServiceScope, Anthropic::Models::Beta::Organization::BetaSpendLimitOrganizationScope, Anthropic::Models::Beta::Organization::BetaSpendLimitWorkspaceScope]
|
|
295
|
+
# @return [Anthropic::Models::Beta::Organization::BetaSpendLimitUserScope, Anthropic::Models::Beta::Organization::BetaSpendLimitSeatTierScope, Anthropic::Models::Beta::Organization::BetaSpendLimitRBACGroupScope, Anthropic::Models::Beta::Organization::BetaSpendLimitOrganizationServiceScope, Anthropic::Models::Beta::Organization::BetaSpendLimitOrganizationScope, Anthropic::Models::Beta::Organization::BetaSpendLimitWorkspaceScope, Anthropic::Models::Beta::Organization::BetaSpendLimitUsageTierScope]
|
|
278
296
|
def self.new(type:, **args)
|
|
279
297
|
case type.to_sym
|
|
280
298
|
when :user
|
|
@@ -289,6 +307,8 @@ module Anthropic
|
|
|
289
307
|
Anthropic::Beta::Organization::BetaSpendLimitOrganizationScope.new(**args)
|
|
290
308
|
when :workspace
|
|
291
309
|
Anthropic::Beta::Organization::BetaSpendLimitWorkspaceScope.new(**args)
|
|
310
|
+
when :usage_tier
|
|
311
|
+
Anthropic::Beta::Organization::BetaSpendLimitUsageTierScope.new(**args)
|
|
292
312
|
else
|
|
293
313
|
raise ArgumentError, "unknown type: #{type}"
|
|
294
314
|
end
|
|
@@ -63,7 +63,8 @@ module Anthropic
|
|
|
63
63
|
optional :traces, -> { Anthropic::Beta::Organization::BetaTelemetryDestinationTracesParams }
|
|
64
64
|
|
|
65
65
|
# @!attribute betas
|
|
66
|
-
#
|
|
66
|
+
# This endpoint is in beta: requests must send `telemetry-destinations-2026-08-11`
|
|
67
|
+
# in this header.
|
|
67
68
|
#
|
|
68
69
|
# @return [Array<Symbol, String, Anthropic::Models::AnthropicBeta>, nil]
|
|
69
70
|
optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }
|
|
@@ -83,7 +84,7 @@ module Anthropic
|
|
|
83
84
|
#
|
|
84
85
|
# @param traces [Anthropic::Models::Beta::Organization::BetaTelemetryDestinationTracesParams] The settings for the traces that the destination receives. If you leave it out,
|
|
85
86
|
#
|
|
86
|
-
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>]
|
|
87
|
+
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] This endpoint is in beta: requests must send `telemetry-destinations-2026-08-11`
|
|
87
88
|
#
|
|
88
89
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}]
|
|
89
90
|
end
|
|
@@ -16,15 +16,20 @@ module Anthropic
|
|
|
16
16
|
required :destination_id, String
|
|
17
17
|
|
|
18
18
|
# @!attribute betas
|
|
19
|
-
#
|
|
19
|
+
# This endpoint is in beta: requests must send `telemetry-destinations-2026-08-11`
|
|
20
|
+
# in this header.
|
|
20
21
|
#
|
|
21
22
|
# @return [Array<Symbol, String, Anthropic::Models::AnthropicBeta>, nil]
|
|
22
23
|
optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }
|
|
23
24
|
|
|
24
25
|
# @!method initialize(destination_id:, betas: nil, request_options: {})
|
|
26
|
+
# Some parameter documentations has been truncated, see
|
|
27
|
+
# {Anthropic::Models::Beta::Organization::TelemetryDestinationDeleteParams} for
|
|
28
|
+
# more details.
|
|
29
|
+
#
|
|
25
30
|
# @param destination_id [String] ID of the destination (`tdst_...`).
|
|
26
31
|
#
|
|
27
|
-
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>]
|
|
32
|
+
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] This endpoint is in beta: requests must send `telemetry-destinations-2026-08-11`
|
|
28
33
|
#
|
|
29
34
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}]
|
|
30
35
|
end
|
|
@@ -36,7 +36,8 @@ module Anthropic
|
|
|
36
36
|
optional :workspace_ids, Anthropic::Internal::Type::ArrayOf[String]
|
|
37
37
|
|
|
38
38
|
# @!attribute betas
|
|
39
|
-
#
|
|
39
|
+
# This endpoint is in beta: requests must send `telemetry-destinations-2026-08-11`
|
|
40
|
+
# in this header.
|
|
40
41
|
#
|
|
41
42
|
# @return [Array<Symbol, String, Anthropic::Models::AnthropicBeta>, nil]
|
|
42
43
|
optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }
|
|
@@ -52,7 +53,7 @@ module Anthropic
|
|
|
52
53
|
#
|
|
53
54
|
# @param workspace_ids [Array<String>] Return only the destinations that cover at least one of these workspaces (`wrksp
|
|
54
55
|
#
|
|
55
|
-
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>]
|
|
56
|
+
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] This endpoint is in beta: requests must send `telemetry-destinations-2026-08-11`
|
|
56
57
|
#
|
|
57
58
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}]
|
|
58
59
|
end
|
|
@@ -16,15 +16,20 @@ module Anthropic
|
|
|
16
16
|
required :destination_id, String
|
|
17
17
|
|
|
18
18
|
# @!attribute betas
|
|
19
|
-
#
|
|
19
|
+
# This endpoint is in beta: requests must send `telemetry-destinations-2026-08-11`
|
|
20
|
+
# in this header.
|
|
20
21
|
#
|
|
21
22
|
# @return [Array<Symbol, String, Anthropic::Models::AnthropicBeta>, nil]
|
|
22
23
|
optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }
|
|
23
24
|
|
|
24
25
|
# @!method initialize(destination_id:, betas: nil, request_options: {})
|
|
26
|
+
# Some parameter documentations has been truncated, see
|
|
27
|
+
# {Anthropic::Models::Beta::Organization::TelemetryDestinationRetrieveParams} for
|
|
28
|
+
# more details.
|
|
29
|
+
#
|
|
25
30
|
# @param destination_id [String] ID of the destination (`tdst_...`).
|
|
26
31
|
#
|
|
27
|
-
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>]
|
|
32
|
+
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] This endpoint is in beta: requests must send `telemetry-destinations-2026-08-11`
|
|
28
33
|
#
|
|
29
34
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}]
|
|
30
35
|
end
|
|
@@ -16,15 +16,20 @@ module Anthropic
|
|
|
16
16
|
required :destination_id, String
|
|
17
17
|
|
|
18
18
|
# @!attribute betas
|
|
19
|
-
#
|
|
19
|
+
# This endpoint is in beta: requests must send `telemetry-destinations-2026-08-11`
|
|
20
|
+
# in this header.
|
|
20
21
|
#
|
|
21
22
|
# @return [Array<Symbol, String, Anthropic::Models::AnthropicBeta>, nil]
|
|
22
23
|
optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }
|
|
23
24
|
|
|
24
25
|
# @!method initialize(destination_id:, betas: nil, request_options: {})
|
|
26
|
+
# Some parameter documentations has been truncated, see
|
|
27
|
+
# {Anthropic::Models::Beta::Organization::TelemetryDestinationTestParams} for more
|
|
28
|
+
# details.
|
|
29
|
+
#
|
|
25
30
|
# @param destination_id [String] ID of the destination to test (starts with `tdst_`).
|
|
26
31
|
#
|
|
27
|
-
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>]
|
|
32
|
+
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] This endpoint is in beta: requests must send `telemetry-destinations-2026-08-11`
|
|
28
33
|
#
|
|
29
34
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}]
|
|
30
35
|
end
|
|
@@ -86,7 +86,8 @@ module Anthropic
|
|
|
86
86
|
union: -> { Anthropic::Beta::Organization::BetaTelemetryDestinationWorkspacesParams }
|
|
87
87
|
|
|
88
88
|
# @!attribute betas
|
|
89
|
-
#
|
|
89
|
+
# This endpoint is in beta: requests must send `telemetry-destinations-2026-08-11`
|
|
90
|
+
# in this header.
|
|
90
91
|
#
|
|
91
92
|
# @return [Array<Symbol, String, Anthropic::Models::AnthropicBeta>, nil]
|
|
92
93
|
optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }
|
|
@@ -110,7 +111,7 @@ module Anthropic
|
|
|
110
111
|
#
|
|
111
112
|
# @param workspaces [Anthropic::Models::Beta::Organization::BetaTelemetryDestinationWorkspacesAllParams, Anthropic::Models::Beta::Organization::BetaTelemetryDestinationWorkspacesIncludeParams, Anthropic::Models::Beta::Organization::BetaTelemetryDestinationWorkspacesExcludeParams] The new workspace scope, in the same form as on create. The field can't be `null
|
|
112
113
|
#
|
|
113
|
-
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>]
|
|
114
|
+
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] This endpoint is in beta: requests must send `telemetry-destinations-2026-08-11`
|
|
114
115
|
#
|
|
115
116
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}]
|
|
116
117
|
end
|
|
@@ -23,17 +23,22 @@ module Anthropic
|
|
|
23
23
|
required :workspace_id, String
|
|
24
24
|
|
|
25
25
|
# @!attribute betas
|
|
26
|
-
#
|
|
26
|
+
# This endpoint is in beta: requests must send `telemetry-destinations-2026-08-11`
|
|
27
|
+
# in this header.
|
|
27
28
|
#
|
|
28
29
|
# @return [Array<Symbol, String, Anthropic::Models::AnthropicBeta>, nil]
|
|
29
30
|
optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }
|
|
30
31
|
|
|
31
32
|
# @!method initialize(destination_id:, workspace_id:, betas: nil, request_options: {})
|
|
33
|
+
# Some parameter documentations has been truncated, see
|
|
34
|
+
# {Anthropic::Models::Beta::Organization::TelemetryDestinations::WorkspaceAddParams}
|
|
35
|
+
# for more details.
|
|
36
|
+
#
|
|
32
37
|
# @param destination_id [String] ID of the destination (`tdst_...`).
|
|
33
38
|
#
|
|
34
39
|
# @param workspace_id [String] ID of the workspace to add (`wrkspc_...`).
|
|
35
40
|
#
|
|
36
|
-
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>]
|
|
41
|
+
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] This endpoint is in beta: requests must send `telemetry-destinations-2026-08-11`
|
|
37
42
|
#
|
|
38
43
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}]
|
|
39
44
|
end
|
|
@@ -30,7 +30,8 @@ module Anthropic
|
|
|
30
30
|
optional :page, String
|
|
31
31
|
|
|
32
32
|
# @!attribute betas
|
|
33
|
-
#
|
|
33
|
+
# This endpoint is in beta: requests must send `telemetry-destinations-2026-08-11`
|
|
34
|
+
# in this header.
|
|
34
35
|
#
|
|
35
36
|
# @return [Array<Symbol, String, Anthropic::Models::AnthropicBeta>, nil]
|
|
36
37
|
optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }
|
|
@@ -46,7 +47,7 @@ module Anthropic
|
|
|
46
47
|
#
|
|
47
48
|
# @param page [String] Opaque cursor from a previous response's `next_page`. Leave it out to get the fi
|
|
48
49
|
#
|
|
49
|
-
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>]
|
|
50
|
+
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] This endpoint is in beta: requests must send `telemetry-destinations-2026-08-11`
|
|
50
51
|
#
|
|
51
52
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}]
|
|
52
53
|
end
|
data/lib/anthropic/models/beta/organization/telemetry_destinations/workspace_remove_params.rb
CHANGED
|
@@ -23,17 +23,22 @@ module Anthropic
|
|
|
23
23
|
required :workspace_id, String
|
|
24
24
|
|
|
25
25
|
# @!attribute betas
|
|
26
|
-
#
|
|
26
|
+
# This endpoint is in beta: requests must send `telemetry-destinations-2026-08-11`
|
|
27
|
+
# in this header.
|
|
27
28
|
#
|
|
28
29
|
# @return [Array<Symbol, String, Anthropic::Models::AnthropicBeta>, nil]
|
|
29
30
|
optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }
|
|
30
31
|
|
|
31
32
|
# @!method initialize(destination_id:, workspace_id:, betas: nil, request_options: {})
|
|
33
|
+
# Some parameter documentations has been truncated, see
|
|
34
|
+
# {Anthropic::Models::Beta::Organization::TelemetryDestinations::WorkspaceRemoveParams}
|
|
35
|
+
# for more details.
|
|
36
|
+
#
|
|
32
37
|
# @param destination_id [String] ID of the destination (`tdst_...`).
|
|
33
38
|
#
|
|
34
39
|
# @param workspace_id [String] ID of the workspace to remove (`wrkspc_...`).
|
|
35
40
|
#
|
|
36
|
-
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>]
|
|
41
|
+
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] This endpoint is in beta: requests must send `telemetry-destinations-2026-08-11`
|
|
37
42
|
#
|
|
38
43
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}]
|
|
39
44
|
end
|
|
@@ -14,7 +14,8 @@ module Anthropic
|
|
|
14
14
|
required :session_id, String
|
|
15
15
|
|
|
16
16
|
# @!attribute betas
|
|
17
|
-
#
|
|
17
|
+
# This endpoint is in beta: requests must send `managed-agents-2026-04-01` in this
|
|
18
|
+
# header.
|
|
18
19
|
#
|
|
19
20
|
# @return [Array<Symbol, String, Anthropic::Models::AnthropicBeta>, nil]
|
|
20
21
|
optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }
|
|
@@ -36,7 +37,7 @@ module Anthropic
|
|
|
36
37
|
#
|
|
37
38
|
# @param session_id [String]
|
|
38
39
|
#
|
|
39
|
-
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>]
|
|
40
|
+
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] This endpoint is in beta: requests must send `managed-agents-2026-04-01` in this
|
|
40
41
|
#
|
|
41
42
|
# @param workspace_id [String] Optional header to select the Workspace for this request. The value is a Workspa
|
|
42
43
|
#
|
|
@@ -65,7 +65,8 @@ module Anthropic
|
|
|
65
65
|
optional :vault_ids, Anthropic::Internal::Type::ArrayOf[String]
|
|
66
66
|
|
|
67
67
|
# @!attribute betas
|
|
68
|
-
#
|
|
68
|
+
# This endpoint is in beta: requests must send `managed-agents-2026-04-01` in this
|
|
69
|
+
# header.
|
|
69
70
|
#
|
|
70
71
|
# @return [Array<Symbol, String, Anthropic::Models::AnthropicBeta>, nil]
|
|
71
72
|
optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }
|
|
@@ -101,7 +102,7 @@ module Anthropic
|
|
|
101
102
|
#
|
|
102
103
|
# @param vault_ids [Array<String>] Vault IDs for stored credentials the agent can use during the session.
|
|
103
104
|
#
|
|
104
|
-
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>]
|
|
105
|
+
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] This endpoint is in beta: requests must send `managed-agents-2026-04-01` in this
|
|
105
106
|
#
|
|
106
107
|
# @param workspace_id [String] Optional header to select the Workspace for this request. The value is a Workspa
|
|
107
108
|
#
|
|
@@ -14,7 +14,8 @@ module Anthropic
|
|
|
14
14
|
required :session_id, String
|
|
15
15
|
|
|
16
16
|
# @!attribute betas
|
|
17
|
-
#
|
|
17
|
+
# This endpoint is in beta: requests must send `managed-agents-2026-04-01` in this
|
|
18
|
+
# header.
|
|
18
19
|
#
|
|
19
20
|
# @return [Array<Symbol, String, Anthropic::Models::AnthropicBeta>, nil]
|
|
20
21
|
optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }
|
|
@@ -36,7 +37,7 @@ module Anthropic
|
|
|
36
37
|
#
|
|
37
38
|
# @param session_id [String]
|
|
38
39
|
#
|
|
39
|
-
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>]
|
|
40
|
+
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] This endpoint is in beta: requests must send `managed-agents-2026-04-01` in this
|
|
40
41
|
#
|
|
41
42
|
# @param workspace_id [String] Optional header to select the Workspace for this request. The value is a Workspa
|
|
42
43
|
#
|
|
@@ -91,7 +91,8 @@ module Anthropic
|
|
|
91
91
|
-> { Anthropic::Internal::Type::ArrayOf[enum: Anthropic::Beta::SessionListParams::Status] }
|
|
92
92
|
|
|
93
93
|
# @!attribute betas
|
|
94
|
-
#
|
|
94
|
+
# This endpoint is in beta: requests must send `managed-agents-2026-04-01` in this
|
|
95
|
+
# header.
|
|
95
96
|
#
|
|
96
97
|
# @return [Array<Symbol, String, Anthropic::Models::AnthropicBeta>, nil]
|
|
97
98
|
optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }
|
|
@@ -137,7 +138,7 @@ module Anthropic
|
|
|
137
138
|
#
|
|
138
139
|
# @param statuses [Array<Symbol, Anthropic::Models::Beta::SessionListParams::Status>] Filter by session status. Repeat the parameter to match any of multiple statuses
|
|
139
140
|
#
|
|
140
|
-
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>]
|
|
141
|
+
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] This endpoint is in beta: requests must send `managed-agents-2026-04-01` in this
|
|
141
142
|
#
|
|
142
143
|
# @param workspace_id [String] Optional header to select the Workspace for this request. The value is a Workspa
|
|
143
144
|
#
|
|
@@ -14,7 +14,8 @@ module Anthropic
|
|
|
14
14
|
required :session_id, String
|
|
15
15
|
|
|
16
16
|
# @!attribute betas
|
|
17
|
-
#
|
|
17
|
+
# This endpoint is in beta: requests must send `managed-agents-2026-04-01` in this
|
|
18
|
+
# header.
|
|
18
19
|
#
|
|
19
20
|
# @return [Array<Symbol, String, Anthropic::Models::AnthropicBeta>, nil]
|
|
20
21
|
optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }
|
|
@@ -36,7 +37,7 @@ module Anthropic
|
|
|
36
37
|
#
|
|
37
38
|
# @param session_id [String]
|
|
38
39
|
#
|
|
39
|
-
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>]
|
|
40
|
+
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] This endpoint is in beta: requests must send `managed-agents-2026-04-01` in this
|
|
40
41
|
#
|
|
41
42
|
# @param workspace_id [String] Optional header to select the Workspace for this request. The value is a Workspa
|
|
42
43
|
#
|
|
@@ -55,7 +55,8 @@ module Anthropic
|
|
|
55
55
|
optional :vault_ids, Anthropic::Internal::Type::ArrayOf[String]
|
|
56
56
|
|
|
57
57
|
# @!attribute betas
|
|
58
|
-
#
|
|
58
|
+
# This endpoint is in beta: requests must send `managed-agents-2026-04-01` in this
|
|
59
|
+
# header.
|
|
59
60
|
#
|
|
60
61
|
# @return [Array<Symbol, String, Anthropic::Models::AnthropicBeta>, nil]
|
|
61
62
|
optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }
|
|
@@ -87,7 +88,7 @@ module Anthropic
|
|
|
87
88
|
#
|
|
88
89
|
# @param vault_ids [Array<String>] Vault IDs (`vlt_*`) to attach to the session. Not yet supported; requests settin
|
|
89
90
|
#
|
|
90
|
-
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>]
|
|
91
|
+
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] This endpoint is in beta: requests must send `managed-agents-2026-04-01` in this
|
|
91
92
|
#
|
|
92
93
|
# @param workspace_id [String] Optional header to select the Workspace for this request. The value is a Workspa
|
|
93
94
|
#
|
|
@@ -69,7 +69,8 @@ module Anthropic
|
|
|
69
69
|
-> { Anthropic::Internal::Type::ArrayOf[enum: Anthropic::Beta::Sessions::BetaManagedAgentsSessionEventType] }
|
|
70
70
|
|
|
71
71
|
# @!attribute betas
|
|
72
|
-
#
|
|
72
|
+
# This endpoint is in beta: requests must send `managed-agents-2026-04-01` in this
|
|
73
|
+
# header.
|
|
73
74
|
#
|
|
74
75
|
# @return [Array<Symbol, String, Anthropic::Models::AnthropicBeta>, nil]
|
|
75
76
|
optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }
|
|
@@ -107,7 +108,7 @@ module Anthropic
|
|
|
107
108
|
#
|
|
108
109
|
# @param types [Array<Symbol, Anthropic::Models::Beta::Sessions::BetaManagedAgentsSessionEventType>] Filter by event type. Values match the `type` field on returned events (for exam
|
|
109
110
|
#
|
|
110
|
-
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>]
|
|
111
|
+
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] This endpoint is in beta: requests must send `managed-agents-2026-04-01` in this
|
|
111
112
|
#
|
|
112
113
|
# @param workspace_id [String] Optional header to select the Workspace for this request. The value is a Workspa
|
|
113
114
|
#
|
|
@@ -22,7 +22,8 @@ module Anthropic
|
|
|
22
22
|
-> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::Beta::Sessions::BetaManagedAgentsEventParams] }
|
|
23
23
|
|
|
24
24
|
# @!attribute betas
|
|
25
|
-
#
|
|
25
|
+
# This endpoint is in beta: requests must send `managed-agents-2026-04-01` in this
|
|
26
|
+
# header.
|
|
26
27
|
#
|
|
27
28
|
# @return [Array<Symbol, String, Anthropic::Models::AnthropicBeta>, nil]
|
|
28
29
|
optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }
|
|
@@ -46,7 +47,7 @@ module Anthropic
|
|
|
46
47
|
#
|
|
47
48
|
# @param events [Array<Anthropic::Models::Beta::Sessions::BetaManagedAgentsUserMessageEventParams, Anthropic::Models::Beta::Sessions::BetaManagedAgentsUserInterruptEventParams, Anthropic::Models::Beta::Sessions::BetaManagedAgentsUserToolConfirmationEventParams, Anthropic::Models::Beta::Sessions::BetaManagedAgentsUserCustomToolResultEventParams, Anthropic::Models::Beta::Sessions::BetaManagedAgentsUserDefineOutcomeEventParams, Anthropic::Models::Beta::Sessions::BetaManagedAgentsUserToolResultEventParams, Anthropic::Models::Beta::Sessions::BetaManagedAgentsSystemMessageEventParams>] Events to send to the `session`.
|
|
48
49
|
#
|
|
49
|
-
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>]
|
|
50
|
+
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] This endpoint is in beta: requests must send `managed-agents-2026-04-01` in this
|
|
50
51
|
#
|
|
51
52
|
# @param workspace_id [String] Optional header to select the Workspace for this request. The value is a Workspa
|
|
52
53
|
#
|
|
@@ -31,7 +31,8 @@ module Anthropic
|
|
|
31
31
|
-> { Anthropic::Internal::Type::ArrayOf[enum: Anthropic::Beta::BetaManagedAgentsDeltaType] }
|
|
32
32
|
|
|
33
33
|
# @!attribute betas
|
|
34
|
-
#
|
|
34
|
+
# This endpoint is in beta: requests must send `managed-agents-2026-04-01` in this
|
|
35
|
+
# header.
|
|
35
36
|
#
|
|
36
37
|
# @return [Array<Symbol, String, Anthropic::Models::AnthropicBeta>, nil]
|
|
37
38
|
optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }
|
|
@@ -56,7 +57,7 @@ module Anthropic
|
|
|
56
57
|
# @param event_deltas [Array<Symbol, Anthropic::Models::Beta::BetaManagedAgentsDeltaType>] When set, this connection also receives streaming deltas (`event_start`,
|
|
57
58
|
# `event\_
|
|
58
59
|
#
|
|
59
|
-
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>]
|
|
60
|
+
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] This endpoint is in beta: requests must send `managed-agents-2026-04-01` in this
|
|
60
61
|
#
|
|
61
62
|
# @param workspace_id [String] Optional header to select the Workspace for this request. The value is a Workspa
|
|
62
63
|
#
|
|
@@ -15,7 +15,8 @@ module Anthropic
|
|
|
15
15
|
required :session_id, String
|
|
16
16
|
|
|
17
17
|
# @!attribute betas
|
|
18
|
-
#
|
|
18
|
+
# This endpoint is in beta: requests must send `managed-agents-2026-04-01` in this
|
|
19
|
+
# header.
|
|
19
20
|
#
|
|
20
21
|
# @return [Array<Symbol, String, Anthropic::Models::AnthropicBeta>, nil]
|
|
21
22
|
optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }
|
|
@@ -37,7 +38,7 @@ module Anthropic
|
|
|
37
38
|
#
|
|
38
39
|
# @param session_id [String]
|
|
39
40
|
#
|
|
40
|
-
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>]
|
|
41
|
+
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] This endpoint is in beta: requests must send `managed-agents-2026-04-01` in this
|
|
41
42
|
#
|
|
42
43
|
# @param workspace_id [String] Optional header to select the Workspace for this request. The value is a Workspa
|
|
43
44
|
#
|
|
@@ -20,7 +20,8 @@ module Anthropic
|
|
|
20
20
|
required :resource_id, String
|
|
21
21
|
|
|
22
22
|
# @!attribute betas
|
|
23
|
-
#
|
|
23
|
+
# This endpoint is in beta: requests must send `managed-agents-2026-04-01` in this
|
|
24
|
+
# header.
|
|
24
25
|
#
|
|
25
26
|
# @return [Array<Symbol, String, Anthropic::Models::AnthropicBeta>, nil]
|
|
26
27
|
optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }
|
|
@@ -44,7 +45,7 @@ module Anthropic
|
|
|
44
45
|
#
|
|
45
46
|
# @param resource_id [String]
|
|
46
47
|
#
|
|
47
|
-
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>]
|
|
48
|
+
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] This endpoint is in beta: requests must send `managed-agents-2026-04-01` in this
|
|
48
49
|
#
|
|
49
50
|
# @param workspace_id [String] Optional header to select the Workspace for this request. The value is a Workspa
|
|
50
51
|
#
|
|
@@ -28,7 +28,8 @@ module Anthropic
|
|
|
28
28
|
optional :page, String
|
|
29
29
|
|
|
30
30
|
# @!attribute betas
|
|
31
|
-
#
|
|
31
|
+
# This endpoint is in beta: requests must send `managed-agents-2026-04-01` in this
|
|
32
|
+
# header.
|
|
32
33
|
#
|
|
33
34
|
# @return [Array<Symbol, String, Anthropic::Models::AnthropicBeta>, nil]
|
|
34
35
|
optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }
|
|
@@ -54,7 +55,7 @@ module Anthropic
|
|
|
54
55
|
#
|
|
55
56
|
# @param page [String] Opaque cursor from a previous response's `next_page` field.
|
|
56
57
|
#
|
|
57
|
-
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>]
|
|
58
|
+
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] This endpoint is in beta: requests must send `managed-agents-2026-04-01` in this
|
|
58
59
|
#
|
|
59
60
|
# @param workspace_id [String] Optional header to select the Workspace for this request. The value is a Workspa
|
|
60
61
|
#
|
|
@@ -20,7 +20,8 @@ module Anthropic
|
|
|
20
20
|
required :resource_id, String
|
|
21
21
|
|
|
22
22
|
# @!attribute betas
|
|
23
|
-
#
|
|
23
|
+
# This endpoint is in beta: requests must send `managed-agents-2026-04-01` in this
|
|
24
|
+
# header.
|
|
24
25
|
#
|
|
25
26
|
# @return [Array<Symbol, String, Anthropic::Models::AnthropicBeta>, nil]
|
|
26
27
|
optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }
|
|
@@ -44,7 +45,7 @@ module Anthropic
|
|
|
44
45
|
#
|
|
45
46
|
# @param resource_id [String]
|
|
46
47
|
#
|
|
47
|
-
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>]
|
|
48
|
+
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] This endpoint is in beta: requests must send `managed-agents-2026-04-01` in this
|
|
48
49
|
#
|
|
49
50
|
# @param workspace_id [String] Optional header to select the Workspace for this request. The value is a Workspa
|
|
50
51
|
#
|