anthropic 1.80.0 → 1.82.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 +47 -0
- data/README.md +1 -1
- data/lib/anthropic/client.rb +4 -0
- data/lib/anthropic/helpers/aws/client.rb +20 -3
- data/lib/anthropic/helpers/bedrock/client.rb +6 -0
- data/lib/anthropic/helpers/bedrock/mantle_client.rb +41 -2
- data/lib/anthropic/helpers/google_cloud/client.rb +113 -31
- data/lib/anthropic/helpers/vertex/client.rb +7 -0
- data/lib/anthropic/internal/report_page_cursor.rb +98 -0
- data/lib/anthropic/internal/stream.rb +6 -13
- data/lib/anthropic/internal/tracing.rb +14 -4
- data/lib/anthropic/models/anthropic_beta.rb +3 -0
- data/lib/anthropic/models/beta/beta_cache_miss_messages_changed.rb +8 -0
- data/lib/anthropic/models/beta/beta_cache_miss_model_changed.rb +7 -0
- data/lib/anthropic/models/beta/beta_cache_miss_previous_message_not_found.rb +9 -0
- data/lib/anthropic/models/beta/beta_cache_miss_reason.rb +22 -0
- data/lib/anthropic/models/beta/beta_cache_miss_system_changed.rb +7 -0
- data/lib/anthropic/models/beta/beta_cache_miss_tools_changed.rb +7 -0
- data/lib/anthropic/models/beta/beta_cache_miss_unavailable.rb +11 -0
- data/lib/anthropic/models/beta/beta_deleted_user_profile.rb +29 -0
- data/lib/anthropic/models/beta/beta_fallback_param.rb +74 -10
- data/lib/anthropic/models/beta/beta_managed_agents_deleted_vault.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_memory_store.rb +28 -19
- data/lib/anthropic/models/beta/beta_managed_agents_vault.rb +2 -2
- data/lib/anthropic/models/beta/beta_user_profile.rb +31 -28
- data/lib/anthropic/models/beta/beta_user_profile_enrollment_url.rb +1 -1
- data/lib/anthropic/models/beta/beta_webhook_event.rb +2 -2
- data/lib/anthropic/models/beta/beta_webhook_event_data.rb +16 -2
- data/lib/anthropic/models/beta/beta_webhook_user_profile_enforcement_action_opened_event_data.rb +43 -0
- data/lib/anthropic/models/beta/beta_webhook_user_profile_enforcement_action_resolved_event_data.rb +43 -0
- data/lib/anthropic/models/beta/memory_store_archive_params.rb +5 -4
- data/lib/anthropic/models/beta/memory_store_create_params.rb +20 -11
- data/lib/anthropic/models/beta/memory_store_delete_params.rb +5 -4
- data/lib/anthropic/models/beta/memory_store_list_params.rb +7 -9
- data/lib/anthropic/models/beta/memory_store_retrieve_params.rb +2 -3
- data/lib/anthropic/models/beta/memory_store_update_params.rb +19 -14
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_content_sha256_precondition.rb +6 -6
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_deleted_memory.rb +13 -6
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_error.rb +1 -1
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory.rb +38 -26
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_list_item.rb +17 -10
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_path_conflict_error.rb +3 -2
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_prefix.rb +7 -6
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_version.rb +40 -26
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_version_operation.rb +4 -2
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_view.rb +5 -5
- data/lib/anthropic/models/beta/memory_stores/memory_create_params.rb +18 -15
- data/lib/anthropic/models/beta/memory_stores/memory_list_params.rb +27 -19
- data/lib/anthropic/models/beta/memory_stores/memory_retrieve_params.rb +6 -6
- data/lib/anthropic/models/beta/memory_stores/memory_update_params.rb +19 -18
- data/lib/anthropic/models/beta/memory_stores/memory_version_list_params.rb +13 -10
- data/lib/anthropic/models/beta/memory_stores/memory_version_retrieve_params.rb +6 -6
- data/lib/anthropic/models/beta/message_count_tokens_params.rb +1 -1
- data/lib/anthropic/models/beta/message_create_params.rb +1 -1
- data/lib/anthropic/models/beta/messages/batch_create_params.rb +3 -3
- data/lib/anthropic/models/beta/organization/beta_deleted_organization_webhook_endpoint.rb +31 -0
- data/lib/anthropic/models/beta/organization/beta_new_organization_webhook_endpoint.rb +113 -0
- data/lib/anthropic/models/beta/organization/beta_organization_rate_limit.rb +2 -1
- data/lib/anthropic/models/beta/organization/beta_organization_webhook_endpoint.rb +104 -0
- data/lib/anthropic/models/beta/organization/beta_organization_webhook_endpoint_signing_secret.rb +28 -0
- data/lib/anthropic/models/beta/organization/beta_organization_webhook_endpoint_state.rb +20 -0
- data/lib/anthropic/models/beta/organization/beta_plugin.rb +34 -9
- data/lib/anthropic/models/beta/organization/plugin_marketplace_validate_repository_params.rb +9 -4
- data/lib/anthropic/models/beta/organization/plugins/beta_plugin_version.rb +13 -7
- data/lib/anthropic/models/beta/organization/webhook_create_params.rb +73 -0
- data/lib/anthropic/models/beta/organization/webhook_delete_params.rb +38 -0
- data/lib/anthropic/models/beta/organization/webhook_list_params.rb +75 -0
- data/lib/anthropic/models/beta/organization/webhook_regenerate_signing_secret_params.rb +39 -0
- data/lib/anthropic/models/beta/organization/webhook_retrieve_params.rb +38 -0
- data/lib/anthropic/models/beta/organization/webhook_update_params.rb +105 -0
- data/lib/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit.rb +1 -1
- data/lib/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit_type.rb +29 -0
- data/lib/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit_update_value.rb +35 -0
- data/lib/anthropic/models/beta/organization/workspaces/rate_limit_update_params.rb +45 -0
- data/lib/anthropic/models/beta/user_profile_create_enrollment_url_params.rb +2 -3
- data/lib/anthropic/models/beta/user_profile_create_params.rb +12 -11
- data/lib/anthropic/models/beta/user_profile_delete_params.rb +48 -0
- data/lib/anthropic/models/beta/user_profile_list_params.rb +2 -3
- data/lib/anthropic/models/beta/user_profile_retrieve_params.rb +2 -3
- data/lib/anthropic/models/beta/user_profile_update_params.rb +11 -11
- data/lib/anthropic/models/beta/user_profiles/action_url_create_params.rb +58 -0
- data/lib/anthropic/models/beta/user_profiles/beta_user_profile_action_url.rb +44 -0
- data/lib/anthropic/models/beta/user_profiles/beta_user_profile_enroll_end_user_action.rb +21 -0
- data/lib/anthropic/models/beta/vault_list_params.rb +6 -4
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_credential.rb +7 -3
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_credential_networking_params.rb +1 -1
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_credential_validation.rb +3 -2
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_credential_validation_status.rb +2 -2
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_deleted_credential.rb +2 -2
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_auth_response.rb +1 -1
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_create_params.rb +7 -2
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_update_params.rb +4 -4
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_injection_location_update_params.rb +8 -1
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_limited_credential_networking_params.rb +7 -5
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_limited_credential_networking_response.rb +6 -4
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_auth_response.rb +7 -2
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_create_params.rb +10 -4
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_params.rb +15 -5
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_response.rb +2 -2
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_update_params.rb +14 -5
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_update_params.rb +14 -4
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_mcp_probe.rb +4 -3
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_static_bearer_create_params.rb +7 -2
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_static_bearer_update_params.rb +2 -2
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_basic_param.rb +7 -2
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_basic_update_param.rb +10 -2
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_post_param.rb +2 -2
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_post_update_param.rb +10 -2
- data/lib/anthropic/models/beta/vaults/credential_create_params.rb +8 -4
- data/lib/anthropic/models/beta/vaults/credential_list_params.rb +6 -4
- data/lib/anthropic/models/beta/vaults/credential_update_params.rb +14 -10
- data/lib/anthropic/models/cache_miss_messages_changed.rb +8 -0
- data/lib/anthropic/models/cache_miss_model_changed.rb +7 -0
- data/lib/anthropic/models/cache_miss_previous_message_not_found.rb +9 -0
- data/lib/anthropic/models/cache_miss_reason.rb +22 -0
- data/lib/anthropic/models/cache_miss_system_changed.rb +7 -0
- data/lib/anthropic/models/cache_miss_tools_changed.rb +7 -0
- data/lib/anthropic/models/cache_miss_unavailable.rb +11 -0
- data/lib/anthropic/models/deleted_user_profile.rb +25 -0
- data/lib/anthropic/models/message_count_tokens_params.rb +1 -1
- data/lib/anthropic/models/message_create_params.rb +1 -1
- data/lib/anthropic/models/messages/batch_create_params.rb +3 -3
- data/lib/anthropic/models/organization/organization_rate_limit.rb +2 -1
- data/lib/anthropic/models/organization/workspaces/rate_limit_update_params.rb +43 -0
- data/lib/anthropic/models/organization/workspaces/workspace_rate_limit.rb +1 -1
- data/lib/anthropic/models/organization/workspaces/workspace_rate_limit_type.rb +29 -0
- data/lib/anthropic/models/organization/workspaces/workspace_rate_limit_update_value.rb +35 -0
- data/lib/anthropic/models/user_profile.rb +108 -0
- data/lib/anthropic/models/user_profile_access_type.rb +23 -0
- data/lib/anthropic/models/user_profile_create_params.rb +74 -0
- data/lib/anthropic/models/user_profile_cyber_program.rb +52 -0
- data/lib/anthropic/models/user_profile_cyber_requirements.rb +35 -0
- data/lib/anthropic/models/user_profile_cyber_tier.rb +38 -0
- data/lib/anthropic/models/user_profile_delete_params.rb +38 -0
- data/lib/anthropic/models/user_profile_efs_feature.rb +38 -0
- data/lib/anthropic/models/user_profile_efs_program.rb +40 -0
- data/lib/anthropic/models/user_profile_external_user_account_status.rb +27 -0
- data/lib/anthropic/models/user_profile_external_user_details.rb +78 -0
- data/lib/anthropic/models/user_profile_external_user_details_params.rb +79 -0
- data/lib/anthropic/models/user_profile_external_user_entity_type.rb +19 -0
- data/lib/anthropic/models/user_profile_list_order.rb +19 -0
- data/lib/anthropic/models/user_profile_list_order_by.rb +20 -0
- data/lib/anthropic/models/user_profile_list_params.rb +67 -0
- data/lib/anthropic/models/user_profile_program_status.rb +23 -0
- data/lib/anthropic/models/user_profile_programs.rb +41 -0
- data/lib/anthropic/models/user_profile_retrieve_params.rb +38 -0
- data/lib/anthropic/models/user_profile_update_params.rb +78 -0
- data/lib/anthropic/models/user_profiles/action_url_create_params.rb +48 -0
- data/lib/anthropic/models/user_profiles/user_profile_action_url.rb +43 -0
- data/lib/anthropic/models/user_profiles/user_profile_enroll_end_user_action.rb +21 -0
- data/lib/anthropic/models.rb +44 -0
- data/lib/anthropic/resources/beta/memory_stores/memories.rb +17 -17
- data/lib/anthropic/resources/beta/memory_stores/memory_versions.rb +6 -6
- data/lib/anthropic/resources/beta/memory_stores.rb +19 -19
- data/lib/anthropic/resources/beta/messages.rb +63 -111
- data/lib/anthropic/resources/beta/organization/analytics/cost_report.rb +2 -2
- data/lib/anthropic/resources/beta/organization/analytics/usage_report.rb +2 -2
- data/lib/anthropic/resources/beta/organization/analytics/user_cost_report.rb +2 -2
- data/lib/anthropic/resources/beta/organization/analytics/user_usage_report.rb +2 -2
- data/lib/anthropic/resources/beta/organization/webhooks.rb +287 -0
- data/lib/anthropic/resources/beta/organization/workspaces/rate_limits.rb +53 -0
- data/lib/anthropic/resources/beta/organization.rb +4 -0
- data/lib/anthropic/resources/beta/user_profiles/action_urls.rb +54 -0
- data/lib/anthropic/resources/beta/user_profiles.rb +41 -5
- data/lib/anthropic/resources/beta/vaults/credentials.rb +9 -9
- data/lib/anthropic/resources/beta/vaults.rb +7 -7
- data/lib/anthropic/resources/messages.rb +58 -92
- data/lib/anthropic/resources/organization/workspaces/rate_limits.rb +49 -0
- data/lib/anthropic/resources/user_profiles/action_urls.rb +50 -0
- data/lib/anthropic/resources/user_profiles.rb +196 -0
- data/lib/anthropic/version.rb +1 -1
- data/lib/anthropic.rb +53 -0
- data/rbi/anthropic/client.rbi +3 -0
- data/rbi/anthropic/helpers/aws/client.rbi +13 -0
- data/rbi/anthropic/helpers/bedrock/client.rbi +4 -0
- data/rbi/anthropic/helpers/bedrock/mantle_client.rbi +9 -0
- data/rbi/anthropic/helpers/google_cloud/client.rbi +19 -2
- data/rbi/anthropic/helpers/vertex/client.rbi +4 -0
- data/rbi/anthropic/internal/report_page_cursor.rbi +28 -0
- data/rbi/anthropic/internal/tracing.rbi +17 -4
- data/rbi/anthropic/models/anthropic_beta.rbi +2 -0
- data/rbi/anthropic/models/beta/beta_cache_miss_messages_changed.rbi +7 -0
- data/rbi/anthropic/models/beta/beta_cache_miss_model_changed.rbi +6 -0
- data/rbi/anthropic/models/beta/beta_cache_miss_previous_message_not_found.rbi +8 -0
- data/rbi/anthropic/models/beta/beta_cache_miss_system_changed.rbi +6 -0
- data/rbi/anthropic/models/beta/beta_cache_miss_tools_changed.rbi +6 -0
- data/rbi/anthropic/models/beta/beta_cache_miss_unavailable.rbi +10 -0
- data/rbi/anthropic/models/beta/beta_deleted_user_profile.rbi +40 -0
- data/rbi/anthropic/models/beta/beta_fallback_param.rbi +116 -9
- data/rbi/anthropic/models/beta/beta_managed_agents_deleted_vault.rbi +2 -2
- data/rbi/anthropic/models/beta/beta_managed_agents_memory_store.rbi +44 -26
- data/rbi/anthropic/models/beta/beta_managed_agents_vault.rbi +2 -2
- data/rbi/anthropic/models/beta/beta_user_profile.rbi +50 -43
- data/rbi/anthropic/models/beta/beta_user_profile_enrollment_url.rbi +1 -1
- data/rbi/anthropic/models/beta/beta_webhook_event.rbi +3 -1
- data/rbi/anthropic/models/beta/beta_webhook_event_data.rbi +19 -4
- data/rbi/anthropic/models/beta/beta_webhook_user_profile_enforcement_action_opened_event_data.rbi +65 -0
- data/rbi/anthropic/models/beta/beta_webhook_user_profile_enforcement_action_resolved_event_data.rbi +65 -0
- data/rbi/anthropic/models/beta/memory_store_archive_params.rbi +8 -6
- data/rbi/anthropic/models/beta/memory_store_create_params.rbi +34 -16
- data/rbi/anthropic/models/beta/memory_store_delete_params.rbi +8 -6
- data/rbi/anthropic/models/beta/memory_store_list_params.rbi +8 -12
- data/rbi/anthropic/models/beta/memory_store_retrieve_params.rbi +2 -4
- data/rbi/anthropic/models/beta/memory_store_update_params.rbi +30 -20
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_content_sha256_precondition.rbi +6 -6
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_deleted_memory.rbi +13 -6
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_memory.rbi +54 -36
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_memory_list_item.rbi +25 -18
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_memory_path_conflict_error.rbi +3 -2
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_memory_prefix.rbi +7 -6
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_memory_version.rbi +60 -38
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_memory_version_operation.rbi +4 -2
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_memory_view.rbi +5 -5
- data/rbi/anthropic/models/beta/memory_stores/memory_create_params.rbi +30 -24
- data/rbi/anthropic/models/beta/memory_stores/memory_list_params.rbi +44 -28
- data/rbi/anthropic/models/beta/memory_stores/memory_retrieve_params.rbi +10 -10
- data/rbi/anthropic/models/beta/memory_stores/memory_update_params.rbi +32 -30
- data/rbi/anthropic/models/beta/memory_stores/memory_version_list_params.rbi +22 -16
- data/rbi/anthropic/models/beta/memory_stores/memory_version_retrieve_params.rbi +10 -10
- data/rbi/anthropic/models/beta/message_count_tokens_params.rbi +2 -2
- data/rbi/anthropic/models/beta/message_create_params.rbi +2 -2
- data/rbi/anthropic/models/beta/messages/batch_create_params.rbi +6 -6
- data/rbi/anthropic/models/beta/organization/beta_deleted_organization_webhook_endpoint.rbi +41 -0
- data/rbi/anthropic/models/beta/organization/beta_new_organization_webhook_endpoint.rbi +175 -0
- data/rbi/anthropic/models/beta/organization/beta_organization_rate_limit.rbi +4 -2
- data/rbi/anthropic/models/beta/organization/beta_organization_webhook_endpoint.rbi +164 -0
- data/rbi/anthropic/models/beta/organization/beta_organization_webhook_endpoint_signing_secret.rbi +37 -0
- data/rbi/anthropic/models/beta/organization/beta_organization_webhook_endpoint_state.rbi +44 -0
- data/rbi/anthropic/models/beta/organization/beta_plugin.rbi +49 -11
- data/rbi/anthropic/models/beta/organization/plugin_marketplace_validate_repository_params.rbi +18 -8
- data/rbi/anthropic/models/beta/organization/plugins/beta_plugin_version.rbi +20 -8
- data/rbi/anthropic/models/beta/organization/webhook_create_params.rbi +151 -0
- data/rbi/anthropic/models/beta/organization/webhook_delete_params.rbi +75 -0
- data/rbi/anthropic/models/beta/organization/webhook_list_params.rbi +153 -0
- data/rbi/anthropic/models/beta/organization/webhook_regenerate_signing_secret_params.rbi +75 -0
- data/rbi/anthropic/models/beta/organization/webhook_retrieve_params.rbi +75 -0
- data/rbi/anthropic/models/beta/organization/webhook_update_params.rbi +241 -0
- data/rbi/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit_type.rbi +81 -0
- data/rbi/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit_update_value.rbi +62 -0
- data/rbi/anthropic/models/beta/organization/workspaces/rate_limit_update_params.rbi +80 -0
- data/rbi/anthropic/models/beta/user_profile_create_enrollment_url_params.rbi +2 -4
- data/rbi/anthropic/models/beta/user_profile_create_params.rbi +22 -20
- data/rbi/anthropic/models/beta/user_profile_delete_params.rbi +91 -0
- data/rbi/anthropic/models/beta/user_profile_list_params.rbi +2 -4
- data/rbi/anthropic/models/beta/user_profile_retrieve_params.rbi +2 -4
- data/rbi/anthropic/models/beta/user_profile_update_params.rbi +20 -20
- data/rbi/anthropic/models/beta/user_profiles/action_url_create_params.rbi +116 -0
- data/rbi/anthropic/models/beta/user_profiles/beta_user_profile_action_url.rbi +55 -0
- data/rbi/anthropic/models/beta/user_profiles/beta_user_profile_enroll_end_user_action.rbi +31 -0
- data/rbi/anthropic/models/beta/vault_list_params.rbi +8 -4
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_credential.rbi +4 -3
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_credential_networking_params.rbi +6 -4
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_credential_validation.rbi +4 -2
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_credential_validation_status.rbi +2 -2
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_deleted_credential.rbi +2 -2
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_auth_response.rbi +5 -3
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_create_params.rbi +4 -2
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_update_params.rbi +4 -4
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_injection_location_update_params.rbi +8 -1
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_limited_credential_networking_params.rbi +12 -8
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_limited_credential_networking_response.rbi +10 -6
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_auth_response.rbi +4 -2
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_create_params.rbi +8 -4
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_params.rbi +10 -5
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_response.rbi +2 -2
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_update_params.rbi +11 -5
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_update_params.rbi +16 -4
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_mcp_probe.rbi +6 -4
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_static_bearer_create_params.rbi +4 -2
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_static_bearer_update_params.rbi +2 -2
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_basic_param.rbi +4 -2
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_basic_update_param.rbi +10 -2
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_post_param.rbi +2 -2
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_post_update_param.rbi +10 -2
- data/rbi/anthropic/models/beta/vaults/credential_create_params.rbi +8 -4
- data/rbi/anthropic/models/beta/vaults/credential_list_params.rbi +8 -4
- data/rbi/anthropic/models/beta/vaults/credential_update_params.rbi +17 -11
- data/rbi/anthropic/models/cache_miss_messages_changed.rbi +7 -0
- data/rbi/anthropic/models/cache_miss_model_changed.rbi +6 -0
- data/rbi/anthropic/models/cache_miss_previous_message_not_found.rbi +8 -0
- data/rbi/anthropic/models/cache_miss_system_changed.rbi +6 -0
- data/rbi/anthropic/models/cache_miss_tools_changed.rbi +6 -0
- data/rbi/anthropic/models/cache_miss_unavailable.rbi +10 -0
- data/rbi/anthropic/models/deleted_user_profile.rbi +33 -0
- data/rbi/anthropic/models/message_count_tokens_params.rbi +2 -2
- data/rbi/anthropic/models/message_create_params.rbi +2 -2
- data/rbi/anthropic/models/messages/batch_create_params.rbi +6 -6
- data/rbi/anthropic/models/organization/organization_rate_limit.rbi +4 -2
- data/rbi/anthropic/models/organization/workspaces/rate_limit_update_params.rbi +78 -0
- data/rbi/anthropic/models/organization/workspaces/workspace_rate_limit_type.rbi +81 -0
- data/rbi/anthropic/models/organization/workspaces/workspace_rate_limit_update_value.rbi +62 -0
- data/rbi/anthropic/models/user_profile.rbi +152 -0
- data/rbi/anthropic/models/user_profile_access_type.rbi +34 -0
- data/rbi/anthropic/models/user_profile_create_params.rbi +135 -0
- data/rbi/anthropic/models/user_profile_cyber_program.rbi +95 -0
- data/rbi/anthropic/models/user_profile_cyber_requirements.rbi +52 -0
- data/rbi/anthropic/models/user_profile_cyber_tier.rbi +69 -0
- data/rbi/anthropic/models/user_profile_delete_params.rbi +67 -0
- data/rbi/anthropic/models/user_profile_efs_feature.rbi +69 -0
- data/rbi/anthropic/models/user_profile_efs_program.rbi +66 -0
- data/rbi/anthropic/models/user_profile_external_user_account_status.rbi +52 -0
- data/rbi/anthropic/models/user_profile_external_user_details.rbi +125 -0
- data/rbi/anthropic/models/user_profile_external_user_details_params.rbi +131 -0
- data/rbi/anthropic/models/user_profile_external_user_entity_type.rbi +46 -0
- data/rbi/anthropic/models/user_profile_list_order.rbi +28 -0
- data/rbi/anthropic/models/user_profile_list_order_by.rbi +30 -0
- data/rbi/anthropic/models/user_profile_list_params.rbi +110 -0
- data/rbi/anthropic/models/user_profile_program_status.rbi +34 -0
- data/rbi/anthropic/models/user_profile_programs.rbi +77 -0
- data/rbi/anthropic/models/user_profile_retrieve_params.rbi +67 -0
- data/rbi/anthropic/models/user_profile_update_params.rbi +130 -0
- data/rbi/anthropic/models/user_profiles/action_url_create_params.rbi +86 -0
- data/rbi/anthropic/models/user_profiles/user_profile_action_url.rbi +55 -0
- data/rbi/anthropic/models/user_profiles/user_profile_enroll_end_user_action.rbi +32 -0
- data/rbi/anthropic/models.rbi +48 -0
- data/rbi/anthropic/resources/beta/memory_stores/memories.rbi +65 -51
- data/rbi/anthropic/resources/beta/memory_stores/memory_versions.rbi +19 -16
- data/rbi/anthropic/resources/beta/memory_stores.rbi +53 -38
- data/rbi/anthropic/resources/beta/messages/batches.rbi +3 -4
- data/rbi/anthropic/resources/beta/messages.rbi +192 -198
- data/rbi/anthropic/resources/beta/organization/analytics/cost_report.rbi +1 -1
- data/rbi/anthropic/resources/beta/organization/analytics/usage_report.rbi +1 -1
- data/rbi/anthropic/resources/beta/organization/analytics/user_cost_report.rbi +1 -1
- data/rbi/anthropic/resources/beta/organization/analytics/user_usage_report.rbi +1 -1
- data/rbi/anthropic/resources/beta/organization/plugin_marketplaces.rbi +9 -4
- data/rbi/anthropic/resources/beta/organization/webhooks.rbi +248 -0
- data/rbi/anthropic/resources/beta/organization/workspaces/rate_limits.rbi +35 -0
- data/rbi/anthropic/resources/beta/organization.rbi +3 -0
- data/rbi/anthropic/resources/beta/user_profiles/action_urls.rbi +46 -0
- data/rbi/anthropic/resources/beta/user_profiles.rbi +51 -28
- data/rbi/anthropic/resources/beta/vaults/credentials.rbi +13 -11
- data/rbi/anthropic/resources/beta/vaults.rbi +10 -7
- data/rbi/anthropic/resources/messages/batches.rbi +3 -4
- data/rbi/anthropic/resources/messages.rbi +122 -132
- data/rbi/anthropic/resources/organization/workspaces/rate_limits.rbi +33 -0
- data/rbi/anthropic/resources/user_profiles/action_urls.rbi +40 -0
- data/rbi/anthropic/resources/user_profiles.rbi +184 -0
- data/sig/anthropic/client.rbs +2 -0
- data/sig/anthropic/helpers/bedrock/client.rbs +2 -0
- data/sig/anthropic/helpers/google_cloud/client.rbs +10 -1
- data/sig/anthropic/helpers/vertex/client.rbs +2 -0
- data/sig/anthropic/internal/report_page_cursor.rbs +17 -0
- data/sig/anthropic/internal/tracing.rbs +13 -4
- data/sig/anthropic/models/anthropic_beta.rbs +2 -0
- data/sig/anthropic/models/beta/beta_deleted_user_profile.rbs +20 -0
- data/sig/anthropic/models/beta/beta_user_profile.rbs +8 -8
- data/sig/anthropic/models/beta/beta_webhook_event_data.rbs +23 -2
- data/sig/anthropic/models/beta/beta_webhook_user_profile_enforcement_action_opened_event_data.rbs +39 -0
- data/sig/anthropic/models/beta/beta_webhook_user_profile_enforcement_action_resolved_event_data.rbs +39 -0
- data/sig/anthropic/models/beta/organization/beta_deleted_organization_webhook_endpoint.rbs +20 -0
- data/sig/anthropic/models/beta/organization/beta_new_organization_webhook_endpoint.rbs +82 -0
- data/sig/anthropic/models/beta/organization/beta_organization_webhook_endpoint.rbs +77 -0
- data/sig/anthropic/models/beta/organization/beta_organization_webhook_endpoint_signing_secret.rbs +18 -0
- data/sig/anthropic/models/beta/organization/beta_organization_webhook_endpoint_state.rbs +18 -0
- data/sig/anthropic/models/beta/organization/webhook_create_params.rbs +71 -0
- data/sig/anthropic/models/beta/organization/webhook_delete_params.rbs +39 -0
- data/sig/anthropic/models/beta/organization/webhook_list_params.rbs +67 -0
- data/sig/anthropic/models/beta/organization/webhook_regenerate_signing_secret_params.rbs +39 -0
- data/sig/anthropic/models/beta/organization/webhook_retrieve_params.rbs +39 -0
- data/sig/anthropic/models/beta/organization/webhook_update_params.rbs +102 -0
- data/sig/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit_type.rbs +36 -0
- data/sig/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit_update_value.rbs +31 -0
- data/sig/anthropic/models/beta/organization/workspaces/rate_limit_update_params.rbs +42 -0
- data/sig/anthropic/models/beta/user_profile_delete_params.rbs +44 -0
- data/sig/anthropic/models/beta/user_profiles/action_url_create_params.rbs +51 -0
- data/sig/anthropic/models/beta/user_profiles/beta_user_profile_action_url.rbs +30 -0
- data/sig/anthropic/models/beta/user_profiles/beta_user_profile_enroll_end_user_action.rbs +18 -0
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_credential_validation_status.rbs +2 -2
- data/sig/anthropic/models/deleted_user_profile.rbs +15 -0
- data/sig/anthropic/models/organization/workspaces/rate_limit_update_params.rbs +40 -0
- data/sig/anthropic/models/organization/workspaces/workspace_rate_limit_type.rbs +36 -0
- data/sig/anthropic/models/organization/workspaces/workspace_rate_limit_update_value.rbs +31 -0
- data/sig/anthropic/models/user_profile.rbs +60 -0
- data/sig/anthropic/models/user_profile_access_type.rbs +17 -0
- data/sig/anthropic/models/user_profile_create_params.rbs +58 -0
- data/sig/anthropic/models/user_profile_cyber_program.rbs +30 -0
- data/sig/anthropic/models/user_profile_cyber_requirements.rbs +16 -0
- data/sig/anthropic/models/user_profile_cyber_tier.rbs +29 -0
- data/sig/anthropic/models/user_profile_delete_params.rbs +30 -0
- data/sig/anthropic/models/user_profile_efs_feature.rbs +29 -0
- data/sig/anthropic/models/user_profile_efs_program.rbs +25 -0
- data/sig/anthropic/models/user_profile_external_user_account_status.rbs +21 -0
- data/sig/anthropic/models/user_profile_external_user_details.rbs +50 -0
- data/sig/anthropic/models/user_profile_external_user_details_params.rbs +52 -0
- data/sig/anthropic/models/user_profile_external_user_entity_type.rbs +17 -0
- data/sig/anthropic/models/user_profile_list_order.rbs +17 -0
- data/sig/anthropic/models/user_profile_list_order_by.rbs +17 -0
- data/sig/anthropic/models/user_profile_list_params.rbs +60 -0
- data/sig/anthropic/models/user_profile_program_status.rbs +20 -0
- data/sig/anthropic/models/user_profile_programs.rbs +25 -0
- data/sig/anthropic/models/user_profile_retrieve_params.rbs +30 -0
- data/sig/anthropic/models/user_profile_update_params.rbs +59 -0
- data/sig/anthropic/models/user_profiles/action_url_create_params.rbs +40 -0
- data/sig/anthropic/models/user_profiles/user_profile_action_url.rbs +30 -0
- data/sig/anthropic/models/user_profiles/user_profile_enroll_end_user_action.rbs +17 -0
- data/sig/anthropic/models.rbs +44 -0
- data/sig/anthropic/resources/beta/messages.rbs +24 -24
- data/sig/anthropic/resources/beta/organization/analytics/cost_report.rbs +1 -1
- data/sig/anthropic/resources/beta/organization/analytics/usage_report.rbs +1 -1
- data/sig/anthropic/resources/beta/organization/analytics/user_cost_report.rbs +1 -1
- data/sig/anthropic/resources/beta/organization/analytics/user_usage_report.rbs +1 -1
- data/sig/anthropic/resources/beta/organization/webhooks.rbs +58 -0
- data/sig/anthropic/resources/beta/organization/workspaces/rate_limits.rbs +7 -0
- data/sig/anthropic/resources/beta/organization.rbs +2 -0
- data/sig/anthropic/resources/beta/user_profiles/action_urls.rbs +19 -0
- data/sig/anthropic/resources/beta/user_profiles.rbs +9 -0
- data/sig/anthropic/resources/messages.rbs +19 -19
- data/sig/anthropic/resources/organization/workspaces/rate_limits.rbs +7 -0
- data/sig/anthropic/resources/user_profiles/action_urls.rbs +16 -0
- data/sig/anthropic/resources/user_profiles.rbs +49 -0
- metadata +161 -2
|
@@ -4,9 +4,9 @@ module Anthropic
|
|
|
4
4
|
module Models
|
|
5
5
|
module Beta
|
|
6
6
|
module MemoryStores
|
|
7
|
-
# One item in a
|
|
8
|
-
#
|
|
9
|
-
#
|
|
7
|
+
# One item in a
|
|
8
|
+
# [List Memories](https://platform.claude.com/docs/en/api/beta/memory_stores/memories/list)
|
|
9
|
+
# response: a `memory`, or a `memory_prefix` marker when `depth` is `1`.
|
|
10
10
|
#
|
|
11
11
|
# @see Anthropic::Resources::Beta::MemoryStores::Memories#list
|
|
12
12
|
module BetaManagedAgentsMemoryListItem
|
|
@@ -14,10 +14,16 @@ module Anthropic
|
|
|
14
14
|
|
|
15
15
|
discriminator :type
|
|
16
16
|
|
|
17
|
-
# A
|
|
17
|
+
# A text document at a path inside a memory store.
|
|
18
|
+
#
|
|
19
|
+
# `content` is `null` when the response uses `view=basic`. `content_size_bytes` and `content_sha256` are always set, so you can detect changes without fetching the content. To retrieve, update, or delete a memory, pass its ID, which stays the same when its path changes.
|
|
20
|
+
#
|
|
21
|
+
# See the [memory guide](https://platform.claude.com/docs/en/managed-agents/memory#view-and-edit-memories) to learn more about working with memories.
|
|
18
22
|
variant :memory, -> { Anthropic::Beta::MemoryStores::BetaManagedAgentsMemory }
|
|
19
23
|
|
|
20
|
-
# A
|
|
24
|
+
# A directory marker that [List Memories](https://platform.claude.com/docs/en/api/beta/memory_stores/memories/list) returns instead of the memories below the requested `depth`.
|
|
25
|
+
#
|
|
26
|
+
# It stands for one or more memories whose paths start with `path`. It isn't a stored object and doesn't have an ID. Each marker counts toward the page `limit`.
|
|
21
27
|
variant :memory_prefix, -> { Anthropic::Beta::MemoryStores::BetaManagedAgentsMemoryPrefix }
|
|
22
28
|
|
|
23
29
|
module Type
|
|
@@ -44,23 +50,24 @@ module Anthropic
|
|
|
44
50
|
#
|
|
45
51
|
# @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
|
|
46
52
|
#
|
|
47
|
-
# @option args [String] :id
|
|
53
|
+
# @option args [String] :id The unique ID of the memory (`mem_...`). It stays the same when the memory's pat
|
|
48
54
|
#
|
|
49
55
|
# @option args [String] :content_sha256 Lowercase hex SHA-256 digest of the UTF-8 `content` bytes (64 characters). The s
|
|
50
56
|
#
|
|
51
|
-
# @option args [Integer] :content_size_bytes
|
|
57
|
+
# @option args [Integer] :content_size_bytes The size of the memory's `content` in UTF-8 bytes. It is set regardless of `view
|
|
52
58
|
#
|
|
53
59
|
# @option args [Time] :created_at When this memory was created, in RFC 3339 format.
|
|
54
60
|
#
|
|
55
61
|
# @option args [String] :memory_store_id ID of the memory store this memory belongs to (a `memstore_...` value).
|
|
56
62
|
#
|
|
57
|
-
# @option args [String] :memory_version_id ID of the
|
|
63
|
+
# @option args [String] :memory_version_id The ID of the memory version that holds the memory's current content
|
|
64
|
+
# (`memver\_..
|
|
58
65
|
#
|
|
59
66
|
# @option args [String] :path Hierarchical path of the memory within the store, e.g. `/projects/foo/notes.md`.
|
|
60
67
|
#
|
|
61
|
-
# @option args [Time] :updated_at When
|
|
68
|
+
# @option args [Time] :updated_at When the memory was last changed, in RFC 3339.
|
|
62
69
|
#
|
|
63
|
-
# @option args [String, nil] :content The memory's UTF-8 text content
|
|
70
|
+
# @option args [String, nil] :content The memory's UTF-8 text content, or `null` when the response uses `view=basic`.
|
|
64
71
|
#
|
|
65
72
|
# @raise [ArgumentError]
|
|
66
73
|
# @return [Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsMemory, Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsMemoryPrefix]
|
data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_path_conflict_error.rb
CHANGED
|
@@ -34,8 +34,9 @@ module Anthropic
|
|
|
34
34
|
optional :message, String
|
|
35
35
|
|
|
36
36
|
# @!method initialize(type:, conflicting_memory_id: nil, conflicting_path: nil, message: nil)
|
|
37
|
-
# The error returned with HTTP status 409 when
|
|
38
|
-
#
|
|
37
|
+
# The error returned with HTTP status 409 when you create or rename a memory and
|
|
38
|
+
# the path you give is already used by another memory or overlaps another memory's
|
|
39
|
+
# path.
|
|
39
40
|
#
|
|
40
41
|
# Two paths overlap when one is an ancestor of the other, such as `/notes` and
|
|
41
42
|
# `/notes/todo.md`. To free the path, rename or delete the memory that
|
|
@@ -19,12 +19,13 @@ module Anthropic
|
|
|
19
19
|
required :type, enum: -> { Anthropic::Beta::MemoryStores::BetaManagedAgentsMemoryPrefix::Type }
|
|
20
20
|
|
|
21
21
|
# @!method initialize(path:, type:)
|
|
22
|
-
# A
|
|
23
|
-
# [List
|
|
24
|
-
#
|
|
25
|
-
#
|
|
26
|
-
#
|
|
27
|
-
#
|
|
22
|
+
# A directory marker that
|
|
23
|
+
# [List Memories](https://platform.claude.com/docs/en/api/beta/memory_stores/memories/list)
|
|
24
|
+
# returns instead of the memories below the requested `depth`.
|
|
25
|
+
#
|
|
26
|
+
# It stands for one or more memories whose paths start with `path`. It isn't a
|
|
27
|
+
# stored object and doesn't have an ID. Each marker counts toward the page
|
|
28
|
+
# `limit`.
|
|
28
29
|
#
|
|
29
30
|
# Some parameter documentations has been truncated, see
|
|
30
31
|
# {Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsMemoryPrefix} for more
|
|
@@ -19,10 +19,11 @@ module Anthropic
|
|
|
19
19
|
required :created_at, Time
|
|
20
20
|
|
|
21
21
|
# @!attribute memory_id
|
|
22
|
-
# ID of the memory this version
|
|
23
|
-
#
|
|
24
|
-
#
|
|
25
|
-
#
|
|
22
|
+
# The ID of the memory that this version belongs to (`mem_...`).
|
|
23
|
+
#
|
|
24
|
+
# The ID stays valid after the memory is deleted. Pass it as `memory_id` to
|
|
25
|
+
# [List Memory Versions](https://platform.claude.com/docs/en/api/beta/memory_stores/memory_versions/list)
|
|
26
|
+
# to get the memory's retained versions, including its `deleted` version while the
|
|
26
27
|
# lineage is retained.
|
|
27
28
|
#
|
|
28
29
|
# @return [String]
|
|
@@ -68,13 +69,16 @@ module Anthropic
|
|
|
68
69
|
optional :content_size_bytes, Integer, nil?: true
|
|
69
70
|
|
|
70
71
|
# @!attribute created_by
|
|
71
|
-
# Who
|
|
72
|
-
#
|
|
73
|
-
#
|
|
74
|
-
# through the store's mounted filesystem at `/mnt/memory/`. The
|
|
75
|
-
#
|
|
76
|
-
# made the
|
|
77
|
-
#
|
|
72
|
+
# Who made this change to the memory, or `null` if the author wasn't recorded.
|
|
73
|
+
#
|
|
74
|
+
# Redacting the version doesn't change this field. A `session_actor` here is an
|
|
75
|
+
# agent that wrote through the store's mounted filesystem at `/mnt/memory/`. The
|
|
76
|
+
# version doesn't record the API key that created that session. So the author in
|
|
77
|
+
# `created_by` is who made the change, not who is ultimately responsible for it.
|
|
78
|
+
#
|
|
79
|
+
# You can
|
|
80
|
+
# [retrieve the session](https://platform.claude.com/docs/en/api/beta/sessions/retrieve)
|
|
81
|
+
# to learn more about where the change came from.
|
|
78
82
|
#
|
|
79
83
|
# @return [Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsSessionActor, Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsAPIActor, Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsUserActor, Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsServiceAccountActor, nil]
|
|
80
84
|
optional :created_by, union: -> { Anthropic::Beta::MemoryStores::BetaManagedAgentsActor }
|
|
@@ -87,10 +91,14 @@ module Anthropic
|
|
|
87
91
|
optional :path, String, nil?: true
|
|
88
92
|
|
|
89
93
|
# @!attribute redacted_at
|
|
90
|
-
# When
|
|
91
|
-
#
|
|
92
|
-
# `
|
|
93
|
-
#
|
|
94
|
+
# When the version was redacted, in RFC 3339, or `null` if it hasn't been.
|
|
95
|
+
#
|
|
96
|
+
# When set, `content`, `path`, `content_size_bytes`, and `content_sha256` are
|
|
97
|
+
# `null`.
|
|
98
|
+
#
|
|
99
|
+
# See the
|
|
100
|
+
# [memory guide](https://platform.claude.com/docs/en/managed-agents/memory#redact-a-version)
|
|
101
|
+
# to learn more about redaction.
|
|
94
102
|
#
|
|
95
103
|
# @return [Time, nil]
|
|
96
104
|
optional :redacted_at, Time, nil?: true
|
|
@@ -104,14 +112,20 @@ module Anthropic
|
|
|
104
112
|
optional :redacted_by, union: -> { Anthropic::Beta::MemoryStores::BetaManagedAgentsActor }
|
|
105
113
|
|
|
106
114
|
# @!method initialize(id:, created_at:, memory_id:, memory_store_id:, operation:, type:, content: nil, content_sha256: nil, content_size_bytes: nil, created_by: nil, path: nil, redacted_at: nil, redacted_by: nil)
|
|
107
|
-
#
|
|
108
|
-
#
|
|
109
|
-
#
|
|
110
|
-
#
|
|
111
|
-
#
|
|
112
|
-
#
|
|
113
|
-
#
|
|
114
|
-
# `
|
|
115
|
+
# One entry in a memory's history, recording a single change and who made it.
|
|
116
|
+
#
|
|
117
|
+
# Every change to a memory adds one version. Only redaction can change a version
|
|
118
|
+
# after that. Versions belong to the memory store and stay after the memory is
|
|
119
|
+
# deleted. Each version is retained for at least the version retention period
|
|
120
|
+
# after it was written, unless the store itself is deleted.
|
|
121
|
+
#
|
|
122
|
+
# Retrieving a redacted version succeeds, with `content`, `path`,
|
|
123
|
+
# `content_size_bytes`, and `content_sha256` set to `null`. Check `redacted_at` to
|
|
124
|
+
# find out whether a version was redacted.
|
|
125
|
+
#
|
|
126
|
+
# See the
|
|
127
|
+
# [memory guide](https://platform.claude.com/docs/en/managed-agents/memory#audit-memory-changes)
|
|
128
|
+
# to learn more about memory versions.
|
|
115
129
|
#
|
|
116
130
|
# Some parameter documentations has been truncated, see
|
|
117
131
|
# {Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsMemoryVersion} for more
|
|
@@ -121,7 +135,7 @@ module Anthropic
|
|
|
121
135
|
#
|
|
122
136
|
# @param created_at [Time] When this version was written, in RFC 3339 format.
|
|
123
137
|
#
|
|
124
|
-
# @param memory_id [String] ID of the memory this version
|
|
138
|
+
# @param memory_id [String] The ID of the memory that this version belongs to (`mem_...`).
|
|
125
139
|
#
|
|
126
140
|
# @param memory_store_id [String] ID of the memory store this version belongs to (a `memstore_...` value).
|
|
127
141
|
#
|
|
@@ -135,11 +149,11 @@ module Anthropic
|
|
|
135
149
|
#
|
|
136
150
|
# @param content_size_bytes [Integer, nil] Size of `content` in bytes as of this version. `null` when `redacted_at` is set
|
|
137
151
|
#
|
|
138
|
-
# @param created_by [Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsSessionActor, Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsAPIActor, Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsUserActor, Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsServiceAccountActor] Who
|
|
152
|
+
# @param created_by [Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsSessionActor, Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsAPIActor, Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsUserActor, Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsServiceAccountActor] Who made this change to the memory, or `null` if the author wasn't recorded.
|
|
139
153
|
#
|
|
140
154
|
# @param path [String, nil] The memory's path at the time of this write. `null` if and only if `redacted_at`
|
|
141
155
|
#
|
|
142
|
-
# @param redacted_at [Time, nil] When
|
|
156
|
+
# @param redacted_at [Time, nil] When the version was redacted, in RFC 3339, or `null` if it hasn't been.
|
|
143
157
|
#
|
|
144
158
|
# @param redacted_by [Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsSessionActor, Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsAPIActor, Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsUserActor, Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsServiceAccountActor] Who redacted this version, or `null` if it has not been redacted. In practice al
|
|
145
159
|
|
data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_version_operation.rb
CHANGED
|
@@ -4,8 +4,10 @@ module Anthropic
|
|
|
4
4
|
module Models
|
|
5
5
|
module Beta
|
|
6
6
|
module MemoryStores
|
|
7
|
-
# The kind of
|
|
8
|
-
#
|
|
7
|
+
# The kind of change that a memory version records.
|
|
8
|
+
#
|
|
9
|
+
# Every change to a memory adds one version. If you update a memory and nothing
|
|
10
|
+
# changes, the memory doesn't get a new version.
|
|
9
11
|
module BetaManagedAgentsMemoryVersionOperation
|
|
10
12
|
extend Anthropic::Internal::Type::Enum
|
|
11
13
|
|
|
@@ -4,11 +4,11 @@ module Anthropic
|
|
|
4
4
|
module Models
|
|
5
5
|
module Beta
|
|
6
6
|
module MemoryStores
|
|
7
|
-
#
|
|
8
|
-
# `
|
|
9
|
-
#
|
|
10
|
-
#
|
|
11
|
-
#
|
|
7
|
+
# Whether a `memory` or `memory_version` in the response includes its `content`.
|
|
8
|
+
# Defaults to `full` on retrieve operations and to `basic` on list, create, and
|
|
9
|
+
# update operations.
|
|
10
|
+
#
|
|
11
|
+
# With `full`, list operations return at most 20 items per page.
|
|
12
12
|
module BetaManagedAgentsMemoryView
|
|
13
13
|
extend Anthropic::Internal::Type::Enum
|
|
14
14
|
|
|
@@ -16,28 +16,31 @@ module Anthropic
|
|
|
16
16
|
required :memory_store_id, String
|
|
17
17
|
|
|
18
18
|
# @!attribute content
|
|
19
|
-
# UTF-8 text content
|
|
20
|
-
#
|
|
19
|
+
# The UTF-8 text content of the new memory. Pass `""` to create an empty memory.
|
|
20
|
+
#
|
|
21
|
+
# The maximum size is 100 kB (102,400 bytes).
|
|
21
22
|
#
|
|
22
23
|
# @return [String, nil]
|
|
23
24
|
required :content, String, nil?: true
|
|
24
25
|
|
|
25
26
|
# @!attribute path
|
|
26
|
-
#
|
|
27
|
-
#
|
|
28
|
-
#
|
|
29
|
-
#
|
|
30
|
-
#
|
|
27
|
+
# The path of the new memory, such as `/projects/foo/notes.md`. Paths are
|
|
28
|
+
# case-sensitive.
|
|
29
|
+
#
|
|
30
|
+
# A path starts with `/` and has 1 to 20 segments. A segment can't be empty and
|
|
31
|
+
# can't be `.` or `..`. A path can't contain control characters, format
|
|
32
|
+
# characters, or the line and paragraph separators U+2028 and U+2029. It must be
|
|
33
|
+
# in Unicode Normalization Form C and at most 1,024 bytes long.
|
|
31
34
|
#
|
|
32
35
|
# @return [String]
|
|
33
36
|
required :path, String
|
|
34
37
|
|
|
35
38
|
# @!attribute view
|
|
36
|
-
#
|
|
37
|
-
# `
|
|
38
|
-
#
|
|
39
|
-
#
|
|
40
|
-
#
|
|
39
|
+
# Whether a `memory` or `memory_version` in the response includes its `content`.
|
|
40
|
+
# Defaults to `full` on retrieve operations and to `basic` on list, create, and
|
|
41
|
+
# update operations.
|
|
42
|
+
#
|
|
43
|
+
# With `full`, list operations return at most 20 items per page.
|
|
41
44
|
#
|
|
42
45
|
# @return [Symbol, Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsMemoryView, nil]
|
|
43
46
|
optional :view, enum: -> { Anthropic::Beta::MemoryStores::BetaManagedAgentsMemoryView }
|
|
@@ -66,11 +69,11 @@ module Anthropic
|
|
|
66
69
|
#
|
|
67
70
|
# @param memory_store_id [String] The ID of the memory store to create the memory in (`memstore_...`).
|
|
68
71
|
#
|
|
69
|
-
# @param content [String, nil] UTF-8 text content
|
|
72
|
+
# @param content [String, nil] The UTF-8 text content of the new memory. Pass `""` to create an empty memory.
|
|
70
73
|
#
|
|
71
|
-
# @param path [String]
|
|
74
|
+
# @param path [String] The path of the new memory, such as `/projects/foo/notes.md`. Paths are case-sen
|
|
72
75
|
#
|
|
73
|
-
# @param view [Symbol, Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsMemoryView]
|
|
76
|
+
# @param view [Symbol, Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsMemoryView] Whether a `memory` or `memory_version` in the response includes its `content`. D
|
|
74
77
|
#
|
|
75
78
|
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] This endpoint is in beta: requests must send `agent-memory-2026-07-22` or `manag
|
|
76
79
|
#
|
|
@@ -16,40 +16,48 @@ module Anthropic
|
|
|
16
16
|
required :memory_store_id, String
|
|
17
17
|
|
|
18
18
|
# @!attribute depth
|
|
19
|
-
# `
|
|
20
|
-
#
|
|
21
|
-
#
|
|
19
|
+
# How far below `path_prefix` to list. Defaults to `0`, which lists every memory
|
|
20
|
+
# below the prefix.
|
|
21
|
+
#
|
|
22
|
+
# Pass `1` to list only the direct children. Deeper memories are then grouped into
|
|
23
|
+
# `memory_prefix` items.
|
|
22
24
|
#
|
|
23
25
|
# @return [Integer, nil]
|
|
24
26
|
optional :depth, Integer
|
|
25
27
|
|
|
26
28
|
# @!attribute limit
|
|
27
|
-
#
|
|
28
|
-
#
|
|
29
|
-
# `
|
|
29
|
+
# The maximum number of items to return per page, from 1 to 100. Defaults to 20.
|
|
30
|
+
#
|
|
31
|
+
# With `view=full`, a page holds at most 20 items. `memory` and `memory_prefix`
|
|
32
|
+
# items both count toward the limit.
|
|
30
33
|
#
|
|
31
34
|
# @return [Integer, nil]
|
|
32
35
|
optional :limit, Integer
|
|
33
36
|
|
|
34
37
|
# @!attribute page
|
|
35
|
-
#
|
|
36
|
-
#
|
|
38
|
+
# The `next_page` value from a previous response, to get the next page. Omit it to
|
|
39
|
+
# get the first page.
|
|
37
40
|
#
|
|
38
41
|
# @return [String, nil]
|
|
39
42
|
optional :page, String
|
|
40
43
|
|
|
41
44
|
# @!attribute path_prefix
|
|
42
|
-
#
|
|
43
|
-
#
|
|
44
|
-
#
|
|
45
|
+
# Return only memories whose path starts with this prefix, such as `/notes/`. This
|
|
46
|
+
# value appears in request URLs. Do not include secrets or personally identifiable
|
|
47
|
+
# information.
|
|
48
|
+
#
|
|
49
|
+
# Omit it to list the whole store. The prefix must end with `/` and matches whole
|
|
50
|
+
# segments, so `/notes/` matches `/notes/todo.md` but not
|
|
51
|
+
# `/notes-archive/todo.md`.
|
|
45
52
|
#
|
|
46
53
|
# @return [String, nil]
|
|
47
54
|
optional :path_prefix, String
|
|
48
55
|
|
|
49
56
|
# @!attribute view
|
|
50
|
-
#
|
|
51
|
-
#
|
|
52
|
-
#
|
|
57
|
+
# Whether each memory in the response includes `content`. Defaults to `basic`,
|
|
58
|
+
# which sets it to `null`.
|
|
59
|
+
#
|
|
60
|
+
# With `full`, a page holds at most 20 items.
|
|
53
61
|
#
|
|
54
62
|
# @return [Symbol, Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsMemoryView, nil]
|
|
55
63
|
optional :view, enum: -> { Anthropic::Beta::MemoryStores::BetaManagedAgentsMemoryView }
|
|
@@ -78,15 +86,15 @@ module Anthropic
|
|
|
78
86
|
#
|
|
79
87
|
# @param memory_store_id [String] The ID of the memory store to list memories from (`memstore_...`).
|
|
80
88
|
#
|
|
81
|
-
# @param depth [Integer]
|
|
89
|
+
# @param depth [Integer] How far below `path_prefix` to list. Defaults to `0`, which lists every memory b
|
|
82
90
|
#
|
|
83
|
-
# @param limit [Integer]
|
|
91
|
+
# @param limit [Integer] The maximum number of items to return per page, from 1 to 100. Defaults to 20.
|
|
84
92
|
#
|
|
85
|
-
# @param page [String]
|
|
93
|
+
# @param page [String] The `next_page` value from a previous response, to get the next page. Omit it to
|
|
86
94
|
#
|
|
87
|
-
# @param path_prefix [String]
|
|
95
|
+
# @param path_prefix [String] Return only memories whose path starts with this prefix, such as `/notes/`. This
|
|
88
96
|
#
|
|
89
|
-
# @param view [Symbol, Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsMemoryView]
|
|
97
|
+
# @param view [Symbol, Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsMemoryView] Whether each memory in the response includes `content`. Defaults to `basic`, whi
|
|
90
98
|
#
|
|
91
99
|
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] This endpoint is in beta: requests must send `agent-memory-2026-07-22` or `manag
|
|
92
100
|
#
|
|
@@ -22,11 +22,11 @@ module Anthropic
|
|
|
22
22
|
required :memory_id, String
|
|
23
23
|
|
|
24
24
|
# @!attribute view
|
|
25
|
-
#
|
|
26
|
-
# `
|
|
27
|
-
#
|
|
28
|
-
#
|
|
29
|
-
#
|
|
25
|
+
# Whether a `memory` or `memory_version` in the response includes its `content`.
|
|
26
|
+
# Defaults to `full` on retrieve operations and to `basic` on list, create, and
|
|
27
|
+
# update operations.
|
|
28
|
+
#
|
|
29
|
+
# With `full`, list operations return at most 20 items per page.
|
|
30
30
|
#
|
|
31
31
|
# @return [Symbol, Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsMemoryView, nil]
|
|
32
32
|
optional :view, enum: -> { Anthropic::Beta::MemoryStores::BetaManagedAgentsMemoryView }
|
|
@@ -57,7 +57,7 @@ module Anthropic
|
|
|
57
57
|
#
|
|
58
58
|
# @param memory_id [String] The ID of the memory to retrieve (`mem_...`).
|
|
59
59
|
#
|
|
60
|
-
# @param view [Symbol, Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsMemoryView]
|
|
60
|
+
# @param view [Symbol, Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsMemoryView] Whether a `memory` or `memory_version` in the response includes its `content`. D
|
|
61
61
|
#
|
|
62
62
|
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] This endpoint is in beta: requests must send `agent-memory-2026-07-22` or `manag
|
|
63
63
|
#
|
|
@@ -22,11 +22,11 @@ module Anthropic
|
|
|
22
22
|
required :memory_id, String
|
|
23
23
|
|
|
24
24
|
# @!attribute view
|
|
25
|
-
#
|
|
26
|
-
# `
|
|
27
|
-
#
|
|
28
|
-
#
|
|
29
|
-
#
|
|
25
|
+
# Whether a `memory` or `memory_version` in the response includes its `content`.
|
|
26
|
+
# Defaults to `full` on retrieve operations and to `basic` on list, create, and
|
|
27
|
+
# update operations.
|
|
28
|
+
#
|
|
29
|
+
# With `full`, list operations return at most 20 items per page.
|
|
30
30
|
#
|
|
31
31
|
# @return [Symbol, Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsMemoryView, nil]
|
|
32
32
|
optional :view, enum: -> { Anthropic::Beta::MemoryStores::BetaManagedAgentsMemoryView }
|
|
@@ -39,21 +39,22 @@ module Anthropic
|
|
|
39
39
|
optional :content, String, nil?: true
|
|
40
40
|
|
|
41
41
|
# @!attribute path
|
|
42
|
-
#
|
|
43
|
-
#
|
|
44
|
-
#
|
|
45
|
-
#
|
|
46
|
-
#
|
|
47
|
-
#
|
|
42
|
+
# The new path of the memory, which renames it. Omit it to keep the current path.
|
|
43
|
+
#
|
|
44
|
+
# The memory keeps its `id`. A path starts with `/` and has 1 to 20 segments. A
|
|
45
|
+
# segment can't be empty and can't be `.` or `..`. A path can't contain control
|
|
46
|
+
# characters, format characters, or the line and paragraph separators U+2028 and
|
|
47
|
+
# U+2029. It must be in Unicode Normalization Form C and at most 1,024 bytes long.
|
|
48
|
+
# Paths are case-sensitive.
|
|
48
49
|
#
|
|
49
50
|
# @return [String, nil]
|
|
50
51
|
optional :path, String, nil?: true
|
|
51
52
|
|
|
52
53
|
# @!attribute precondition
|
|
53
|
-
#
|
|
54
|
-
#
|
|
55
|
-
#
|
|
56
|
-
#
|
|
54
|
+
# The condition that the memory must meet for the update to apply. Omit it to
|
|
55
|
+
# update unconditionally.
|
|
56
|
+
#
|
|
57
|
+
# If the condition fails, the request fails with HTTP status 409.
|
|
57
58
|
#
|
|
58
59
|
# @return [Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsPrecondition, nil]
|
|
59
60
|
optional :precondition, -> { Anthropic::Beta::MemoryStores::BetaManagedAgentsPrecondition }
|
|
@@ -84,13 +85,13 @@ module Anthropic
|
|
|
84
85
|
#
|
|
85
86
|
# @param memory_id [String] The ID of the memory to update (`mem_...`).
|
|
86
87
|
#
|
|
87
|
-
# @param view [Symbol, Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsMemoryView]
|
|
88
|
+
# @param view [Symbol, Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsMemoryView] Whether a `memory` or `memory_version` in the response includes its `content`. D
|
|
88
89
|
#
|
|
89
90
|
# @param content [String, nil] New UTF-8 text content for the memory. Maximum 100 kB (102,400 bytes). Omit to l
|
|
90
91
|
#
|
|
91
|
-
# @param path [String, nil]
|
|
92
|
+
# @param path [String, nil] The new path of the memory, which renames it. Omit it to keep the current path.
|
|
92
93
|
#
|
|
93
|
-
# @param precondition [Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsPrecondition]
|
|
94
|
+
# @param precondition [Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsPrecondition] The condition that the memory must meet for the update to apply. Omit it to upda
|
|
94
95
|
#
|
|
95
96
|
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] This endpoint is in beta: requests must send `agent-memory-2026-07-22` or `manag
|
|
96
97
|
#
|
|
@@ -34,7 +34,10 @@ module Anthropic
|
|
|
34
34
|
optional :created_at_lte, Time
|
|
35
35
|
|
|
36
36
|
# @!attribute limit
|
|
37
|
-
# The maximum number of versions to return per page
|
|
37
|
+
# The maximum number of versions to return per page, from 1 to 100. Defaults
|
|
38
|
+
# to 20.
|
|
39
|
+
#
|
|
40
|
+
# With `view=full`, a page holds at most 20 versions.
|
|
38
41
|
#
|
|
39
42
|
# @return [Integer, nil]
|
|
40
43
|
optional :limit, Integer
|
|
@@ -42,8 +45,8 @@ module Anthropic
|
|
|
42
45
|
# @!attribute memory_id
|
|
43
46
|
# Return only versions of the memory with this ID (`mem_...`).
|
|
44
47
|
#
|
|
45
|
-
# The filter still works after the memory is deleted.
|
|
46
|
-
# version whose `operation` is `deleted`.
|
|
48
|
+
# The filter still works after the memory is deleted. While that memory's versions
|
|
49
|
+
# are retained, the results include the version whose `operation` is `deleted`.
|
|
47
50
|
#
|
|
48
51
|
# @return [String, nil]
|
|
49
52
|
optional :memory_id, String
|
|
@@ -74,11 +77,11 @@ module Anthropic
|
|
|
74
77
|
optional :session_id, String
|
|
75
78
|
|
|
76
79
|
# @!attribute view
|
|
77
|
-
#
|
|
78
|
-
# `
|
|
79
|
-
#
|
|
80
|
-
#
|
|
81
|
-
#
|
|
80
|
+
# Whether a `memory` or `memory_version` in the response includes its `content`.
|
|
81
|
+
# Defaults to `full` on retrieve operations and to `basic` on list, create, and
|
|
82
|
+
# update operations.
|
|
83
|
+
#
|
|
84
|
+
# With `full`, list operations return at most 20 items per page.
|
|
82
85
|
#
|
|
83
86
|
# @return [Symbol, Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsMemoryView, nil]
|
|
84
87
|
optional :view, enum: -> { Anthropic::Beta::MemoryStores::BetaManagedAgentsMemoryView }
|
|
@@ -114,7 +117,7 @@ module Anthropic
|
|
|
114
117
|
#
|
|
115
118
|
# @param created_at_lte [Time] Return versions created at or before this time (inclusive).
|
|
116
119
|
#
|
|
117
|
-
# @param limit [Integer] The maximum number of versions to return per page. Defaults to 20
|
|
120
|
+
# @param limit [Integer] The maximum number of versions to return per page, from 1 to 100. Defaults to 20
|
|
118
121
|
#
|
|
119
122
|
# @param memory_id [String] Return only versions of the memory with this ID (`mem_...`).
|
|
120
123
|
#
|
|
@@ -126,7 +129,7 @@ module Anthropic
|
|
|
126
129
|
#
|
|
127
130
|
# @param session_id [String] Return only versions written by the session with this ID.
|
|
128
131
|
#
|
|
129
|
-
# @param view [Symbol, Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsMemoryView]
|
|
132
|
+
# @param view [Symbol, Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsMemoryView] Whether a `memory` or `memory_version` in the response includes its `content`. D
|
|
130
133
|
#
|
|
131
134
|
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] This endpoint is in beta: requests must send `agent-memory-2026-07-22` or `manag
|
|
132
135
|
#
|
|
@@ -22,11 +22,11 @@ module Anthropic
|
|
|
22
22
|
required :memory_version_id, String
|
|
23
23
|
|
|
24
24
|
# @!attribute view
|
|
25
|
-
#
|
|
26
|
-
# `
|
|
27
|
-
#
|
|
28
|
-
#
|
|
29
|
-
#
|
|
25
|
+
# Whether a `memory` or `memory_version` in the response includes its `content`.
|
|
26
|
+
# Defaults to `full` on retrieve operations and to `basic` on list, create, and
|
|
27
|
+
# update operations.
|
|
28
|
+
#
|
|
29
|
+
# With `full`, list operations return at most 20 items per page.
|
|
30
30
|
#
|
|
31
31
|
# @return [Symbol, Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsMemoryView, nil]
|
|
32
32
|
optional :view, enum: -> { Anthropic::Beta::MemoryStores::BetaManagedAgentsMemoryView }
|
|
@@ -58,7 +58,7 @@ module Anthropic
|
|
|
58
58
|
#
|
|
59
59
|
# @param memory_version_id [String] The ID of the memory version to retrieve (`memver_...`).
|
|
60
60
|
#
|
|
61
|
-
# @param view [Symbol, Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsMemoryView]
|
|
61
|
+
# @param view [Symbol, Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsMemoryView] Whether a `memory` or `memory_version` in the response includes its `content`. D
|
|
62
62
|
#
|
|
63
63
|
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] This endpoint is in beta: requests must send `agent-memory-2026-07-22` or `manag
|
|
64
64
|
#
|
|
@@ -282,7 +282,7 @@ module Anthropic
|
|
|
282
282
|
|
|
283
283
|
# @!attribute user_profile_id
|
|
284
284
|
# The user profile ID to attribute this request to. Use when acting on behalf of a
|
|
285
|
-
# party other than your organization.
|
|
285
|
+
# party other than your organization.
|
|
286
286
|
#
|
|
287
287
|
# @return [String, nil]
|
|
288
288
|
optional :user_profile_id, String
|
|
@@ -438,7 +438,7 @@ module Anthropic
|
|
|
438
438
|
|
|
439
439
|
# @!attribute user_profile_id
|
|
440
440
|
# The user profile ID to attribute this request to. Use when acting on behalf of a
|
|
441
|
-
# party other than your organization.
|
|
441
|
+
# party other than your organization.
|
|
442
442
|
#
|
|
443
443
|
# @return [String, nil]
|
|
444
444
|
optional :user_profile_id, String
|
|
@@ -25,9 +25,9 @@ module Anthropic
|
|
|
25
25
|
|
|
26
26
|
# @!attribute user_profile_id
|
|
27
27
|
# The user profile ID to attribute the requests in this batch to. Use when acting
|
|
28
|
-
# on behalf of a party other than your organization.
|
|
29
|
-
#
|
|
30
|
-
#
|
|
28
|
+
# on behalf of a party other than your organization. Applies to every request in
|
|
29
|
+
# the batch; an individual request whose `user_profile_id` body field conflicts
|
|
30
|
+
# with this header is errored.
|
|
31
31
|
#
|
|
32
32
|
# @return [String, nil]
|
|
33
33
|
optional :user_profile_id, String
|