anthropic 1.78.0 → 1.79.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 +35 -0
- data/LICENSE +8 -0
- data/README.md +42 -1
- data/lib/anthropic/client.rb +32 -0
- data/lib/anthropic/helpers/aws/client.rb +12 -2
- data/lib/anthropic/helpers/aws_auth.rb +8 -1
- data/lib/anthropic/helpers/bedrock/client.rb +19 -2
- data/lib/anthropic/helpers/bedrock/mantle_client.rb +19 -2
- data/lib/anthropic/helpers/google_cloud/client.rb +12 -2
- data/lib/anthropic/helpers/streaming/message_stream.rb +20 -43
- data/lib/anthropic/helpers/tools/runner.rb +104 -11
- data/lib/anthropic/helpers/tracing/attributes.rb +34 -0
- data/lib/anthropic/helpers/tracing/config.rb +16 -0
- data/lib/anthropic/helpers/tracing/content.rb +346 -0
- data/lib/anthropic/helpers/tracing/recorders.rb +131 -0
- data/lib/anthropic/helpers/tracing/response.rb +29 -0
- data/lib/anthropic/helpers/tracing/streamed_message.rb +189 -0
- data/lib/anthropic/helpers/tracing/tool_spans.rb +138 -0
- data/lib/anthropic/helpers/tracing.rb +13 -0
- data/lib/anthropic/helpers/vertex/client.rb +19 -2
- data/lib/anthropic/internal/tracing.rb +1118 -0
- data/lib/anthropic/internal/transport/base_client.rb +174 -10
- data/lib/anthropic/internal/transport/pooled_net_requester.rb +6 -0
- data/lib/anthropic/models/anthropic_beta.rb +3 -0
- data/lib/anthropic/models/beta/agent_create_params.rb +17 -6
- data/lib/anthropic/models/beta/agent_update_params.rb +17 -6
- data/lib/anthropic/models/beta/beta_dream_input.rb +2 -2
- data/lib/anthropic/models/beta/beta_fallbacks_param.rb +6 -2
- data/lib/anthropic/models/beta/beta_managed_agents_agent.rb +15 -6
- data/lib/anthropic/models/beta/beta_managed_agents_agent_tool_config_params.rb +8 -8
- data/lib/anthropic/models/beta/beta_managed_agents_agent_toolset_default_config.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_agent_toolset_default_config_params.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_agent_with_overrides_params.rb +6 -6
- data/lib/anthropic/models/beta/beta_managed_agents_aws_role_execution_identity.rb +29 -0
- data/lib/anthropic/models/beta/beta_managed_agents_aws_role_execution_identity_params.rb +34 -0
- data/lib/anthropic/models/beta/beta_managed_agents_bash_tool_config.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_bash_tool_config_params.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_deployment_initial_event.rb +3 -3
- data/lib/anthropic/models/beta/beta_managed_agents_deployment_initial_event_params.rb +3 -3
- data/lib/anthropic/models/beta/beta_managed_agents_deployment_paused_reason.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_deployment_paused_reason_error.rb +38 -14
- data/lib/anthropic/models/beta/beta_managed_agents_deployment_run.rb +16 -16
- data/lib/anthropic/models/beta/beta_managed_agents_deployment_user_define_outcome_event.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_deployment_user_message_event.rb +4 -4
- data/lib/anthropic/models/beta/beta_managed_agents_edit_tool_config.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_edit_tool_config_params.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_execution_identity.rb +57 -0
- data/lib/anthropic/models/beta/beta_managed_agents_execution_identity_params.rb +62 -0
- data/lib/anthropic/models/beta/beta_managed_agents_github_repository_resource_config.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_github_repository_resource_params.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_glob_tool_config.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_glob_tool_config_params.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_grep_tool_config.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_grep_tool_config_params.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_mcp_tool_config.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_mcp_tool_config_params.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config_params.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_model.rb +0 -2
- data/lib/anthropic/models/beta/beta_managed_agents_model_config.rb +5 -5
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent_coordinator.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_read_tool_config.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_read_tool_config_params.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_service_account_execution_identity.rb +21 -0
- data/lib/anthropic/models/beta/beta_managed_agents_service_account_execution_identity_params.rb +23 -0
- data/lib/anthropic/models/beta/beta_managed_agents_session_agent.rb +16 -6
- data/lib/anthropic/models/beta/beta_managed_agents_session_agent_update.rb +3 -3
- data/lib/anthropic/models/beta/beta_managed_agents_session_multiagent.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_session_multiagent_coordinator.rb +8 -2
- data/lib/anthropic/models/beta/beta_managed_agents_session_resource_config.rb +3 -3
- data/lib/anthropic/models/beta/beta_managed_agents_session_thread_agent.rb +19 -6
- data/lib/anthropic/models/beta/beta_managed_agents_skill_params.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_start_event_preview.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_trigger_context.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_user_tool_result_event.rb +4 -4
- data/lib/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config_params.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_web_search_tool_config.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_web_search_tool_config_params.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_write_tool_config.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_write_tool_config_params.rb +2 -2
- data/lib/anthropic/models/beta/beta_message_delta_usage.rb +0 -1
- data/lib/anthropic/models/beta/beta_output_behavior.rb +2 -2
- data/lib/anthropic/models/beta/beta_thinking_config_adaptive.rb +6 -4
- data/lib/anthropic/models/beta/beta_thinking_config_enabled.rb +6 -4
- data/lib/anthropic/models/beta/beta_thinking_config_param.rb +8 -7
- data/lib/anthropic/models/beta/beta_usage.rb +0 -1
- data/lib/anthropic/models/beta/deployment_create_params.rb +3 -3
- data/lib/anthropic/models/beta/deployment_update_params.rb +3 -3
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_actor.rb +3 -3
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_error.rb +6 -3
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_list_item.rb +2 -2
- data/lib/anthropic/models/beta/message_count_tokens_params.rb +15 -10
- data/lib/anthropic/models/beta/message_create_params.rb +21 -12
- data/lib/anthropic/models/beta/messages/batch_create_params.rb +21 -12
- data/lib/anthropic/models/beta/organization/beta_analytics_cost_bucketed_result.rb +3 -3
- data/lib/anthropic/models/beta/organization/beta_analytics_cost_users_item.rb +3 -3
- data/lib/anthropic/models/beta/organization/beta_analytics_usage_bucketed_result.rb +3 -3
- data/lib/anthropic/models/beta/organization/beta_analytics_usage_users_item.rb +3 -3
- data/lib/anthropic/models/beta/organization/beta_deleted_telemetry_destination.rb +30 -0
- data/lib/anthropic/models/beta/organization/beta_spend_limit.rb +2 -2
- data/lib/anthropic/models/beta/organization/beta_telemetry_destination.rb +118 -0
- data/lib/anthropic/models/beta/organization/beta_telemetry_destination_content_mode.rb +29 -0
- data/lib/anthropic/models/beta/organization/beta_telemetry_destination_delivery_health.rb +69 -0
- data/lib/anthropic/models/beta/organization/beta_telemetry_destination_disabled_reason.rb +73 -0
- data/lib/anthropic/models/beta/organization/beta_telemetry_destination_disabled_reason_caller.rb +21 -0
- data/lib/anthropic/models/beta/organization/beta_telemetry_destination_disabled_reason_invalid_address.rb +29 -0
- data/lib/anthropic/models/beta/organization/beta_telemetry_destination_disabled_reason_redirect.rb +23 -0
- data/lib/anthropic/models/beta/organization/beta_telemetry_destination_disabled_reason_sustained_failure.rb +25 -0
- data/lib/anthropic/models/beta/organization/beta_telemetry_destination_state.rb +71 -0
- data/lib/anthropic/models/beta/organization/beta_telemetry_destination_state_disabled.rb +36 -0
- data/lib/anthropic/models/beta/organization/beta_telemetry_destination_state_disabled_params.rb +24 -0
- data/lib/anthropic/models/beta/organization/beta_telemetry_destination_state_enabled.rb +21 -0
- data/lib/anthropic/models/beta/organization/beta_telemetry_destination_state_enabled_params.rb +23 -0
- data/lib/anthropic/models/beta/organization/beta_telemetry_destination_state_params.rb +61 -0
- data/lib/anthropic/models/beta/organization/beta_telemetry_destination_test_failure.rb +37 -0
- data/lib/anthropic/models/beta/organization/beta_telemetry_destination_test_response.rb +35 -0
- data/lib/anthropic/models/beta/organization/beta_telemetry_destination_test_result.rb +61 -0
- data/lib/anthropic/models/beta/organization/beta_telemetry_destination_test_success.rb +21 -0
- data/lib/anthropic/models/beta/organization/beta_telemetry_destination_traces.rb +61 -0
- data/lib/anthropic/models/beta/organization/beta_telemetry_destination_traces_params.rb +71 -0
- data/lib/anthropic/models/beta/organization/beta_telemetry_destination_workspaces.rb +69 -0
- data/lib/anthropic/models/beta/organization/beta_telemetry_destination_workspaces_all.rb +23 -0
- data/lib/anthropic/models/beta/organization/beta_telemetry_destination_workspaces_all_params.rb +23 -0
- data/lib/anthropic/models/beta/organization/beta_telemetry_destination_workspaces_exclude.rb +22 -0
- data/lib/anthropic/models/beta/organization/beta_telemetry_destination_workspaces_exclude_params.rb +49 -0
- data/lib/anthropic/models/beta/organization/beta_telemetry_destination_workspaces_include.rb +21 -0
- data/lib/anthropic/models/beta/organization/beta_telemetry_destination_workspaces_include_params.rb +49 -0
- data/lib/anthropic/models/beta/organization/beta_telemetry_destination_workspaces_params.rb +70 -0
- data/lib/anthropic/models/beta/organization/invite_create_params.rb +4 -2
- data/lib/anthropic/models/beta/organization/spend_limit_list_params.rb +2 -5
- data/lib/anthropic/models/beta/organization/telemetry_destination_create_params.rb +93 -0
- data/lib/anthropic/models/beta/organization/telemetry_destination_delete_params.rb +34 -0
- data/lib/anthropic/models/beta/organization/telemetry_destination_list_params.rb +62 -0
- data/lib/anthropic/models/beta/organization/telemetry_destination_retrieve_params.rb +34 -0
- data/lib/anthropic/models/beta/organization/telemetry_destination_test_params.rb +34 -0
- data/lib/anthropic/models/beta/organization/telemetry_destination_update_params.rb +120 -0
- data/lib/anthropic/models/beta/organization/telemetry_destinations/beta_deleted_telemetry_destination_workspace.rb +40 -0
- data/lib/anthropic/models/beta/organization/telemetry_destinations/beta_telemetry_destination_workspace.rb +52 -0
- data/lib/anthropic/models/beta/organization/telemetry_destinations/workspace_add_params.rb +44 -0
- data/lib/anthropic/models/beta/organization/telemetry_destinations/workspace_list_params.rb +57 -0
- data/lib/anthropic/models/beta/organization/telemetry_destinations/workspace_remove_params.rb +44 -0
- data/lib/anthropic/models/beta/organization/user_update_params.rb +4 -2
- data/lib/anthropic/models/beta/session_create_params.rb +5 -5
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_custom_tool_use_event.rb +3 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_mcp_tool_result_event.rb +4 -4
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_message_event.rb +2 -2
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_message_received_event.rb +4 -4
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_message_sent_event.rb +4 -4
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_result_event.rb +4 -4
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_billing_error.rb +3 -3
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_credential_host_unreachable_error.rb +3 -3
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_document_block.rb +4 -4
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_event_params.rb +14 -8
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_github_repository_resource.rb +2 -2
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_image_block.rb +3 -3
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_inline_agent.rb +14 -6
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_mcp_authentication_failed_error.rb +3 -3
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_mcp_connection_failed_error.rb +3 -3
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_model_overloaded_error.rb +3 -3
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_model_rate_limited_error.rb +3 -3
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_model_request_failed_error.rb +3 -3
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_repository_authentication_error.rb +3 -3
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_repository_checkout_error.rb +3 -3
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_repository_clone_error.rb +3 -3
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_repository_forbidden_error.rb +3 -3
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_repository_not_found_error.rb +3 -3
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_send_session_events.rb +8 -8
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_error_event.rb +14 -8
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_event.rb +64 -37
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_resource.rb +3 -3
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_status_idle_event.rb +4 -4
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_thread.rb +8 -2
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_idle_event.rb +4 -4
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_stream_session_events.rb +66 -39
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_stream_session_thread_events.rb +66 -39
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_unknown_error.rb +3 -3
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_custom_tool_result_event.rb +7 -7
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_custom_tool_result_event_params.rb +7 -7
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_define_outcome_event.rb +2 -2
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_define_outcome_event_params.rb +2 -2
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_message_event.rb +4 -4
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_message_event_params.rb +4 -4
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_tool_result_event_params.rb +4 -4
- data/lib/anthropic/models/beta/sessions/resource_retrieve_response.rb +3 -3
- data/lib/anthropic/models/beta/sessions/resource_update_response.rb +3 -3
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_credential.rb +6 -3
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_credential_networking_params.rb +7 -2
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_auth_response.rb +7 -2
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_params.rb +3 -3
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_response.rb +12 -3
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_update_params.rb +8 -2
- data/lib/anthropic/models/beta/vaults/credential_create_params.rb +6 -3
- data/lib/anthropic/models/beta/vaults/credential_update_params.rb +6 -3
- data/lib/anthropic/models/message_count_tokens_params.rb +15 -10
- data/lib/anthropic/models/message_create_params.rb +15 -10
- data/lib/anthropic/models/messages/batch_create_params.rb +15 -10
- data/lib/anthropic/models/model.rb +0 -2
- data/lib/anthropic/models/organization/invite_create_params.rb +4 -2
- data/lib/anthropic/models/organization/user_update_params.rb +4 -2
- data/lib/anthropic/models/thinking_config_adaptive.rb +6 -4
- data/lib/anthropic/models/thinking_config_enabled.rb +6 -4
- data/lib/anthropic/models/thinking_config_param.rb +8 -7
- data/lib/anthropic/request_options.rb +7 -0
- data/lib/anthropic/resources/beta/agents/versions.rb +4 -0
- data/lib/anthropic/resources/beta/agents.rb +22 -2
- data/lib/anthropic/resources/beta/deployment_runs.rb +16 -0
- data/lib/anthropic/resources/beta/deployments.rb +24 -0
- data/lib/anthropic/resources/beta/dreams.rb +15 -0
- data/lib/anthropic/resources/beta/environments/work.rb +42 -0
- data/lib/anthropic/resources/beta/environments.rb +18 -0
- data/lib/anthropic/resources/beta/files.rb +15 -0
- data/lib/anthropic/resources/beta/memory_stores/memories.rb +31 -0
- data/lib/anthropic/resources/beta/memory_stores/memory_versions.rb +28 -0
- data/lib/anthropic/resources/beta/memory_stores.rb +18 -0
- data/lib/anthropic/resources/beta/messages/batches.rb +19 -1
- data/lib/anthropic/resources/beta/messages.rb +12 -4
- data/lib/anthropic/resources/beta/models.rb +6 -0
- data/lib/anthropic/resources/beta/organization/analytics/apps/chat/projects.rb +3 -0
- data/lib/anthropic/resources/beta/organization/analytics/artifacts.rb +3 -0
- data/lib/anthropic/resources/beta/organization/analytics/connectors.rb +4 -0
- data/lib/anthropic/resources/beta/organization/analytics/cost_report.rb +20 -0
- data/lib/anthropic/resources/beta/organization/analytics/plugins.rb +4 -0
- data/lib/anthropic/resources/beta/organization/analytics/skills.rb +4 -0
- data/lib/anthropic/resources/beta/organization/analytics/summaries.rb +3 -0
- data/lib/anthropic/resources/beta/organization/analytics/usage_report.rb +20 -0
- data/lib/anthropic/resources/beta/organization/analytics/user_cost_report.rb +23 -0
- data/lib/anthropic/resources/beta/organization/analytics/user_usage_report.rb +23 -0
- data/lib/anthropic/resources/beta/organization/analytics/users.rb +4 -0
- data/lib/anthropic/resources/beta/organization/api_keys.rb +9 -0
- data/lib/anthropic/resources/beta/organization/compliance_settings.rb +4 -0
- data/lib/anthropic/resources/beta/organization/external_keys.rb +18 -0
- data/lib/anthropic/resources/beta/organization/federation/issuers.rb +15 -0
- data/lib/anthropic/resources/beta/organization/federation/rules/workspaces.rb +14 -0
- data/lib/anthropic/resources/beta/organization/federation/rules.rb +15 -0
- data/lib/anthropic/resources/beta/organization/invites.rb +12 -0
- data/lib/anthropic/resources/beta/organization/plugin_marketplaces.rb +14 -0
- data/lib/anthropic/resources/beta/organization/plugins/installation_settings.rb +16 -0
- data/lib/anthropic/resources/beta/organization/plugins/shares.rb +4 -0
- data/lib/anthropic/resources/beta/organization/plugins/versions.rb +22 -0
- data/lib/anthropic/resources/beta/organization/plugins.rb +27 -0
- data/lib/anthropic/resources/beta/organization/rate_limits.rb +3 -0
- data/lib/anthropic/resources/beta/organization/rbac_groups/members.rb +14 -0
- data/lib/anthropic/resources/beta/organization/rbac_groups.rb +15 -0
- data/lib/anthropic/resources/beta/organization/rbac_roles/permissions.rb +4 -0
- data/lib/anthropic/resources/beta/organization/rbac_roles.rb +6 -0
- data/lib/anthropic/resources/beta/organization/service_accounts/workspaces.rb +14 -0
- data/lib/anthropic/resources/beta/organization/service_accounts.rb +15 -0
- data/lib/anthropic/resources/beta/organization/spend_limits/effective.rb +5 -2
- data/lib/anthropic/resources/beta/organization/spend_limits/increase_requests.rb +12 -0
- data/lib/anthropic/resources/beta/organization/spend_limits.rb +17 -7
- data/lib/anthropic/resources/beta/organization/telemetry_destinations/workspaces.rb +173 -0
- data/lib/anthropic/resources/beta/organization/telemetry_destinations.rb +274 -0
- data/lib/anthropic/resources/beta/organization/users.rb +12 -0
- data/lib/anthropic/resources/beta/organization/workspaces/members.rb +26 -0
- data/lib/anthropic/resources/beta/organization/workspaces/rate_limits.rb +4 -0
- data/lib/anthropic/resources/beta/organization/workspaces/service_accounts.rb +26 -0
- data/lib/anthropic/resources/beta/organization/workspaces.rb +15 -0
- data/lib/anthropic/resources/beta/organization.rb +7 -0
- data/lib/anthropic/resources/beta/sessions/events.rb +21 -1
- data/lib/anthropic/resources/beta/sessions/resources.rb +26 -0
- data/lib/anthropic/resources/beta/sessions/threads/events.rb +15 -1
- data/lib/anthropic/resources/beta/sessions/threads.rb +16 -0
- data/lib/anthropic/resources/beta/sessions.rb +32 -0
- data/lib/anthropic/resources/beta/skills/versions.rb +17 -0
- data/lib/anthropic/resources/beta/skills.rb +12 -0
- data/lib/anthropic/resources/beta/tunnels/certificates.rb +20 -0
- data/lib/anthropic/resources/beta/tunnels.rb +18 -0
- data/lib/anthropic/resources/beta/user_profiles.rb +15 -0
- data/lib/anthropic/resources/beta/vaults/credentials.rb +38 -0
- data/lib/anthropic/resources/beta/vaults.rb +18 -0
- data/lib/anthropic/resources/completions.rb +5 -1
- data/lib/anthropic/resources/files.rb +15 -0
- data/lib/anthropic/resources/messages/batches.rb +19 -1
- data/lib/anthropic/resources/messages.rb +12 -4
- data/lib/anthropic/resources/models.rb +6 -0
- data/lib/anthropic/resources/organization/api_keys.rb +9 -0
- data/lib/anthropic/resources/organization/compliance_settings.rb +4 -0
- data/lib/anthropic/resources/organization/external_keys.rb +18 -0
- data/lib/anthropic/resources/organization/federation/issuers.rb +15 -0
- data/lib/anthropic/resources/organization/federation/rules/workspaces.rb +14 -0
- data/lib/anthropic/resources/organization/federation/rules.rb +15 -0
- data/lib/anthropic/resources/organization/invites.rb +12 -0
- data/lib/anthropic/resources/organization/rate_limits.rb +3 -0
- data/lib/anthropic/resources/organization/service_accounts/workspaces.rb +14 -0
- data/lib/anthropic/resources/organization/service_accounts.rb +15 -0
- data/lib/anthropic/resources/organization/users.rb +12 -0
- data/lib/anthropic/resources/organization/workspaces/members.rb +26 -0
- data/lib/anthropic/resources/organization/workspaces/rate_limits.rb +4 -0
- data/lib/anthropic/resources/organization/workspaces/service_accounts.rb +26 -0
- data/lib/anthropic/resources/organization/workspaces.rb +15 -0
- data/lib/anthropic/resources/organization.rb +2 -0
- data/lib/anthropic/resources/skills/versions.rb +14 -0
- data/lib/anthropic/resources/skills.rb +12 -0
- data/lib/anthropic/version.rb +1 -1
- data/lib/anthropic.rb +58 -0
- data/rbi/anthropic/client.rbi +28 -0
- data/rbi/anthropic/helpers/aws/client.rbi +6 -2
- data/rbi/anthropic/helpers/bedrock/client.rbi +6 -2
- data/rbi/anthropic/helpers/bedrock/mantle_client.rbi +6 -2
- data/rbi/anthropic/helpers/google_cloud/client.rbi +6 -2
- data/rbi/anthropic/helpers/streaming/message_stream.rbi +4 -1
- data/rbi/anthropic/helpers/vertex/client.rbi +6 -2
- data/rbi/anthropic/internal/tracing.rbi +847 -0
- data/rbi/anthropic/internal/transport/base_client.rbi +93 -5
- data/rbi/anthropic/internal/type/base_stream.rbi +2 -0
- data/rbi/anthropic/models/anthropic_beta.rbi +5 -0
- data/rbi/anthropic/models/beta/agent_create_params.rbi +34 -3
- data/rbi/anthropic/models/beta/agent_update_params.rbi +34 -3
- data/rbi/anthropic/models/beta/beta_fallback_param.rbi +3 -2
- data/rbi/anthropic/models/beta/beta_fallbacks_param.rbi +6 -2
- data/rbi/anthropic/models/beta/beta_managed_agents_agent.rbi +17 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_agent_with_overrides_params.rbi +3 -3
- data/rbi/anthropic/models/beta/beta_managed_agents_aws_role_execution_identity.rbi +40 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_aws_role_execution_identity_params.rbi +42 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_execution_identity.rbi +85 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_execution_identity_params.rbi +87 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_model.rbi +0 -2
- data/rbi/anthropic/models/beta/beta_managed_agents_service_account_execution_identity.rbi +32 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_service_account_execution_identity_params.rbi +33 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_session_agent.rbi +19 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_session_multiagent_coordinator.rbi +9 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_session_thread_agent.rbi +19 -0
- data/rbi/anthropic/models/beta/beta_message_delta_usage.rbi +0 -2
- data/rbi/anthropic/models/beta/beta_thinking_config_adaptive.rbi +9 -6
- data/rbi/anthropic/models/beta/beta_thinking_config_enabled.rbi +9 -6
- data/rbi/anthropic/models/beta/beta_thinking_config_param.rbi +11 -9
- data/rbi/anthropic/models/beta/beta_usage.rbi +0 -2
- data/rbi/anthropic/models/beta/message_count_tokens_params.rbi +28 -18
- data/rbi/anthropic/models/beta/message_create_params.rbi +40 -22
- data/rbi/anthropic/models/beta/messages/batch_create_params.rbi +40 -22
- data/rbi/anthropic/models/beta/organization/beta_analytics_cost_bucketed_result.rbi +6 -6
- data/rbi/anthropic/models/beta/organization/beta_analytics_cost_users_item.rbi +6 -6
- data/rbi/anthropic/models/beta/organization/beta_analytics_usage_bucketed_result.rbi +6 -6
- data/rbi/anthropic/models/beta/organization/beta_analytics_usage_users_item.rbi +6 -6
- data/rbi/anthropic/models/beta/organization/beta_deleted_telemetry_destination.rbi +39 -0
- data/rbi/anthropic/models/beta/organization/beta_spend_limit.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/beta_telemetry_destination.rbi +191 -0
- data/rbi/anthropic/models/beta/organization/beta_telemetry_destination_content_mode.rbi +53 -0
- data/rbi/anthropic/models/beta/organization/beta_telemetry_destination_delivery_health.rbi +106 -0
- data/rbi/anthropic/models/beta/organization/beta_telemetry_destination_disabled_reason.rbi +95 -0
- data/rbi/anthropic/models/beta/organization/beta_telemetry_destination_disabled_reason_caller.rbi +31 -0
- data/rbi/anthropic/models/beta/organization/beta_telemetry_destination_disabled_reason_invalid_address.rbi +39 -0
- data/rbi/anthropic/models/beta/organization/beta_telemetry_destination_disabled_reason_redirect.rbi +33 -0
- data/rbi/anthropic/models/beta/organization/beta_telemetry_destination_disabled_reason_sustained_failure.rbi +35 -0
- data/rbi/anthropic/models/beta/organization/beta_telemetry_destination_state.rbi +99 -0
- data/rbi/anthropic/models/beta/organization/beta_telemetry_destination_state_disabled.rbi +66 -0
- data/rbi/anthropic/models/beta/organization/beta_telemetry_destination_state_disabled_params.rbi +34 -0
- data/rbi/anthropic/models/beta/organization/beta_telemetry_destination_state_enabled.rbi +31 -0
- data/rbi/anthropic/models/beta/organization/beta_telemetry_destination_state_enabled_params.rbi +33 -0
- data/rbi/anthropic/models/beta/organization/beta_telemetry_destination_state_params.rbi +81 -0
- data/rbi/anthropic/models/beta/organization/beta_telemetry_destination_test_failure.rbi +47 -0
- data/rbi/anthropic/models/beta/organization/beta_telemetry_destination_test_response.rbi +62 -0
- data/rbi/anthropic/models/beta/organization/beta_telemetry_destination_test_result.rbi +88 -0
- data/rbi/anthropic/models/beta/organization/beta_telemetry_destination_test_success.rbi +31 -0
- data/rbi/anthropic/models/beta/organization/beta_telemetry_destination_traces.rbi +97 -0
- data/rbi/anthropic/models/beta/organization/beta_telemetry_destination_traces_params.rbi +120 -0
- data/rbi/anthropic/models/beta/organization/beta_telemetry_destination_workspaces.rbi +93 -0
- data/rbi/anthropic/models/beta/organization/beta_telemetry_destination_workspaces_all.rbi +33 -0
- data/rbi/anthropic/models/beta/organization/beta_telemetry_destination_workspaces_all_params.rbi +33 -0
- data/rbi/anthropic/models/beta/organization/beta_telemetry_destination_workspaces_exclude.rbi +32 -0
- data/rbi/anthropic/models/beta/organization/beta_telemetry_destination_workspaces_exclude_params.rbi +80 -0
- data/rbi/anthropic/models/beta/organization/beta_telemetry_destination_workspaces_include.rbi +31 -0
- data/rbi/anthropic/models/beta/organization/beta_telemetry_destination_workspaces_include_params.rbi +80 -0
- data/rbi/anthropic/models/beta/organization/beta_telemetry_destination_workspaces_params.rbi +107 -0
- data/rbi/anthropic/models/beta/organization/invite_create_params.rbi +6 -3
- data/rbi/anthropic/models/beta/organization/spend_limit_list_params.rbi +2 -8
- data/rbi/anthropic/models/beta/organization/telemetry_destination_create_params.rbi +186 -0
- data/rbi/anthropic/models/beta/organization/telemetry_destination_delete_params.rbi +73 -0
- data/rbi/anthropic/models/beta/organization/telemetry_destination_list_params.rbi +114 -0
- data/rbi/anthropic/models/beta/organization/telemetry_destination_retrieve_params.rbi +73 -0
- data/rbi/anthropic/models/beta/organization/telemetry_destination_test_params.rbi +73 -0
- data/rbi/anthropic/models/beta/organization/telemetry_destination_update_params.rbi +264 -0
- data/rbi/anthropic/models/beta/organization/telemetry_destinations/beta_deleted_telemetry_destination_workspace.rbi +61 -0
- data/rbi/anthropic/models/beta/organization/telemetry_destinations/beta_telemetry_destination_workspace.rbi +73 -0
- data/rbi/anthropic/models/beta/organization/telemetry_destinations/workspace_add_params.rbi +84 -0
- data/rbi/anthropic/models/beta/organization/telemetry_destinations/workspace_list_params.rbi +100 -0
- data/rbi/anthropic/models/beta/organization/telemetry_destinations/workspace_remove_params.rbi +84 -0
- data/rbi/anthropic/models/beta/organization/user_update_params.rbi +6 -3
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_custom_tool_use_event.rbi +3 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_event_params.rbi +2 -2
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_inline_agent.rbi +17 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_send_session_events.rbi +2 -2
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_event.rbi +2 -2
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_thread.rbi +9 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_stream_session_events.rbi +2 -2
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_stream_session_thread_events.rbi +2 -2
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_custom_tool_result_event.rbi +4 -4
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_custom_tool_result_event_params.rbi +4 -4
- data/rbi/anthropic/models/message_count_tokens_params.rbi +28 -18
- data/rbi/anthropic/models/message_create_params.rbi +28 -18
- data/rbi/anthropic/models/messages/batch_create_params.rbi +28 -18
- data/rbi/anthropic/models/model.rbi +0 -2
- data/rbi/anthropic/models/organization/invite_create_params.rbi +6 -3
- data/rbi/anthropic/models/organization/user_update_params.rbi +6 -3
- data/rbi/anthropic/models/thinking_config_adaptive.rbi +9 -6
- data/rbi/anthropic/models/thinking_config_enabled.rbi +9 -6
- data/rbi/anthropic/models/thinking_config_param.rbi +11 -9
- data/rbi/anthropic/request_options.rbi +5 -0
- data/rbi/anthropic/resources/beta/agents.rbi +22 -2
- data/rbi/anthropic/resources/beta/messages/batches.rbi +2 -1
- data/rbi/anthropic/resources/beta/messages.rbi +56 -32
- data/rbi/anthropic/resources/beta/organization/invites.rbi +2 -1
- data/rbi/anthropic/resources/beta/organization/spend_limits/effective.rbi +2 -2
- data/rbi/anthropic/resources/beta/organization/spend_limits.rbi +5 -10
- data/rbi/anthropic/resources/beta/organization/telemetry_destinations/workspaces.rbi +124 -0
- data/rbi/anthropic/resources/beta/organization/telemetry_destinations.rbi +300 -0
- data/rbi/anthropic/resources/beta/organization/users.rbi +2 -1
- data/rbi/anthropic/resources/beta/organization.rbi +7 -0
- data/rbi/anthropic/resources/beta/sessions/events.rbi +2 -1
- data/rbi/anthropic/resources/beta/sessions/threads/events.rbi +2 -1
- data/rbi/anthropic/resources/completions.rbi +6 -1
- data/rbi/anthropic/resources/messages/batches.rbi +2 -1
- data/rbi/anthropic/resources/messages.rbi +44 -28
- data/rbi/anthropic/resources/organization/invites.rbi +2 -1
- data/rbi/anthropic/resources/organization/users.rbi +2 -1
- data/sig/anthropic/client.rbs +1 -0
- data/sig/anthropic/helpers/bedrock/client.rbs +2 -1
- data/sig/anthropic/helpers/google_cloud/client.rbs +2 -1
- data/sig/anthropic/helpers/streaming/message_stream.rbs +2 -2
- data/sig/anthropic/helpers/vertex/client.rbs +2 -1
- data/sig/anthropic/internal/tracing.rbs +477 -0
- data/sig/anthropic/internal/transport/base_client.rbs +37 -2
- data/sig/anthropic/internal/type/base_stream.rbs +1 -1
- data/sig/anthropic/models/anthropic_beta.rbs +2 -0
- data/sig/anthropic/models/beta/agent_create_params.rbs +5 -0
- data/sig/anthropic/models/beta/agent_update_params.rbs +5 -0
- data/sig/anthropic/models/beta/beta_managed_agents_agent.rbs +5 -0
- data/sig/anthropic/models/beta/beta_managed_agents_aws_role_execution_identity.rbs +20 -0
- data/sig/anthropic/models/beta/beta_managed_agents_aws_role_execution_identity_params.rbs +20 -0
- data/sig/anthropic/models/beta/beta_managed_agents_execution_identity.rbs +42 -0
- data/sig/anthropic/models/beta/beta_managed_agents_execution_identity_params.rbs +42 -0
- data/sig/anthropic/models/beta/beta_managed_agents_model.rbs +0 -2
- data/sig/anthropic/models/beta/beta_managed_agents_service_account_execution_identity.rbs +18 -0
- data/sig/anthropic/models/beta/beta_managed_agents_service_account_execution_identity_params.rbs +18 -0
- data/sig/anthropic/models/beta/beta_managed_agents_session_agent.rbs +5 -0
- data/sig/anthropic/models/beta/beta_managed_agents_session_multiagent_coordinator.rbs +2 -0
- data/sig/anthropic/models/beta/beta_managed_agents_session_thread_agent.rbs +5 -0
- data/sig/anthropic/models/beta/organization/beta_deleted_telemetry_destination.rbs +23 -0
- data/sig/anthropic/models/beta/organization/beta_telemetry_destination.rbs +74 -0
- data/sig/anthropic/models/beta/organization/beta_telemetry_destination_content_mode.rbs +23 -0
- data/sig/anthropic/models/beta/organization/beta_telemetry_destination_delivery_health.rbs +30 -0
- data/sig/anthropic/models/beta/organization/beta_telemetry_destination_disabled_reason.rbs +51 -0
- data/sig/anthropic/models/beta/organization/beta_telemetry_destination_disabled_reason_caller.rbs +18 -0
- data/sig/anthropic/models/beta/organization/beta_telemetry_destination_disabled_reason_invalid_address.rbs +18 -0
- data/sig/anthropic/models/beta/organization/beta_telemetry_destination_disabled_reason_redirect.rbs +18 -0
- data/sig/anthropic/models/beta/organization/beta_telemetry_destination_disabled_reason_sustained_failure.rbs +18 -0
- data/sig/anthropic/models/beta/organization/beta_telemetry_destination_state.rbs +42 -0
- data/sig/anthropic/models/beta/organization/beta_telemetry_destination_state_disabled.rbs +29 -0
- data/sig/anthropic/models/beta/organization/beta_telemetry_destination_state_disabled_params.rbs +18 -0
- data/sig/anthropic/models/beta/organization/beta_telemetry_destination_state_enabled.rbs +17 -0
- data/sig/anthropic/models/beta/organization/beta_telemetry_destination_state_enabled_params.rbs +18 -0
- data/sig/anthropic/models/beta/organization/beta_telemetry_destination_state_params.rbs +40 -0
- data/sig/anthropic/models/beta/organization/beta_telemetry_destination_test_failure.rbs +20 -0
- data/sig/anthropic/models/beta/organization/beta_telemetry_destination_test_response.rbs +29 -0
- data/sig/anthropic/models/beta/organization/beta_telemetry_destination_test_result.rbs +42 -0
- data/sig/anthropic/models/beta/organization/beta_telemetry_destination_test_success.rbs +17 -0
- data/sig/anthropic/models/beta/organization/beta_telemetry_destination_traces.rbs +39 -0
- data/sig/anthropic/models/beta/organization/beta_telemetry_destination_traces_params.rbs +41 -0
- data/sig/anthropic/models/beta/organization/beta_telemetry_destination_workspaces.rbs +45 -0
- data/sig/anthropic/models/beta/organization/beta_telemetry_destination_workspaces_all.rbs +17 -0
- data/sig/anthropic/models/beta/organization/beta_telemetry_destination_workspaces_all_params.rbs +17 -0
- data/sig/anthropic/models/beta/organization/beta_telemetry_destination_workspaces_exclude.rbs +17 -0
- data/sig/anthropic/models/beta/organization/beta_telemetry_destination_workspaces_exclude_params.rbs +25 -0
- data/sig/anthropic/models/beta/organization/beta_telemetry_destination_workspaces_include.rbs +17 -0
- data/sig/anthropic/models/beta/organization/beta_telemetry_destination_workspaces_include_params.rbs +25 -0
- data/sig/anthropic/models/beta/organization/beta_telemetry_destination_workspaces_params.rbs +48 -0
- data/sig/anthropic/models/beta/organization/telemetry_destination_create_params.rbs +65 -0
- data/sig/anthropic/models/beta/organization/telemetry_destination_delete_params.rbs +39 -0
- data/sig/anthropic/models/beta/organization/telemetry_destination_list_params.rbs +55 -0
- data/sig/anthropic/models/beta/organization/telemetry_destination_retrieve_params.rbs +39 -0
- data/sig/anthropic/models/beta/organization/telemetry_destination_test_params.rbs +39 -0
- data/sig/anthropic/models/beta/organization/telemetry_destination_update_params.rbs +79 -0
- data/sig/anthropic/models/beta/organization/telemetry_destinations/beta_deleted_telemetry_destination_workspace.rbs +36 -0
- data/sig/anthropic/models/beta/organization/telemetry_destinations/beta_telemetry_destination_workspace.rbs +41 -0
- data/sig/anthropic/models/beta/organization/telemetry_destinations/workspace_add_params.rbs +46 -0
- data/sig/anthropic/models/beta/organization/telemetry_destinations/workspace_list_params.rbs +55 -0
- data/sig/anthropic/models/beta/organization/telemetry_destinations/workspace_remove_params.rbs +46 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_inline_agent.rbs +5 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_thread.rbs +3 -0
- data/sig/anthropic/models/model.rbs +0 -2
- data/sig/anthropic/request_options.rbs +3 -0
- data/sig/anthropic/resources/beta/agents.rbs +2 -0
- data/sig/anthropic/resources/beta/messages/batches.rbs +1 -1
- data/sig/anthropic/resources/beta/messages.rbs +1 -1
- data/sig/anthropic/resources/beta/organization/telemetry_destinations/workspaces.rbs +35 -0
- data/sig/anthropic/resources/beta/organization/telemetry_destinations.rbs +61 -0
- data/sig/anthropic/resources/beta/organization.rbs +2 -0
- data/sig/anthropic/resources/beta/sessions/events.rbs +1 -1
- data/sig/anthropic/resources/beta/sessions/threads/events.rbs +1 -1
- data/sig/anthropic/resources/completions.rbs +1 -1
- data/sig/anthropic/resources/messages/batches.rbs +1 -1
- data/sig/anthropic/resources/messages.rbs +1 -1
- metadata +178 -2
|
@@ -0,0 +1,477 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Internal
|
|
3
|
+
class TracedStream[Elem]
|
|
4
|
+
include Anthropic::Internal::Type::BaseStream[top, Elem]
|
|
5
|
+
|
|
6
|
+
attr_reader streamed_message: top?
|
|
7
|
+
|
|
8
|
+
def initialize: (
|
|
9
|
+
Anthropic::Internal::Type::BaseStream[bot, Elem] stream,
|
|
10
|
+
Enumerable[Elem] iterator,
|
|
11
|
+
top? streamed_message
|
|
12
|
+
) -> void
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
module Tracing
|
|
16
|
+
INSTRUMENTATION_SCOPE: "com.anthropic.sdk.ruby"
|
|
17
|
+
|
|
18
|
+
ERROR_TYPE: "error.type"
|
|
19
|
+
HTTP_REQUEST_METHOD: "http.request.method"
|
|
20
|
+
HTTP_REQUEST_RESEND_COUNT: "http.request.resend_count"
|
|
21
|
+
HTTP_RESPONSE_STATUS_CODE: "http.response.status_code"
|
|
22
|
+
HTTP_ROUTE: "http.route"
|
|
23
|
+
SERVER_ADDRESS: "server.address"
|
|
24
|
+
SERVER_PORT: "server.port"
|
|
25
|
+
URL_FULL: "url.full"
|
|
26
|
+
URL_PATH: "url.path"
|
|
27
|
+
URL_QUERY: "url.query"
|
|
28
|
+
URL_SCHEME: "url.scheme"
|
|
29
|
+
|
|
30
|
+
GEN_AI_PROVIDER_NAME: "gen_ai.provider.name"
|
|
31
|
+
ANTHROPIC_REQUEST_ID: "anthropic.request.id"
|
|
32
|
+
ANTHROPIC_ORGANIZATION_ID: "anthropic.organization.id"
|
|
33
|
+
ANTHROPIC_WORKSPACE_ID: "anthropic.workspace.id"
|
|
34
|
+
GEN_AI_OPERATION_NAME: "gen_ai.operation.name"
|
|
35
|
+
GEN_AI_REQUEST_MODEL: "gen_ai.request.model"
|
|
36
|
+
GEN_AI_REQUEST_MAX_TOKENS: "gen_ai.request.max_tokens"
|
|
37
|
+
GEN_AI_REQUEST_TEMPERATURE: "gen_ai.request.temperature"
|
|
38
|
+
GEN_AI_REQUEST_TOP_P: "gen_ai.request.top_p"
|
|
39
|
+
GEN_AI_REQUEST_TOP_K: "gen_ai.request.top_k"
|
|
40
|
+
GEN_AI_REQUEST_REASONING_LEVEL: "gen_ai.request.reasoning.level"
|
|
41
|
+
ANTHROPIC_REQUEST_SERVICE_TIER: "anthropic.request.service_tier"
|
|
42
|
+
ANTHROPIC_THINKING_TYPE: "anthropic.thinking.type"
|
|
43
|
+
ANTHROPIC_THINKING_BUDGET_TOKENS: "anthropic.thinking.budget_tokens"
|
|
44
|
+
ANTHROPIC_BETA: "anthropic.beta"
|
|
45
|
+
GEN_AI_REQUEST_STREAM: "gen_ai.request.stream"
|
|
46
|
+
GEN_AI_RESPONSE_ID: "gen_ai.response.id"
|
|
47
|
+
GEN_AI_RESPONSE_MODEL: "gen_ai.response.model"
|
|
48
|
+
GEN_AI_USAGE_CACHE_WRITE_INPUT_TOKENS: "gen_ai.usage.cache_write.input_tokens"
|
|
49
|
+
GEN_AI_USAGE_CACHE_READ_INPUT_TOKENS: "gen_ai.usage.cache_read.input_tokens"
|
|
50
|
+
ANTHROPIC_USAGE_CACHE_CREATION_EPHEMERAL_5M_INPUT_TOKENS: "anthropic.usage.cache_creation.ephemeral_5m_input_tokens"
|
|
51
|
+
ANTHROPIC_USAGE_CACHE_CREATION_EPHEMERAL_1H_INPUT_TOKENS: "anthropic.usage.cache_creation.ephemeral_1h_input_tokens"
|
|
52
|
+
ANTHROPIC_RESPONSE_SERVICE_TIER: "anthropic.response.service_tier"
|
|
53
|
+
GEN_AI_USAGE_OUTPUT_TOKENS: "gen_ai.usage.output_tokens"
|
|
54
|
+
GEN_AI_USAGE_REASONING_OUTPUT_TOKENS: "gen_ai.usage.reasoning.output_tokens"
|
|
55
|
+
ANTHROPIC_MESSAGE_STOP_REASON: "anthropic.message.stop_reason"
|
|
56
|
+
ANTHROPIC_MESSAGE_COUNT_TOKENS_INPUT_TOKENS: "anthropic.message.count_tokens.input_tokens"
|
|
57
|
+
ANTHROPIC_SESSION_ENVIRONMENT_ID: "anthropic.session.environment.id"
|
|
58
|
+
GEN_AI_AGENT_NAME: "gen_ai.agent.name"
|
|
59
|
+
|
|
60
|
+
module SpanName
|
|
61
|
+
COMPLETIONS_CREATE: "anthropic.completions.create"
|
|
62
|
+
MESSAGES_CREATE: "anthropic.messages.create"
|
|
63
|
+
MESSAGES_COUNT_TOKENS: "anthropic.messages.count_tokens"
|
|
64
|
+
MESSAGES_BATCHES_CREATE: "anthropic.messages.batches.create"
|
|
65
|
+
MESSAGES_BATCHES_RETRIEVE: "anthropic.messages.batches.retrieve"
|
|
66
|
+
MESSAGES_BATCHES_LIST: "anthropic.messages.batches.list"
|
|
67
|
+
MESSAGES_BATCHES_DELETE: "anthropic.messages.batches.delete"
|
|
68
|
+
MESSAGES_BATCHES_CANCEL: "anthropic.messages.batches.cancel"
|
|
69
|
+
MESSAGES_BATCHES_RESULTS: "anthropic.messages.batches.results"
|
|
70
|
+
MODELS_RETRIEVE: "anthropic.models.retrieve"
|
|
71
|
+
MODELS_LIST: "anthropic.models.list"
|
|
72
|
+
FILES_LIST: "anthropic.files.list"
|
|
73
|
+
FILES_DELETE: "anthropic.files.delete"
|
|
74
|
+
FILES_DOWNLOAD: "anthropic.files.download"
|
|
75
|
+
FILES_RETRIEVE_METADATA: "anthropic.files.retrieve_metadata"
|
|
76
|
+
FILES_UPLOAD: "anthropic.files.upload"
|
|
77
|
+
SKILLS_CREATE: "anthropic.skills.create"
|
|
78
|
+
SKILLS_RETRIEVE: "anthropic.skills.retrieve"
|
|
79
|
+
SKILLS_LIST: "anthropic.skills.list"
|
|
80
|
+
SKILLS_DELETE: "anthropic.skills.delete"
|
|
81
|
+
SKILLS_VERSIONS_CREATE: "anthropic.skills.versions.create"
|
|
82
|
+
SKILLS_VERSIONS_RETRIEVE: "anthropic.skills.versions.retrieve"
|
|
83
|
+
SKILLS_VERSIONS_LIST: "anthropic.skills.versions.list"
|
|
84
|
+
SKILLS_VERSIONS_DELETE: "anthropic.skills.versions.delete"
|
|
85
|
+
ORGANIZATION_RETRIEVE: "anthropic.organization.retrieve"
|
|
86
|
+
ORGANIZATION_API_KEYS_RETRIEVE: "anthropic.organization.api_keys.retrieve"
|
|
87
|
+
ORGANIZATION_API_KEYS_UPDATE: "anthropic.organization.api_keys.update"
|
|
88
|
+
ORGANIZATION_API_KEYS_LIST: "anthropic.organization.api_keys.list"
|
|
89
|
+
ORGANIZATION_EXTERNAL_KEYS_CREATE: "anthropic.organization.external_keys.create"
|
|
90
|
+
ORGANIZATION_EXTERNAL_KEYS_RETRIEVE: "anthropic.organization.external_keys.retrieve"
|
|
91
|
+
ORGANIZATION_EXTERNAL_KEYS_UPDATE: "anthropic.organization.external_keys.update"
|
|
92
|
+
ORGANIZATION_EXTERNAL_KEYS_LIST: "anthropic.organization.external_keys.list"
|
|
93
|
+
ORGANIZATION_EXTERNAL_KEYS_DELETE: "anthropic.organization.external_keys.delete"
|
|
94
|
+
ORGANIZATION_EXTERNAL_KEYS_VALIDATE: "anthropic.organization.external_keys.validate"
|
|
95
|
+
ORGANIZATION_FEDERATION_ISSUERS_CREATE: "anthropic.organization.federation.issuers.create"
|
|
96
|
+
ORGANIZATION_FEDERATION_ISSUERS_RETRIEVE: "anthropic.organization.federation.issuers.retrieve"
|
|
97
|
+
ORGANIZATION_FEDERATION_ISSUERS_UPDATE: "anthropic.organization.federation.issuers.update"
|
|
98
|
+
ORGANIZATION_FEDERATION_ISSUERS_LIST: "anthropic.organization.federation.issuers.list"
|
|
99
|
+
ORGANIZATION_FEDERATION_ISSUERS_ARCHIVE: "anthropic.organization.federation.issuers.archive"
|
|
100
|
+
ORGANIZATION_FEDERATION_RULES_CREATE: "anthropic.organization.federation.rules.create"
|
|
101
|
+
ORGANIZATION_FEDERATION_RULES_RETRIEVE: "anthropic.organization.federation.rules.retrieve"
|
|
102
|
+
ORGANIZATION_FEDERATION_RULES_UPDATE: "anthropic.organization.federation.rules.update"
|
|
103
|
+
ORGANIZATION_FEDERATION_RULES_LIST: "anthropic.organization.federation.rules.list"
|
|
104
|
+
ORGANIZATION_FEDERATION_RULES_ARCHIVE: "anthropic.organization.federation.rules.archive"
|
|
105
|
+
ORGANIZATION_FEDERATION_RULES_WORKSPACES_LIST: "anthropic.organization.federation.rules.workspaces.list"
|
|
106
|
+
ORGANIZATION_FEDERATION_RULES_WORKSPACES_ADD: "anthropic.organization.federation.rules.workspaces.add"
|
|
107
|
+
ORGANIZATION_FEDERATION_RULES_WORKSPACES_REMOVE: "anthropic.organization.federation.rules.workspaces.remove"
|
|
108
|
+
ORGANIZATION_INVITES_CREATE: "anthropic.organization.invites.create"
|
|
109
|
+
ORGANIZATION_INVITES_RETRIEVE: "anthropic.organization.invites.retrieve"
|
|
110
|
+
ORGANIZATION_INVITES_LIST: "anthropic.organization.invites.list"
|
|
111
|
+
ORGANIZATION_INVITES_DELETE: "anthropic.organization.invites.delete"
|
|
112
|
+
ORGANIZATION_SERVICE_ACCOUNTS_CREATE: "anthropic.organization.service_accounts.create"
|
|
113
|
+
ORGANIZATION_SERVICE_ACCOUNTS_RETRIEVE: "anthropic.organization.service_accounts.retrieve"
|
|
114
|
+
ORGANIZATION_SERVICE_ACCOUNTS_UPDATE: "anthropic.organization.service_accounts.update"
|
|
115
|
+
ORGANIZATION_SERVICE_ACCOUNTS_LIST: "anthropic.organization.service_accounts.list"
|
|
116
|
+
ORGANIZATION_SERVICE_ACCOUNTS_ARCHIVE: "anthropic.organization.service_accounts.archive"
|
|
117
|
+
ORGANIZATION_SERVICE_ACCOUNTS_WORKSPACES_LIST: "anthropic.organization.service_accounts.workspaces.list"
|
|
118
|
+
ORGANIZATION_SERVICE_ACCOUNTS_WORKSPACES_ADD: "anthropic.organization.service_accounts.workspaces.add"
|
|
119
|
+
ORGANIZATION_SERVICE_ACCOUNTS_WORKSPACES_REMOVE: "anthropic.organization.service_accounts.workspaces.remove"
|
|
120
|
+
ORGANIZATION_USERS_RETRIEVE: "anthropic.organization.users.retrieve"
|
|
121
|
+
ORGANIZATION_USERS_UPDATE: "anthropic.organization.users.update"
|
|
122
|
+
ORGANIZATION_USERS_LIST: "anthropic.organization.users.list"
|
|
123
|
+
ORGANIZATION_USERS_REMOVE: "anthropic.organization.users.remove"
|
|
124
|
+
ORGANIZATION_WORKSPACES_CREATE: "anthropic.organization.workspaces.create"
|
|
125
|
+
ORGANIZATION_WORKSPACES_RETRIEVE: "anthropic.organization.workspaces.retrieve"
|
|
126
|
+
ORGANIZATION_WORKSPACES_UPDATE: "anthropic.organization.workspaces.update"
|
|
127
|
+
ORGANIZATION_WORKSPACES_LIST: "anthropic.organization.workspaces.list"
|
|
128
|
+
ORGANIZATION_WORKSPACES_ARCHIVE: "anthropic.organization.workspaces.archive"
|
|
129
|
+
ORGANIZATION_WORKSPACES_RATE_LIMITS_LIST: "anthropic.organization.workspaces.rate_limits.list"
|
|
130
|
+
ORGANIZATION_WORKSPACES_MEMBERS_RETRIEVE: "anthropic.organization.workspaces.members.retrieve"
|
|
131
|
+
ORGANIZATION_WORKSPACES_MEMBERS_UPDATE: "anthropic.organization.workspaces.members.update"
|
|
132
|
+
ORGANIZATION_WORKSPACES_MEMBERS_LIST: "anthropic.organization.workspaces.members.list"
|
|
133
|
+
ORGANIZATION_WORKSPACES_MEMBERS_ADD: "anthropic.organization.workspaces.members.add"
|
|
134
|
+
ORGANIZATION_WORKSPACES_MEMBERS_REMOVE: "anthropic.organization.workspaces.members.remove"
|
|
135
|
+
ORGANIZATION_WORKSPACES_SERVICE_ACCOUNTS_RETRIEVE: "anthropic.organization.workspaces.service_accounts.retrieve"
|
|
136
|
+
ORGANIZATION_WORKSPACES_SERVICE_ACCOUNTS_UPDATE: "anthropic.organization.workspaces.service_accounts.update"
|
|
137
|
+
ORGANIZATION_WORKSPACES_SERVICE_ACCOUNTS_LIST: "anthropic.organization.workspaces.service_accounts.list"
|
|
138
|
+
ORGANIZATION_WORKSPACES_SERVICE_ACCOUNTS_ADD: "anthropic.organization.workspaces.service_accounts.add"
|
|
139
|
+
ORGANIZATION_WORKSPACES_SERVICE_ACCOUNTS_REMOVE: "anthropic.organization.workspaces.service_accounts.remove"
|
|
140
|
+
ORGANIZATION_RATE_LIMITS_LIST: "anthropic.organization.rate_limits.list"
|
|
141
|
+
ORGANIZATION_COMPLIANCE_SETTINGS_RETRIEVE: "anthropic.organization.compliance_settings.retrieve"
|
|
142
|
+
ORGANIZATION_COMPLIANCE_SETTINGS_UPDATE: "anthropic.organization.compliance_settings.update"
|
|
143
|
+
AGENTS_CREATE: "anthropic.agents.create"
|
|
144
|
+
AGENTS_RETRIEVE: "anthropic.agents.retrieve"
|
|
145
|
+
AGENTS_UPDATE: "anthropic.agents.update"
|
|
146
|
+
AGENTS_LIST: "anthropic.agents.list"
|
|
147
|
+
AGENTS_ARCHIVE: "anthropic.agents.archive"
|
|
148
|
+
AGENTS_VERSIONS_LIST: "anthropic.agents.versions.list"
|
|
149
|
+
ENVIRONMENTS_CREATE: "anthropic.environments.create"
|
|
150
|
+
ENVIRONMENTS_RETRIEVE: "anthropic.environments.retrieve"
|
|
151
|
+
ENVIRONMENTS_UPDATE: "anthropic.environments.update"
|
|
152
|
+
ENVIRONMENTS_LIST: "anthropic.environments.list"
|
|
153
|
+
ENVIRONMENTS_DELETE: "anthropic.environments.delete"
|
|
154
|
+
ENVIRONMENTS_ARCHIVE: "anthropic.environments.archive"
|
|
155
|
+
ENVIRONMENTS_WORK_RETRIEVE: "anthropic.environments.work.retrieve"
|
|
156
|
+
ENVIRONMENTS_WORK_UPDATE: "anthropic.environments.work.update"
|
|
157
|
+
ENVIRONMENTS_WORK_LIST: "anthropic.environments.work.list"
|
|
158
|
+
ENVIRONMENTS_WORK_ACK: "anthropic.environments.work.ack"
|
|
159
|
+
ENVIRONMENTS_WORK_HEARTBEAT: "anthropic.environments.work.heartbeat"
|
|
160
|
+
ENVIRONMENTS_WORK_POLL: "anthropic.environments.work.poll"
|
|
161
|
+
ENVIRONMENTS_WORK_STATS: "anthropic.environments.work.stats"
|
|
162
|
+
ENVIRONMENTS_WORK_STOP: "anthropic.environments.work.stop"
|
|
163
|
+
SESSIONS_CREATE: "anthropic.sessions.create"
|
|
164
|
+
SESSIONS_RETRIEVE: "anthropic.sessions.retrieve"
|
|
165
|
+
SESSIONS_UPDATE: "anthropic.sessions.update"
|
|
166
|
+
SESSIONS_LIST: "anthropic.sessions.list"
|
|
167
|
+
SESSIONS_DELETE: "anthropic.sessions.delete"
|
|
168
|
+
SESSIONS_ARCHIVE: "anthropic.sessions.archive"
|
|
169
|
+
SESSIONS_EVENTS_LIST: "anthropic.sessions.events.list"
|
|
170
|
+
SESSIONS_EVENTS_SEND: "anthropic.sessions.events.send"
|
|
171
|
+
SESSIONS_EVENTS_STREAM: "anthropic.sessions.events.stream"
|
|
172
|
+
SESSIONS_RESOURCES_RETRIEVE: "anthropic.sessions.resources.retrieve"
|
|
173
|
+
SESSIONS_RESOURCES_UPDATE: "anthropic.sessions.resources.update"
|
|
174
|
+
SESSIONS_RESOURCES_LIST: "anthropic.sessions.resources.list"
|
|
175
|
+
SESSIONS_RESOURCES_DELETE: "anthropic.sessions.resources.delete"
|
|
176
|
+
SESSIONS_RESOURCES_ADD: "anthropic.sessions.resources.add"
|
|
177
|
+
SESSIONS_THREADS_RETRIEVE: "anthropic.sessions.threads.retrieve"
|
|
178
|
+
SESSIONS_THREADS_LIST: "anthropic.sessions.threads.list"
|
|
179
|
+
SESSIONS_THREADS_ARCHIVE: "anthropic.sessions.threads.archive"
|
|
180
|
+
SESSIONS_THREADS_EVENTS_LIST: "anthropic.sessions.threads.events.list"
|
|
181
|
+
SESSIONS_THREADS_EVENTS_STREAM: "anthropic.sessions.threads.events.stream"
|
|
182
|
+
DEPLOYMENTS_CREATE: "anthropic.deployments.create"
|
|
183
|
+
DEPLOYMENTS_RETRIEVE: "anthropic.deployments.retrieve"
|
|
184
|
+
DEPLOYMENTS_UPDATE: "anthropic.deployments.update"
|
|
185
|
+
DEPLOYMENTS_LIST: "anthropic.deployments.list"
|
|
186
|
+
DEPLOYMENTS_ARCHIVE: "anthropic.deployments.archive"
|
|
187
|
+
DEPLOYMENTS_PAUSE: "anthropic.deployments.pause"
|
|
188
|
+
DEPLOYMENTS_RUN: "anthropic.deployments.run"
|
|
189
|
+
DEPLOYMENTS_UNPAUSE: "anthropic.deployments.unpause"
|
|
190
|
+
DEPLOYMENT_RUNS_RETRIEVE: "anthropic.deployment_runs.retrieve"
|
|
191
|
+
DEPLOYMENT_RUNS_LIST: "anthropic.deployment_runs.list"
|
|
192
|
+
VAULTS_CREATE: "anthropic.vaults.create"
|
|
193
|
+
VAULTS_RETRIEVE: "anthropic.vaults.retrieve"
|
|
194
|
+
VAULTS_UPDATE: "anthropic.vaults.update"
|
|
195
|
+
VAULTS_LIST: "anthropic.vaults.list"
|
|
196
|
+
VAULTS_DELETE: "anthropic.vaults.delete"
|
|
197
|
+
VAULTS_ARCHIVE: "anthropic.vaults.archive"
|
|
198
|
+
VAULTS_CREDENTIALS_CREATE: "anthropic.vaults.credentials.create"
|
|
199
|
+
VAULTS_CREDENTIALS_RETRIEVE: "anthropic.vaults.credentials.retrieve"
|
|
200
|
+
VAULTS_CREDENTIALS_UPDATE: "anthropic.vaults.credentials.update"
|
|
201
|
+
VAULTS_CREDENTIALS_LIST: "anthropic.vaults.credentials.list"
|
|
202
|
+
VAULTS_CREDENTIALS_DELETE: "anthropic.vaults.credentials.delete"
|
|
203
|
+
VAULTS_CREDENTIALS_ARCHIVE: "anthropic.vaults.credentials.archive"
|
|
204
|
+
VAULTS_CREDENTIALS_MCP_OAUTH_VALIDATE: "anthropic.vaults.credentials.mcp_oauth_validate"
|
|
205
|
+
MEMORY_STORES_CREATE: "anthropic.memory_stores.create"
|
|
206
|
+
MEMORY_STORES_RETRIEVE: "anthropic.memory_stores.retrieve"
|
|
207
|
+
MEMORY_STORES_UPDATE: "anthropic.memory_stores.update"
|
|
208
|
+
MEMORY_STORES_LIST: "anthropic.memory_stores.list"
|
|
209
|
+
MEMORY_STORES_DELETE: "anthropic.memory_stores.delete"
|
|
210
|
+
MEMORY_STORES_ARCHIVE: "anthropic.memory_stores.archive"
|
|
211
|
+
MEMORY_STORES_MEMORIES_CREATE: "anthropic.memory_stores.memories.create"
|
|
212
|
+
MEMORY_STORES_MEMORIES_RETRIEVE: "anthropic.memory_stores.memories.retrieve"
|
|
213
|
+
MEMORY_STORES_MEMORIES_UPDATE: "anthropic.memory_stores.memories.update"
|
|
214
|
+
MEMORY_STORES_MEMORIES_LIST: "anthropic.memory_stores.memories.list"
|
|
215
|
+
MEMORY_STORES_MEMORIES_DELETE: "anthropic.memory_stores.memories.delete"
|
|
216
|
+
MEMORY_STORES_MEMORY_VERSIONS_RETRIEVE: "anthropic.memory_stores.memory_versions.retrieve"
|
|
217
|
+
MEMORY_STORES_MEMORY_VERSIONS_LIST: "anthropic.memory_stores.memory_versions.list"
|
|
218
|
+
MEMORY_STORES_MEMORY_VERSIONS_REDACT: "anthropic.memory_stores.memory_versions.redact"
|
|
219
|
+
SKILLS_VERSIONS_DOWNLOAD: "anthropic.skills.versions.download"
|
|
220
|
+
USER_PROFILES_CREATE: "anthropic.user_profiles.create"
|
|
221
|
+
USER_PROFILES_RETRIEVE: "anthropic.user_profiles.retrieve"
|
|
222
|
+
USER_PROFILES_UPDATE: "anthropic.user_profiles.update"
|
|
223
|
+
USER_PROFILES_LIST: "anthropic.user_profiles.list"
|
|
224
|
+
USER_PROFILES_CREATE_ENROLLMENT_URL: "anthropic.user_profiles.create_enrollment_url"
|
|
225
|
+
DREAMS_CREATE: "anthropic.dreams.create"
|
|
226
|
+
DREAMS_RETRIEVE: "anthropic.dreams.retrieve"
|
|
227
|
+
DREAMS_LIST: "anthropic.dreams.list"
|
|
228
|
+
DREAMS_ARCHIVE: "anthropic.dreams.archive"
|
|
229
|
+
DREAMS_CANCEL: "anthropic.dreams.cancel"
|
|
230
|
+
TUNNELS_CREATE: "anthropic.tunnels.create"
|
|
231
|
+
TUNNELS_RETRIEVE: "anthropic.tunnels.retrieve"
|
|
232
|
+
TUNNELS_LIST: "anthropic.tunnels.list"
|
|
233
|
+
TUNNELS_ARCHIVE: "anthropic.tunnels.archive"
|
|
234
|
+
TUNNELS_REVEAL_TOKEN: "anthropic.tunnels.reveal_token"
|
|
235
|
+
TUNNELS_ROTATE_TOKEN: "anthropic.tunnels.rotate_token"
|
|
236
|
+
TUNNELS_CERTIFICATES_CREATE: "anthropic.tunnels.certificates.create"
|
|
237
|
+
TUNNELS_CERTIFICATES_RETRIEVE: "anthropic.tunnels.certificates.retrieve"
|
|
238
|
+
TUNNELS_CERTIFICATES_LIST: "anthropic.tunnels.certificates.list"
|
|
239
|
+
TUNNELS_CERTIFICATES_ARCHIVE: "anthropic.tunnels.certificates.archive"
|
|
240
|
+
ORGANIZATION_ANALYTICS_SUMMARIES_LIST: "anthropic.organization.analytics.summaries.list"
|
|
241
|
+
ORGANIZATION_ANALYTICS_USERS_LIST: "anthropic.organization.analytics.users.list"
|
|
242
|
+
ORGANIZATION_ANALYTICS_APPS_CHAT_PROJECTS_LIST: "anthropic.organization.analytics.apps.chat.projects.list"
|
|
243
|
+
ORGANIZATION_ANALYTICS_CONNECTORS_LIST: "anthropic.organization.analytics.connectors.list"
|
|
244
|
+
ORGANIZATION_ANALYTICS_PLUGINS_LIST: "anthropic.organization.analytics.plugins.list"
|
|
245
|
+
ORGANIZATION_ANALYTICS_SKILLS_LIST: "anthropic.organization.analytics.skills.list"
|
|
246
|
+
ORGANIZATION_ANALYTICS_ARTIFACTS_LIST: "anthropic.organization.analytics.artifacts.list"
|
|
247
|
+
ORGANIZATION_ANALYTICS_USAGE_REPORT_LIST: "anthropic.organization.analytics.usage_report.list"
|
|
248
|
+
ORGANIZATION_ANALYTICS_USER_USAGE_REPORT_LIST: "anthropic.organization.analytics.user_usage_report.list"
|
|
249
|
+
ORGANIZATION_ANALYTICS_COST_REPORT_LIST: "anthropic.organization.analytics.cost_report.list"
|
|
250
|
+
ORGANIZATION_ANALYTICS_USER_COST_REPORT_LIST: "anthropic.organization.analytics.user_cost_report.list"
|
|
251
|
+
ORGANIZATION_SPEND_LIMITS_RETRIEVE: "anthropic.organization.spend_limits.retrieve"
|
|
252
|
+
ORGANIZATION_SPEND_LIMITS_LIST: "anthropic.organization.spend_limits.list"
|
|
253
|
+
ORGANIZATION_SPEND_LIMITS_DELETE: "anthropic.organization.spend_limits.delete"
|
|
254
|
+
ORGANIZATION_SPEND_LIMITS_SET: "anthropic.organization.spend_limits.set"
|
|
255
|
+
ORGANIZATION_SPEND_LIMITS_EFFECTIVE_LIST: "anthropic.organization.spend_limits.effective.list"
|
|
256
|
+
ORGANIZATION_SPEND_LIMITS_INCREASE_REQUESTS_RETRIEVE: "anthropic.organization.spend_limits.increase_requests.retrieve"
|
|
257
|
+
ORGANIZATION_SPEND_LIMITS_INCREASE_REQUESTS_LIST: "anthropic.organization.spend_limits.increase_requests.list"
|
|
258
|
+
ORGANIZATION_SPEND_LIMITS_INCREASE_REQUESTS_APPROVE: "anthropic.organization.spend_limits.increase_requests.approve"
|
|
259
|
+
ORGANIZATION_SPEND_LIMITS_INCREASE_REQUESTS_DENY: "anthropic.organization.spend_limits.increase_requests.deny"
|
|
260
|
+
ORGANIZATION_RBAC_GROUPS_CREATE: "anthropic.organization.rbac_groups.create"
|
|
261
|
+
ORGANIZATION_RBAC_GROUPS_RETRIEVE: "anthropic.organization.rbac_groups.retrieve"
|
|
262
|
+
ORGANIZATION_RBAC_GROUPS_UPDATE: "anthropic.organization.rbac_groups.update"
|
|
263
|
+
ORGANIZATION_RBAC_GROUPS_LIST: "anthropic.organization.rbac_groups.list"
|
|
264
|
+
ORGANIZATION_RBAC_GROUPS_DELETE: "anthropic.organization.rbac_groups.delete"
|
|
265
|
+
ORGANIZATION_RBAC_GROUPS_MEMBERS_LIST: "anthropic.organization.rbac_groups.members.list"
|
|
266
|
+
ORGANIZATION_RBAC_GROUPS_MEMBERS_ADD: "anthropic.organization.rbac_groups.members.add"
|
|
267
|
+
ORGANIZATION_RBAC_GROUPS_MEMBERS_REMOVE: "anthropic.organization.rbac_groups.members.remove"
|
|
268
|
+
ORGANIZATION_RBAC_ROLES_RETRIEVE: "anthropic.organization.rbac_roles.retrieve"
|
|
269
|
+
ORGANIZATION_RBAC_ROLES_LIST: "anthropic.organization.rbac_roles.list"
|
|
270
|
+
ORGANIZATION_RBAC_ROLES_PERMISSIONS_LIST: "anthropic.organization.rbac_roles.permissions.list"
|
|
271
|
+
ORGANIZATION_PLUGINS_CREATE: "anthropic.organization.plugins.create"
|
|
272
|
+
ORGANIZATION_PLUGINS_RETRIEVE: "anthropic.organization.plugins.retrieve"
|
|
273
|
+
ORGANIZATION_PLUGINS_UPDATE: "anthropic.organization.plugins.update"
|
|
274
|
+
ORGANIZATION_PLUGINS_LIST: "anthropic.organization.plugins.list"
|
|
275
|
+
ORGANIZATION_PLUGINS_DELETE: "anthropic.organization.plugins.delete"
|
|
276
|
+
ORGANIZATION_PLUGINS_VERSIONS_CREATE: "anthropic.organization.plugins.versions.create"
|
|
277
|
+
ORGANIZATION_PLUGINS_VERSIONS_RETRIEVE: "anthropic.organization.plugins.versions.retrieve"
|
|
278
|
+
ORGANIZATION_PLUGINS_VERSIONS_LIST: "anthropic.organization.plugins.versions.list"
|
|
279
|
+
ORGANIZATION_PLUGINS_VERSIONS_DOWNLOAD: "anthropic.organization.plugins.versions.download"
|
|
280
|
+
ORGANIZATION_PLUGINS_INSTALLATION_SETTINGS_LIST: "anthropic.organization.plugins.installation_settings.list"
|
|
281
|
+
ORGANIZATION_PLUGINS_INSTALLATION_SETTINGS_REMOVE: "anthropic.organization.plugins.installation_settings.remove"
|
|
282
|
+
ORGANIZATION_PLUGINS_INSTALLATION_SETTINGS_SET: "anthropic.organization.plugins.installation_settings.set"
|
|
283
|
+
ORGANIZATION_PLUGINS_SHARES_LIST: "anthropic.organization.plugins.shares.list"
|
|
284
|
+
ORGANIZATION_PLUGIN_MARKETPLACES_RETRIEVE: "anthropic.organization.plugin_marketplaces.retrieve"
|
|
285
|
+
ORGANIZATION_PLUGIN_MARKETPLACES_UPDATE: "anthropic.organization.plugin_marketplaces.update"
|
|
286
|
+
ORGANIZATION_PLUGIN_MARKETPLACES_LIST: "anthropic.organization.plugin_marketplaces.list"
|
|
287
|
+
ORGANIZATION_PLUGIN_MARKETPLACES_VALIDATE_ARCHIVE: "anthropic.organization.plugin_marketplaces.validate_archive"
|
|
288
|
+
ORGANIZATION_PLUGIN_MARKETPLACES_VALIDATE_REPOSITORY: "anthropic.organization.plugin_marketplaces.validate_repository"
|
|
289
|
+
ORGANIZATION_TELEMETRY_DESTINATIONS_CREATE: "anthropic.organization.telemetry_destinations.create"
|
|
290
|
+
ORGANIZATION_TELEMETRY_DESTINATIONS_RETRIEVE: "anthropic.organization.telemetry_destinations.retrieve"
|
|
291
|
+
ORGANIZATION_TELEMETRY_DESTINATIONS_UPDATE: "anthropic.organization.telemetry_destinations.update"
|
|
292
|
+
ORGANIZATION_TELEMETRY_DESTINATIONS_LIST: "anthropic.organization.telemetry_destinations.list"
|
|
293
|
+
ORGANIZATION_TELEMETRY_DESTINATIONS_DELETE: "anthropic.organization.telemetry_destinations.delete"
|
|
294
|
+
ORGANIZATION_TELEMETRY_DESTINATIONS_TEST: "anthropic.organization.telemetry_destinations.test"
|
|
295
|
+
ORGANIZATION_TELEMETRY_DESTINATIONS_WORKSPACES_LIST: "anthropic.organization.telemetry_destinations.workspaces.list"
|
|
296
|
+
ORGANIZATION_TELEMETRY_DESTINATIONS_WORKSPACES_ADD: "anthropic.organization.telemetry_destinations.workspaces.add"
|
|
297
|
+
ORGANIZATION_TELEMETRY_DESTINATIONS_WORKSPACES_REMOVE: "anthropic.organization.telemetry_destinations.workspaces.remove"
|
|
298
|
+
end
|
|
299
|
+
|
|
300
|
+
CLIENT_ATTRIBUTES: ::Hash[String, String]
|
|
301
|
+
|
|
302
|
+
RESPONSE_HEADER_ATTRIBUTES: ::Hash[String, String]
|
|
303
|
+
|
|
304
|
+
type client_option =
|
|
305
|
+
bool
|
|
306
|
+
| {
|
|
307
|
+
tracer_provider: top,
|
|
308
|
+
propagation: bool?,
|
|
309
|
+
traces: (bool | traces_option)?
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
type traces_option =
|
|
313
|
+
{
|
|
314
|
+
enabled: bool?,
|
|
315
|
+
content_mode: (:metadata_only | :content | String)?,
|
|
316
|
+
max_content_bytes: Integer?
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
type request_option = { conversation_id: String? }
|
|
320
|
+
|
|
321
|
+
CLIENT_OPTION_KEYS: ::Array[Symbol]
|
|
322
|
+
|
|
323
|
+
TRACES_KEYS: ::Array[Symbol]
|
|
324
|
+
|
|
325
|
+
CONTENT_MODES: ::Array[Symbol]
|
|
326
|
+
|
|
327
|
+
DEFAULT_MAX_CONTENT_BYTES: Integer
|
|
328
|
+
|
|
329
|
+
REQUEST_OPTION_KEYS: ::Array[Symbol]
|
|
330
|
+
|
|
331
|
+
CONTENT_QUERY_PARAMETERS: ::Array[String]
|
|
332
|
+
|
|
333
|
+
SPAN_ATTRIBUTES: ::Hash[String, ::Hash[Symbol, top]]
|
|
334
|
+
|
|
335
|
+
interface _Recorder
|
|
336
|
+
def start_attributes: (
|
|
337
|
+
Anthropic::Internal::Transport::BaseClient client,
|
|
338
|
+
::Hash[Symbol, top] req
|
|
339
|
+
) -> ::Hash[String, top]?
|
|
340
|
+
|
|
341
|
+
def record: (top span, ::Hash[Symbol, top] result) -> void
|
|
342
|
+
end
|
|
343
|
+
|
|
344
|
+
self.@recorders: ::Hash[String?, ::Array[_Recorder]]
|
|
345
|
+
|
|
346
|
+
def self.client_option: (
|
|
347
|
+
(::Hash[(Symbol | String), top] | bool)? option
|
|
348
|
+
) -> ::Hash[Symbol, top]
|
|
349
|
+
|
|
350
|
+
def self.request_option: (
|
|
351
|
+
::Hash[(Symbol | String), top]? option
|
|
352
|
+
) -> ::Hash[Symbol, top]
|
|
353
|
+
|
|
354
|
+
def self.tracer: (::Hash[Symbol, top] option, ?String scope) -> top?
|
|
355
|
+
|
|
356
|
+
def self.content?: (::Hash[Symbol, top] option) -> bool
|
|
357
|
+
|
|
358
|
+
def self.max_content_bytes: (::Hash[Symbol, top] option) -> Integer
|
|
359
|
+
|
|
360
|
+
def self.propagation?: (::Hash[Symbol, top] option) -> bool
|
|
361
|
+
|
|
362
|
+
def self.start_api_call_span: (
|
|
363
|
+
top tracer,
|
|
364
|
+
::Hash[Symbol, top] req,
|
|
365
|
+
propagation: bool
|
|
366
|
+
) -> top?
|
|
367
|
+
|
|
368
|
+
def self.register_recorder: (
|
|
369
|
+
String? span_name,
|
|
370
|
+
_Recorder recorder
|
|
371
|
+
) -> void
|
|
372
|
+
|
|
373
|
+
def self.api_call_span_attributes: (
|
|
374
|
+
Anthropic::Internal::Transport::BaseClient client,
|
|
375
|
+
::Hash[Symbol, top] req
|
|
376
|
+
) -> ::Hash[String, top]
|
|
377
|
+
|
|
378
|
+
def self.record_send: (
|
|
379
|
+
top span,
|
|
380
|
+
Anthropic::Internal::Transport::BaseClient client,
|
|
381
|
+
::Hash[Symbol, top] request,
|
|
382
|
+
URI::Generic url
|
|
383
|
+
) -> void
|
|
384
|
+
|
|
385
|
+
def self.set_response_attributes: (
|
|
386
|
+
top span,
|
|
387
|
+
String? span_name,
|
|
388
|
+
Anthropic::Internal::Type::BaseModel | ::Hash[Symbol, top] response
|
|
389
|
+
) -> void
|
|
390
|
+
|
|
391
|
+
def self.inject: (top span) -> ::Hash[String, String]
|
|
392
|
+
|
|
393
|
+
def self.trace_header_names: (top? span) -> ::Array[String]
|
|
394
|
+
|
|
395
|
+
def self.end_api_call_span: (top span, ::Hash[Symbol, top] result) -> void
|
|
396
|
+
|
|
397
|
+
def self.end_api_call_span_when_stream_ends: (
|
|
398
|
+
top span,
|
|
399
|
+
Anthropic::Internal::Type::BaseStream[bot, top] stream,
|
|
400
|
+
::Hash[Symbol, top] result
|
|
401
|
+
) -> Anthropic::Internal::Type::BaseStream[bot, top]
|
|
402
|
+
|
|
403
|
+
def self.set_error_status: (top span, Exception error) -> void
|
|
404
|
+
|
|
405
|
+
private def self.option_hash: (
|
|
406
|
+
top option,
|
|
407
|
+
::Array[Symbol] keys,
|
|
408
|
+
String name,
|
|
409
|
+
String expected
|
|
410
|
+
) -> ::Hash[Symbol, top]
|
|
411
|
+
|
|
412
|
+
private def self.plain: (top value) -> String
|
|
413
|
+
|
|
414
|
+
private def self.environment_option: -> ::Hash[Symbol, top]
|
|
415
|
+
|
|
416
|
+
private def self.environment_content_mode: -> Symbol
|
|
417
|
+
|
|
418
|
+
private def self.environment_max_content_bytes: -> Integer?
|
|
419
|
+
|
|
420
|
+
private def self.set_response_status_code: (
|
|
421
|
+
top span,
|
|
422
|
+
::Hash[Symbol, top] result
|
|
423
|
+
) -> void
|
|
424
|
+
|
|
425
|
+
private def self.set_created_id: (
|
|
426
|
+
top span,
|
|
427
|
+
::Hash[Symbol, top] result
|
|
428
|
+
) -> void
|
|
429
|
+
|
|
430
|
+
private def self.set_response_header_attributes: (
|
|
431
|
+
top span,
|
|
432
|
+
::Hash[Symbol, top] result
|
|
433
|
+
) -> void
|
|
434
|
+
|
|
435
|
+
private def self.record_result: (
|
|
436
|
+
top span,
|
|
437
|
+
::Hash[Symbol, top] result
|
|
438
|
+
) -> void
|
|
439
|
+
|
|
440
|
+
private def self.recorders: (String? span_name) -> ::Array[_Recorder]
|
|
441
|
+
|
|
442
|
+
private def self.recording: (String? span_name) { -> top } -> top
|
|
443
|
+
|
|
444
|
+
private def self.url_attributes: (
|
|
445
|
+
Anthropic::Internal::Transport::BaseClient client,
|
|
446
|
+
URI::Generic url,
|
|
447
|
+
::Array[String] query_names,
|
|
448
|
+
::Array[String] content_names
|
|
449
|
+
) -> ::Hash[String, String]
|
|
450
|
+
|
|
451
|
+
private def self.request_attributes: (
|
|
452
|
+
Anthropic::Internal::Transport::BaseClient client,
|
|
453
|
+
::Hash[Symbol, top] req
|
|
454
|
+
) -> ::Hash[String, top]
|
|
455
|
+
|
|
456
|
+
private def self.dig: (top data, ::Array[Symbol] path) -> top
|
|
457
|
+
|
|
458
|
+
private def self.attribute_value: (
|
|
459
|
+
top value,
|
|
460
|
+
Symbol | ::Array[Symbol] `type`
|
|
461
|
+
) -> top
|
|
462
|
+
|
|
463
|
+
private def self.header_value: (
|
|
464
|
+
String? value,
|
|
465
|
+
Symbol | ::Array[Symbol] `type`
|
|
466
|
+
) -> top
|
|
467
|
+
|
|
468
|
+
private def self.iterate_and_end_span: (
|
|
469
|
+
Enumerator[top] source,
|
|
470
|
+
top span,
|
|
471
|
+
bool events
|
|
472
|
+
) -> Enumerator[top]
|
|
473
|
+
|
|
474
|
+
private def self.error_type: (StandardError error) -> String
|
|
475
|
+
end
|
|
476
|
+
end
|
|
477
|
+
end
|
|
@@ -20,6 +20,12 @@ module Anthropic
|
|
|
20
20
|
page: Class?,
|
|
21
21
|
stream: Class?,
|
|
22
22
|
model: Anthropic::Internal::Type::Converter::input?,
|
|
23
|
+
span_name: String?,
|
|
24
|
+
span_attributes: ::Hash[String, top]?,
|
|
25
|
+
span_created_id: (String | ::Hash[String, Symbol])?,
|
|
26
|
+
span_route: String?,
|
|
27
|
+
span_query: ::Array[String]?,
|
|
28
|
+
span_content_query: ::Array[String]?,
|
|
23
29
|
options: Anthropic::request_opts?
|
|
24
30
|
}
|
|
25
31
|
type request_input =
|
|
@@ -37,6 +43,8 @@ module Anthropic
|
|
|
37
43
|
| Integer
|
|
38
44
|
| ::Array[(Symbol | Integer)]
|
|
39
45
|
| (^(top arg0) -> top))?,
|
|
46
|
+
span_query: ::Array[String]?,
|
|
47
|
+
span_content_query: ::Array[String]?,
|
|
40
48
|
options: ::Hash[Symbol, top],
|
|
41
49
|
middleware: ::Array[Anthropic::Middleware::entry],
|
|
42
50
|
metadata: ::Hash[Symbol, top]
|
|
@@ -58,7 +66,8 @@ module Anthropic
|
|
|
58
66
|
def self.follow_redirect: (
|
|
59
67
|
Anthropic::Internal::Transport::BaseClient::request_input request,
|
|
60
68
|
status: Integer,
|
|
61
|
-
response_headers: ::Hash[String, String]
|
|
69
|
+
response_headers: ::Hash[String, String],
|
|
70
|
+
?span: top?
|
|
62
71
|
) -> Anthropic::Internal::Transport::BaseClient::request_input
|
|
63
72
|
|
|
64
73
|
def self.reap_connection!: (
|
|
@@ -92,6 +101,7 @@ module Anthropic
|
|
|
92
101
|
?max_retries: Integer,
|
|
93
102
|
?initial_retry_delay: Float,
|
|
94
103
|
?max_retry_delay: Float,
|
|
104
|
+
?open_telemetry: Anthropic::Internal::Tracing::client_option?,
|
|
95
105
|
?headers: ::Hash[String, (String
|
|
96
106
|
| Integer
|
|
97
107
|
| ::Array[(String | Integer)?])?],
|
|
@@ -102,6 +112,17 @@ module Anthropic
|
|
|
102
112
|
|
|
103
113
|
private def auth_headers: -> ::Hash[String, String]
|
|
104
114
|
|
|
115
|
+
def open_telemetry_attributes: -> ::Hash[String, String]
|
|
116
|
+
|
|
117
|
+
def open_telemetry_content?: -> bool
|
|
118
|
+
|
|
119
|
+
# @api private
|
|
120
|
+
attr_reader open_telemetry_max_content_bytes: Integer
|
|
121
|
+
|
|
122
|
+
def open_telemetry_tracer: -> top?
|
|
123
|
+
|
|
124
|
+
private def open_telemetry_scope: -> String
|
|
125
|
+
|
|
105
126
|
private def user_agent: -> String
|
|
106
127
|
|
|
107
128
|
private def generate_idempotency_key: -> String
|
|
@@ -127,7 +148,8 @@ module Anthropic
|
|
|
127
148
|
Anthropic::Internal::Transport::BaseClient::request_input request,
|
|
128
149
|
redirect_count: Integer,
|
|
129
150
|
retry_count: Integer,
|
|
130
|
-
send_retry_header: bool
|
|
151
|
+
send_retry_header: bool,
|
|
152
|
+
?span: top?
|
|
131
153
|
) -> [Integer, top, ::Hash[String, String], Enumerable[String]]
|
|
132
154
|
|
|
133
155
|
def request: (
|
|
@@ -145,9 +167,22 @@ module Anthropic
|
|
|
145
167
|
?page: Class?,
|
|
146
168
|
?stream: Class?,
|
|
147
169
|
?model: Anthropic::Internal::Type::Converter::input?,
|
|
170
|
+
?span_name: String?,
|
|
171
|
+
?span_attributes: ::Hash[String, top]?,
|
|
172
|
+
?span_created_id: (String | ::Hash[String, Symbol])?,
|
|
173
|
+
?span_route: String?,
|
|
174
|
+
?span_query: ::Array[String]?,
|
|
175
|
+
?span_content_query: ::Array[String]?,
|
|
148
176
|
?options: Anthropic::request_opts?
|
|
149
177
|
) -> top
|
|
150
178
|
|
|
179
|
+
private def execute_request: (
|
|
180
|
+
Anthropic::Internal::Transport::BaseClient::request_components req,
|
|
181
|
+
?span: top?
|
|
182
|
+
) ?{
|
|
183
|
+
(Integer status, ::Hash[String, String] headers) -> void
|
|
184
|
+
} -> top
|
|
185
|
+
|
|
151
186
|
def inspect: -> String
|
|
152
187
|
end
|
|
153
188
|
end
|
|
@@ -51,6 +51,7 @@ module Anthropic
|
|
|
51
51
|
| :"mcp-client-2026-09-15"
|
|
52
52
|
| :"ce-plugins-2026-09-01"
|
|
53
53
|
| :"spend-limit-reads-2026-09-26"
|
|
54
|
+
| :"telemetry-destinations-2026-08-11"
|
|
54
55
|
| String
|
|
55
56
|
|
|
56
57
|
module AnthropicBeta
|
|
@@ -108,6 +109,7 @@ module Anthropic
|
|
|
108
109
|
MCP_CLIENT_2026_09_15: :"mcp-client-2026-09-15"
|
|
109
110
|
CE_PLUGINS_2026_09_01: :"ce-plugins-2026-09-01"
|
|
110
111
|
SPEND_LIMIT_READS_2026_09_26: :"spend-limit-reads-2026-09-26"
|
|
112
|
+
TELEMETRY_DESTINATIONS_2026_08_11: :"telemetry-destinations-2026-08-11"
|
|
111
113
|
end
|
|
112
114
|
end
|
|
113
115
|
end
|
|
@@ -6,6 +6,7 @@ module Anthropic
|
|
|
6
6
|
model: Anthropic::Models::Beta::AgentCreateParams::model,
|
|
7
7
|
name: String,
|
|
8
8
|
description: String?,
|
|
9
|
+
execution_identity: Anthropic::Models::Beta::beta_managed_agents_execution_identity_params?,
|
|
9
10
|
mcp_servers: ::Array[Anthropic::Beta::BetaManagedAgentsURLMCPServerParams],
|
|
10
11
|
metadata: ::Hash[Symbol, String],
|
|
11
12
|
multiagent: Anthropic::Models::Beta::beta_managed_agents_multiagent_params?,
|
|
@@ -27,6 +28,8 @@ module Anthropic
|
|
|
27
28
|
|
|
28
29
|
attr_accessor description: String?
|
|
29
30
|
|
|
31
|
+
attr_accessor execution_identity: Anthropic::Models::Beta::beta_managed_agents_execution_identity_params?
|
|
32
|
+
|
|
30
33
|
attr_reader mcp_servers: ::Array[Anthropic::Beta::BetaManagedAgentsURLMCPServerParams]?
|
|
31
34
|
|
|
32
35
|
def mcp_servers=: (
|
|
@@ -67,6 +70,7 @@ module Anthropic
|
|
|
67
70
|
model: Anthropic::Models::Beta::AgentCreateParams::model,
|
|
68
71
|
name: String,
|
|
69
72
|
?description: String?,
|
|
73
|
+
?execution_identity: Anthropic::Models::Beta::beta_managed_agents_execution_identity_params?,
|
|
70
74
|
?mcp_servers: ::Array[Anthropic::Beta::BetaManagedAgentsURLMCPServerParams],
|
|
71
75
|
?metadata: ::Hash[Symbol, String],
|
|
72
76
|
?multiagent: Anthropic::Models::Beta::beta_managed_agents_multiagent_params?,
|
|
@@ -82,6 +86,7 @@ module Anthropic
|
|
|
82
86
|
model: Anthropic::Models::Beta::AgentCreateParams::model,
|
|
83
87
|
name: String,
|
|
84
88
|
description: String?,
|
|
89
|
+
execution_identity: Anthropic::Models::Beta::beta_managed_agents_execution_identity_params?,
|
|
85
90
|
mcp_servers: ::Array[Anthropic::Beta::BetaManagedAgentsURLMCPServerParams],
|
|
86
91
|
metadata: ::Hash[Symbol, String],
|
|
87
92
|
multiagent: Anthropic::Models::Beta::beta_managed_agents_multiagent_params?,
|
|
@@ -5,6 +5,7 @@ module Anthropic
|
|
|
5
5
|
{
|
|
6
6
|
agent_id: String,
|
|
7
7
|
description: String?,
|
|
8
|
+
execution_identity: Anthropic::Models::Beta::beta_managed_agents_execution_identity_params?,
|
|
8
9
|
mcp_servers: ::Array[Anthropic::Beta::BetaManagedAgentsURLMCPServerParams]?,
|
|
9
10
|
metadata: ::Hash[Symbol, String?]?,
|
|
10
11
|
model: Anthropic::Models::Beta::AgentUpdateParams::model,
|
|
@@ -27,6 +28,8 @@ module Anthropic
|
|
|
27
28
|
|
|
28
29
|
attr_accessor description: String?
|
|
29
30
|
|
|
31
|
+
attr_accessor execution_identity: Anthropic::Models::Beta::beta_managed_agents_execution_identity_params?
|
|
32
|
+
|
|
30
33
|
attr_accessor mcp_servers: ::Array[Anthropic::Beta::BetaManagedAgentsURLMCPServerParams]?
|
|
31
34
|
|
|
32
35
|
attr_accessor metadata: ::Hash[Symbol, String?]?
|
|
@@ -66,6 +69,7 @@ module Anthropic
|
|
|
66
69
|
def initialize: (
|
|
67
70
|
agent_id: String,
|
|
68
71
|
?description: String?,
|
|
72
|
+
?execution_identity: Anthropic::Models::Beta::beta_managed_agents_execution_identity_params?,
|
|
69
73
|
?mcp_servers: ::Array[Anthropic::Beta::BetaManagedAgentsURLMCPServerParams]?,
|
|
70
74
|
?metadata: ::Hash[Symbol, String?]?,
|
|
71
75
|
?model: Anthropic::Models::Beta::AgentUpdateParams::model,
|
|
@@ -83,6 +87,7 @@ module Anthropic
|
|
|
83
87
|
def to_hash: -> {
|
|
84
88
|
agent_id: String,
|
|
85
89
|
description: String?,
|
|
90
|
+
execution_identity: Anthropic::Models::Beta::beta_managed_agents_execution_identity_params?,
|
|
86
91
|
mcp_servers: ::Array[Anthropic::Beta::BetaManagedAgentsURLMCPServerParams]?,
|
|
87
92
|
metadata: ::Hash[Symbol, String?]?,
|
|
88
93
|
model: Anthropic::Models::Beta::AgentUpdateParams::model,
|