From a14b1703b6cf3e4e50dadf53a6e23f5accaea8e5 Mon Sep 17 00:00:00 2001 From: Josh Mock Date: Wed, 20 Nov 2024 13:00:54 -0600 Subject: [PATCH] Generate heading IDs --- docs/reference-async_search-delete.asciidoc | 1 + docs/reference-async_search-get.asciidoc | 3 +- docs/reference-async_search-status.asciidoc | 1 + docs/reference-async_search-submit.asciidoc | 19 +- ...scaling-delete_autoscaling_policy.asciidoc | 1 + ...oscaling-get_autoscaling_capacity.asciidoc | 1 + ...utoscaling-get_autoscaling_policy.asciidoc | 1 + ...utoscaling-put_autoscaling_policy.asciidoc | 1 + docs/reference-bulk.asciidoc | 1 + docs/reference-cat-aliases.asciidoc | 1 + docs/reference-cat-allocation.asciidoc | 1 + ...reference-cat-component_templates.asciidoc | 1 + docs/reference-cat-count.asciidoc | 1 + docs/reference-cat-fielddata.asciidoc | 1 + docs/reference-cat-health.asciidoc | 1 + docs/reference-cat-help.asciidoc | 1 + docs/reference-cat-indices.asciidoc | 1 + docs/reference-cat-master.asciidoc | 1 + ...rence-cat-ml_data_frame_analytics.asciidoc | 1 + docs/reference-cat-ml_datafeeds.asciidoc | 1 + docs/reference-cat-ml_jobs.asciidoc | 1 + docs/reference-cat-ml_trained_models.asciidoc | 1 + docs/reference-cat-nodeattrs.asciidoc | 1 + docs/reference-cat-nodes.asciidoc | 1 + docs/reference-cat-pending_tasks.asciidoc | 1 + docs/reference-cat-plugins.asciidoc | 1 + docs/reference-cat-recovery.asciidoc | 1 + docs/reference-cat-repositories.asciidoc | 1 + docs/reference-cat-segments.asciidoc | 1 + docs/reference-cat-shards.asciidoc | 1 + docs/reference-cat-snapshots.asciidoc | 1 + docs/reference-cat-tasks.asciidoc | 1 + docs/reference-cat-templates.asciidoc | 1 + docs/reference-cat-thread_pool.asciidoc | 1 + docs/reference-cat-transforms.asciidoc | 1 + ...ce-ccr-delete_auto_follow_pattern.asciidoc | 1 + docs/reference-ccr-follow.asciidoc | 1 + docs/reference-ccr-follow_info.asciidoc | 1 + docs/reference-ccr-follow_stats.asciidoc | 1 + docs/reference-ccr-forget_follower.asciidoc | 1 + ...rence-ccr-get_auto_follow_pattern.asciidoc | 1 + ...nce-ccr-pause_auto_follow_pattern.asciidoc | 1 + docs/reference-ccr-pause_follow.asciidoc | 1 + ...rence-ccr-put_auto_follow_pattern.asciidoc | 1 + ...ce-ccr-resume_auto_follow_pattern.asciidoc | 1 + docs/reference-ccr-resume_follow.asciidoc | 1 + docs/reference-ccr-stats.asciidoc | 1 + docs/reference-ccr-unfollow.asciidoc | 1 + docs/reference-clear_scroll.asciidoc | 1 + docs/reference-close_point_in_time.asciidoc | 1 + ...erence-cluster-allocation_explain.asciidoc | 1 + ...cluster-delete_component_template.asciidoc | 1 + ...r-delete_voting_config_exclusions.asciidoc | 1 + ...cluster-exists_component_template.asciidoc | 1 + ...ce-cluster-get_component_template.asciidoc | 1 + docs/reference-cluster-get_settings.asciidoc | 1 + docs/reference-cluster-health.asciidoc | 1 + docs/reference-cluster-info.asciidoc | 1 + docs/reference-cluster-pending_tasks.asciidoc | 1 + ...ter-post_voting_config_exclusions.asciidoc | 1 + ...ce-cluster-put_component_template.asciidoc | 1 + docs/reference-cluster-put_settings.asciidoc | 1 + docs/reference-cluster-remote_info.asciidoc | 1 + docs/reference-cluster-reroute.asciidoc | 1 + docs/reference-cluster-state.asciidoc | 1 + docs/reference-cluster-stats.asciidoc | 1 + docs/reference-connector-check_in.asciidoc | 1 + docs/reference-connector-delete.asciidoc | 1 + docs/reference-connector-get.asciidoc | 1 + docs/reference-connector-list.asciidoc | 1 + docs/reference-connector-post.asciidoc | 1 + docs/reference-connector-put.asciidoc | 1 + ...ference-connector-sync_job_cancel.asciidoc | 1 + ...rence-connector-sync_job_check_in.asciidoc | 1 + ...eference-connector-sync_job_claim.asciidoc | 1 + ...ference-connector-sync_job_delete.asciidoc | 1 + ...eference-connector-sync_job_error.asciidoc | 1 + .../reference-connector-sync_job_get.asciidoc | 1 + ...reference-connector-sync_job_list.asciidoc | 1 + ...reference-connector-sync_job_post.asciidoc | 1 + ...e-connector-sync_job_update_stats.asciidoc | 1 + ...connector-update_active_filtering.asciidoc | 1 + ...rence-connector-update_api_key_id.asciidoc | 1 + ...ce-connector-update_configuration.asciidoc | 1 + .../reference-connector-update_error.asciidoc | 1 + ...ference-connector-update_features.asciidoc | 1 + ...erence-connector-update_filtering.asciidoc | 1 + ...ector-update_filtering_validation.asciidoc | 1 + ...rence-connector-update_index_name.asciidoc | 1 + docs/reference-connector-update_name.asciidoc | 1 + ...reference-connector-update_native.asciidoc | 1 + ...ference-connector-update_pipeline.asciidoc | 1 + ...rence-connector-update_scheduling.asciidoc | 1 + ...nce-connector-update_service_type.asciidoc | 1 + ...reference-connector-update_status.asciidoc | 1 + docs/reference-count.asciidoc | 5 +- docs/reference-create.asciidoc | 1 + ...ing_indices-delete_dangling_index.asciidoc | 1 + ...ing_indices-import_dangling_index.asciidoc | 1 + ...ing_indices-list_dangling_indices.asciidoc | 1 + docs/reference-delete.asciidoc | 1 + docs/reference-delete_by_query.asciidoc | 5 +- ...erence-delete_by_query_rethrottle.asciidoc | 1 + docs/reference-delete_script.asciidoc | 1 + docs/reference-enrich-delete_policy.asciidoc | 1 + docs/reference-enrich-execute_policy.asciidoc | 1 + docs/reference-enrich-get_policy.asciidoc | 1 + docs/reference-enrich-put_policy.asciidoc | 1 + docs/reference-enrich-stats.asciidoc | 1 + docs/reference-eql-delete.asciidoc | 1 + docs/reference-eql-get.asciidoc | 1 + docs/reference-eql-get_status.asciidoc | 1 + docs/reference-eql-search.asciidoc | 7 +- docs/reference-esql-async_query.asciidoc | 1 + docs/reference-esql-async_query_get.asciidoc | 1 + docs/reference-esql-query.asciidoc | 3 +- docs/reference-exists.asciidoc | 1 + docs/reference-exists_source.asciidoc | 1 + docs/reference-explain.asciidoc | 5 +- docs/reference-features-get_features.asciidoc | 1 + ...reference-features-reset_features.asciidoc | 1 + docs/reference-field_caps.asciidoc | 5 +- ...eference-fleet-global_checkpoints.asciidoc | 1 + docs/reference-fleet-msearch.asciidoc | 1 + docs/reference-fleet-search.asciidoc | 19 +- docs/reference-get.asciidoc | 1 + docs/reference-get_script.asciidoc | 1 + docs/reference-get_script_context.asciidoc | 1 + docs/reference-get_script_languages.asciidoc | 1 + docs/reference-get_source.asciidoc | 1 + docs/reference-graph-explore.asciidoc | 3 +- docs/reference-health_report.asciidoc | 1 + docs/reference-ilm-delete_lifecycle.asciidoc | 1 + docs/reference-ilm-explain_lifecycle.asciidoc | 1 + docs/reference-ilm-get_lifecycle.asciidoc | 1 + docs/reference-ilm-get_status.asciidoc | 1 + ...ference-ilm-migrate_to_data_tiers.asciidoc | 1 + docs/reference-ilm-move_to_step.asciidoc | 1 + docs/reference-ilm-put_lifecycle.asciidoc | 1 + docs/reference-ilm-remove_policy.asciidoc | 1 + docs/reference-ilm-retry.asciidoc | 1 + docs/reference-ilm-start.asciidoc | 1 + docs/reference-ilm-stop.asciidoc | 1 + docs/reference-index.asciidoc | 1 + docs/reference-indices-add_block.asciidoc | 1 + docs/reference-indices-analyze.asciidoc | 7 +- docs/reference-indices-clear_cache.asciidoc | 1 + docs/reference-indices-clone.asciidoc | 1 + docs/reference-indices-close.asciidoc | 1 + docs/reference-indices-create.asciidoc | 3 +- ...erence-indices-create_data_stream.asciidoc | 1 + ...erence-indices-data_streams_stats.asciidoc | 1 + docs/reference-indices-delete.asciidoc | 1 + docs/reference-indices-delete_alias.asciidoc | 1 + ...nce-indices-delete_data_lifecycle.asciidoc | 1 + ...erence-indices-delete_data_stream.asciidoc | 1 + ...nce-indices-delete_index_template.asciidoc | 1 + ...reference-indices-delete_template.asciidoc | 1 + docs/reference-indices-disk_usage.asciidoc | 1 + docs/reference-indices-downsample.asciidoc | 1 + docs/reference-indices-exists.asciidoc | 1 + docs/reference-indices-exists_alias.asciidoc | 1 + ...nce-indices-exists_index_template.asciidoc | 1 + ...reference-indices-exists_template.asciidoc | 1 + ...ce-indices-explain_data_lifecycle.asciidoc | 1 + ...ference-indices-field_usage_stats.asciidoc | 1 + docs/reference-indices-flush.asciidoc | 1 + docs/reference-indices-forcemerge.asciidoc | 1 + docs/reference-indices-get.asciidoc | 1 + docs/reference-indices-get_alias.asciidoc | 1 + ...erence-indices-get_data_lifecycle.asciidoc | 1 + ...reference-indices-get_data_stream.asciidoc | 1 + ...ference-indices-get_field_mapping.asciidoc | 1 + ...erence-indices-get_index_template.asciidoc | 1 + docs/reference-indices-get_mapping.asciidoc | 1 + docs/reference-indices-get_settings.asciidoc | 1 + docs/reference-indices-get_template.asciidoc | 1 + ...ce-indices-migrate_to_data_stream.asciidoc | 1 + ...erence-indices-modify_data_stream.asciidoc | 1 + docs/reference-indices-open.asciidoc | 1 + ...rence-indices-promote_data_stream.asciidoc | 1 + docs/reference-indices-put_alias.asciidoc | 3 +- ...erence-indices-put_data_lifecycle.asciidoc | 1 + ...erence-indices-put_index_template.asciidoc | 1 + docs/reference-indices-put_mapping.asciidoc | 15 +- docs/reference-indices-put_settings.asciidoc | 1 + docs/reference-indices-put_template.asciidoc | 3 +- docs/reference-indices-recovery.asciidoc | 1 + docs/reference-indices-refresh.asciidoc | 1 + ...e-indices-reload_search_analyzers.asciidoc | 1 + ...reference-indices-resolve_cluster.asciidoc | 1 + docs/reference-indices-resolve_index.asciidoc | 1 + docs/reference-indices-rollover.asciidoc | 3 +- docs/reference-indices-segments.asciidoc | 1 + docs/reference-indices-shard_stores.asciidoc | 1 + docs/reference-indices-shrink.asciidoc | 1 + ...e-indices-simulate_index_template.asciidoc | 1 + ...ference-indices-simulate_template.asciidoc | 1 + docs/reference-indices-split.asciidoc | 1 + docs/reference-indices-stats.asciidoc | 1 + docs/reference-indices-unfreeze.asciidoc | 1 + .../reference-indices-update_aliases.asciidoc | 1 + .../reference-indices-validate_query.asciidoc | 5 +- docs/reference-inference-delete.asciidoc | 1 + docs/reference-inference-get.asciidoc | 1 + docs/reference-inference-inference.asciidoc | 1 + docs/reference-inference-put.asciidoc | 1 + ...erence-inference-stream_inference.asciidoc | 1 + docs/reference-info.asciidoc | 1 + ...ence-ingest-delete_geoip_database.asciidoc | 1 + .../reference-ingest-delete_pipeline.asciidoc | 1 + docs/reference-ingest-geo_ip_stats.asciidoc | 1 + ...ference-ingest-get_geoip_database.asciidoc | 1 + docs/reference-ingest-get_pipeline.asciidoc | 1 + docs/reference-ingest-processor_grok.asciidoc | 1 + ...ference-ingest-put_geoip_database.asciidoc | 1 + docs/reference-ingest-put_pipeline.asciidoc | 1 + docs/reference-ingest-simulate.asciidoc | 1 + docs/reference-knn_search.asciidoc | 5 +- docs/reference-license-delete.asciidoc | 1 + docs/reference-license-get.asciidoc | 1 + ...eference-license-get_basic_status.asciidoc | 1 + ...eference-license-get_trial_status.asciidoc | 1 + docs/reference-license-post.asciidoc | 1 + ...eference-license-post_start_basic.asciidoc | 1 + ...eference-license-post_start_trial.asciidoc | 1 + ...eference-logstash-delete_pipeline.asciidoc | 1 + docs/reference-logstash-get_pipeline.asciidoc | 1 + docs/reference-logstash-put_pipeline.asciidoc | 1 + docs/reference-mget.asciidoc | 1 + .../reference-migration-deprecations.asciidoc | 1 + ...ration-get_feature_upgrade_status.asciidoc | 1 + ...ce-migration-post_feature_upgrade.asciidoc | 1 + ...ar_trained_model_deployment_cache.asciidoc | 1 + docs/reference-ml-close_job.asciidoc | 1 + docs/reference-ml-delete_calendar.asciidoc | 1 + ...eference-ml-delete_calendar_event.asciidoc | 1 + .../reference-ml-delete_calendar_job.asciidoc | 1 + ...ce-ml-delete_data_frame_analytics.asciidoc | 1 + docs/reference-ml-delete_datafeed.asciidoc | 1 + .../reference-ml-delete_expired_data.asciidoc | 1 + docs/reference-ml-delete_filter.asciidoc | 1 + docs/reference-ml-delete_forecast.asciidoc | 1 + docs/reference-ml-delete_job.asciidoc | 1 + ...eference-ml-delete_model_snapshot.asciidoc | 1 + ...reference-ml-delete_trained_model.asciidoc | 1 + ...nce-ml-delete_trained_model_alias.asciidoc | 1 + ...eference-ml-estimate_model_memory.asciidoc | 1 + .../reference-ml-evaluate_data_frame.asciidoc | 3 +- ...e-ml-explain_data_frame_analytics.asciidoc | 1 + docs/reference-ml-flush_job.asciidoc | 1 + docs/reference-ml-forecast.asciidoc | 1 + docs/reference-ml-get_buckets.asciidoc | 1 + .../reference-ml-get_calendar_events.asciidoc | 1 + docs/reference-ml-get_calendars.asciidoc | 1 + docs/reference-ml-get_categories.asciidoc | 1 + ...rence-ml-get_data_frame_analytics.asciidoc | 1 + ...ml-get_data_frame_analytics_stats.asciidoc | 1 + docs/reference-ml-get_datafeed_stats.asciidoc | 1 + docs/reference-ml-get_datafeeds.asciidoc | 1 + docs/reference-ml-get_filters.asciidoc | 1 + docs/reference-ml-get_influencers.asciidoc | 1 + docs/reference-ml-get_job_stats.asciidoc | 1 + docs/reference-ml-get_jobs.asciidoc | 1 + docs/reference-ml-get_memory_stats.asciidoc | 1 + ...-get_model_snapshot_upgrade_stats.asciidoc | 1 + .../reference-ml-get_model_snapshots.asciidoc | 1 + .../reference-ml-get_overall_buckets.asciidoc | 1 + docs/reference-ml-get_records.asciidoc | 1 + docs/reference-ml-get_trained_models.asciidoc | 1 + ...rence-ml-get_trained_models_stats.asciidoc | 1 + .../reference-ml-infer_trained_model.asciidoc | 1 + docs/reference-ml-info.asciidoc | 1 + docs/reference-ml-open_job.asciidoc | 1 + ...reference-ml-post_calendar_events.asciidoc | 1 + docs/reference-ml-post_data.asciidoc | 1 + ...e-ml-preview_data_frame_analytics.asciidoc | 1 + docs/reference-ml-preview_datafeed.asciidoc | 1 + docs/reference-ml-put_calendar.asciidoc | 1 + docs/reference-ml-put_calendar_job.asciidoc | 1 + ...rence-ml-put_data_frame_analytics.asciidoc | 1 + docs/reference-ml-put_datafeed.asciidoc | 13 +- docs/reference-ml-put_filter.asciidoc | 1 + docs/reference-ml-put_job.asciidoc | 1 + docs/reference-ml-put_trained_model.asciidoc | 1 + ...erence-ml-put_trained_model_alias.asciidoc | 1 + ...put_trained_model_definition_part.asciidoc | 1 + ...e-ml-put_trained_model_vocabulary.asciidoc | 1 + docs/reference-ml-reset_job.asciidoc | 1 + ...eference-ml-revert_model_snapshot.asciidoc | 1 + docs/reference-ml-set_upgrade_mode.asciidoc | 1 + ...nce-ml-start_data_frame_analytics.asciidoc | 1 + docs/reference-ml-start_datafeed.asciidoc | 1 + ...ml-start_trained_model_deployment.asciidoc | 1 + ...ence-ml-stop_data_frame_analytics.asciidoc | 1 + docs/reference-ml-stop_datafeed.asciidoc | 1 + ...-ml-stop_trained_model_deployment.asciidoc | 1 + ...ce-ml-update_data_frame_analytics.asciidoc | 1 + docs/reference-ml-update_datafeed.asciidoc | 13 +- docs/reference-ml-update_filter.asciidoc | 1 + docs/reference-ml-update_job.asciidoc | 1 + ...eference-ml-update_model_snapshot.asciidoc | 1 + ...l-update_trained_model_deployment.asciidoc | 1 + ...reference-ml-upgrade_job_snapshot.asciidoc | 1 + docs/reference-monitoring-bulk.asciidoc | 1 + docs/reference-msearch.asciidoc | 3 +- docs/reference-msearch_template.asciidoc | 3 +- docs/reference-mtermvectors.asciidoc | 1 + ...ear_repositories_metering_archive.asciidoc | 1 + ...es-get_repositories_metering_info.asciidoc | 1 + docs/reference-nodes-hot_threads.asciidoc | 1 + docs/reference-nodes-info.asciidoc | 1 + ...ence-nodes-reload_secure_settings.asciidoc | 1 + docs/reference-nodes-stats.asciidoc | 1 + docs/reference-nodes-usage.asciidoc | 1 + docs/reference-open_point_in_time.asciidoc | 3 +- docs/reference-ping.asciidoc | 1 + docs/reference-put_script.asciidoc | 1 + ...reference-query_rules-delete_rule.asciidoc | 1 + ...erence-query_rules-delete_ruleset.asciidoc | 1 + docs/reference-query_rules-get_rule.asciidoc | 1 + ...reference-query_rules-get_ruleset.asciidoc | 1 + ...ference-query_rules-list_rulesets.asciidoc | 1 + docs/reference-query_rules-put_rule.asciidoc | 1 + ...reference-query_rules-put_ruleset.asciidoc | 1 + docs/reference-query_rules-test.asciidoc | 1 + docs/reference-rank_eval.asciidoc | 1 + docs/reference-reindex.asciidoc | 1 + docs/reference-reindex_rethrottle.asciidoc | 1 + .../reference-render_search_template.asciidoc | 1 + docs/reference-rollup-delete_job.asciidoc | 1 + docs/reference-rollup-get_jobs.asciidoc | 1 + .../reference-rollup-get_rollup_caps.asciidoc | 1 + ...ence-rollup-get_rollup_index_caps.asciidoc | 1 + docs/reference-rollup-put_job.asciidoc | 1 + docs/reference-rollup-rollup_search.asciidoc | 9 +- docs/reference-rollup-start_job.asciidoc | 1 + docs/reference-rollup-stop_job.asciidoc | 1 + ...eference-scripts_painless_execute.asciidoc | 1 + docs/reference-scroll.asciidoc | 3 +- docs/reference-search.asciidoc | 19 +- ...ference-search_application-delete.asciidoc | 1 + ...ation-delete_behavioral_analytics.asciidoc | 1 + .../reference-search_application-get.asciidoc | 1 + ...lication-get_behavioral_analytics.asciidoc | 1 + ...reference-search_application-list.asciidoc | 1 + ...n-post_behavioral_analytics_event.asciidoc | 1 + .../reference-search_application-put.asciidoc | 1 + ...lication-put_behavioral_analytics.asciidoc | 1 + ...e-search_application-render_query.asciidoc | 1 + ...ference-search_application-search.asciidoc | 3 +- docs/reference-search_mvt.asciidoc | 7 +- docs/reference-search_shards.asciidoc | 1 + docs/reference-search_template.asciidoc | 3 +- ...-searchable_snapshots-cache_stats.asciidoc | 1 + ...-searchable_snapshots-clear_cache.asciidoc | 1 + ...erence-searchable_snapshots-mount.asciidoc | 1 + ...erence-searchable_snapshots-stats.asciidoc | 1 + ...ce-security-activate_user_profile.asciidoc | 1 + docs/reference-security-authenticate.asciidoc | 1 + ...ference-security-bulk_delete_role.asciidoc | 1 + .../reference-security-bulk_put_role.asciidoc | 1 + ...nce-security-bulk_update_api_keys.asciidoc | 1 + ...eference-security-change_password.asciidoc | 1 + ...ence-security-clear_api_key_cache.asciidoc | 1 + ...-security-clear_cached_privileges.asciidoc | 1 + ...ence-security-clear_cached_realms.asciidoc | 1 + ...rence-security-clear_cached_roles.asciidoc | 1 + ...urity-clear_cached_service_tokens.asciidoc | 1 + ...reference-security-create_api_key.asciidoc | 1 + ...rity-create_cross_cluster_api_key.asciidoc | 1 + ...nce-security-create_service_token.asciidoc | 1 + ...erence-security-delete_privileges.asciidoc | 1 + docs/reference-security-delete_role.asciidoc | 1 + ...ence-security-delete_role_mapping.asciidoc | 1 + ...nce-security-delete_service_token.asciidoc | 1 + docs/reference-security-delete_user.asciidoc | 1 + docs/reference-security-disable_user.asciidoc | 1 + ...nce-security-disable_user_profile.asciidoc | 1 + docs/reference-security-enable_user.asciidoc | 1 + ...ence-security-enable_user_profile.asciidoc | 1 + .../reference-security-enroll_kibana.asciidoc | 1 + docs/reference-security-enroll_node.asciidoc | 1 + docs/reference-security-get_api_key.asciidoc | 1 + ...e-security-get_builtin_privileges.asciidoc | 1 + ...reference-security-get_privileges.asciidoc | 1 + docs/reference-security-get_role.asciidoc | 1 + ...ference-security-get_role_mapping.asciidoc | 1 + ...nce-security-get_service_accounts.asciidoc | 1 + ...-security-get_service_credentials.asciidoc | 1 + docs/reference-security-get_settings.asciidoc | 1 + docs/reference-security-get_token.asciidoc | 1 + docs/reference-security-get_user.asciidoc | 1 + ...ence-security-get_user_privileges.asciidoc | 1 + ...ference-security-get_user_profile.asciidoc | 1 + .../reference-security-grant_api_key.asciidoc | 1 + ...reference-security-has_privileges.asciidoc | 1 + ...urity-has_privileges_user_profile.asciidoc | 1 + ...rence-security-invalidate_api_key.asciidoc | 1 + ...ference-security-invalidate_token.asciidoc | 1 + ...erence-security-oidc_authenticate.asciidoc | 1 + docs/reference-security-oidc_logout.asciidoc | 1 + ...urity-oidc_prepare_authentication.asciidoc | 1 + ...reference-security-put_privileges.asciidoc | 1 + docs/reference-security-put_role.asciidoc | 1 + ...ference-security-put_role_mapping.asciidoc | 1 + docs/reference-security-put_user.asciidoc | 1 + ...reference-security-query_api_keys.asciidoc | 1 + docs/reference-security-query_role.asciidoc | 1 + docs/reference-security-query_user.asciidoc | 1 + ...erence-security-saml_authenticate.asciidoc | 1 + ...nce-security-saml_complete_logout.asciidoc | 1 + ...eference-security-saml_invalidate.asciidoc | 1 + docs/reference-security-saml_logout.asciidoc | 1 + ...urity-saml_prepare_authentication.asciidoc | 1 + ...ty-saml_service_provider_metadata.asciidoc | 1 + ...ce-security-suggest_user_profiles.asciidoc | 1 + ...reference-security-update_api_key.asciidoc | 1 + ...rity-update_cross_cluster_api_key.asciidoc | 1 + ...eference-security-update_settings.asciidoc | 1 + ...security-update_user_profile_data.asciidoc | 1 + docs/reference-shared-types.asciidoc | 12083 +++++++++++++++- docs/reference-shutdown-delete_node.asciidoc | 1 + docs/reference-shutdown-get_node.asciidoc | 1 + docs/reference-shutdown-put_node.asciidoc | 1 + docs/reference-simulate-ingest.asciidoc | 1 + docs/reference-slm-delete_lifecycle.asciidoc | 1 + docs/reference-slm-execute_lifecycle.asciidoc | 1 + docs/reference-slm-execute_retention.asciidoc | 1 + docs/reference-slm-get_lifecycle.asciidoc | 1 + docs/reference-slm-get_stats.asciidoc | 1 + docs/reference-slm-get_status.asciidoc | 1 + docs/reference-slm-put_lifecycle.asciidoc | 1 + docs/reference-slm-start.asciidoc | 1 + docs/reference-slm-stop.asciidoc | 1 + ...rence-snapshot-cleanup_repository.asciidoc | 1 + docs/reference-snapshot-clone.asciidoc | 1 + docs/reference-snapshot-create.asciidoc | 1 + ...erence-snapshot-create_repository.asciidoc | 1 + docs/reference-snapshot-delete.asciidoc | 1 + ...erence-snapshot-delete_repository.asciidoc | 1 + docs/reference-snapshot-get.asciidoc | 1 + ...reference-snapshot-get_repository.asciidoc | 1 + ...rence-snapshot-repository_analyze.asciidoc | 1 + docs/reference-snapshot-restore.asciidoc | 1 + docs/reference-snapshot-status.asciidoc | 1 + ...erence-snapshot-verify_repository.asciidoc | 1 + docs/reference-sql-clear_cursor.asciidoc | 1 + docs/reference-sql-delete_async.asciidoc | 1 + docs/reference-sql-get_async.asciidoc | 1 + docs/reference-sql-get_async_status.asciidoc | 1 + docs/reference-sql-query.asciidoc | 5 +- docs/reference-sql-translate.asciidoc | 9 +- docs/reference-ssl-certificates.asciidoc | 1 + ...reference-synonyms-delete_synonym.asciidoc | 1 + ...ence-synonyms-delete_synonym_rule.asciidoc | 1 + docs/reference-synonyms-get_synonym.asciidoc | 1 + ...ference-synonyms-get_synonym_rule.asciidoc | 1 + ...erence-synonyms-get_synonyms_sets.asciidoc | 1 + docs/reference-synonyms-put_synonym.asciidoc | 1 + ...ference-synonyms-put_synonym_rule.asciidoc | 1 + docs/reference-tasks-cancel.asciidoc | 1 + docs/reference-tasks-get.asciidoc | 1 + docs/reference-tasks-list.asciidoc | 1 + docs/reference-terms_enum.asciidoc | 3 +- docs/reference-termvectors.asciidoc | 1 + ...xt_structure-find_field_structure.asciidoc | 1 + ..._structure-find_message_structure.asciidoc | 1 + ...nce-text_structure-find_structure.asciidoc | 3 +- ...-text_structure-test_grok_pattern.asciidoc | 1 + ...erence-transform-delete_transform.asciidoc | 1 + ...eference-transform-get_node_stats.asciidoc | 1 + ...reference-transform-get_transform.asciidoc | 1 + ...nce-transform-get_transform_stats.asciidoc | 1 + ...rence-transform-preview_transform.asciidoc | 1 + ...reference-transform-put_transform.asciidoc | 1 + ...ference-transform-reset_transform.asciidoc | 1 + ...-transform-schedule_now_transform.asciidoc | 1 + ...ference-transform-start_transform.asciidoc | 1 + ...eference-transform-stop_transform.asciidoc | 1 + ...erence-transform-update_transform.asciidoc | 1 + ...ence-transform-upgrade_transforms.asciidoc | 1 + docs/reference-update.asciidoc | 1 + docs/reference-update_by_query.asciidoc | 5 +- ...erence-update_by_query_rethrottle.asciidoc | 1 + docs/reference-watcher-ack_watch.asciidoc | 1 + .../reference-watcher-activate_watch.asciidoc | 1 + ...eference-watcher-deactivate_watch.asciidoc | 1 + docs/reference-watcher-delete_watch.asciidoc | 1 + docs/reference-watcher-execute_watch.asciidoc | 1 + docs/reference-watcher-get_settings.asciidoc | 1 + docs/reference-watcher-get_watch.asciidoc | 1 + docs/reference-watcher-put_watch.asciidoc | 1 + docs/reference-watcher-query_watches.asciidoc | 3 +- docs/reference-watcher-start.asciidoc | 1 + docs/reference-watcher-stats.asciidoc | 1 + docs/reference-watcher-stop.asciidoc | 1 + ...reference-watcher-update_settings.asciidoc | 1 + docs/reference-xpack-info.asciidoc | 1 + docs/reference-xpack-usage.asciidoc | 1 + 500 files changed, 12670 insertions(+), 104 deletions(-) diff --git a/docs/reference-async_search-delete.asciidoc b/docs/reference-async_search-delete.asciidoc index 2cbf3ea3a..bc691a4ec 100644 --- a/docs/reference-async_search-delete.asciidoc +++ b/docs/reference-async_search-delete.asciidoc @@ -26,6 +26,7 @@ //////// [discrete] +[[client.asyncSearch.delete]] === client.asyncSearch.delete Delete an async search. If the asynchronous search is still running, it is cancelled. Otherwise, the saved search results are deleted. If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the `cancel_task` cluster privilege. diff --git a/docs/reference-async_search-get.asciidoc b/docs/reference-async_search-get.asciidoc index 2c00e52c7..03699a6a2 100644 --- a/docs/reference-async_search-get.asciidoc +++ b/docs/reference-async_search-get.asciidoc @@ -26,6 +26,7 @@ //////// [discrete] +[[client.asyncSearch.get]] === client.asyncSearch.get Get async search results. Retrieve the results of a previously submitted asynchronous search request. If the Elasticsearch security features are enabled, access to the results of a specific async search is restricted to the user or API key that submitted it. @@ -65,7 +66,7 @@ interface AsyncSearchGetRequest extends <> { ++++
 ++++
-type AsyncSearchGetResponse>, AggregationsAggregate>> = AsyncSearchAsyncSearchDocumentResponseBase
+type AsyncSearchGetResponse>, <>>> = AsyncSearchAsyncSearchDocumentResponseBase
 
 [pass]
 ++++
diff --git a/docs/reference-async_search-status.asciidoc b/docs/reference-async_search-status.asciidoc
index f84488dd3..e73f9c4ca 100644
--- a/docs/reference-async_search-status.asciidoc
+++ b/docs/reference-async_search-status.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.asyncSearch.status]]
 === client.asyncSearch.status
 
 Get the async search status. Get the status of a previously submitted async search request given its identifier, without retrieving search results. If the Elasticsearch security features are enabled, use of this API is restricted to the `monitoring_user` role.
diff --git a/docs/reference-async_search-submit.asciidoc b/docs/reference-async_search-submit.asciidoc
index c8e40319b..0c19ba531 100644
--- a/docs/reference-async_search-submit.asciidoc
+++ b/docs/reference-async_search-submit.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.asyncSearch.submit]]
 === client.asyncSearch.submit
 
 Run an async search. When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field. Partial results become available following the sort criteria that was requested. Warning: Asynchronous search does not support scroll or search requests that include only the suggest section. By default, Elasticsearch does not allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. The maximum allowed size for a stored async search response can be set by changing the `search.max_async_search_response_size` cluster level setting.
@@ -58,7 +59,7 @@ interface AsyncSearchSubmitRequest extends <> {
   analyze_wildcard?: boolean
   batched_reduce_size?: <<_long, long>>
   ccs_minimize_roundtrips?: boolean
-  default_operator?: QueryDslOperator
+  default_operator?: <>
   df?: string
   expand_wildcards?: <>
   ignore_throttled?: boolean
@@ -81,9 +82,9 @@ interface AsyncSearchSubmitRequest extends <> {
   _source_excludes?: <>
   _source_includes?: <>
   q?: string
-  aggregations?: Record
+  aggregations?: Record>>
   pass:[/**] @alias aggregations */
-  aggs?: Record
+  aggs?: Record>>
   collapse?: SearchFieldCollapse
   explain?: boolean
   ext?: Record
@@ -91,12 +92,12 @@ interface AsyncSearchSubmitRequest extends <> {
   highlight?: SearchHighlight
   track_total_hits?: SearchTrackHits
   indices_boost?: Record<<>, <<_double, double>>>[]
-  docvalue_fields?: (QueryDslFieldAndFormat | <>)[]
+  docvalue_fields?: (<> | <>)[]
   knn?: <> | <>[]
   min_score?: <<_double, double>>
-  post_filter?: QueryDslQueryContainer
+  post_filter?: <>
   profile?: boolean
-  query?: QueryDslQueryContainer
+  query?: <>
   rescore?: SearchRescore | SearchRescore[]
   script_fields?: Record>>
   search_after?: <>
@@ -104,7 +105,7 @@ interface AsyncSearchSubmitRequest extends <> {
   slice?: <>
   sort?: <>
   _source?: SearchSourceConfig
-  fields?: (QueryDslFieldAndFormat | <>)[]
+  fields?: (<> | <>)[]
   suggest?: SearchSuggester
   terminate_after?: <<_long, long>>
   timeout?: string
@@ -113,7 +114,7 @@ interface AsyncSearchSubmitRequest extends <> {
   seq_no_primary_term?: boolean
   stored_fields?: <>
   pit?: SearchPointInTimeReference
-  runtime_mappings?: MappingRuntimeFields
+  runtime_mappings?: <>
   stats?: string[]
 }
 
@@ -128,7 +129,7 @@ interface AsyncSearchSubmitRequest extends <> {
 ++++
 
 ++++
-type AsyncSearchSubmitResponse>, AggregationsAggregate>> = AsyncSearchAsyncSearchDocumentResponseBase
+type AsyncSearchSubmitResponse>, <>>> = AsyncSearchAsyncSearchDocumentResponseBase
 
 [pass]
 ++++
diff --git a/docs/reference-autoscaling-delete_autoscaling_policy.asciidoc b/docs/reference-autoscaling-delete_autoscaling_policy.asciidoc
index 1d2107408..7a897ed9b 100644
--- a/docs/reference-autoscaling-delete_autoscaling_policy.asciidoc
+++ b/docs/reference-autoscaling-delete_autoscaling_policy.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.autoscaling.deleteAutoscalingPolicy]]
 === client.autoscaling.deleteAutoscalingPolicy
 
 Delete an autoscaling policy. NOTE: This feature is designed for indirect use by Elasticsearch Service, Elastic Cloud Enterprise, and Elastic Cloud on Kubernetes. Direct use is not supported.
diff --git a/docs/reference-autoscaling-get_autoscaling_capacity.asciidoc b/docs/reference-autoscaling-get_autoscaling_capacity.asciidoc
index 2eb89a798..87e1dc61b 100644
--- a/docs/reference-autoscaling-get_autoscaling_capacity.asciidoc
+++ b/docs/reference-autoscaling-get_autoscaling_capacity.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.autoscaling.getAutoscalingCapacity]]
 === client.autoscaling.getAutoscalingCapacity
 
 Get the autoscaling capacity. NOTE: This feature is designed for indirect use by Elasticsearch Service, Elastic Cloud Enterprise, and Elastic Cloud on Kubernetes. Direct use is not supported. This API gets the current autoscaling capacity based on the configured autoscaling policy. It will return information to size the cluster appropriately to the current workload. The `required_capacity` is calculated as the maximum of the `required_capacity` result of all individual deciders that are enabled for the policy. The operator should verify that the `current_nodes` match the operator’s knowledge of the cluster to avoid making autoscaling decisions based on stale or incomplete information. The response contains decider-specific information you can use to diagnose how and why autoscaling determined a certain capacity was required. This information is provided for diagnosis only. Do not use this information to make autoscaling decisions.
diff --git a/docs/reference-autoscaling-get_autoscaling_policy.asciidoc b/docs/reference-autoscaling-get_autoscaling_policy.asciidoc
index af52d8dcd..80b3d8d77 100644
--- a/docs/reference-autoscaling-get_autoscaling_policy.asciidoc
+++ b/docs/reference-autoscaling-get_autoscaling_policy.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.autoscaling.getAutoscalingPolicy]]
 === client.autoscaling.getAutoscalingPolicy
 
 Get an autoscaling policy. NOTE: This feature is designed for indirect use by Elasticsearch Service, Elastic Cloud Enterprise, and Elastic Cloud on Kubernetes. Direct use is not supported.
diff --git a/docs/reference-autoscaling-put_autoscaling_policy.asciidoc b/docs/reference-autoscaling-put_autoscaling_policy.asciidoc
index f6fd06e6c..047ec4b5c 100644
--- a/docs/reference-autoscaling-put_autoscaling_policy.asciidoc
+++ b/docs/reference-autoscaling-put_autoscaling_policy.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.autoscaling.putAutoscalingPolicy]]
 === client.autoscaling.putAutoscalingPolicy
 
 Create or update an autoscaling policy. NOTE: This feature is designed for indirect use by Elasticsearch Service, Elastic Cloud Enterprise, and Elastic Cloud on Kubernetes. Direct use is not supported.
diff --git a/docs/reference-bulk.asciidoc b/docs/reference-bulk.asciidoc
index 509bf64ee..be3fec004 100644
--- a/docs/reference-bulk.asciidoc
+++ b/docs/reference-bulk.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.bulk]]
 === client.bulk
 
 Bulk index or delete documents. Performs multiple indexing or delete operations in a single API call. This reduces overhead and can greatly increase indexing speed.
diff --git a/docs/reference-cat-aliases.asciidoc b/docs/reference-cat-aliases.asciidoc
index f2e15606e..37fa58bc6 100644
--- a/docs/reference-cat-aliases.asciidoc
+++ b/docs/reference-cat-aliases.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.cat.aliases]]
 === client.cat.aliases
 
 Get aliases. Retrieves the cluster’s index aliases, including filter and routing information. The API does not return data stream aliases. CAT APIs are only intended for human consumption using the command line or the Kibana console. They are not intended for use by applications. For application consumption, use the aliases API.
diff --git a/docs/reference-cat-allocation.asciidoc b/docs/reference-cat-allocation.asciidoc
index e94ce0564..d8d23ff33 100644
--- a/docs/reference-cat-allocation.asciidoc
+++ b/docs/reference-cat-allocation.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.cat.allocation]]
 === client.cat.allocation
 
 Provides a snapshot of the number of shards allocated to each data node and their disk space. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications.
diff --git a/docs/reference-cat-component_templates.asciidoc b/docs/reference-cat-component_templates.asciidoc
index 2e66e3814..b474d51a4 100644
--- a/docs/reference-cat-component_templates.asciidoc
+++ b/docs/reference-cat-component_templates.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.cat.componentTemplates]]
 === client.cat.componentTemplates
 
 Get component templates. Returns information about component templates in a cluster. Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases. CAT APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the get component template API.
diff --git a/docs/reference-cat-count.asciidoc b/docs/reference-cat-count.asciidoc
index 70cd2316a..be3091c2f 100644
--- a/docs/reference-cat-count.asciidoc
+++ b/docs/reference-cat-count.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.cat.count]]
 === client.cat.count
 
 Get a document count. Provides quick access to a document count for a data stream, an index, or an entire cluster. The document count only includes live documents, not deleted documents which have not yet been removed by the merge process. CAT APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the count API.
diff --git a/docs/reference-cat-fielddata.asciidoc b/docs/reference-cat-fielddata.asciidoc
index 44df7eff2..ce0a57f47 100644
--- a/docs/reference-cat-fielddata.asciidoc
+++ b/docs/reference-cat-fielddata.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.cat.fielddata]]
 === client.cat.fielddata
 
 Returns the amount of heap memory currently used by the field data cache on every data node in the cluster. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the nodes stats API.
diff --git a/docs/reference-cat-health.asciidoc b/docs/reference-cat-health.asciidoc
index ad4ad6410..8de867537 100644
--- a/docs/reference-cat-health.asciidoc
+++ b/docs/reference-cat-health.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.cat.health]]
 === client.cat.health
 
 Returns the health status of a cluster, similar to the cluster health API. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the cluster health API. This API is often used to check malfunctioning clusters. To help you track cluster health alongside log files and alerting systems, the API returns timestamps in two formats: `HH:MM:SS`, which is human-readable but includes no date information; `Unix epoch time`, which is machine-sortable and includes date information. The latter format is useful for cluster recoveries that take multiple days. You can use the cat health API to verify cluster health across multiple nodes. You also can use the API to track the recovery of a large cluster over a longer period of time.
diff --git a/docs/reference-cat-help.asciidoc b/docs/reference-cat-help.asciidoc
index f7f077c5a..4735e5922 100644
--- a/docs/reference-cat-help.asciidoc
+++ b/docs/reference-cat-help.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.cat.help]]
 === client.cat.help
 
 Get CAT help. Returns help for the CAT APIs.
diff --git a/docs/reference-cat-indices.asciidoc b/docs/reference-cat-indices.asciidoc
index 4ef9a083c..a83014d11 100644
--- a/docs/reference-cat-indices.asciidoc
+++ b/docs/reference-cat-indices.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.cat.indices]]
 === client.cat.indices
 
 Get index information. Returns high-level information about indices in a cluster, including backing indices for data streams. Use this request to get the following information for each index in a cluster: - shard count - document count - deleted document count - primary store size - total store size of all shards, including shard replicas These metrics are retrieved directly from Lucene, which Elasticsearch uses internally to power indexing and search. As a result, all document counts include hidden nested documents. To get an accurate count of Elasticsearch documents, use the cat count or count APIs. CAT APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use an index endpoint.
diff --git a/docs/reference-cat-master.asciidoc b/docs/reference-cat-master.asciidoc
index de6aa1a12..a548a044d 100644
--- a/docs/reference-cat-master.asciidoc
+++ b/docs/reference-cat-master.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.cat.master]]
 === client.cat.master
 
 Returns information about the master node, including the ID, bound IP address, and name. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the nodes info API.
diff --git a/docs/reference-cat-ml_data_frame_analytics.asciidoc b/docs/reference-cat-ml_data_frame_analytics.asciidoc
index d96f470d2..c83795819 100644
--- a/docs/reference-cat-ml_data_frame_analytics.asciidoc
+++ b/docs/reference-cat-ml_data_frame_analytics.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.cat.mlDataFrameAnalytics]]
 === client.cat.mlDataFrameAnalytics
 
 Get data frame analytics jobs. Returns configuration and usage information about data frame analytics jobs. CAT APIs are only intended for human consumption using the Kibana console or command line. They are not intended for use by applications. For application consumption, use the get data frame analytics jobs statistics API.
diff --git a/docs/reference-cat-ml_datafeeds.asciidoc b/docs/reference-cat-ml_datafeeds.asciidoc
index 3cbe6968d..22e15c1de 100644
--- a/docs/reference-cat-ml_datafeeds.asciidoc
+++ b/docs/reference-cat-ml_datafeeds.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.cat.mlDatafeeds]]
 === client.cat.mlDatafeeds
 
 Get datafeeds. Returns configuration and usage information about datafeeds. This API returns a maximum of 10,000 datafeeds. If the Elasticsearch security features are enabled, you must have `monitor_ml`, `monitor`, `manage_ml`, or `manage` cluster privileges to use this API. CAT APIs are only intended for human consumption using the Kibana console or command line. They are not intended for use by applications. For application consumption, use the get datafeed statistics API.
diff --git a/docs/reference-cat-ml_jobs.asciidoc b/docs/reference-cat-ml_jobs.asciidoc
index 572f455f3..491238a7d 100644
--- a/docs/reference-cat-ml_jobs.asciidoc
+++ b/docs/reference-cat-ml_jobs.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.cat.mlJobs]]
 === client.cat.mlJobs
 
 Get anomaly detection jobs. Returns configuration and usage information for anomaly detection jobs. This API returns a maximum of 10,000 jobs. If the Elasticsearch security features are enabled, you must have `monitor_ml`, `monitor`, `manage_ml`, or `manage` cluster privileges to use this API. CAT APIs are only intended for human consumption using the Kibana console or command line. They are not intended for use by applications. For application consumption, use the get anomaly detection job statistics API.
diff --git a/docs/reference-cat-ml_trained_models.asciidoc b/docs/reference-cat-ml_trained_models.asciidoc
index e999a28e6..652cb04bb 100644
--- a/docs/reference-cat-ml_trained_models.asciidoc
+++ b/docs/reference-cat-ml_trained_models.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.cat.mlTrainedModels]]
 === client.cat.mlTrainedModels
 
 Get trained models. Returns configuration and usage information about inference trained models. CAT APIs are only intended for human consumption using the Kibana console or command line. They are not intended for use by applications. For application consumption, use the get trained models statistics API.
diff --git a/docs/reference-cat-nodeattrs.asciidoc b/docs/reference-cat-nodeattrs.asciidoc
index be6e8f6e8..a73ca7766 100644
--- a/docs/reference-cat-nodeattrs.asciidoc
+++ b/docs/reference-cat-nodeattrs.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.cat.nodeattrs]]
 === client.cat.nodeattrs
 
 Returns information about custom node attributes. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the nodes info API.
diff --git a/docs/reference-cat-nodes.asciidoc b/docs/reference-cat-nodes.asciidoc
index f5635ac7d..226679dd8 100644
--- a/docs/reference-cat-nodes.asciidoc
+++ b/docs/reference-cat-nodes.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.cat.nodes]]
 === client.cat.nodes
 
 Returns information about the nodes in a cluster. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the nodes info API.
diff --git a/docs/reference-cat-pending_tasks.asciidoc b/docs/reference-cat-pending_tasks.asciidoc
index bfcbcbe13..7b7be8ece 100644
--- a/docs/reference-cat-pending_tasks.asciidoc
+++ b/docs/reference-cat-pending_tasks.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.cat.pendingTasks]]
 === client.cat.pendingTasks
 
 Returns cluster-level changes that have not yet been executed. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the pending cluster tasks API.
diff --git a/docs/reference-cat-plugins.asciidoc b/docs/reference-cat-plugins.asciidoc
index 699ae445d..2494824d4 100644
--- a/docs/reference-cat-plugins.asciidoc
+++ b/docs/reference-cat-plugins.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.cat.plugins]]
 === client.cat.plugins
 
 Returns a list of plugins running on each node of a cluster. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the nodes info API.
diff --git a/docs/reference-cat-recovery.asciidoc b/docs/reference-cat-recovery.asciidoc
index bd83ff831..86357c35a 100644
--- a/docs/reference-cat-recovery.asciidoc
+++ b/docs/reference-cat-recovery.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.cat.recovery]]
 === client.cat.recovery
 
 Returns information about ongoing and completed shard recoveries. Shard recovery is the process of initializing a shard copy, such as restoring a primary shard from a snapshot or syncing a replica shard from a primary shard. When a shard recovery completes, the recovered shard is available for search and indexing. For data streams, the API returns information about the stream’s backing indices. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the index recovery API.
diff --git a/docs/reference-cat-repositories.asciidoc b/docs/reference-cat-repositories.asciidoc
index ff2976a14..33b052ad8 100644
--- a/docs/reference-cat-repositories.asciidoc
+++ b/docs/reference-cat-repositories.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.cat.repositories]]
 === client.cat.repositories
 
 Returns the snapshot repositories for a cluster. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the get snapshot repository API.
diff --git a/docs/reference-cat-segments.asciidoc b/docs/reference-cat-segments.asciidoc
index 2e5cb5a6b..42ca4f72e 100644
--- a/docs/reference-cat-segments.asciidoc
+++ b/docs/reference-cat-segments.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.cat.segments]]
 === client.cat.segments
 
 Returns low-level information about the Lucene segments in index shards. For data streams, the API returns information about the backing indices. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the index segments API.
diff --git a/docs/reference-cat-shards.asciidoc b/docs/reference-cat-shards.asciidoc
index 136711c93..04fc1131e 100644
--- a/docs/reference-cat-shards.asciidoc
+++ b/docs/reference-cat-shards.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.cat.shards]]
 === client.cat.shards
 
 Returns information about the shards in a cluster. For data streams, the API returns information about the backing indices. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications.
diff --git a/docs/reference-cat-snapshots.asciidoc b/docs/reference-cat-snapshots.asciidoc
index 7985fcb93..4a3fd08a5 100644
--- a/docs/reference-cat-snapshots.asciidoc
+++ b/docs/reference-cat-snapshots.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.cat.snapshots]]
 === client.cat.snapshots
 
 Returns information about the snapshots stored in one or more repositories. A snapshot is a backup of an index or running Elasticsearch cluster. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the get snapshot API.
diff --git a/docs/reference-cat-tasks.asciidoc b/docs/reference-cat-tasks.asciidoc
index e48e0d631..d60e0717d 100644
--- a/docs/reference-cat-tasks.asciidoc
+++ b/docs/reference-cat-tasks.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.cat.tasks]]
 === client.cat.tasks
 
 Returns information about tasks currently executing in the cluster. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the task management API.
diff --git a/docs/reference-cat-templates.asciidoc b/docs/reference-cat-templates.asciidoc
index fe904ba52..5addb70df 100644
--- a/docs/reference-cat-templates.asciidoc
+++ b/docs/reference-cat-templates.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.cat.templates]]
 === client.cat.templates
 
 Returns information about index templates in a cluster. You can use index templates to apply index settings and field mappings to new indices at creation. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the get index template API.
diff --git a/docs/reference-cat-thread_pool.asciidoc b/docs/reference-cat-thread_pool.asciidoc
index 05b52d18f..3413d5bff 100644
--- a/docs/reference-cat-thread_pool.asciidoc
+++ b/docs/reference-cat-thread_pool.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.cat.threadPool]]
 === client.cat.threadPool
 
 Returns thread pool statistics for each node in a cluster. Returned information includes all built-in thread pools and custom thread pools. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the nodes info API.
diff --git a/docs/reference-cat-transforms.asciidoc b/docs/reference-cat-transforms.asciidoc
index f028ce03a..2955cf5f3 100644
--- a/docs/reference-cat-transforms.asciidoc
+++ b/docs/reference-cat-transforms.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.cat.transforms]]
 === client.cat.transforms
 
 Get transforms. Returns configuration and usage information about transforms. CAT APIs are only intended for human consumption using the Kibana console or command line. They are not intended for use by applications. For application consumption, use the get transform statistics API.
diff --git a/docs/reference-ccr-delete_auto_follow_pattern.asciidoc b/docs/reference-ccr-delete_auto_follow_pattern.asciidoc
index d731d4370..08a670b6a 100644
--- a/docs/reference-ccr-delete_auto_follow_pattern.asciidoc
+++ b/docs/reference-ccr-delete_auto_follow_pattern.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ccr.deleteAutoFollowPattern]]
 === client.ccr.deleteAutoFollowPattern
 
 Deletes auto-follow patterns.
diff --git a/docs/reference-ccr-follow.asciidoc b/docs/reference-ccr-follow.asciidoc
index 69c88c66d..a3d8b89f5 100644
--- a/docs/reference-ccr-follow.asciidoc
+++ b/docs/reference-ccr-follow.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ccr.follow]]
 === client.ccr.follow
 
 Creates a new follower index configured to follow the referenced leader index.
diff --git a/docs/reference-ccr-follow_info.asciidoc b/docs/reference-ccr-follow_info.asciidoc
index deb0abe54..7806b9d1b 100644
--- a/docs/reference-ccr-follow_info.asciidoc
+++ b/docs/reference-ccr-follow_info.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ccr.followInfo]]
 === client.ccr.followInfo
 
 Retrieves information about all follower indices, including parameters and status for each follower index
diff --git a/docs/reference-ccr-follow_stats.asciidoc b/docs/reference-ccr-follow_stats.asciidoc
index 42bd0ce29..41f5e9cf9 100644
--- a/docs/reference-ccr-follow_stats.asciidoc
+++ b/docs/reference-ccr-follow_stats.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ccr.followStats]]
 === client.ccr.followStats
 
 Retrieves follower stats. return shard-level stats about the following tasks associated with each shard for the specified indices.
diff --git a/docs/reference-ccr-forget_follower.asciidoc b/docs/reference-ccr-forget_follower.asciidoc
index ac89c0d72..7319f37e9 100644
--- a/docs/reference-ccr-forget_follower.asciidoc
+++ b/docs/reference-ccr-forget_follower.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ccr.forgetFollower]]
 === client.ccr.forgetFollower
 
 Removes the follower retention leases from the leader.
diff --git a/docs/reference-ccr-get_auto_follow_pattern.asciidoc b/docs/reference-ccr-get_auto_follow_pattern.asciidoc
index 6a4df8812..1e3ef8d00 100644
--- a/docs/reference-ccr-get_auto_follow_pattern.asciidoc
+++ b/docs/reference-ccr-get_auto_follow_pattern.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ccr.getAutoFollowPattern]]
 === client.ccr.getAutoFollowPattern
 
 Gets configured auto-follow patterns. Returns the specified auto-follow pattern collection.
diff --git a/docs/reference-ccr-pause_auto_follow_pattern.asciidoc b/docs/reference-ccr-pause_auto_follow_pattern.asciidoc
index e11277ee4..4d5e13f38 100644
--- a/docs/reference-ccr-pause_auto_follow_pattern.asciidoc
+++ b/docs/reference-ccr-pause_auto_follow_pattern.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ccr.pauseAutoFollowPattern]]
 === client.ccr.pauseAutoFollowPattern
 
 Pauses an auto-follow pattern
diff --git a/docs/reference-ccr-pause_follow.asciidoc b/docs/reference-ccr-pause_follow.asciidoc
index 64f8155a0..03d16fdb7 100644
--- a/docs/reference-ccr-pause_follow.asciidoc
+++ b/docs/reference-ccr-pause_follow.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ccr.pauseFollow]]
 === client.ccr.pauseFollow
 
 Pauses a follower index. The follower index will not fetch any additional operations from the leader index.
diff --git a/docs/reference-ccr-put_auto_follow_pattern.asciidoc b/docs/reference-ccr-put_auto_follow_pattern.asciidoc
index 704fd5d95..000a6755e 100644
--- a/docs/reference-ccr-put_auto_follow_pattern.asciidoc
+++ b/docs/reference-ccr-put_auto_follow_pattern.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ccr.putAutoFollowPattern]]
 === client.ccr.putAutoFollowPattern
 
 Creates a new named collection of auto-follow patterns against a specified remote cluster. Newly created indices on the remote cluster matching any of the specified patterns will be automatically configured as follower indices.
diff --git a/docs/reference-ccr-resume_auto_follow_pattern.asciidoc b/docs/reference-ccr-resume_auto_follow_pattern.asciidoc
index 824758d70..6ab101630 100644
--- a/docs/reference-ccr-resume_auto_follow_pattern.asciidoc
+++ b/docs/reference-ccr-resume_auto_follow_pattern.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ccr.resumeAutoFollowPattern]]
 === client.ccr.resumeAutoFollowPattern
 
 Resumes an auto-follow pattern that has been paused
diff --git a/docs/reference-ccr-resume_follow.asciidoc b/docs/reference-ccr-resume_follow.asciidoc
index 8c0ba6777..393b33ee7 100644
--- a/docs/reference-ccr-resume_follow.asciidoc
+++ b/docs/reference-ccr-resume_follow.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ccr.resumeFollow]]
 === client.ccr.resumeFollow
 
 Resumes a follower index that has been paused
diff --git a/docs/reference-ccr-stats.asciidoc b/docs/reference-ccr-stats.asciidoc
index cc8b9f128..7fef1d21d 100644
--- a/docs/reference-ccr-stats.asciidoc
+++ b/docs/reference-ccr-stats.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ccr.stats]]
 === client.ccr.stats
 
 Gets all stats related to cross-cluster replication.
diff --git a/docs/reference-ccr-unfollow.asciidoc b/docs/reference-ccr-unfollow.asciidoc
index bc792e2c5..97885b443 100644
--- a/docs/reference-ccr-unfollow.asciidoc
+++ b/docs/reference-ccr-unfollow.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ccr.unfollow]]
 === client.ccr.unfollow
 
 Stops the following task associated with a follower index and removes index metadata and settings associated with cross-cluster replication.
diff --git a/docs/reference-clear_scroll.asciidoc b/docs/reference-clear_scroll.asciidoc
index 34690b2b1..f773cb8a0 100644
--- a/docs/reference-clear_scroll.asciidoc
+++ b/docs/reference-clear_scroll.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.clearScroll]]
 === client.clearScroll
 
 Clear a scrolling search. Clear the search context and results for a scrolling search.
diff --git a/docs/reference-close_point_in_time.asciidoc b/docs/reference-close_point_in_time.asciidoc
index e68c2ac27..34c5e382f 100644
--- a/docs/reference-close_point_in_time.asciidoc
+++ b/docs/reference-close_point_in_time.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.closePointInTime]]
 === client.closePointInTime
 
 Close a point in time. A point in time must be opened explicitly before being used in search requests. The `keep_alive` parameter tells Elasticsearch how long it should persist. A point in time is automatically closed when the `keep_alive` period has elapsed. However, keeping points in time has a cost; close them as soon as they are no longer required for search requests.
diff --git a/docs/reference-cluster-allocation_explain.asciidoc b/docs/reference-cluster-allocation_explain.asciidoc
index 3275b27e1..d6a786426 100644
--- a/docs/reference-cluster-allocation_explain.asciidoc
+++ b/docs/reference-cluster-allocation_explain.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.cluster.allocationExplain]]
 === client.cluster.allocationExplain
 
 Provides explanations for shard allocations in the cluster.
diff --git a/docs/reference-cluster-delete_component_template.asciidoc b/docs/reference-cluster-delete_component_template.asciidoc
index f5dc519de..5f9e1be39 100644
--- a/docs/reference-cluster-delete_component_template.asciidoc
+++ b/docs/reference-cluster-delete_component_template.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.cluster.deleteComponentTemplate]]
 === client.cluster.deleteComponentTemplate
 
 Delete component templates. Deletes component templates. Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.
diff --git a/docs/reference-cluster-delete_voting_config_exclusions.asciidoc b/docs/reference-cluster-delete_voting_config_exclusions.asciidoc
index 4642bdd0c..6c6e7c624 100644
--- a/docs/reference-cluster-delete_voting_config_exclusions.asciidoc
+++ b/docs/reference-cluster-delete_voting_config_exclusions.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.cluster.deleteVotingConfigExclusions]]
 === client.cluster.deleteVotingConfigExclusions
 
 Clears cluster voting config exclusions.
diff --git a/docs/reference-cluster-exists_component_template.asciidoc b/docs/reference-cluster-exists_component_template.asciidoc
index b1d1e8635..49c62646e 100644
--- a/docs/reference-cluster-exists_component_template.asciidoc
+++ b/docs/reference-cluster-exists_component_template.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.cluster.existsComponentTemplate]]
 === client.cluster.existsComponentTemplate
 
 Check component templates. Returns information about whether a particular component template exists.
diff --git a/docs/reference-cluster-get_component_template.asciidoc b/docs/reference-cluster-get_component_template.asciidoc
index d7267ff04..0e4881d4c 100644
--- a/docs/reference-cluster-get_component_template.asciidoc
+++ b/docs/reference-cluster-get_component_template.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.cluster.getComponentTemplate]]
 === client.cluster.getComponentTemplate
 
 Get component templates. Retrieves information about component templates.
diff --git a/docs/reference-cluster-get_settings.asciidoc b/docs/reference-cluster-get_settings.asciidoc
index ec6dd701b..dce99ce0f 100644
--- a/docs/reference-cluster-get_settings.asciidoc
+++ b/docs/reference-cluster-get_settings.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.cluster.getSettings]]
 === client.cluster.getSettings
 
 Returns cluster-wide settings. By default, it returns only settings that have been explicitly defined.
diff --git a/docs/reference-cluster-health.asciidoc b/docs/reference-cluster-health.asciidoc
index 711b71c02..c51ae5b94 100644
--- a/docs/reference-cluster-health.asciidoc
+++ b/docs/reference-cluster-health.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.cluster.health]]
 === client.cluster.health
 
 The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices. The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status.
diff --git a/docs/reference-cluster-info.asciidoc b/docs/reference-cluster-info.asciidoc
index b5ff01496..cb752a0ac 100644
--- a/docs/reference-cluster-info.asciidoc
+++ b/docs/reference-cluster-info.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.cluster.info]]
 === client.cluster.info
 
 Get cluster info. Returns basic information about the cluster.
diff --git a/docs/reference-cluster-pending_tasks.asciidoc b/docs/reference-cluster-pending_tasks.asciidoc
index 6baf37f69..c06a6a744 100644
--- a/docs/reference-cluster-pending_tasks.asciidoc
+++ b/docs/reference-cluster-pending_tasks.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.cluster.pendingTasks]]
 === client.cluster.pendingTasks
 
 Returns cluster-level changes (such as create index, update mapping, allocate or fail shard) that have not yet been executed. NOTE: This API returns a list of any pending updates to the cluster state. These are distinct from the tasks reported by the Task Management API which include periodic tasks and tasks initiated by the user, such as node stats, search queries, or create index requests. However, if a user-initiated task such as a create index command causes a cluster state update, the activity of this task might be reported by both task api and pending cluster tasks API.
diff --git a/docs/reference-cluster-post_voting_config_exclusions.asciidoc b/docs/reference-cluster-post_voting_config_exclusions.asciidoc
index 67816ac1e..03a146746 100644
--- a/docs/reference-cluster-post_voting_config_exclusions.asciidoc
+++ b/docs/reference-cluster-post_voting_config_exclusions.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.cluster.postVotingConfigExclusions]]
 === client.cluster.postVotingConfigExclusions
 
 Updates the cluster voting config exclusions by node ids or node names.
diff --git a/docs/reference-cluster-put_component_template.asciidoc b/docs/reference-cluster-put_component_template.asciidoc
index e591b7a83..dad0684ae 100644
--- a/docs/reference-cluster-put_component_template.asciidoc
+++ b/docs/reference-cluster-put_component_template.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.cluster.putComponentTemplate]]
 === client.cluster.putComponentTemplate
 
 Create or update a component template. Creates or updates a component template. Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases. An index template can be composed of multiple component templates. To use a component template, specify it in an index template’s `composed_of` list. Component templates are only applied to new data streams and indices as part of a matching index template. Settings and mappings specified directly in the index template or the create index request override any settings or mappings specified in a component template. Component templates are only used during index creation. For data streams, this includes data stream creation and the creation of a stream’s backing indices. Changes to component templates do not affect existing indices, including a stream’s backing indices. You can use C-style `/* *\/` block comments in component templates. You can include comments anywhere in the request body except before the opening curly bracket.
diff --git a/docs/reference-cluster-put_settings.asciidoc b/docs/reference-cluster-put_settings.asciidoc
index f180c979f..fe837b409 100644
--- a/docs/reference-cluster-put_settings.asciidoc
+++ b/docs/reference-cluster-put_settings.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.cluster.putSettings]]
 === client.cluster.putSettings
 
 Updates the cluster settings.
diff --git a/docs/reference-cluster-remote_info.asciidoc b/docs/reference-cluster-remote_info.asciidoc
index 003f5914b..ac270a74f 100644
--- a/docs/reference-cluster-remote_info.asciidoc
+++ b/docs/reference-cluster-remote_info.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.cluster.remoteInfo]]
 === client.cluster.remoteInfo
 
 The cluster remote info API allows you to retrieve all of the configured remote cluster information. It returns connection and endpoint information keyed by the configured remote cluster alias.
diff --git a/docs/reference-cluster-reroute.asciidoc b/docs/reference-cluster-reroute.asciidoc
index d88f3abea..31360aabd 100644
--- a/docs/reference-cluster-reroute.asciidoc
+++ b/docs/reference-cluster-reroute.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.cluster.reroute]]
 === client.cluster.reroute
 
 Allows to manually change the allocation of individual shards in the cluster.
diff --git a/docs/reference-cluster-state.asciidoc b/docs/reference-cluster-state.asciidoc
index 2cd8d43e4..8c771eac1 100644
--- a/docs/reference-cluster-state.asciidoc
+++ b/docs/reference-cluster-state.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.cluster.state]]
 === client.cluster.state
 
 Returns a comprehensive information about the state of the cluster.
diff --git a/docs/reference-cluster-stats.asciidoc b/docs/reference-cluster-stats.asciidoc
index 7d0641d8a..4b8b53b93 100644
--- a/docs/reference-cluster-stats.asciidoc
+++ b/docs/reference-cluster-stats.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.cluster.stats]]
 === client.cluster.stats
 
 Returns cluster statistics. It returns basic index metrics (shard numbers, store size, memory usage) and information about the current nodes that form the cluster (number, roles, os, jvm versions, memory usage, cpu and installed plugins).
diff --git a/docs/reference-connector-check_in.asciidoc b/docs/reference-connector-check_in.asciidoc
index 30a8f2c84..9d85e65fc 100644
--- a/docs/reference-connector-check_in.asciidoc
+++ b/docs/reference-connector-check_in.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.connector.checkIn]]
 === client.connector.checkIn
 
 Check in a connector. Update the `last_seen` field in the connector and set it to the current timestamp.
diff --git a/docs/reference-connector-delete.asciidoc b/docs/reference-connector-delete.asciidoc
index 001e972fe..0a5157e4e 100644
--- a/docs/reference-connector-delete.asciidoc
+++ b/docs/reference-connector-delete.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.connector.delete]]
 === client.connector.delete
 
 Delete a connector. Removes a connector and associated sync jobs. This is a destructive action that is not recoverable. NOTE: This action doesn’t delete any API keys, ingest pipelines, or data indices associated with the connector. These need to be removed manually.
diff --git a/docs/reference-connector-get.asciidoc b/docs/reference-connector-get.asciidoc
index 60d77f782..794fcffdb 100644
--- a/docs/reference-connector-get.asciidoc
+++ b/docs/reference-connector-get.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.connector.get]]
 === client.connector.get
 
 Get a connector. Get the details about a connector.
diff --git a/docs/reference-connector-list.asciidoc b/docs/reference-connector-list.asciidoc
index 422eedc24..ac1867cfc 100644
--- a/docs/reference-connector-list.asciidoc
+++ b/docs/reference-connector-list.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.connector.list]]
 === client.connector.list
 
 Get all connectors. Get information about all connectors.
diff --git a/docs/reference-connector-post.asciidoc b/docs/reference-connector-post.asciidoc
index 818131b1c..16759492b 100644
--- a/docs/reference-connector-post.asciidoc
+++ b/docs/reference-connector-post.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.connector.post]]
 === client.connector.post
 
 Create a connector. Connectors are Elasticsearch integrations that bring content from third-party data sources, which can be deployed on Elastic Cloud or hosted on your own infrastructure. Elastic managed connectors (Native connectors) are a managed service on Elastic Cloud. Self-managed connectors (Connector clients) are self-managed on your infrastructure.
diff --git a/docs/reference-connector-put.asciidoc b/docs/reference-connector-put.asciidoc
index 4df06d749..796de1cfd 100644
--- a/docs/reference-connector-put.asciidoc
+++ b/docs/reference-connector-put.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.connector.put]]
 === client.connector.put
 
 Create or update a connector.
diff --git a/docs/reference-connector-sync_job_cancel.asciidoc b/docs/reference-connector-sync_job_cancel.asciidoc
index fb181004f..a96b77813 100644
--- a/docs/reference-connector-sync_job_cancel.asciidoc
+++ b/docs/reference-connector-sync_job_cancel.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.connector.syncJobCancel]]
 === client.connector.syncJobCancel
 
 Cancel a connector sync job. Cancel a connector sync job, which sets the status to cancelling and updates `cancellation_requested_at` to the current time. The connector service is then responsible for setting the status of connector sync jobs to cancelled.
diff --git a/docs/reference-connector-sync_job_check_in.asciidoc b/docs/reference-connector-sync_job_check_in.asciidoc
index 12d90ae3d..859da1ace 100644
--- a/docs/reference-connector-sync_job_check_in.asciidoc
+++ b/docs/reference-connector-sync_job_check_in.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.connector.syncJobCheckIn]]
 === client.connector.syncJobCheckIn
 
 Checks in a connector sync job (refreshes 'last_seen').
diff --git a/docs/reference-connector-sync_job_claim.asciidoc b/docs/reference-connector-sync_job_claim.asciidoc
index da5254b69..47ebc106c 100644
--- a/docs/reference-connector-sync_job_claim.asciidoc
+++ b/docs/reference-connector-sync_job_claim.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.connector.syncJobClaim]]
 === client.connector.syncJobClaim
 
 Claims a connector sync job.
diff --git a/docs/reference-connector-sync_job_delete.asciidoc b/docs/reference-connector-sync_job_delete.asciidoc
index ada8ef8fe..c56c422f1 100644
--- a/docs/reference-connector-sync_job_delete.asciidoc
+++ b/docs/reference-connector-sync_job_delete.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.connector.syncJobDelete]]
 === client.connector.syncJobDelete
 
 Delete a connector sync job. Remove a connector sync job and its associated data. This is a destructive action that is not recoverable.
diff --git a/docs/reference-connector-sync_job_error.asciidoc b/docs/reference-connector-sync_job_error.asciidoc
index ec4dfab70..f1dfd5d88 100644
--- a/docs/reference-connector-sync_job_error.asciidoc
+++ b/docs/reference-connector-sync_job_error.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.connector.syncJobError]]
 === client.connector.syncJobError
 
 Sets an error for a connector sync job.
diff --git a/docs/reference-connector-sync_job_get.asciidoc b/docs/reference-connector-sync_job_get.asciidoc
index 9e13fd60c..6f1f4ddbb 100644
--- a/docs/reference-connector-sync_job_get.asciidoc
+++ b/docs/reference-connector-sync_job_get.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.connector.syncJobGet]]
 === client.connector.syncJobGet
 
 Get a connector sync job.
diff --git a/docs/reference-connector-sync_job_list.asciidoc b/docs/reference-connector-sync_job_list.asciidoc
index da0d9cf24..c5eb0d1a7 100644
--- a/docs/reference-connector-sync_job_list.asciidoc
+++ b/docs/reference-connector-sync_job_list.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.connector.syncJobList]]
 === client.connector.syncJobList
 
 Get all connector sync jobs. Get information about all stored connector sync jobs listed by their creation date in ascending order.
diff --git a/docs/reference-connector-sync_job_post.asciidoc b/docs/reference-connector-sync_job_post.asciidoc
index d8daa9ff5..3fdd5d9cb 100644
--- a/docs/reference-connector-sync_job_post.asciidoc
+++ b/docs/reference-connector-sync_job_post.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.connector.syncJobPost]]
 === client.connector.syncJobPost
 
 Create a connector sync job. Create a connector sync job document in the internal index and initialize its counters and timestamps with default values.
diff --git a/docs/reference-connector-sync_job_update_stats.asciidoc b/docs/reference-connector-sync_job_update_stats.asciidoc
index 240b4d28b..839978686 100644
--- a/docs/reference-connector-sync_job_update_stats.asciidoc
+++ b/docs/reference-connector-sync_job_update_stats.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.connector.syncJobUpdateStats]]
 === client.connector.syncJobUpdateStats
 
 Updates the stats fields in the connector sync job document.
diff --git a/docs/reference-connector-update_active_filtering.asciidoc b/docs/reference-connector-update_active_filtering.asciidoc
index 0096fa7a5..910dcbbd3 100644
--- a/docs/reference-connector-update_active_filtering.asciidoc
+++ b/docs/reference-connector-update_active_filtering.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.connector.updateActiveFiltering]]
 === client.connector.updateActiveFiltering
 
 Activate the connector draft filter. Activates the valid draft filtering for a connector.
diff --git a/docs/reference-connector-update_api_key_id.asciidoc b/docs/reference-connector-update_api_key_id.asciidoc
index 88c979af5..bc15c82d8 100644
--- a/docs/reference-connector-update_api_key_id.asciidoc
+++ b/docs/reference-connector-update_api_key_id.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.connector.updateApiKeyId]]
 === client.connector.updateApiKeyId
 
 Update the connector API key ID. Update the `api_key_id` and `api_key_secret_id` fields of a connector. You can specify the ID of the API key used for authorization and the ID of the connector secret where the API key is stored. The connector secret ID is required only for Elastic managed (native) connectors. Self-managed connectors (connector clients) do not use this field.
diff --git a/docs/reference-connector-update_configuration.asciidoc b/docs/reference-connector-update_configuration.asciidoc
index 9be03856b..a64b08167 100644
--- a/docs/reference-connector-update_configuration.asciidoc
+++ b/docs/reference-connector-update_configuration.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.connector.updateConfiguration]]
 === client.connector.updateConfiguration
 
 Update the connector configuration. Update the configuration field in the connector document.
diff --git a/docs/reference-connector-update_error.asciidoc b/docs/reference-connector-update_error.asciidoc
index a9925efb8..8f41aa3cf 100644
--- a/docs/reference-connector-update_error.asciidoc
+++ b/docs/reference-connector-update_error.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.connector.updateError]]
 === client.connector.updateError
 
 Update the connector error field. Set the error field for the connector. If the error provided in the request body is non-null, the connector’s status is updated to error. Otherwise, if the error is reset to null, the connector status is updated to connected.
diff --git a/docs/reference-connector-update_features.asciidoc b/docs/reference-connector-update_features.asciidoc
index 5b2ebd7d3..fb30ead4d 100644
--- a/docs/reference-connector-update_features.asciidoc
+++ b/docs/reference-connector-update_features.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.connector.updateFeatures]]
 === client.connector.updateFeatures
 
 Updates the connector features in the connector document.
diff --git a/docs/reference-connector-update_filtering.asciidoc b/docs/reference-connector-update_filtering.asciidoc
index 503f3c407..5c61fd5ae 100644
--- a/docs/reference-connector-update_filtering.asciidoc
+++ b/docs/reference-connector-update_filtering.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.connector.updateFiltering]]
 === client.connector.updateFiltering
 
 Update the connector filtering. Update the draft filtering configuration of a connector and marks the draft validation state as edited. The filtering draft is activated once validated by the running Elastic connector service. The filtering property is used to configure sync rules (both basic and advanced) for a connector.
diff --git a/docs/reference-connector-update_filtering_validation.asciidoc b/docs/reference-connector-update_filtering_validation.asciidoc
index 5293f90dc..54bf3a4c6 100644
--- a/docs/reference-connector-update_filtering_validation.asciidoc
+++ b/docs/reference-connector-update_filtering_validation.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.connector.updateFilteringValidation]]
 === client.connector.updateFilteringValidation
 
 Update the connector draft filtering validation. Update the draft filtering validation info for a connector.
diff --git a/docs/reference-connector-update_index_name.asciidoc b/docs/reference-connector-update_index_name.asciidoc
index bc1f742d3..fb6ca8a2d 100644
--- a/docs/reference-connector-update_index_name.asciidoc
+++ b/docs/reference-connector-update_index_name.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.connector.updateIndexName]]
 === client.connector.updateIndexName
 
 Update the connector index name. Update the `index_name` field of a connector, specifying the index where the data ingested by the connector is stored.
diff --git a/docs/reference-connector-update_name.asciidoc b/docs/reference-connector-update_name.asciidoc
index 5f8162eed..c01bb582c 100644
--- a/docs/reference-connector-update_name.asciidoc
+++ b/docs/reference-connector-update_name.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.connector.updateName]]
 === client.connector.updateName
 
 Update the connector name and description.
diff --git a/docs/reference-connector-update_native.asciidoc b/docs/reference-connector-update_native.asciidoc
index ca12d017e..c4e12b557 100644
--- a/docs/reference-connector-update_native.asciidoc
+++ b/docs/reference-connector-update_native.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.connector.updateNative]]
 === client.connector.updateNative
 
 Update the connector is_native flag.
diff --git a/docs/reference-connector-update_pipeline.asciidoc b/docs/reference-connector-update_pipeline.asciidoc
index f002769b4..e23deee56 100644
--- a/docs/reference-connector-update_pipeline.asciidoc
+++ b/docs/reference-connector-update_pipeline.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.connector.updatePipeline]]
 === client.connector.updatePipeline
 
 Update the connector pipeline. When you create a new connector, the configuration of an ingest pipeline is populated with default settings.
diff --git a/docs/reference-connector-update_scheduling.asciidoc b/docs/reference-connector-update_scheduling.asciidoc
index ebbd99e48..334f6c45d 100644
--- a/docs/reference-connector-update_scheduling.asciidoc
+++ b/docs/reference-connector-update_scheduling.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.connector.updateScheduling]]
 === client.connector.updateScheduling
 
 Update the connector scheduling.
diff --git a/docs/reference-connector-update_service_type.asciidoc b/docs/reference-connector-update_service_type.asciidoc
index 1199530a3..a5074930f 100644
--- a/docs/reference-connector-update_service_type.asciidoc
+++ b/docs/reference-connector-update_service_type.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.connector.updateServiceType]]
 === client.connector.updateServiceType
 
 Update the connector service type.
diff --git a/docs/reference-connector-update_status.asciidoc b/docs/reference-connector-update_status.asciidoc
index 081615760..9c451adb6 100644
--- a/docs/reference-connector-update_status.asciidoc
+++ b/docs/reference-connector-update_status.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.connector.updateStatus]]
 === client.connector.updateStatus
 
 Update the connector status.
diff --git a/docs/reference-count.asciidoc b/docs/reference-count.asciidoc
index ffe94c416..d4cb4cffc 100644
--- a/docs/reference-count.asciidoc
+++ b/docs/reference-count.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.count]]
 === client.count
 
 Returns number of documents matching a query.
@@ -52,7 +53,7 @@ interface CountRequest extends <> {
   allow_no_indices?: boolean
   analyzer?: string
   analyze_wildcard?: boolean
-  default_operator?: QueryDslOperator
+  default_operator?: <>
   df?: string
   expand_wildcards?: <>
   ignore_throttled?: boolean
@@ -63,7 +64,7 @@ interface CountRequest extends <> {
   routing?: <>
   terminate_after?: <<_long, long>>
   q?: string
-  query?: QueryDslQueryContainer
+  query?: <>
 }
 
 [pass]
diff --git a/docs/reference-create.asciidoc b/docs/reference-create.asciidoc
index 62391a732..f889c16c4 100644
--- a/docs/reference-create.asciidoc
+++ b/docs/reference-create.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.create]]
 === client.create
 
 Index a document. Adds a JSON document to the specified data stream or index and makes it searchable. If the target is an index and the document already exists, the request updates the document and increments its version.
diff --git a/docs/reference-dangling_indices-delete_dangling_index.asciidoc b/docs/reference-dangling_indices-delete_dangling_index.asciidoc
index a8b5d8c01..3fd2083d5 100644
--- a/docs/reference-dangling_indices-delete_dangling_index.asciidoc
+++ b/docs/reference-dangling_indices-delete_dangling_index.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.danglingIndices.deleteDanglingIndex]]
 === client.danglingIndices.deleteDanglingIndex
 
 Delete a dangling index. If Elasticsearch encounters index data that is absent from the current cluster state, those indices are considered to be dangling. For example, this can happen if you delete more than `cluster.indices.tombstones.size` indices while an Elasticsearch node is offline.
diff --git a/docs/reference-dangling_indices-import_dangling_index.asciidoc b/docs/reference-dangling_indices-import_dangling_index.asciidoc
index 7105559af..90b693c49 100644
--- a/docs/reference-dangling_indices-import_dangling_index.asciidoc
+++ b/docs/reference-dangling_indices-import_dangling_index.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.danglingIndices.importDanglingIndex]]
 === client.danglingIndices.importDanglingIndex
 
 Import a dangling index. If Elasticsearch encounters index data that is absent from the current cluster state, those indices are considered to be dangling. For example, this can happen if you delete more than `cluster.indices.tombstones.size` indices while an Elasticsearch node is offline.
diff --git a/docs/reference-dangling_indices-list_dangling_indices.asciidoc b/docs/reference-dangling_indices-list_dangling_indices.asciidoc
index cd1a58a0e..b14064c22 100644
--- a/docs/reference-dangling_indices-list_dangling_indices.asciidoc
+++ b/docs/reference-dangling_indices-list_dangling_indices.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.danglingIndices.listDanglingIndices]]
 === client.danglingIndices.listDanglingIndices
 
 Get the dangling indices. If Elasticsearch encounters index data that is absent from the current cluster state, those indices are considered to be dangling. For example, this can happen if you delete more than `cluster.indices.tombstones.size` indices while an Elasticsearch node is offline. Use this API to list dangling indices, which you can then import or delete.
diff --git a/docs/reference-delete.asciidoc b/docs/reference-delete.asciidoc
index f9755283b..83b8bf8e4 100644
--- a/docs/reference-delete.asciidoc
+++ b/docs/reference-delete.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.delete]]
 === client.delete
 
 Delete a document. Removes a JSON document from the specified index.
diff --git a/docs/reference-delete_by_query.asciidoc b/docs/reference-delete_by_query.asciidoc
index d8b4e1af2..b0661e6ce 100644
--- a/docs/reference-delete_by_query.asciidoc
+++ b/docs/reference-delete_by_query.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.deleteByQuery]]
 === client.deleteByQuery
 
 Delete documents. Deletes documents that match the specified query.
@@ -53,7 +54,7 @@ interface DeleteByQueryRequest extends <> {
   analyzer?: string
   analyze_wildcard?: boolean
   conflicts?: <>
-  default_operator?: QueryDslOperator
+  default_operator?: <>
   df?: string
   expand_wildcards?: <>
   from?: <<_long, long>>
@@ -78,7 +79,7 @@ interface DeleteByQueryRequest extends <> {
   wait_for_active_shards?: <>
   wait_for_completion?: boolean
   max_docs?: <<_long, long>>
-  query?: QueryDslQueryContainer
+  query?: <>
   slice?: <>
 }
 
diff --git a/docs/reference-delete_by_query_rethrottle.asciidoc b/docs/reference-delete_by_query_rethrottle.asciidoc
index 4180ac98a..49a03d5e6 100644
--- a/docs/reference-delete_by_query_rethrottle.asciidoc
+++ b/docs/reference-delete_by_query_rethrottle.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.deleteByQueryRethrottle]]
 === client.deleteByQueryRethrottle
 
 Throttle a delete by query operation. Change the number of requests per second for a particular delete by query operation. Rethrottling that speeds up the query takes effect immediately but rethrotting that slows down the query takes effect after completing the current batch to prevent scroll timeouts.
diff --git a/docs/reference-delete_script.asciidoc b/docs/reference-delete_script.asciidoc
index 402b0a667..e6b609c78 100644
--- a/docs/reference-delete_script.asciidoc
+++ b/docs/reference-delete_script.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.deleteScript]]
 === client.deleteScript
 
 Delete a script or search template. Deletes a stored script or search template.
diff --git a/docs/reference-enrich-delete_policy.asciidoc b/docs/reference-enrich-delete_policy.asciidoc
index a98722020..6f5579fee 100644
--- a/docs/reference-enrich-delete_policy.asciidoc
+++ b/docs/reference-enrich-delete_policy.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.enrich.deletePolicy]]
 === client.enrich.deletePolicy
 
 Delete an enrich policy. Deletes an existing enrich policy and its enrich index.
diff --git a/docs/reference-enrich-execute_policy.asciidoc b/docs/reference-enrich-execute_policy.asciidoc
index e57c982d4..aad92d722 100644
--- a/docs/reference-enrich-execute_policy.asciidoc
+++ b/docs/reference-enrich-execute_policy.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.enrich.executePolicy]]
 === client.enrich.executePolicy
 
 Creates the enrich index for an existing enrich policy.
diff --git a/docs/reference-enrich-get_policy.asciidoc b/docs/reference-enrich-get_policy.asciidoc
index fdee0179f..7f219558c 100644
--- a/docs/reference-enrich-get_policy.asciidoc
+++ b/docs/reference-enrich-get_policy.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.enrich.getPolicy]]
 === client.enrich.getPolicy
 
 Get an enrich policy. Returns information about an enrich policy.
diff --git a/docs/reference-enrich-put_policy.asciidoc b/docs/reference-enrich-put_policy.asciidoc
index 85d142f23..245c05aa6 100644
--- a/docs/reference-enrich-put_policy.asciidoc
+++ b/docs/reference-enrich-put_policy.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.enrich.putPolicy]]
 === client.enrich.putPolicy
 
 Create an enrich policy. Creates an enrich policy.
diff --git a/docs/reference-enrich-stats.asciidoc b/docs/reference-enrich-stats.asciidoc
index 803c9dfee..640e8c0d1 100644
--- a/docs/reference-enrich-stats.asciidoc
+++ b/docs/reference-enrich-stats.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.enrich.stats]]
 === client.enrich.stats
 
 Get enrich stats. Returns enrich coordinator statistics and information about enrich policies that are currently executing.
diff --git a/docs/reference-eql-delete.asciidoc b/docs/reference-eql-delete.asciidoc
index 3c1d22be3..5dd2b2e0f 100644
--- a/docs/reference-eql-delete.asciidoc
+++ b/docs/reference-eql-delete.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.eql.delete]]
 === client.eql.delete
 
 Deletes an async EQL search or a stored synchronous EQL search. The API also deletes results for the search.
diff --git a/docs/reference-eql-get.asciidoc b/docs/reference-eql-get.asciidoc
index 584a1399e..569752e39 100644
--- a/docs/reference-eql-get.asciidoc
+++ b/docs/reference-eql-get.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.eql.get]]
 === client.eql.get
 
 Returns the current status and available results for an async EQL search or a stored synchronous EQL search.
diff --git a/docs/reference-eql-get_status.asciidoc b/docs/reference-eql-get_status.asciidoc
index 73d0a2171..ccd2365a2 100644
--- a/docs/reference-eql-get_status.asciidoc
+++ b/docs/reference-eql-get_status.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.eql.getStatus]]
 === client.eql.getStatus
 
 Returns the current status for an async EQL search or a stored synchronous EQL search without returning results.
diff --git a/docs/reference-eql-search.asciidoc b/docs/reference-eql-search.asciidoc
index 8f1afefdc..16a1331dc 100644
--- a/docs/reference-eql-search.asciidoc
+++ b/docs/reference-eql-search.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.eql.search]]
 === client.eql.search
 
 Returns results matching a query expressed in Event Query Language (EQL)
@@ -58,14 +59,14 @@ interface EqlSearchRequest extends <> {
   tiebreaker_field?: <>
   timestamp_field?: <>
   fetch_size?: <<_uint, uint>>
-  filter?: QueryDslQueryContainer | QueryDslQueryContainer[]
+  filter?: <> | <>[]
   keep_alive?: <>
   keep_on_completion?: boolean
   wait_for_completion_timeout?: <>
   size?: <<_uint, uint>>
-  fields?: QueryDslFieldAndFormat | <> | (QueryDslFieldAndFormat | <>)[]
+  fields?: <> | <> | (<> | <>)[]
   result_position?: EqlSearchResultPosition
-  runtime_mappings?: MappingRuntimeFields
+  runtime_mappings?: <>
 }
 
 [pass]
diff --git a/docs/reference-esql-async_query.asciidoc b/docs/reference-esql-async_query.asciidoc
index 46b545f08..c113a7555 100644
--- a/docs/reference-esql-async_query.asciidoc
+++ b/docs/reference-esql-async_query.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.esql.asyncQuery]]
 === client.esql.asyncQuery
 
 Executes an ESQL request asynchronously
diff --git a/docs/reference-esql-async_query_get.asciidoc b/docs/reference-esql-async_query_get.asciidoc
index f82ac29db..0df148737 100644
--- a/docs/reference-esql-async_query_get.asciidoc
+++ b/docs/reference-esql-async_query_get.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.esql.asyncQueryGet]]
 === client.esql.asyncQueryGet
 
 Retrieves the results of a previously submitted async query request given its ID.
diff --git a/docs/reference-esql-query.asciidoc b/docs/reference-esql-query.asciidoc
index d4ba970ea..ff13141cd 100644
--- a/docs/reference-esql-query.asciidoc
+++ b/docs/reference-esql-query.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.esql.query]]
 === client.esql.query
 
 Executes an ES|QL request
@@ -52,7 +53,7 @@ interface EsqlQueryRequest extends <> {
   delimiter?: string
   drop_null_columns?: boolean
   columnar?: boolean
-  filter?: QueryDslQueryContainer
+  filter?: <>
   locale?: string
   params?: <>[]
   profile?: boolean
diff --git a/docs/reference-exists.asciidoc b/docs/reference-exists.asciidoc
index 3a417be5e..4beafcf57 100644
--- a/docs/reference-exists.asciidoc
+++ b/docs/reference-exists.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.exists]]
 === client.exists
 
 Check a document. Checks if a specified document exists.
diff --git a/docs/reference-exists_source.asciidoc b/docs/reference-exists_source.asciidoc
index 7285ff38f..4c4f663f3 100644
--- a/docs/reference-exists_source.asciidoc
+++ b/docs/reference-exists_source.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.existsSource]]
 === client.existsSource
 
 Check for a document source. Checks if a document's `_source` is stored.
diff --git a/docs/reference-explain.asciidoc b/docs/reference-explain.asciidoc
index 193e9040c..2b06c6d39 100644
--- a/docs/reference-explain.asciidoc
+++ b/docs/reference-explain.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.explain]]
 === client.explain
 
 Explain a document match result. Returns information about why a specific document matches, or doesn’t match, a query.
@@ -52,7 +53,7 @@ interface ExplainRequest extends <> {
   index: <>
   analyzer?: string
   analyze_wildcard?: boolean
-  default_operator?: QueryDslOperator
+  default_operator?: <>
   df?: string
   lenient?: boolean
   preference?: string
@@ -62,7 +63,7 @@ interface ExplainRequest extends <> {
   _source_includes?: <>
   stored_fields?: <>
   q?: string
-  query?: QueryDslQueryContainer
+  query?: <>
 }
 
 [pass]
diff --git a/docs/reference-features-get_features.asciidoc b/docs/reference-features-get_features.asciidoc
index 1a691eb94..4b288694d 100644
--- a/docs/reference-features-get_features.asciidoc
+++ b/docs/reference-features-get_features.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.features.getFeatures]]
 === client.features.getFeatures
 
 Gets a list of features which can be included in snapshots using the feature_states field when creating a snapshot
diff --git a/docs/reference-features-reset_features.asciidoc b/docs/reference-features-reset_features.asciidoc
index cd7cf499a..d79fc05cd 100644
--- a/docs/reference-features-reset_features.asciidoc
+++ b/docs/reference-features-reset_features.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.features.resetFeatures]]
 === client.features.resetFeatures
 
 Resets the internal state of features, usually by deleting system indices
diff --git a/docs/reference-field_caps.asciidoc b/docs/reference-field_caps.asciidoc
index 6e354c51c..ea695fbd7 100644
--- a/docs/reference-field_caps.asciidoc
+++ b/docs/reference-field_caps.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.fieldCaps]]
 === client.fieldCaps
 
 Get the field capabilities. Get information about the capabilities of fields among multiple indices. For data streams, the API returns field capabilities among the stream’s backing indices. It returns runtime fields like any other field. For example, a runtime field with a type of keyword is returned the same as any other field that belongs to the `keyword` family.
@@ -57,8 +58,8 @@ interface FieldCapsRequest extends <> {
   types?: string[]
   include_empty_fields?: boolean
   fields?: <>
-  index_filter?: QueryDslQueryContainer
-  runtime_mappings?: MappingRuntimeFields
+  index_filter?: <>
+  runtime_mappings?: <>
 }
 
 [pass]
diff --git a/docs/reference-fleet-global_checkpoints.asciidoc b/docs/reference-fleet-global_checkpoints.asciidoc
index 3b8e1e6ca..efc6e2864 100644
--- a/docs/reference-fleet-global_checkpoints.asciidoc
+++ b/docs/reference-fleet-global_checkpoints.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.fleet.globalCheckpoints]]
 === client.fleet.globalCheckpoints
 
 Returns the current global checkpoints for an index. This API is design for internal use by the fleet server project.
diff --git a/docs/reference-fleet-msearch.asciidoc b/docs/reference-fleet-msearch.asciidoc
index 758750acb..e81d843cc 100644
--- a/docs/reference-fleet-msearch.asciidoc
+++ b/docs/reference-fleet-msearch.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.fleet.msearch]]
 === client.fleet.msearch
 
 Executes several [fleet searches](https://www.elastic.co/guide/en/elasticsearch/reference/current/fleet-search.html) with a single API request. The API follows the same structure as the [multi search](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html) API. However, similar to the fleet search API, it supports the wait_for_checkpoints parameter.
diff --git a/docs/reference-fleet-search.asciidoc b/docs/reference-fleet-search.asciidoc
index f9434e727..e4bec9aae 100644
--- a/docs/reference-fleet-search.asciidoc
+++ b/docs/reference-fleet-search.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.fleet.search]]
 === client.fleet.search
 
 The purpose of the fleet search api is to provide a search api where the search will only be executed after provided checkpoint has been processed and is visible for searches inside of Elasticsearch.
@@ -52,7 +53,7 @@ interface FleetSearchRequest extends <> {
   analyze_wildcard?: boolean
   batched_reduce_size?: <<_long, long>>
   ccs_minimize_roundtrips?: boolean
-  default_operator?: QueryDslOperator
+  default_operator?: <>
   df?: string
   expand_wildcards?: <>
   ignore_throttled?: boolean
@@ -77,9 +78,9 @@ interface FleetSearchRequest extends <> {
   q?: string
   wait_for_checkpoints?: FleetCheckpoint[]
   allow_partial_search_results?: boolean
-  aggregations?: Record
+  aggregations?: Record>>
   pass:[/**] @alias aggregations */
-  aggs?: Record
+  aggs?: Record>>
   collapse?: SearchFieldCollapse
   explain?: boolean
   ext?: Record
@@ -87,11 +88,11 @@ interface FleetSearchRequest extends <> {
   highlight?: SearchHighlight
   track_total_hits?: SearchTrackHits
   indices_boost?: Record<<>, <<_double, double>>>[]
-  docvalue_fields?: (QueryDslFieldAndFormat | <>)[]
+  docvalue_fields?: (<> | <>)[]
   min_score?: <<_double, double>>
-  post_filter?: QueryDslQueryContainer
+  post_filter?: <>
   profile?: boolean
-  query?: QueryDslQueryContainer
+  query?: <>
   rescore?: SearchRescore | SearchRescore[]
   script_fields?: Record>>
   search_after?: <>
@@ -99,7 +100,7 @@ interface FleetSearchRequest extends <> {
   slice?: <>
   sort?: <>
   _source?: SearchSourceConfig
-  fields?: (QueryDslFieldAndFormat | <>)[]
+  fields?: (<> | <>)[]
   suggest?: SearchSuggester
   terminate_after?: <<_long, long>>
   timeout?: string
@@ -108,7 +109,7 @@ interface FleetSearchRequest extends <> {
   seq_no_primary_term?: boolean
   stored_fields?: <>
   pit?: SearchPointInTimeReference
-  runtime_mappings?: MappingRuntimeFields
+  runtime_mappings?: <>
   stats?: string[]
 }
 
@@ -128,7 +129,7 @@ interface FleetSearchResponse {
   timed_out: boolean
   _shards: <>
   hits: SearchHitsMetadata
-  aggregations?: Record<<>, AggregationsAggregate>
+  aggregations?: Record<<>, <>>
   _clusters?: <>
   fields?: Record
   max_score?: <<_double, double>>
diff --git a/docs/reference-get.asciidoc b/docs/reference-get.asciidoc
index 46bff523c..1c18f2379 100644
--- a/docs/reference-get.asciidoc
+++ b/docs/reference-get.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.get]]
 === client.get
 
 Get a document by its ID. Retrieves the document with the specified ID from an index.
diff --git a/docs/reference-get_script.asciidoc b/docs/reference-get_script.asciidoc
index 8315d2486..c03435528 100644
--- a/docs/reference-get_script.asciidoc
+++ b/docs/reference-get_script.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.getScript]]
 === client.getScript
 
 Get a script or search template. Retrieves a stored script or search template.
diff --git a/docs/reference-get_script_context.asciidoc b/docs/reference-get_script_context.asciidoc
index 2893cda04..b7558e430 100644
--- a/docs/reference-get_script_context.asciidoc
+++ b/docs/reference-get_script_context.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.getScriptContext]]
 === client.getScriptContext
 
 Get script contexts. Get a list of supported script contexts and their methods.
diff --git a/docs/reference-get_script_languages.asciidoc b/docs/reference-get_script_languages.asciidoc
index e3743e586..dcf1d2913 100644
--- a/docs/reference-get_script_languages.asciidoc
+++ b/docs/reference-get_script_languages.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.getScriptLanguages]]
 === client.getScriptLanguages
 
 Get script languages. Get a list of available script types, languages, and contexts.
diff --git a/docs/reference-get_source.asciidoc b/docs/reference-get_source.asciidoc
index 37e2278b2..62dbf5b77 100644
--- a/docs/reference-get_source.asciidoc
+++ b/docs/reference-get_source.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.getSource]]
 === client.getSource
 
 Get a document's source. Returns the source of a document.
diff --git a/docs/reference-graph-explore.asciidoc b/docs/reference-graph-explore.asciidoc
index 07fc0029e..ec1e98387 100644
--- a/docs/reference-graph-explore.asciidoc
+++ b/docs/reference-graph-explore.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.graph.explore]]
 === client.graph.explore
 
 Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index.
@@ -53,7 +54,7 @@ interface GraphExploreRequest extends <> {
   timeout?: <>
   connections?: GraphHop
   controls?: GraphExploreControls
-  query?: QueryDslQueryContainer
+  query?: <>
   vertices?: GraphVertexDefinition[]
 }
 
diff --git a/docs/reference-health_report.asciidoc b/docs/reference-health_report.asciidoc
index f44685da1..41e26fcbf 100644
--- a/docs/reference-health_report.asciidoc
+++ b/docs/reference-health_report.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.healthReport]]
 === client.healthReport
 
 Returns the health of the cluster.
diff --git a/docs/reference-ilm-delete_lifecycle.asciidoc b/docs/reference-ilm-delete_lifecycle.asciidoc
index adc2f66e9..0cea0e350 100644
--- a/docs/reference-ilm-delete_lifecycle.asciidoc
+++ b/docs/reference-ilm-delete_lifecycle.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ilm.deleteLifecycle]]
 === client.ilm.deleteLifecycle
 
 Deletes the specified lifecycle policy definition. You cannot delete policies that are currently in use. If the policy is being used to manage any indices, the request fails and returns an error.
diff --git a/docs/reference-ilm-explain_lifecycle.asciidoc b/docs/reference-ilm-explain_lifecycle.asciidoc
index 5c1cb3dec..d731294ab 100644
--- a/docs/reference-ilm-explain_lifecycle.asciidoc
+++ b/docs/reference-ilm-explain_lifecycle.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ilm.explainLifecycle]]
 === client.ilm.explainLifecycle
 
 Retrieves information about the index’s current lifecycle state, such as the currently executing phase, action, and step. Shows when the index entered each one, the definition of the running phase, and information about any failures.
diff --git a/docs/reference-ilm-get_lifecycle.asciidoc b/docs/reference-ilm-get_lifecycle.asciidoc
index eb03b8254..0e2342ae4 100644
--- a/docs/reference-ilm-get_lifecycle.asciidoc
+++ b/docs/reference-ilm-get_lifecycle.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ilm.getLifecycle]]
 === client.ilm.getLifecycle
 
 Retrieves a lifecycle policy.
diff --git a/docs/reference-ilm-get_status.asciidoc b/docs/reference-ilm-get_status.asciidoc
index e5abfa74a..501bbecfe 100644
--- a/docs/reference-ilm-get_status.asciidoc
+++ b/docs/reference-ilm-get_status.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ilm.getStatus]]
 === client.ilm.getStatus
 
 Retrieves the current index lifecycle management (ILM) status.
diff --git a/docs/reference-ilm-migrate_to_data_tiers.asciidoc b/docs/reference-ilm-migrate_to_data_tiers.asciidoc
index 86247c8f8..f74443f93 100644
--- a/docs/reference-ilm-migrate_to_data_tiers.asciidoc
+++ b/docs/reference-ilm-migrate_to_data_tiers.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ilm.migrateToDataTiers]]
 === client.ilm.migrateToDataTiers
 
 Switches the indices, ILM policies, and legacy, composable and component templates from using custom node attributes and attribute-based allocation filters to using data tiers, and optionally deletes one legacy index template.+ Using node roles enables ILM to automatically move the indices between data tiers.
diff --git a/docs/reference-ilm-move_to_step.asciidoc b/docs/reference-ilm-move_to_step.asciidoc
index 354554711..6d7c96a29 100644
--- a/docs/reference-ilm-move_to_step.asciidoc
+++ b/docs/reference-ilm-move_to_step.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ilm.moveToStep]]
 === client.ilm.moveToStep
 
 Manually moves an index into the specified step and executes that step.
diff --git a/docs/reference-ilm-put_lifecycle.asciidoc b/docs/reference-ilm-put_lifecycle.asciidoc
index 393afdb8f..ecbdd7a90 100644
--- a/docs/reference-ilm-put_lifecycle.asciidoc
+++ b/docs/reference-ilm-put_lifecycle.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ilm.putLifecycle]]
 === client.ilm.putLifecycle
 
 Creates a lifecycle policy. If the specified policy exists, the policy is replaced and the policy version is incremented.
diff --git a/docs/reference-ilm-remove_policy.asciidoc b/docs/reference-ilm-remove_policy.asciidoc
index 982809242..7b52aead4 100644
--- a/docs/reference-ilm-remove_policy.asciidoc
+++ b/docs/reference-ilm-remove_policy.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ilm.removePolicy]]
 === client.ilm.removePolicy
 
 Removes the assigned lifecycle policy and stops managing the specified index
diff --git a/docs/reference-ilm-retry.asciidoc b/docs/reference-ilm-retry.asciidoc
index f3264ebf8..50c253f36 100644
--- a/docs/reference-ilm-retry.asciidoc
+++ b/docs/reference-ilm-retry.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ilm.retry]]
 === client.ilm.retry
 
 Retries executing the policy for an index that is in the ERROR step.
diff --git a/docs/reference-ilm-start.asciidoc b/docs/reference-ilm-start.asciidoc
index 5ee249276..c3786f17b 100644
--- a/docs/reference-ilm-start.asciidoc
+++ b/docs/reference-ilm-start.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ilm.start]]
 === client.ilm.start
 
 Start the index lifecycle management (ILM) plugin.
diff --git a/docs/reference-ilm-stop.asciidoc b/docs/reference-ilm-stop.asciidoc
index 68b1fd149..06467b2b6 100644
--- a/docs/reference-ilm-stop.asciidoc
+++ b/docs/reference-ilm-stop.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ilm.stop]]
 === client.ilm.stop
 
 Halts all lifecycle management operations and stops the index lifecycle management (ILM) plugin
diff --git a/docs/reference-index.asciidoc b/docs/reference-index.asciidoc
index 49a29904d..30a8bcdee 100644
--- a/docs/reference-index.asciidoc
+++ b/docs/reference-index.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.index]]
 === client.index
 
 Index a document. Adds a JSON document to the specified data stream or index and makes it searchable. If the target is an index and the document already exists, the request updates the document and increments its version.
diff --git a/docs/reference-indices-add_block.asciidoc b/docs/reference-indices-add_block.asciidoc
index 046865087..dbc8c34bc 100644
--- a/docs/reference-indices-add_block.asciidoc
+++ b/docs/reference-indices-add_block.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.indices.addBlock]]
 === client.indices.addBlock
 
 Add an index block. Limits the operations allowed on an index by blocking specific operation types.
diff --git a/docs/reference-indices-analyze.asciidoc b/docs/reference-indices-analyze.asciidoc
index 5323b1d31..55aee17f2 100644
--- a/docs/reference-indices-analyze.asciidoc
+++ b/docs/reference-indices-analyze.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.indices.analyze]]
 === client.indices.analyze
 
 Get tokens from text analysis. The analyze API performs [analysis](https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis.html) on a text string and returns the resulting tokens.
@@ -51,13 +52,13 @@ interface IndicesAnalyzeRequest extends <> {
   index?: <>
   analyzer?: string
   attributes?: string[]
-  char_filter?: AnalysisCharFilter[]
+  char_filter?: <>[]
   explain?: boolean
   field?: <>
-  filter?: AnalysisTokenFilter[]
+  filter?: <>[]
   normalizer?: string
   text?: IndicesAnalyzeTextToAnalyze
-  tokenizer?: AnalysisTokenizer
+  tokenizer?: <>
 }
 
 [pass]
diff --git a/docs/reference-indices-clear_cache.asciidoc b/docs/reference-indices-clear_cache.asciidoc
index d842a9ff2..f65003b0a 100644
--- a/docs/reference-indices-clear_cache.asciidoc
+++ b/docs/reference-indices-clear_cache.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.indices.clearCache]]
 === client.indices.clearCache
 
 Clears the caches of one or more indices. For data streams, the API clears the caches of the stream’s backing indices.
diff --git a/docs/reference-indices-clone.asciidoc b/docs/reference-indices-clone.asciidoc
index f07ad36a5..63c22cc00 100644
--- a/docs/reference-indices-clone.asciidoc
+++ b/docs/reference-indices-clone.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.indices.clone]]
 === client.indices.clone
 
 Clones an existing index.
diff --git a/docs/reference-indices-close.asciidoc b/docs/reference-indices-close.asciidoc
index d4761e42b..83c1a4458 100644
--- a/docs/reference-indices-close.asciidoc
+++ b/docs/reference-indices-close.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.indices.close]]
 === client.indices.close
 
 Closes an index.
diff --git a/docs/reference-indices-create.asciidoc b/docs/reference-indices-create.asciidoc
index 8b848eb4f..fa6954b58 100644
--- a/docs/reference-indices-create.asciidoc
+++ b/docs/reference-indices-create.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.indices.create]]
 === client.indices.create
 
 Create an index. Creates a new index.
@@ -53,7 +54,7 @@ interface IndicesCreateRequest extends <> {
   timeout?: <>
   wait_for_active_shards?: <>
   aliases?: Record<<>, IndicesAlias>
-  mappings?: MappingTypeMapping
+  mappings?: <>
   settings?: IndicesIndexSettings
 }
 
diff --git a/docs/reference-indices-create_data_stream.asciidoc b/docs/reference-indices-create_data_stream.asciidoc
index 5aad36b7b..e1016a430 100644
--- a/docs/reference-indices-create_data_stream.asciidoc
+++ b/docs/reference-indices-create_data_stream.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.indices.createDataStream]]
 === client.indices.createDataStream
 
 Create a data stream. Creates a data stream. You must have a matching index template with data stream enabled.
diff --git a/docs/reference-indices-data_streams_stats.asciidoc b/docs/reference-indices-data_streams_stats.asciidoc
index 15cb04407..e25f66391 100644
--- a/docs/reference-indices-data_streams_stats.asciidoc
+++ b/docs/reference-indices-data_streams_stats.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.indices.dataStreamsStats]]
 === client.indices.dataStreamsStats
 
 Get data stream stats. Retrieves statistics for one or more data streams.
diff --git a/docs/reference-indices-delete.asciidoc b/docs/reference-indices-delete.asciidoc
index f38337ab7..324ea75cf 100644
--- a/docs/reference-indices-delete.asciidoc
+++ b/docs/reference-indices-delete.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.indices.delete]]
 === client.indices.delete
 
 Delete indices. Deletes one or more indices.
diff --git a/docs/reference-indices-delete_alias.asciidoc b/docs/reference-indices-delete_alias.asciidoc
index 4081ef46d..1cec96fe8 100644
--- a/docs/reference-indices-delete_alias.asciidoc
+++ b/docs/reference-indices-delete_alias.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.indices.deleteAlias]]
 === client.indices.deleteAlias
 
 Delete an alias. Removes a data stream or index from an alias.
diff --git a/docs/reference-indices-delete_data_lifecycle.asciidoc b/docs/reference-indices-delete_data_lifecycle.asciidoc
index a9f5e4dc4..4b2c7d50e 100644
--- a/docs/reference-indices-delete_data_lifecycle.asciidoc
+++ b/docs/reference-indices-delete_data_lifecycle.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.indices.deleteDataLifecycle]]
 === client.indices.deleteDataLifecycle
 
 Delete data stream lifecycles. Removes the data stream lifecycle from a data stream, rendering it not managed by the data stream lifecycle.
diff --git a/docs/reference-indices-delete_data_stream.asciidoc b/docs/reference-indices-delete_data_stream.asciidoc
index f473b20b8..7d0085153 100644
--- a/docs/reference-indices-delete_data_stream.asciidoc
+++ b/docs/reference-indices-delete_data_stream.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.indices.deleteDataStream]]
 === client.indices.deleteDataStream
 
 Delete data streams. Deletes one or more data streams and their backing indices.
diff --git a/docs/reference-indices-delete_index_template.asciidoc b/docs/reference-indices-delete_index_template.asciidoc
index 166cab179..393ac1a6f 100644
--- a/docs/reference-indices-delete_index_template.asciidoc
+++ b/docs/reference-indices-delete_index_template.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.indices.deleteIndexTemplate]]
 === client.indices.deleteIndexTemplate
 
 Delete an index template. The provided  may contain multiple template names separated by a comma. If multiple template names are specified then there is no wildcard support and the provided names should match completely with existing templates.
diff --git a/docs/reference-indices-delete_template.asciidoc b/docs/reference-indices-delete_template.asciidoc
index 1a928e771..75f8d0a10 100644
--- a/docs/reference-indices-delete_template.asciidoc
+++ b/docs/reference-indices-delete_template.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.indices.deleteTemplate]]
 === client.indices.deleteTemplate
 
 Deletes a legacy index template.
diff --git a/docs/reference-indices-disk_usage.asciidoc b/docs/reference-indices-disk_usage.asciidoc
index 7d3711744..e11efb746 100644
--- a/docs/reference-indices-disk_usage.asciidoc
+++ b/docs/reference-indices-disk_usage.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.indices.diskUsage]]
 === client.indices.diskUsage
 
 Analyzes the disk usage of each field of an index or data stream.
diff --git a/docs/reference-indices-downsample.asciidoc b/docs/reference-indices-downsample.asciidoc
index ec3910994..a423cc645 100644
--- a/docs/reference-indices-downsample.asciidoc
+++ b/docs/reference-indices-downsample.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.indices.downsample]]
 === client.indices.downsample
 
 Aggregates a time series (TSDS) index and stores pre-computed statistical summaries (`min`, `max`, `sum`, `value_count` and `avg`) for each metric field grouped by a configured time interval.
diff --git a/docs/reference-indices-exists.asciidoc b/docs/reference-indices-exists.asciidoc
index b6ddc6a0c..8dd9c87e8 100644
--- a/docs/reference-indices-exists.asciidoc
+++ b/docs/reference-indices-exists.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.indices.exists]]
 === client.indices.exists
 
 Check indices. Checks if one or more indices, index aliases, or data streams exist.
diff --git a/docs/reference-indices-exists_alias.asciidoc b/docs/reference-indices-exists_alias.asciidoc
index 4daa8a1ef..fa6a360d3 100644
--- a/docs/reference-indices-exists_alias.asciidoc
+++ b/docs/reference-indices-exists_alias.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.indices.existsAlias]]
 === client.indices.existsAlias
 
 Check aliases. Checks if one or more data stream or index aliases exist.
diff --git a/docs/reference-indices-exists_index_template.asciidoc b/docs/reference-indices-exists_index_template.asciidoc
index 808a1570c..cbcfa610e 100644
--- a/docs/reference-indices-exists_index_template.asciidoc
+++ b/docs/reference-indices-exists_index_template.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.indices.existsIndexTemplate]]
 === client.indices.existsIndexTemplate
 
 Returns information about whether a particular index template exists.
diff --git a/docs/reference-indices-exists_template.asciidoc b/docs/reference-indices-exists_template.asciidoc
index 59204370e..bb58eb899 100644
--- a/docs/reference-indices-exists_template.asciidoc
+++ b/docs/reference-indices-exists_template.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.indices.existsTemplate]]
 === client.indices.existsTemplate
 
 Check existence of index templates. Returns information about whether a particular index template exists.
diff --git a/docs/reference-indices-explain_data_lifecycle.asciidoc b/docs/reference-indices-explain_data_lifecycle.asciidoc
index 3a2498180..1d6c01e09 100644
--- a/docs/reference-indices-explain_data_lifecycle.asciidoc
+++ b/docs/reference-indices-explain_data_lifecycle.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.indices.explainDataLifecycle]]
 === client.indices.explainDataLifecycle
 
 Get the status for a data stream lifecycle. Retrieves information about an index or data stream’s current data stream lifecycle status, such as time since index creation, time since rollover, the lifecycle configuration managing the index, or any errors encountered during lifecycle execution.
diff --git a/docs/reference-indices-field_usage_stats.asciidoc b/docs/reference-indices-field_usage_stats.asciidoc
index 32d75512c..bcea1cb67 100644
--- a/docs/reference-indices-field_usage_stats.asciidoc
+++ b/docs/reference-indices-field_usage_stats.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.indices.fieldUsageStats]]
 === client.indices.fieldUsageStats
 
 Returns field usage information for each shard and field of an index.
diff --git a/docs/reference-indices-flush.asciidoc b/docs/reference-indices-flush.asciidoc
index 50676d149..aef53f2c2 100644
--- a/docs/reference-indices-flush.asciidoc
+++ b/docs/reference-indices-flush.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.indices.flush]]
 === client.indices.flush
 
 Flushes one or more data streams or indices.
diff --git a/docs/reference-indices-forcemerge.asciidoc b/docs/reference-indices-forcemerge.asciidoc
index a280643de..58b718777 100644
--- a/docs/reference-indices-forcemerge.asciidoc
+++ b/docs/reference-indices-forcemerge.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.indices.forcemerge]]
 === client.indices.forcemerge
 
 Performs the force merge operation on one or more indices.
diff --git a/docs/reference-indices-get.asciidoc b/docs/reference-indices-get.asciidoc
index ab0ce1b7e..812bdf875 100644
--- a/docs/reference-indices-get.asciidoc
+++ b/docs/reference-indices-get.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.indices.get]]
 === client.indices.get
 
 Get index information. Returns information about one or more indices. For data streams, the API returns information about the stream’s backing indices.
diff --git a/docs/reference-indices-get_alias.asciidoc b/docs/reference-indices-get_alias.asciidoc
index af68a248c..0f98c196d 100644
--- a/docs/reference-indices-get_alias.asciidoc
+++ b/docs/reference-indices-get_alias.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.indices.getAlias]]
 === client.indices.getAlias
 
 Get aliases. Retrieves information for one or more data stream or index aliases.
diff --git a/docs/reference-indices-get_data_lifecycle.asciidoc b/docs/reference-indices-get_data_lifecycle.asciidoc
index 31cefe140..76df5def2 100644
--- a/docs/reference-indices-get_data_lifecycle.asciidoc
+++ b/docs/reference-indices-get_data_lifecycle.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.indices.getDataLifecycle]]
 === client.indices.getDataLifecycle
 
 Get data stream lifecycles. Retrieves the data stream lifecycle configuration of one or more data streams.
diff --git a/docs/reference-indices-get_data_stream.asciidoc b/docs/reference-indices-get_data_stream.asciidoc
index 1c12b6b89..6d8c449ce 100644
--- a/docs/reference-indices-get_data_stream.asciidoc
+++ b/docs/reference-indices-get_data_stream.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.indices.getDataStream]]
 === client.indices.getDataStream
 
 Get data streams. Retrieves information about one or more data streams.
diff --git a/docs/reference-indices-get_field_mapping.asciidoc b/docs/reference-indices-get_field_mapping.asciidoc
index 798f2ddbf..b32f3e038 100644
--- a/docs/reference-indices-get_field_mapping.asciidoc
+++ b/docs/reference-indices-get_field_mapping.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.indices.getFieldMapping]]
 === client.indices.getFieldMapping
 
 Get mapping definitions. Retrieves mapping definitions for one or more fields. For data streams, the API retrieves field mappings for the stream’s backing indices.
diff --git a/docs/reference-indices-get_index_template.asciidoc b/docs/reference-indices-get_index_template.asciidoc
index fe4d7ea0e..84785b588 100644
--- a/docs/reference-indices-get_index_template.asciidoc
+++ b/docs/reference-indices-get_index_template.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.indices.getIndexTemplate]]
 === client.indices.getIndexTemplate
 
 Get index templates. Returns information about one or more index templates.
diff --git a/docs/reference-indices-get_mapping.asciidoc b/docs/reference-indices-get_mapping.asciidoc
index b9b6c8740..fe2181476 100644
--- a/docs/reference-indices-get_mapping.asciidoc
+++ b/docs/reference-indices-get_mapping.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.indices.getMapping]]
 === client.indices.getMapping
 
 Get mapping definitions. Retrieves mapping definitions for one or more indices. For data streams, the API retrieves mappings for the stream’s backing indices.
diff --git a/docs/reference-indices-get_settings.asciidoc b/docs/reference-indices-get_settings.asciidoc
index 8197231c4..e20691c57 100644
--- a/docs/reference-indices-get_settings.asciidoc
+++ b/docs/reference-indices-get_settings.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.indices.getSettings]]
 === client.indices.getSettings
 
 Get index settings. Returns setting information for one or more indices. For data streams, returns setting information for the stream’s backing indices.
diff --git a/docs/reference-indices-get_template.asciidoc b/docs/reference-indices-get_template.asciidoc
index 8a6d2a0c2..1ff5b6f64 100644
--- a/docs/reference-indices-get_template.asciidoc
+++ b/docs/reference-indices-get_template.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.indices.getTemplate]]
 === client.indices.getTemplate
 
 Get index templates. Retrieves information about one or more index templates.
diff --git a/docs/reference-indices-migrate_to_data_stream.asciidoc b/docs/reference-indices-migrate_to_data_stream.asciidoc
index 5274f471a..e0381f330 100644
--- a/docs/reference-indices-migrate_to_data_stream.asciidoc
+++ b/docs/reference-indices-migrate_to_data_stream.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.indices.migrateToDataStream]]
 === client.indices.migrateToDataStream
 
 Convert an index alias to a data stream. Converts an index alias to a data stream. You must have a matching index template that is data stream enabled. The alias must meet the following criteria: The alias must have a write index; All indices for the alias must have a `@timestamp` field mapping of a `date` or `date_nanos` field type; The alias must not have any filters; The alias must not use custom routing. If successful, the request removes the alias and creates a data stream with the same name. The indices for the alias become hidden backing indices for the stream. The write index for the alias becomes the write index for the stream.
diff --git a/docs/reference-indices-modify_data_stream.asciidoc b/docs/reference-indices-modify_data_stream.asciidoc
index 52b6c8e4f..a41cac127 100644
--- a/docs/reference-indices-modify_data_stream.asciidoc
+++ b/docs/reference-indices-modify_data_stream.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.indices.modifyDataStream]]
 === client.indices.modifyDataStream
 
 Update data streams. Performs one or more data stream modification actions in a single atomic operation.
diff --git a/docs/reference-indices-open.asciidoc b/docs/reference-indices-open.asciidoc
index 970ffeccd..422c6d72c 100644
--- a/docs/reference-indices-open.asciidoc
+++ b/docs/reference-indices-open.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.indices.open]]
 === client.indices.open
 
 Opens a closed index. For data streams, the API opens any closed backing indices.
diff --git a/docs/reference-indices-promote_data_stream.asciidoc b/docs/reference-indices-promote_data_stream.asciidoc
index a4392e6b8..b7e0f373f 100644
--- a/docs/reference-indices-promote_data_stream.asciidoc
+++ b/docs/reference-indices-promote_data_stream.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.indices.promoteDataStream]]
 === client.indices.promoteDataStream
 
 Promotes a data stream from a replicated data stream managed by CCR to a regular data stream
diff --git a/docs/reference-indices-put_alias.asciidoc b/docs/reference-indices-put_alias.asciidoc
index 6b47fb75b..89a603a2e 100644
--- a/docs/reference-indices-put_alias.asciidoc
+++ b/docs/reference-indices-put_alias.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.indices.putAlias]]
 === client.indices.putAlias
 
 Create or update an alias. Adds a data stream or index to an alias.
@@ -52,7 +53,7 @@ interface IndicesPutAliasRequest extends <> {
   name: <>
   master_timeout?: <>
   timeout?: <>
-  filter?: QueryDslQueryContainer
+  filter?: <>
   index_routing?: <>
   is_write_index?: boolean
   routing?: <>
diff --git a/docs/reference-indices-put_data_lifecycle.asciidoc b/docs/reference-indices-put_data_lifecycle.asciidoc
index c8b224904..9cad4832d 100644
--- a/docs/reference-indices-put_data_lifecycle.asciidoc
+++ b/docs/reference-indices-put_data_lifecycle.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.indices.putDataLifecycle]]
 === client.indices.putDataLifecycle
 
 Update data stream lifecycles. Update the data stream lifecycle of the specified data streams.
diff --git a/docs/reference-indices-put_index_template.asciidoc b/docs/reference-indices-put_index_template.asciidoc
index 969f9ac31..66e745485 100644
--- a/docs/reference-indices-put_index_template.asciidoc
+++ b/docs/reference-indices-put_index_template.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.indices.putIndexTemplate]]
 === client.indices.putIndexTemplate
 
 Create or update an index template. Index templates define settings, mappings, and aliases that can be applied automatically to new indices.
diff --git a/docs/reference-indices-put_mapping.asciidoc b/docs/reference-indices-put_mapping.asciidoc
index 78f058df4..e7fac8120 100644
--- a/docs/reference-indices-put_mapping.asciidoc
+++ b/docs/reference-indices-put_mapping.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.indices.putMapping]]
 === client.indices.putMapping
 
 Update field mappings. Adds new fields to an existing data stream or index. You can also use this API to change the search settings of existing fields. For data streams, these changes are applied to all backing indices by default.
@@ -56,16 +57,16 @@ interface IndicesPutMappingRequest extends <> {
   timeout?: <>
   write_index_only?: boolean
   date_detection?: boolean
-  dynamic?: MappingDynamicMapping
+  dynamic?: <>
   dynamic_date_formats?: string[]
-  dynamic_templates?: Record | Record[]
-  _field_names?: MappingFieldNamesField
+  dynamic_templates?: Record>> | Record>>[]
+  _field_names?: <>
   _meta?: <>
   numeric_detection?: boolean
-  properties?: Record<<>, MappingProperty>
-  _routing?: MappingRoutingField
-  _source?: MappingSourceField
-  runtime?: MappingRuntimeFields
+  properties?: Record<<>, <>>
+  _routing?: <>
+  _source?: <>
+  runtime?: <>
 }
 
 [pass]
diff --git a/docs/reference-indices-put_settings.asciidoc b/docs/reference-indices-put_settings.asciidoc
index a6a74f3ba..135a2aaf0 100644
--- a/docs/reference-indices-put_settings.asciidoc
+++ b/docs/reference-indices-put_settings.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.indices.putSettings]]
 === client.indices.putSettings
 
 Update index settings. Changes dynamic index settings in real time. For data streams, index setting changes are applied to all backing indices by default.
diff --git a/docs/reference-indices-put_template.asciidoc b/docs/reference-indices-put_template.asciidoc
index 74ff6d7b2..d915791cd 100644
--- a/docs/reference-indices-put_template.asciidoc
+++ b/docs/reference-indices-put_template.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.indices.putTemplate]]
 === client.indices.putTemplate
 
 Create or update an index template. Index templates define settings, mappings, and aliases that can be applied automatically to new indices.
@@ -54,7 +55,7 @@ interface IndicesPutTemplateRequest extends <> {
   cause?: string
   aliases?: Record<<>, IndicesAlias>
   index_patterns?: string | string[]
-  mappings?: MappingTypeMapping
+  mappings?: <>
   order?: <<_integer, integer>>
   settings?: IndicesIndexSettings
   version?: <>
diff --git a/docs/reference-indices-recovery.asciidoc b/docs/reference-indices-recovery.asciidoc
index e1432b639..01d4ed14a 100644
--- a/docs/reference-indices-recovery.asciidoc
+++ b/docs/reference-indices-recovery.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.indices.recovery]]
 === client.indices.recovery
 
 Returns information about ongoing and completed shard recoveries for one or more indices. For data streams, the API returns information for the stream’s backing indices.
diff --git a/docs/reference-indices-refresh.asciidoc b/docs/reference-indices-refresh.asciidoc
index 57af9a9b9..f0ea41fe2 100644
--- a/docs/reference-indices-refresh.asciidoc
+++ b/docs/reference-indices-refresh.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.indices.refresh]]
 === client.indices.refresh
 
 Refresh an index. A refresh makes recent operations performed on one or more indices available for search. For data streams, the API runs the refresh operation on the stream’s backing indices.
diff --git a/docs/reference-indices-reload_search_analyzers.asciidoc b/docs/reference-indices-reload_search_analyzers.asciidoc
index 9b32f5979..df2183b8e 100644
--- a/docs/reference-indices-reload_search_analyzers.asciidoc
+++ b/docs/reference-indices-reload_search_analyzers.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.indices.reloadSearchAnalyzers]]
 === client.indices.reloadSearchAnalyzers
 
 Reloads an index's search analyzers and their resources.
diff --git a/docs/reference-indices-resolve_cluster.asciidoc b/docs/reference-indices-resolve_cluster.asciidoc
index b77625af1..aa60255ee 100644
--- a/docs/reference-indices-resolve_cluster.asciidoc
+++ b/docs/reference-indices-resolve_cluster.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.indices.resolveCluster]]
 === client.indices.resolveCluster
 
 Resolves the specified index expressions to return information about each cluster, including the local cluster, if included. Multiple patterns and remote clusters are supported.
diff --git a/docs/reference-indices-resolve_index.asciidoc b/docs/reference-indices-resolve_index.asciidoc
index 8dc6e3de9..150a5907d 100644
--- a/docs/reference-indices-resolve_index.asciidoc
+++ b/docs/reference-indices-resolve_index.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.indices.resolveIndex]]
 === client.indices.resolveIndex
 
 Resolves the specified name(s) and/or index patterns for indices, aliases, and data streams. Multiple patterns and remote clusters are supported.
diff --git a/docs/reference-indices-rollover.asciidoc b/docs/reference-indices-rollover.asciidoc
index 5b308030f..665324698 100644
--- a/docs/reference-indices-rollover.asciidoc
+++ b/docs/reference-indices-rollover.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.indices.rollover]]
 === client.indices.rollover
 
 Roll over to a new index. Creates a new index for a data stream or index alias.
@@ -56,7 +57,7 @@ interface IndicesRolloverRequest extends <> {
   wait_for_active_shards?: <>
   aliases?: Record<<>, IndicesAlias>
   conditions?: IndicesRolloverRolloverConditions
-  mappings?: MappingTypeMapping
+  mappings?: <>
   settings?: Record
 }
 
diff --git a/docs/reference-indices-segments.asciidoc b/docs/reference-indices-segments.asciidoc
index 856972506..8ad825fc9 100644
--- a/docs/reference-indices-segments.asciidoc
+++ b/docs/reference-indices-segments.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.indices.segments]]
 === client.indices.segments
 
 Returns low-level information about the Lucene segments in index shards. For data streams, the API returns information about the stream’s backing indices.
diff --git a/docs/reference-indices-shard_stores.asciidoc b/docs/reference-indices-shard_stores.asciidoc
index d7d172ffa..0bcf2b898 100644
--- a/docs/reference-indices-shard_stores.asciidoc
+++ b/docs/reference-indices-shard_stores.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.indices.shardStores]]
 === client.indices.shardStores
 
 Retrieves store information about replica shards in one or more indices. For data streams, the API retrieves store information for the stream’s backing indices.
diff --git a/docs/reference-indices-shrink.asciidoc b/docs/reference-indices-shrink.asciidoc
index c43f1652b..67e466607 100644
--- a/docs/reference-indices-shrink.asciidoc
+++ b/docs/reference-indices-shrink.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.indices.shrink]]
 === client.indices.shrink
 
 Shrinks an existing index into a new index with fewer primary shards.
diff --git a/docs/reference-indices-simulate_index_template.asciidoc b/docs/reference-indices-simulate_index_template.asciidoc
index 118044e31..9c29bd1ca 100644
--- a/docs/reference-indices-simulate_index_template.asciidoc
+++ b/docs/reference-indices-simulate_index_template.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.indices.simulateIndexTemplate]]
 === client.indices.simulateIndexTemplate
 
 Simulate an index. Returns the index configuration that would be applied to the specified index from an existing index template.
diff --git a/docs/reference-indices-simulate_template.asciidoc b/docs/reference-indices-simulate_template.asciidoc
index 5694f5919..7ad1c4159 100644
--- a/docs/reference-indices-simulate_template.asciidoc
+++ b/docs/reference-indices-simulate_template.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.indices.simulateTemplate]]
 === client.indices.simulateTemplate
 
 Simulate an index template. Returns the index configuration that would be applied by a particular index template.
diff --git a/docs/reference-indices-split.asciidoc b/docs/reference-indices-split.asciidoc
index 6f5b42e25..59378e575 100644
--- a/docs/reference-indices-split.asciidoc
+++ b/docs/reference-indices-split.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.indices.split]]
 === client.indices.split
 
 Splits an existing index into a new index with more primary shards.
diff --git a/docs/reference-indices-stats.asciidoc b/docs/reference-indices-stats.asciidoc
index 91eb3584f..44ad5154a 100644
--- a/docs/reference-indices-stats.asciidoc
+++ b/docs/reference-indices-stats.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.indices.stats]]
 === client.indices.stats
 
 Returns statistics for one or more indices. For data streams, the API retrieves statistics for the stream’s backing indices.
diff --git a/docs/reference-indices-unfreeze.asciidoc b/docs/reference-indices-unfreeze.asciidoc
index fc3b34872..be8109f6e 100644
--- a/docs/reference-indices-unfreeze.asciidoc
+++ b/docs/reference-indices-unfreeze.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.indices.unfreeze]]
 === client.indices.unfreeze
 
 Unfreezes an index.
diff --git a/docs/reference-indices-update_aliases.asciidoc b/docs/reference-indices-update_aliases.asciidoc
index 97153713c..c21396271 100644
--- a/docs/reference-indices-update_aliases.asciidoc
+++ b/docs/reference-indices-update_aliases.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.indices.updateAliases]]
 === client.indices.updateAliases
 
 Create or update an alias. Adds a data stream or index to an alias.
diff --git a/docs/reference-indices-validate_query.asciidoc b/docs/reference-indices-validate_query.asciidoc
index 999ff301f..f11b51511 100644
--- a/docs/reference-indices-validate_query.asciidoc
+++ b/docs/reference-indices-validate_query.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.indices.validateQuery]]
 === client.indices.validateQuery
 
 Validate a query. Validates a query without running it.
@@ -53,7 +54,7 @@ interface IndicesValidateQueryRequest extends <> {
   all_shards?: boolean
   analyzer?: string
   analyze_wildcard?: boolean
-  default_operator?: QueryDslOperator
+  default_operator?: <>
   df?: string
   expand_wildcards?: <>
   explain?: boolean
@@ -61,7 +62,7 @@ interface IndicesValidateQueryRequest extends <> {
   lenient?: boolean
   rewrite?: boolean
   q?: string
-  query?: QueryDslQueryContainer
+  query?: <>
 }
 
 [pass]
diff --git a/docs/reference-inference-delete.asciidoc b/docs/reference-inference-delete.asciidoc
index 41a2cbe9f..8c12e7b7e 100644
--- a/docs/reference-inference-delete.asciidoc
+++ b/docs/reference-inference-delete.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.inference.delete]]
 === client.inference.delete
 
 Delete an inference endpoint
diff --git a/docs/reference-inference-get.asciidoc b/docs/reference-inference-get.asciidoc
index 07d23b74b..60adfa678 100644
--- a/docs/reference-inference-get.asciidoc
+++ b/docs/reference-inference-get.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.inference.get]]
 === client.inference.get
 
 Get an inference endpoint
diff --git a/docs/reference-inference-inference.asciidoc b/docs/reference-inference-inference.asciidoc
index 215604029..0bebcb667 100644
--- a/docs/reference-inference-inference.asciidoc
+++ b/docs/reference-inference-inference.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.inference.inference]]
 === client.inference.inference
 
 Perform inference on the service
diff --git a/docs/reference-inference-put.asciidoc b/docs/reference-inference-put.asciidoc
index bc3e9fe8f..4529481e3 100644
--- a/docs/reference-inference-put.asciidoc
+++ b/docs/reference-inference-put.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.inference.put]]
 === client.inference.put
 
 Create an inference endpoint
diff --git a/docs/reference-inference-stream_inference.asciidoc b/docs/reference-inference-stream_inference.asciidoc
index 9eaf3fc0e..309269d62 100644
--- a/docs/reference-inference-stream_inference.asciidoc
+++ b/docs/reference-inference-stream_inference.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.inference.streamInference]]
 === client.inference.streamInference
 
 Perform streaming inference
diff --git a/docs/reference-info.asciidoc b/docs/reference-info.asciidoc
index e15698851..6ce4caa67 100644
--- a/docs/reference-info.asciidoc
+++ b/docs/reference-info.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.info]]
 === client.info
 
 Get cluster info. Returns basic information about the cluster.
diff --git a/docs/reference-ingest-delete_geoip_database.asciidoc b/docs/reference-ingest-delete_geoip_database.asciidoc
index fb2ba794c..3edcfb98e 100644
--- a/docs/reference-ingest-delete_geoip_database.asciidoc
+++ b/docs/reference-ingest-delete_geoip_database.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ingest.deleteGeoipDatabase]]
 === client.ingest.deleteGeoipDatabase
 
 Deletes a geoip database configuration.
diff --git a/docs/reference-ingest-delete_pipeline.asciidoc b/docs/reference-ingest-delete_pipeline.asciidoc
index c6387b125..456cb2556 100644
--- a/docs/reference-ingest-delete_pipeline.asciidoc
+++ b/docs/reference-ingest-delete_pipeline.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ingest.deletePipeline]]
 === client.ingest.deletePipeline
 
 Deletes one or more existing ingest pipeline.
diff --git a/docs/reference-ingest-geo_ip_stats.asciidoc b/docs/reference-ingest-geo_ip_stats.asciidoc
index 6c419f0aa..330e5a031 100644
--- a/docs/reference-ingest-geo_ip_stats.asciidoc
+++ b/docs/reference-ingest-geo_ip_stats.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ingest.geoIpStats]]
 === client.ingest.geoIpStats
 
 Gets download statistics for GeoIP2 databases used with the geoip processor.
diff --git a/docs/reference-ingest-get_geoip_database.asciidoc b/docs/reference-ingest-get_geoip_database.asciidoc
index 041719496..b3e48f43d 100644
--- a/docs/reference-ingest-get_geoip_database.asciidoc
+++ b/docs/reference-ingest-get_geoip_database.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ingest.getGeoipDatabase]]
 === client.ingest.getGeoipDatabase
 
 Returns information about one or more geoip database configurations.
diff --git a/docs/reference-ingest-get_pipeline.asciidoc b/docs/reference-ingest-get_pipeline.asciidoc
index 9ac8b6f3e..1e0b7f7f8 100644
--- a/docs/reference-ingest-get_pipeline.asciidoc
+++ b/docs/reference-ingest-get_pipeline.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ingest.getPipeline]]
 === client.ingest.getPipeline
 
 Returns information about one or more ingest pipelines. This API returns a local reference of the pipeline.
diff --git a/docs/reference-ingest-processor_grok.asciidoc b/docs/reference-ingest-processor_grok.asciidoc
index 17919199c..47c10109f 100644
--- a/docs/reference-ingest-processor_grok.asciidoc
+++ b/docs/reference-ingest-processor_grok.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ingest.processorGrok]]
 === client.ingest.processorGrok
 
 Extracts structured fields out of a single text field within a document. You choose which field to extract matched fields from, as well as the grok pattern you expect will match. A grok pattern is like a regular expression that supports aliased expressions that can be reused.
diff --git a/docs/reference-ingest-put_geoip_database.asciidoc b/docs/reference-ingest-put_geoip_database.asciidoc
index ae7e37a0e..572f1850c 100644
--- a/docs/reference-ingest-put_geoip_database.asciidoc
+++ b/docs/reference-ingest-put_geoip_database.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ingest.putGeoipDatabase]]
 === client.ingest.putGeoipDatabase
 
 Returns information about one or more geoip database configurations.
diff --git a/docs/reference-ingest-put_pipeline.asciidoc b/docs/reference-ingest-put_pipeline.asciidoc
index ead07aa14..4b40579d9 100644
--- a/docs/reference-ingest-put_pipeline.asciidoc
+++ b/docs/reference-ingest-put_pipeline.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ingest.putPipeline]]
 === client.ingest.putPipeline
 
 Creates or updates an ingest pipeline. Changes made using this API take effect immediately.
diff --git a/docs/reference-ingest-simulate.asciidoc b/docs/reference-ingest-simulate.asciidoc
index 937c1f225..78a1b4e84 100644
--- a/docs/reference-ingest-simulate.asciidoc
+++ b/docs/reference-ingest-simulate.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ingest.simulate]]
 === client.ingest.simulate
 
 Executes an ingest pipeline against a set of provided documents.
diff --git a/docs/reference-knn_search.asciidoc b/docs/reference-knn_search.asciidoc
index be1bd07b2..5d3d32e42 100644
--- a/docs/reference-knn_search.asciidoc
+++ b/docs/reference-knn_search.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.knnSearch]]
 === client.knnSearch
 
 Run a knn search. NOTE: The kNN search API has been replaced by the `knn` option in the search API. Perform a k-nearest neighbor (kNN) search on a dense_vector field and return the matching documents. Given a query vector, the API finds the k closest vectors and returns those documents as search hits. Elasticsearch uses the HNSW algorithm to support efficient kNN search. Like most kNN algorithms, HNSW is an approximate method that sacrifices result accuracy for improved search speed. This means the results returned are not always the true k closest neighbors. The kNN search API supports restricting the search using a filter. The search will return the top k documents that also match the filter query.
@@ -51,10 +52,10 @@ interface KnnSearchRequest extends <> {
   index: <>
   routing?: <>
   _source?: SearchSourceConfig
-  docvalue_fields?: (QueryDslFieldAndFormat | <>)[]
+  docvalue_fields?: (<> | <>)[]
   stored_fields?: <>
   fields?: <>
-  filter?: QueryDslQueryContainer | QueryDslQueryContainer[]
+  filter?: <> | <>[]
   knn: KnnSearchQuery
 }
 
diff --git a/docs/reference-license-delete.asciidoc b/docs/reference-license-delete.asciidoc
index 811c3bc6a..1de275483 100644
--- a/docs/reference-license-delete.asciidoc
+++ b/docs/reference-license-delete.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.license.delete]]
 === client.license.delete
 
 Deletes licensing information for the cluster
diff --git a/docs/reference-license-get.asciidoc b/docs/reference-license-get.asciidoc
index 27316c090..8763b72dc 100644
--- a/docs/reference-license-get.asciidoc
+++ b/docs/reference-license-get.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.license.get]]
 === client.license.get
 
 Get license information. Returns information about your Elastic license, including its type, its status, when it was issued, and when it expires. For more information about the different types of licenses, refer to [Elastic Stack subscriptions](https://www.elastic.co/subscriptions).
diff --git a/docs/reference-license-get_basic_status.asciidoc b/docs/reference-license-get_basic_status.asciidoc
index 0402d464b..0cfc75154 100644
--- a/docs/reference-license-get_basic_status.asciidoc
+++ b/docs/reference-license-get_basic_status.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.license.getBasicStatus]]
 === client.license.getBasicStatus
 
 Retrieves information about the status of the basic license.
diff --git a/docs/reference-license-get_trial_status.asciidoc b/docs/reference-license-get_trial_status.asciidoc
index 49d7ec88c..b1c655105 100644
--- a/docs/reference-license-get_trial_status.asciidoc
+++ b/docs/reference-license-get_trial_status.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.license.getTrialStatus]]
 === client.license.getTrialStatus
 
 Retrieves information about the status of the trial license.
diff --git a/docs/reference-license-post.asciidoc b/docs/reference-license-post.asciidoc
index 1ee7e4e38..6b363bfae 100644
--- a/docs/reference-license-post.asciidoc
+++ b/docs/reference-license-post.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.license.post]]
 === client.license.post
 
 Updates the license for the cluster.
diff --git a/docs/reference-license-post_start_basic.asciidoc b/docs/reference-license-post_start_basic.asciidoc
index 0c0f2ae38..fe5d3aec3 100644
--- a/docs/reference-license-post_start_basic.asciidoc
+++ b/docs/reference-license-post_start_basic.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.license.postStartBasic]]
 === client.license.postStartBasic
 
 The start basic API enables you to initiate an indefinite basic license, which gives access to all the basic features. If the basic license does not support all of the features that are available with your current license, however, you are notified in the response. You must then re-submit the API request with the acknowledge parameter set to true. To check the status of your basic license, use the following API: [Get basic status](https://www.elastic.co/guide/en/elasticsearch/reference/current/get-basic-status.html).
diff --git a/docs/reference-license-post_start_trial.asciidoc b/docs/reference-license-post_start_trial.asciidoc
index 76cf37447..5e894ec09 100644
--- a/docs/reference-license-post_start_trial.asciidoc
+++ b/docs/reference-license-post_start_trial.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.license.postStartTrial]]
 === client.license.postStartTrial
 
 The start trial API enables you to start a 30-day trial, which gives access to all subscription features.
diff --git a/docs/reference-logstash-delete_pipeline.asciidoc b/docs/reference-logstash-delete_pipeline.asciidoc
index dd228c84e..b701c09d4 100644
--- a/docs/reference-logstash-delete_pipeline.asciidoc
+++ b/docs/reference-logstash-delete_pipeline.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.logstash.deletePipeline]]
 === client.logstash.deletePipeline
 
 Deletes a pipeline used for Logstash Central Management.
diff --git a/docs/reference-logstash-get_pipeline.asciidoc b/docs/reference-logstash-get_pipeline.asciidoc
index d4c90b087..baf34d81b 100644
--- a/docs/reference-logstash-get_pipeline.asciidoc
+++ b/docs/reference-logstash-get_pipeline.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.logstash.getPipeline]]
 === client.logstash.getPipeline
 
 Retrieves pipelines used for Logstash Central Management.
diff --git a/docs/reference-logstash-put_pipeline.asciidoc b/docs/reference-logstash-put_pipeline.asciidoc
index e5d892813..bc897d8d9 100644
--- a/docs/reference-logstash-put_pipeline.asciidoc
+++ b/docs/reference-logstash-put_pipeline.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.logstash.putPipeline]]
 === client.logstash.putPipeline
 
 Creates or updates a pipeline used for Logstash Central Management.
diff --git a/docs/reference-mget.asciidoc b/docs/reference-mget.asciidoc
index 434502208..d685560f4 100644
--- a/docs/reference-mget.asciidoc
+++ b/docs/reference-mget.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.mget]]
 === client.mget
 
 Get multiple documents. Get multiple JSON documents by ID from one or more indices. If you specify an index in the request URI, you only need to specify the document IDs in the request body. To ensure fast responses, this multi get (mget) API responds with partial results if one or more shards fail.
diff --git a/docs/reference-migration-deprecations.asciidoc b/docs/reference-migration-deprecations.asciidoc
index 59a2c2360..c5abe2285 100644
--- a/docs/reference-migration-deprecations.asciidoc
+++ b/docs/reference-migration-deprecations.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.migration.deprecations]]
 === client.migration.deprecations
 
 Retrieves information about different cluster, node, and index level settings that use deprecated features that will be removed or changed in the next major version.
diff --git a/docs/reference-migration-get_feature_upgrade_status.asciidoc b/docs/reference-migration-get_feature_upgrade_status.asciidoc
index 3f0eca5d1..5ab617da2 100644
--- a/docs/reference-migration-get_feature_upgrade_status.asciidoc
+++ b/docs/reference-migration-get_feature_upgrade_status.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.migration.getFeatureUpgradeStatus]]
 === client.migration.getFeatureUpgradeStatus
 
 Find out whether system features need to be upgraded or not
diff --git a/docs/reference-migration-post_feature_upgrade.asciidoc b/docs/reference-migration-post_feature_upgrade.asciidoc
index d67ffb753..c4b35be94 100644
--- a/docs/reference-migration-post_feature_upgrade.asciidoc
+++ b/docs/reference-migration-post_feature_upgrade.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.migration.postFeatureUpgrade]]
 === client.migration.postFeatureUpgrade
 
 Begin upgrades for system features
diff --git a/docs/reference-ml-clear_trained_model_deployment_cache.asciidoc b/docs/reference-ml-clear_trained_model_deployment_cache.asciidoc
index 53854eae4..0183cecf4 100644
--- a/docs/reference-ml-clear_trained_model_deployment_cache.asciidoc
+++ b/docs/reference-ml-clear_trained_model_deployment_cache.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.clearTrainedModelDeploymentCache]]
 === client.ml.clearTrainedModelDeploymentCache
 
 Clear trained model deployment cache. Cache will be cleared on all nodes where the trained model is assigned. A trained model deployment may have an inference cache enabled. As requests are handled by each allocated node, their responses may be cached on that individual node. Calling this API clears the caches without restarting the deployment.
diff --git a/docs/reference-ml-close_job.asciidoc b/docs/reference-ml-close_job.asciidoc
index 438ce9082..4eccd027d 100644
--- a/docs/reference-ml-close_job.asciidoc
+++ b/docs/reference-ml-close_job.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.closeJob]]
 === client.ml.closeJob
 
 Close anomaly detection jobs. A job can be opened and closed multiple times throughout its lifecycle. A closed job cannot receive data or perform analysis operations, but you can still explore and navigate results. When you close a job, it runs housekeeping tasks such as pruning the model history, flushing buffers, calculating final results and persisting the model snapshots. Depending upon the size of the job, it could take several minutes to close and the equivalent time to re-open. After it is closed, the job has a minimal overhead on the cluster except for maintaining its meta data. Therefore it is a best practice to close jobs that are no longer required to process data. If you close an anomaly detection job whose datafeed is running, the request first tries to stop the datafeed. This behavior is equivalent to calling stop datafeed API with the same timeout and force parameters as the close job request. When a datafeed that has a specified end date stops, it automatically closes its associated job.
diff --git a/docs/reference-ml-delete_calendar.asciidoc b/docs/reference-ml-delete_calendar.asciidoc
index d7f6aebc2..75de36fdf 100644
--- a/docs/reference-ml-delete_calendar.asciidoc
+++ b/docs/reference-ml-delete_calendar.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.deleteCalendar]]
 === client.ml.deleteCalendar
 
 Delete a calendar. Removes all scheduled events from a calendar, then deletes it.
diff --git a/docs/reference-ml-delete_calendar_event.asciidoc b/docs/reference-ml-delete_calendar_event.asciidoc
index 838122288..578759053 100644
--- a/docs/reference-ml-delete_calendar_event.asciidoc
+++ b/docs/reference-ml-delete_calendar_event.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.deleteCalendarEvent]]
 === client.ml.deleteCalendarEvent
 
 Delete events from a calendar.
diff --git a/docs/reference-ml-delete_calendar_job.asciidoc b/docs/reference-ml-delete_calendar_job.asciidoc
index 79fe37e4a..ba5d0a623 100644
--- a/docs/reference-ml-delete_calendar_job.asciidoc
+++ b/docs/reference-ml-delete_calendar_job.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.deleteCalendarJob]]
 === client.ml.deleteCalendarJob
 
 Delete anomaly jobs from a calendar.
diff --git a/docs/reference-ml-delete_data_frame_analytics.asciidoc b/docs/reference-ml-delete_data_frame_analytics.asciidoc
index 63f60a3bc..48641e4eb 100644
--- a/docs/reference-ml-delete_data_frame_analytics.asciidoc
+++ b/docs/reference-ml-delete_data_frame_analytics.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.deleteDataFrameAnalytics]]
 === client.ml.deleteDataFrameAnalytics
 
 Delete a data frame analytics job.
diff --git a/docs/reference-ml-delete_datafeed.asciidoc b/docs/reference-ml-delete_datafeed.asciidoc
index 9f63453e0..8268a8b8c 100644
--- a/docs/reference-ml-delete_datafeed.asciidoc
+++ b/docs/reference-ml-delete_datafeed.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.deleteDatafeed]]
 === client.ml.deleteDatafeed
 
 Delete a datafeed.
diff --git a/docs/reference-ml-delete_expired_data.asciidoc b/docs/reference-ml-delete_expired_data.asciidoc
index 5e062e02c..ecfbe24f3 100644
--- a/docs/reference-ml-delete_expired_data.asciidoc
+++ b/docs/reference-ml-delete_expired_data.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.deleteExpiredData]]
 === client.ml.deleteExpiredData
 
 Delete expired ML data. Deletes all job results, model snapshots and forecast data that have exceeded their retention days period. Machine learning state documents that are not associated with any job are also deleted. You can limit the request to a single or set of anomaly detection jobs by using a job identifier, a group name, a comma-separated list of jobs, or a wildcard expression. You can delete expired data for all anomaly detection jobs by using _all, by specifying * as the , or by omitting the .
diff --git a/docs/reference-ml-delete_filter.asciidoc b/docs/reference-ml-delete_filter.asciidoc
index baeb62e8a..1e73f17f2 100644
--- a/docs/reference-ml-delete_filter.asciidoc
+++ b/docs/reference-ml-delete_filter.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.deleteFilter]]
 === client.ml.deleteFilter
 
 Delete a filter. If an anomaly detection job references the filter, you cannot delete the filter. You must update or delete the job before you can delete the filter.
diff --git a/docs/reference-ml-delete_forecast.asciidoc b/docs/reference-ml-delete_forecast.asciidoc
index ffa50a6b5..d21133786 100644
--- a/docs/reference-ml-delete_forecast.asciidoc
+++ b/docs/reference-ml-delete_forecast.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.deleteForecast]]
 === client.ml.deleteForecast
 
 Delete forecasts from a job. By default, forecasts are retained for 14 days. You can specify a different retention period with the `expires_in` parameter in the forecast jobs API. The delete forecast API enables you to delete one or more forecasts before they expire.
diff --git a/docs/reference-ml-delete_job.asciidoc b/docs/reference-ml-delete_job.asciidoc
index 922d0ab07..dccf79d7a 100644
--- a/docs/reference-ml-delete_job.asciidoc
+++ b/docs/reference-ml-delete_job.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.deleteJob]]
 === client.ml.deleteJob
 
 Delete an anomaly detection job. All job configuration, model state and results are deleted. It is not currently possible to delete multiple jobs using wildcards or a comma separated list. If you delete a job that has a datafeed, the request first tries to delete the datafeed. This behavior is equivalent to calling the delete datafeed API with the same timeout and force parameters as the delete job request.
diff --git a/docs/reference-ml-delete_model_snapshot.asciidoc b/docs/reference-ml-delete_model_snapshot.asciidoc
index 1dc1119f3..451537a68 100644
--- a/docs/reference-ml-delete_model_snapshot.asciidoc
+++ b/docs/reference-ml-delete_model_snapshot.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.deleteModelSnapshot]]
 === client.ml.deleteModelSnapshot
 
 Delete a model snapshot. You cannot delete the active model snapshot. To delete that snapshot, first revert to a different one. To identify the active model snapshot, refer to the `model_snapshot_id` in the results from the get jobs API.
diff --git a/docs/reference-ml-delete_trained_model.asciidoc b/docs/reference-ml-delete_trained_model.asciidoc
index f613c48f9..47bb0b4de 100644
--- a/docs/reference-ml-delete_trained_model.asciidoc
+++ b/docs/reference-ml-delete_trained_model.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.deleteTrainedModel]]
 === client.ml.deleteTrainedModel
 
 Delete an unreferenced trained model. The request deletes a trained inference model that is not referenced by an ingest pipeline.
diff --git a/docs/reference-ml-delete_trained_model_alias.asciidoc b/docs/reference-ml-delete_trained_model_alias.asciidoc
index a1468695f..db086c77c 100644
--- a/docs/reference-ml-delete_trained_model_alias.asciidoc
+++ b/docs/reference-ml-delete_trained_model_alias.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.deleteTrainedModelAlias]]
 === client.ml.deleteTrainedModelAlias
 
 Delete a trained model alias. This API deletes an existing model alias that refers to a trained model. If the model alias is missing or refers to a model other than the one identified by the `model_id`, this API returns an error.
diff --git a/docs/reference-ml-estimate_model_memory.asciidoc b/docs/reference-ml-estimate_model_memory.asciidoc
index 31538d1cf..130339a69 100644
--- a/docs/reference-ml-estimate_model_memory.asciidoc
+++ b/docs/reference-ml-estimate_model_memory.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.estimateModelMemory]]
 === client.ml.estimateModelMemory
 
 Estimate job model memory usage. Makes an estimation of the memory usage for an anomaly detection job model. It is based on analysis configuration details for the job and cardinality estimates for the fields it references.
diff --git a/docs/reference-ml-evaluate_data_frame.asciidoc b/docs/reference-ml-evaluate_data_frame.asciidoc
index f3412c50c..6b0290af5 100644
--- a/docs/reference-ml-evaluate_data_frame.asciidoc
+++ b/docs/reference-ml-evaluate_data_frame.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.evaluateDataFrame]]
 === client.ml.evaluateDataFrame
 
 Evaluate data frame analytics. The API packages together commonly used evaluation metrics for various types of machine learning features. This has been designed for use on indexes created by data frame analytics. Evaluation requires both a ground truth field and an analytics result field to be present.
@@ -50,7 +51,7 @@ Evaluate data frame analytics. The API packages together commonly used evaluatio
 interface MlEvaluateDataFrameRequest extends <> {
   evaluation: MlDataframeEvaluationContainer
   index: <>
-  query?: QueryDslQueryContainer
+  query?: <>
 }
 
 [pass]
diff --git a/docs/reference-ml-explain_data_frame_analytics.asciidoc b/docs/reference-ml-explain_data_frame_analytics.asciidoc
index 20dcb4321..b0da3bfd9 100644
--- a/docs/reference-ml-explain_data_frame_analytics.asciidoc
+++ b/docs/reference-ml-explain_data_frame_analytics.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.explainDataFrameAnalytics]]
 === client.ml.explainDataFrameAnalytics
 
 Explain data frame analytics config. This API provides explanations for a data frame analytics config that either exists already or one that has not been created yet. The following explanations are provided: * which fields are included or not in the analysis and why, * how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on. If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
diff --git a/docs/reference-ml-flush_job.asciidoc b/docs/reference-ml-flush_job.asciidoc
index e97d2086b..df6dbdf97 100644
--- a/docs/reference-ml-flush_job.asciidoc
+++ b/docs/reference-ml-flush_job.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.flushJob]]
 === client.ml.flushJob
 
 Force buffered data to be processed. The flush jobs API is only applicable when sending data for analysis using the post data API. Depending on the content of the buffer, then it might additionally calculate new results. Both flush and close operations are similar, however the flush is more efficient if you are expecting to send more data for analysis. When flushing, the job remains open and is available to continue analyzing data. A close operation additionally prunes and persists the model state to disk and the job must be opened again before analyzing further data.
diff --git a/docs/reference-ml-forecast.asciidoc b/docs/reference-ml-forecast.asciidoc
index 1b8dca64b..fcb9539dd 100644
--- a/docs/reference-ml-forecast.asciidoc
+++ b/docs/reference-ml-forecast.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.forecast]]
 === client.ml.forecast
 
 Predict future behavior of a time series. Forecasts are not supported for jobs that perform population analysis; an error occurs if you try to create a forecast for a job that has an `over_field_name` in its configuration. Forcasts predict future behavior based on historical data.
diff --git a/docs/reference-ml-get_buckets.asciidoc b/docs/reference-ml-get_buckets.asciidoc
index 2d5dad57d..0e613f921 100644
--- a/docs/reference-ml-get_buckets.asciidoc
+++ b/docs/reference-ml-get_buckets.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.getBuckets]]
 === client.ml.getBuckets
 
 Get anomaly detection job results for buckets. The API presents a chronological view of the records, grouped by bucket.
diff --git a/docs/reference-ml-get_calendar_events.asciidoc b/docs/reference-ml-get_calendar_events.asciidoc
index 9a3697374..32370af30 100644
--- a/docs/reference-ml-get_calendar_events.asciidoc
+++ b/docs/reference-ml-get_calendar_events.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.getCalendarEvents]]
 === client.ml.getCalendarEvents
 
 Get info about events in calendars.
diff --git a/docs/reference-ml-get_calendars.asciidoc b/docs/reference-ml-get_calendars.asciidoc
index cde87ad56..9b311c733 100644
--- a/docs/reference-ml-get_calendars.asciidoc
+++ b/docs/reference-ml-get_calendars.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.getCalendars]]
 === client.ml.getCalendars
 
 Get calendar configuration info.
diff --git a/docs/reference-ml-get_categories.asciidoc b/docs/reference-ml-get_categories.asciidoc
index d4bcbd536..468dd7543 100644
--- a/docs/reference-ml-get_categories.asciidoc
+++ b/docs/reference-ml-get_categories.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.getCategories]]
 === client.ml.getCategories
 
 Get anomaly detection job results for categories.
diff --git a/docs/reference-ml-get_data_frame_analytics.asciidoc b/docs/reference-ml-get_data_frame_analytics.asciidoc
index b1e048b26..6d07a4246 100644
--- a/docs/reference-ml-get_data_frame_analytics.asciidoc
+++ b/docs/reference-ml-get_data_frame_analytics.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.getDataFrameAnalytics]]
 === client.ml.getDataFrameAnalytics
 
 Get data frame analytics job configuration info. You can get information for multiple data frame analytics jobs in a single API request by using a comma-separated list of data frame analytics jobs or a wildcard expression.
diff --git a/docs/reference-ml-get_data_frame_analytics_stats.asciidoc b/docs/reference-ml-get_data_frame_analytics_stats.asciidoc
index 889d3fcb3..9e9b31ca9 100644
--- a/docs/reference-ml-get_data_frame_analytics_stats.asciidoc
+++ b/docs/reference-ml-get_data_frame_analytics_stats.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.getDataFrameAnalyticsStats]]
 === client.ml.getDataFrameAnalyticsStats
 
 Get data frame analytics jobs usage info.
diff --git a/docs/reference-ml-get_datafeed_stats.asciidoc b/docs/reference-ml-get_datafeed_stats.asciidoc
index 5bfeb7a9b..b0bf98495 100644
--- a/docs/reference-ml-get_datafeed_stats.asciidoc
+++ b/docs/reference-ml-get_datafeed_stats.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.getDatafeedStats]]
 === client.ml.getDatafeedStats
 
 Get datafeeds usage info. You can get statistics for multiple datafeeds in a single API request by using a comma-separated list of datafeeds or a wildcard expression. You can get statistics for all datafeeds by using `_all`, by specifying `*` as the ``, or by omitting the ``. If the datafeed is stopped, the only information you receive is the `datafeed_id` and the `state`. This API returns a maximum of 10,000 datafeeds.
diff --git a/docs/reference-ml-get_datafeeds.asciidoc b/docs/reference-ml-get_datafeeds.asciidoc
index c26662c65..9124eae98 100644
--- a/docs/reference-ml-get_datafeeds.asciidoc
+++ b/docs/reference-ml-get_datafeeds.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.getDatafeeds]]
 === client.ml.getDatafeeds
 
 Get datafeeds configuration info. You can get information for multiple datafeeds in a single API request by using a comma-separated list of datafeeds or a wildcard expression. You can get information for all datafeeds by using `_all`, by specifying `*` as the ``, or by omitting the ``. This API returns a maximum of 10,000 datafeeds.
diff --git a/docs/reference-ml-get_filters.asciidoc b/docs/reference-ml-get_filters.asciidoc
index bfa7c2556..4c2c33a21 100644
--- a/docs/reference-ml-get_filters.asciidoc
+++ b/docs/reference-ml-get_filters.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.getFilters]]
 === client.ml.getFilters
 
 Get filters. You can get a single filter or all filters.
diff --git a/docs/reference-ml-get_influencers.asciidoc b/docs/reference-ml-get_influencers.asciidoc
index fd02cf1ab..455efcbfa 100644
--- a/docs/reference-ml-get_influencers.asciidoc
+++ b/docs/reference-ml-get_influencers.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.getInfluencers]]
 === client.ml.getInfluencers
 
 Get anomaly detection job results for influencers. Influencers are the entities that have contributed to, or are to blame for, the anomalies. Influencer results are available only if an `influencer_field_name` is specified in the job configuration.
diff --git a/docs/reference-ml-get_job_stats.asciidoc b/docs/reference-ml-get_job_stats.asciidoc
index a023c2514..6f727547e 100644
--- a/docs/reference-ml-get_job_stats.asciidoc
+++ b/docs/reference-ml-get_job_stats.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.getJobStats]]
 === client.ml.getJobStats
 
 Get anomaly detection jobs usage info.
diff --git a/docs/reference-ml-get_jobs.asciidoc b/docs/reference-ml-get_jobs.asciidoc
index fadd4922b..2ffd8af86 100644
--- a/docs/reference-ml-get_jobs.asciidoc
+++ b/docs/reference-ml-get_jobs.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.getJobs]]
 === client.ml.getJobs
 
 Get anomaly detection jobs configuration info. You can get information for multiple anomaly detection jobs in a single API request by using a group name, a comma-separated list of jobs, or a wildcard expression. You can get information for all anomaly detection jobs by using `_all`, by specifying `*` as the ``, or by omitting the ``.
diff --git a/docs/reference-ml-get_memory_stats.asciidoc b/docs/reference-ml-get_memory_stats.asciidoc
index 25438172e..2821404db 100644
--- a/docs/reference-ml-get_memory_stats.asciidoc
+++ b/docs/reference-ml-get_memory_stats.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.getMemoryStats]]
 === client.ml.getMemoryStats
 
 Get machine learning memory usage info. Get information about how machine learning jobs and trained models are using memory, on each node, both within the JVM heap, and natively, outside of the JVM.
diff --git a/docs/reference-ml-get_model_snapshot_upgrade_stats.asciidoc b/docs/reference-ml-get_model_snapshot_upgrade_stats.asciidoc
index 304fbf200..8fd56718a 100644
--- a/docs/reference-ml-get_model_snapshot_upgrade_stats.asciidoc
+++ b/docs/reference-ml-get_model_snapshot_upgrade_stats.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.getModelSnapshotUpgradeStats]]
 === client.ml.getModelSnapshotUpgradeStats
 
 Get anomaly detection job model snapshot upgrade usage info.
diff --git a/docs/reference-ml-get_model_snapshots.asciidoc b/docs/reference-ml-get_model_snapshots.asciidoc
index 8e8291a9d..82f5e00f2 100644
--- a/docs/reference-ml-get_model_snapshots.asciidoc
+++ b/docs/reference-ml-get_model_snapshots.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.getModelSnapshots]]
 === client.ml.getModelSnapshots
 
 Get model snapshots info.
diff --git a/docs/reference-ml-get_overall_buckets.asciidoc b/docs/reference-ml-get_overall_buckets.asciidoc
index 3de5f6233..6daa07e62 100644
--- a/docs/reference-ml-get_overall_buckets.asciidoc
+++ b/docs/reference-ml-get_overall_buckets.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.getOverallBuckets]]
 === client.ml.getOverallBuckets
 
 Get overall bucket results. Retrievs overall bucket results that summarize the bucket results of multiple anomaly detection jobs. The `overall_score` is calculated by combining the scores of all the buckets within the overall bucket span. First, the maximum `anomaly_score` per anomaly detection job in the overall bucket is calculated. Then the `top_n` of those scores are averaged to result in the `overall_score`. This means that you can fine-tune the `overall_score` so that it is more or less sensitive to the number of jobs that detect an anomaly at the same time. For example, if you set `top_n` to `1`, the `overall_score` is the maximum bucket score in the overall bucket. Alternatively, if you set `top_n` to the number of jobs, the `overall_score` is high only when all jobs detect anomalies in that overall bucket. If you set the `bucket_span` parameter (to a value greater than its default), the `overall_score` is the maximum `overall_score` of the overall buckets that have a span equal to the jobs' largest bucket span.
diff --git a/docs/reference-ml-get_records.asciidoc b/docs/reference-ml-get_records.asciidoc
index 71cc8de3f..08335aa13 100644
--- a/docs/reference-ml-get_records.asciidoc
+++ b/docs/reference-ml-get_records.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.getRecords]]
 === client.ml.getRecords
 
 Get anomaly records for an anomaly detection job. Records contain the detailed analytical results. They describe the anomalous activity that has been identified in the input data based on the detector configuration. There can be many anomaly records depending on the characteristics and size of the input data. In practice, there are often too many to be able to manually process them. The machine learning features therefore perform a sophisticated aggregation of the anomaly records into buckets. The number of record results depends on the number of anomalies found in each bucket, which relates to the number of time series being modeled and the number of detectors.
diff --git a/docs/reference-ml-get_trained_models.asciidoc b/docs/reference-ml-get_trained_models.asciidoc
index 8c570573f..5ce12c020 100644
--- a/docs/reference-ml-get_trained_models.asciidoc
+++ b/docs/reference-ml-get_trained_models.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.getTrainedModels]]
 === client.ml.getTrainedModels
 
 Get trained model configuration info.
diff --git a/docs/reference-ml-get_trained_models_stats.asciidoc b/docs/reference-ml-get_trained_models_stats.asciidoc
index 915d90423..5028b838c 100644
--- a/docs/reference-ml-get_trained_models_stats.asciidoc
+++ b/docs/reference-ml-get_trained_models_stats.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.getTrainedModelsStats]]
 === client.ml.getTrainedModelsStats
 
 Get trained models usage info. You can get usage information for multiple trained models in a single API request by using a comma-separated list of model IDs or a wildcard expression.
diff --git a/docs/reference-ml-infer_trained_model.asciidoc b/docs/reference-ml-infer_trained_model.asciidoc
index 311870acb..aeafddfbf 100644
--- a/docs/reference-ml-infer_trained_model.asciidoc
+++ b/docs/reference-ml-infer_trained_model.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.inferTrainedModel]]
 === client.ml.inferTrainedModel
 
 Evaluate a trained model.
diff --git a/docs/reference-ml-info.asciidoc b/docs/reference-ml-info.asciidoc
index 39b1cef94..5939da249 100644
--- a/docs/reference-ml-info.asciidoc
+++ b/docs/reference-ml-info.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.info]]
 === client.ml.info
 
 Return ML defaults and limits. Returns defaults and limits used by machine learning. This endpoint is designed to be used by a user interface that needs to fully understand machine learning configurations where some options are not specified, meaning that the defaults should be used. This endpoint may be used to find out what those defaults are. It also provides information about the maximum size of machine learning jobs that could run in the current cluster configuration.
diff --git a/docs/reference-ml-open_job.asciidoc b/docs/reference-ml-open_job.asciidoc
index ba2387302..73c3fa8db 100644
--- a/docs/reference-ml-open_job.asciidoc
+++ b/docs/reference-ml-open_job.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.openJob]]
 === client.ml.openJob
 
 Open anomaly detection jobs. An anomaly detection job must be opened to be ready to receive and analyze data. It can be opened and closed multiple times throughout its lifecycle. When you open a new job, it starts with an empty model. When you open an existing job, the most recent model state is automatically loaded. The job is ready to resume its analysis from where it left off, once new data is received.
diff --git a/docs/reference-ml-post_calendar_events.asciidoc b/docs/reference-ml-post_calendar_events.asciidoc
index be8e1c100..9961ee198 100644
--- a/docs/reference-ml-post_calendar_events.asciidoc
+++ b/docs/reference-ml-post_calendar_events.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.postCalendarEvents]]
 === client.ml.postCalendarEvents
 
 Add scheduled events to the calendar.
diff --git a/docs/reference-ml-post_data.asciidoc b/docs/reference-ml-post_data.asciidoc
index dea102444..d8b955bb6 100644
--- a/docs/reference-ml-post_data.asciidoc
+++ b/docs/reference-ml-post_data.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.postData]]
 === client.ml.postData
 
 Send data to an anomaly detection job for analysis. IMPORTANT: For each job, data can be accepted from only a single connection at a time. It is not currently possible to post data to multiple jobs using wildcards or a comma-separated list.
diff --git a/docs/reference-ml-preview_data_frame_analytics.asciidoc b/docs/reference-ml-preview_data_frame_analytics.asciidoc
index e33a9479c..061b4868a 100644
--- a/docs/reference-ml-preview_data_frame_analytics.asciidoc
+++ b/docs/reference-ml-preview_data_frame_analytics.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.previewDataFrameAnalytics]]
 === client.ml.previewDataFrameAnalytics
 
 Preview features used by data frame analytics. Previews the extracted features used by a data frame analytics config.
diff --git a/docs/reference-ml-preview_datafeed.asciidoc b/docs/reference-ml-preview_datafeed.asciidoc
index c005b8393..c30585d27 100644
--- a/docs/reference-ml-preview_datafeed.asciidoc
+++ b/docs/reference-ml-preview_datafeed.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.previewDatafeed]]
 === client.ml.previewDatafeed
 
 Preview a datafeed. This API returns the first "page" of search results from a datafeed. You can preview an existing datafeed or provide configuration details for a datafeed and anomaly detection job in the API. The preview shows the structure of the data that will be passed to the anomaly detection engine. IMPORTANT: When Elasticsearch security features are enabled, the preview uses the credentials of the user that called the API. However, when the datafeed starts it uses the roles of the last user that created or updated the datafeed. To get a preview that accurately reflects the behavior of the datafeed, use the appropriate credentials. You can also use secondary authorization headers to supply the credentials.
diff --git a/docs/reference-ml-put_calendar.asciidoc b/docs/reference-ml-put_calendar.asciidoc
index c604d4642..f466d444d 100644
--- a/docs/reference-ml-put_calendar.asciidoc
+++ b/docs/reference-ml-put_calendar.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.putCalendar]]
 === client.ml.putCalendar
 
 Create a calendar.
diff --git a/docs/reference-ml-put_calendar_job.asciidoc b/docs/reference-ml-put_calendar_job.asciidoc
index f3311cdee..34692333b 100644
--- a/docs/reference-ml-put_calendar_job.asciidoc
+++ b/docs/reference-ml-put_calendar_job.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.putCalendarJob]]
 === client.ml.putCalendarJob
 
 Add anomaly detection job to calendar.
diff --git a/docs/reference-ml-put_data_frame_analytics.asciidoc b/docs/reference-ml-put_data_frame_analytics.asciidoc
index 99ba935d3..0edfd0896 100644
--- a/docs/reference-ml-put_data_frame_analytics.asciidoc
+++ b/docs/reference-ml-put_data_frame_analytics.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.putDataFrameAnalytics]]
 === client.ml.putDataFrameAnalytics
 
 Create a data frame analytics job. This API creates a data frame analytics job that performs an analysis on the source indices and stores the outcome in a destination index.
diff --git a/docs/reference-ml-put_datafeed.asciidoc b/docs/reference-ml-put_datafeed.asciidoc
index 61d1ecdda..7139bd42d 100644
--- a/docs/reference-ml-put_datafeed.asciidoc
+++ b/docs/reference-ml-put_datafeed.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.putDatafeed]]
 === client.ml.putDatafeed
 
 Create a datafeed. Datafeeds retrieve data from Elasticsearch for analysis by an anomaly detection job. You can associate only one datafeed with each anomaly detection job. The datafeed contains a query that runs at a defined interval (`frequency`). If you are concerned about delayed data, you can add a delay (`query_delay') at each interval. When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had at the time of creation and runs the query using those same roles. If you provide secondary authorization headers, those credentials are used instead. You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed directly to the `.ml-config` index. Do not give users `write` privileges on the `.ml-config` index.
@@ -53,7 +54,7 @@ interface MlPutDatafeedRequest extends <> {
   expand_wildcards?: <>
   ignore_throttled?: boolean
   ignore_unavailable?: boolean
-  aggregations?: Record
+  aggregations?: Record>>
   chunking_config?: MlChunkingConfig
   delayed_data_check_config?: MlDelayedDataCheckConfig
   frequency?: <>
@@ -63,9 +64,9 @@ interface MlPutDatafeedRequest extends <> {
   indices_options?: <>
   job_id?: <>
   max_empty_searches?: <<_integer, integer>>
-  query?: QueryDslQueryContainer
+  query?: <>
   query_delay?: <>
-  runtime_mappings?: MappingRuntimeFields
+  runtime_mappings?: <>
   script_fields?: Record>>
   scroll_size?: <<_integer, integer>>
   headers?: <>
@@ -83,7 +84,7 @@ interface MlPutDatafeedRequest extends <> {
 
 ++++
 interface MlPutDatafeedResponse {
-  aggregations?: Record
+  aggregations?: Record>>
   authorization?: MlDatafeedAuthorization
   chunking_config: MlChunkingConfig
   delayed_data_check_config?: MlDelayedDataCheckConfig
@@ -93,9 +94,9 @@ interface MlPutDatafeedResponse {
   job_id: <>
   indices_options?: <>
   max_empty_searches?: <<_integer, integer>>
-  query: QueryDslQueryContainer
+  query: <>
   query_delay: <>
-  runtime_mappings?: MappingRuntimeFields
+  runtime_mappings?: <>
   script_fields?: Record>>
   scroll_size: <<_integer, integer>>
 }
diff --git a/docs/reference-ml-put_filter.asciidoc b/docs/reference-ml-put_filter.asciidoc
index f617ac245..24e04ac7a 100644
--- a/docs/reference-ml-put_filter.asciidoc
+++ b/docs/reference-ml-put_filter.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.putFilter]]
 === client.ml.putFilter
 
 Create a filter. A filter contains a list of strings. It can be used by one or more anomaly detection jobs. Specifically, filters are referenced in the `custom_rules` property of detector configuration objects.
diff --git a/docs/reference-ml-put_job.asciidoc b/docs/reference-ml-put_job.asciidoc
index dc07da81a..597528596 100644
--- a/docs/reference-ml-put_job.asciidoc
+++ b/docs/reference-ml-put_job.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.putJob]]
 === client.ml.putJob
 
 Create an anomaly detection job. If you include a `datafeed_config`, you must have read index privileges on the source index.
diff --git a/docs/reference-ml-put_trained_model.asciidoc b/docs/reference-ml-put_trained_model.asciidoc
index 2ae412837..58ae8b518 100644
--- a/docs/reference-ml-put_trained_model.asciidoc
+++ b/docs/reference-ml-put_trained_model.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.putTrainedModel]]
 === client.ml.putTrainedModel
 
 Create a trained model. Enable you to supply a trained model that is not created by data frame analytics.
diff --git a/docs/reference-ml-put_trained_model_alias.asciidoc b/docs/reference-ml-put_trained_model_alias.asciidoc
index 7523b7997..4d457307d 100644
--- a/docs/reference-ml-put_trained_model_alias.asciidoc
+++ b/docs/reference-ml-put_trained_model_alias.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.putTrainedModelAlias]]
 === client.ml.putTrainedModelAlias
 
 Create or update a trained model alias. A trained model alias is a logical name used to reference a single trained model. You can use aliases instead of trained model identifiers to make it easier to reference your models. For example, you can use aliases in inference aggregations and processors. An alias must be unique and refer to only a single trained model. However, you can have multiple aliases for each trained model. If you use this API to update an alias such that it references a different trained model ID and the model uses a different type of data frame analytics, an error occurs. For example, this situation occurs if you have a trained model for regression analysis and a trained model for classification analysis; you cannot reassign an alias from one type of trained model to another. If you use this API to update an alias and there are very few input fields in common between the old and new trained models for the model alias, the API returns a warning.
diff --git a/docs/reference-ml-put_trained_model_definition_part.asciidoc b/docs/reference-ml-put_trained_model_definition_part.asciidoc
index 1bfa4a721..fe014fb9b 100644
--- a/docs/reference-ml-put_trained_model_definition_part.asciidoc
+++ b/docs/reference-ml-put_trained_model_definition_part.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.putTrainedModelDefinitionPart]]
 === client.ml.putTrainedModelDefinitionPart
 
 Create part of a trained model definition.
diff --git a/docs/reference-ml-put_trained_model_vocabulary.asciidoc b/docs/reference-ml-put_trained_model_vocabulary.asciidoc
index 903fd6f18..4f32565f9 100644
--- a/docs/reference-ml-put_trained_model_vocabulary.asciidoc
+++ b/docs/reference-ml-put_trained_model_vocabulary.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.putTrainedModelVocabulary]]
 === client.ml.putTrainedModelVocabulary
 
 Create a trained model vocabulary. This API is supported only for natural language processing (NLP) models. The vocabulary is stored in the index as described in `inference_config.*.vocabulary` of the trained model definition.
diff --git a/docs/reference-ml-reset_job.asciidoc b/docs/reference-ml-reset_job.asciidoc
index a9f3a3953..47e7ccd5e 100644
--- a/docs/reference-ml-reset_job.asciidoc
+++ b/docs/reference-ml-reset_job.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.resetJob]]
 === client.ml.resetJob
 
 Reset an anomaly detection job. All model state and results are deleted. The job is ready to start over as if it had just been created. It is not currently possible to reset multiple jobs using wildcards or a comma separated list.
diff --git a/docs/reference-ml-revert_model_snapshot.asciidoc b/docs/reference-ml-revert_model_snapshot.asciidoc
index dd39663f0..b4abd916c 100644
--- a/docs/reference-ml-revert_model_snapshot.asciidoc
+++ b/docs/reference-ml-revert_model_snapshot.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.revertModelSnapshot]]
 === client.ml.revertModelSnapshot
 
 Revert to a snapshot. The machine learning features react quickly to anomalous input, learning new behaviors in data. Highly anomalous input increases the variance in the models whilst the system learns whether this is a new step-change in behavior or a one-off event. In the case where this anomalous input is known to be a one-off, then it might be appropriate to reset the model state to a time before this event. For example, you might consider reverting to a saved snapshot after Black Friday or a critical system failure.
diff --git a/docs/reference-ml-set_upgrade_mode.asciidoc b/docs/reference-ml-set_upgrade_mode.asciidoc
index 96226ab87..8cca79528 100644
--- a/docs/reference-ml-set_upgrade_mode.asciidoc
+++ b/docs/reference-ml-set_upgrade_mode.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.setUpgradeMode]]
 === client.ml.setUpgradeMode
 
 Set upgrade_mode for ML indices. Sets a cluster wide upgrade_mode setting that prepares machine learning indices for an upgrade. When upgrading your cluster, in some circumstances you must restart your nodes and reindex your machine learning indices. In those circumstances, there must be no machine learning jobs running. You can close the machine learning jobs, do the upgrade, then open all the jobs again. Alternatively, you can use this API to temporarily halt tasks associated with the jobs and datafeeds and prevent new jobs from opening. You can also use this API during upgrades that do not require you to reindex your machine learning indices, though stopping jobs is not a requirement in that case. You can see the current value for the upgrade_mode setting by using the get machine learning info API.
diff --git a/docs/reference-ml-start_data_frame_analytics.asciidoc b/docs/reference-ml-start_data_frame_analytics.asciidoc
index 547ae3841..09a75bd62 100644
--- a/docs/reference-ml-start_data_frame_analytics.asciidoc
+++ b/docs/reference-ml-start_data_frame_analytics.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.startDataFrameAnalytics]]
 === client.ml.startDataFrameAnalytics
 
 Start a data frame analytics job. A data frame analytics job can be started and stopped multiple times throughout its lifecycle. If the destination index does not exist, it is created automatically the first time you start the data frame analytics job. The `index.number_of_shards` and `index.number_of_replicas` settings for the destination index are copied from the source index. If there are multiple source indices, the destination index copies the highest setting values. The mappings for the destination index are also copied from the source indices. If there are any mapping conflicts, the job fails to start. If the destination index exists, it is used as is. You can therefore set up the destination index in advance with custom settings and mappings.
diff --git a/docs/reference-ml-start_datafeed.asciidoc b/docs/reference-ml-start_datafeed.asciidoc
index 0c70b1767..39e2a38b6 100644
--- a/docs/reference-ml-start_datafeed.asciidoc
+++ b/docs/reference-ml-start_datafeed.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.startDatafeed]]
 === client.ml.startDatafeed
 
 Start datafeeds. A datafeed must be started in order to retrieve data from Elasticsearch. A datafeed can be started and stopped multiple times throughout its lifecycle. Before you can start a datafeed, the anomaly detection job must be open. Otherwise, an error occurs. If you restart a stopped datafeed, it continues processing input data from the next millisecond after it was stopped. If new data was indexed for that exact millisecond between stopping and starting, it will be ignored. When Elasticsearch security features are enabled, your datafeed remembers which roles the last user to create or update it had at the time of creation or update and runs the query using those same roles. If you provided secondary authorization headers when you created or updated the datafeed, those credentials are used instead.
diff --git a/docs/reference-ml-start_trained_model_deployment.asciidoc b/docs/reference-ml-start_trained_model_deployment.asciidoc
index 622d5c39b..5e3884d20 100644
--- a/docs/reference-ml-start_trained_model_deployment.asciidoc
+++ b/docs/reference-ml-start_trained_model_deployment.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.startTrainedModelDeployment]]
 === client.ml.startTrainedModelDeployment
 
 Start a trained model deployment. It allocates the model to every machine learning node.
diff --git a/docs/reference-ml-stop_data_frame_analytics.asciidoc b/docs/reference-ml-stop_data_frame_analytics.asciidoc
index 7ca568f38..f222a7735 100644
--- a/docs/reference-ml-stop_data_frame_analytics.asciidoc
+++ b/docs/reference-ml-stop_data_frame_analytics.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.stopDataFrameAnalytics]]
 === client.ml.stopDataFrameAnalytics
 
 Stop data frame analytics jobs. A data frame analytics job can be started and stopped multiple times throughout its lifecycle.
diff --git a/docs/reference-ml-stop_datafeed.asciidoc b/docs/reference-ml-stop_datafeed.asciidoc
index 727bc55fa..679e5b04b 100644
--- a/docs/reference-ml-stop_datafeed.asciidoc
+++ b/docs/reference-ml-stop_datafeed.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.stopDatafeed]]
 === client.ml.stopDatafeed
 
 Stop datafeeds. A datafeed that is stopped ceases to retrieve data from Elasticsearch. A datafeed can be started and stopped multiple times throughout its lifecycle.
diff --git a/docs/reference-ml-stop_trained_model_deployment.asciidoc b/docs/reference-ml-stop_trained_model_deployment.asciidoc
index b1d43dc5f..b7858bc1a 100644
--- a/docs/reference-ml-stop_trained_model_deployment.asciidoc
+++ b/docs/reference-ml-stop_trained_model_deployment.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.stopTrainedModelDeployment]]
 === client.ml.stopTrainedModelDeployment
 
 Stop a trained model deployment.
diff --git a/docs/reference-ml-update_data_frame_analytics.asciidoc b/docs/reference-ml-update_data_frame_analytics.asciidoc
index bc4b5b04a..6024c544a 100644
--- a/docs/reference-ml-update_data_frame_analytics.asciidoc
+++ b/docs/reference-ml-update_data_frame_analytics.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.updateDataFrameAnalytics]]
 === client.ml.updateDataFrameAnalytics
 
 Update a data frame analytics job.
diff --git a/docs/reference-ml-update_datafeed.asciidoc b/docs/reference-ml-update_datafeed.asciidoc
index 9a7564153..3d7f5e3db 100644
--- a/docs/reference-ml-update_datafeed.asciidoc
+++ b/docs/reference-ml-update_datafeed.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.updateDatafeed]]
 === client.ml.updateDatafeed
 
 Update a datafeed. You must stop and start the datafeed for the changes to be applied. When Elasticsearch security features are enabled, your datafeed remembers which roles the user who updated it had at the time of the update and runs the query using those same roles. If you provide secondary authorization headers, those credentials are used instead.
@@ -53,7 +54,7 @@ interface MlUpdateDatafeedRequest extends <> {
   expand_wildcards?: <>
   ignore_throttled?: boolean
   ignore_unavailable?: boolean
-  aggregations?: Record
+  aggregations?: Record>>
   chunking_config?: MlChunkingConfig
   delayed_data_check_config?: MlDelayedDataCheckConfig
   frequency?: <>
@@ -63,9 +64,9 @@ interface MlUpdateDatafeedRequest extends <> {
   indices_options?: <>
   job_id?: <>
   max_empty_searches?: <<_integer, integer>>
-  query?: QueryDslQueryContainer
+  query?: <>
   query_delay?: <>
-  runtime_mappings?: MappingRuntimeFields
+  runtime_mappings?: <>
   script_fields?: Record>>
   scroll_size?: <<_integer, integer>>
 }
@@ -83,7 +84,7 @@ interface MlUpdateDatafeedRequest extends <> {
 ++++
 interface MlUpdateDatafeedResponse {
   authorization?: MlDatafeedAuthorization
-  aggregations?: Record
+  aggregations?: Record>>
   chunking_config: MlChunkingConfig
   delayed_data_check_config?: MlDelayedDataCheckConfig
   datafeed_id: <>
@@ -92,9 +93,9 @@ interface MlUpdateDatafeedResponse {
   indices_options?: <>
   job_id: <>
   max_empty_searches?: <<_integer, integer>>
-  query: QueryDslQueryContainer
+  query: <>
   query_delay: <>
-  runtime_mappings?: MappingRuntimeFields
+  runtime_mappings?: <>
   script_fields?: Record>>
   scroll_size: <<_integer, integer>>
 }
diff --git a/docs/reference-ml-update_filter.asciidoc b/docs/reference-ml-update_filter.asciidoc
index 5c000895d..d8ef7a06a 100644
--- a/docs/reference-ml-update_filter.asciidoc
+++ b/docs/reference-ml-update_filter.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.updateFilter]]
 === client.ml.updateFilter
 
 Update a filter. Updates the description of a filter, adds items, or removes items from the list.
diff --git a/docs/reference-ml-update_job.asciidoc b/docs/reference-ml-update_job.asciidoc
index 147919000..877772408 100644
--- a/docs/reference-ml-update_job.asciidoc
+++ b/docs/reference-ml-update_job.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.updateJob]]
 === client.ml.updateJob
 
 Update an anomaly detection job. Updates certain properties of an anomaly detection job.
diff --git a/docs/reference-ml-update_model_snapshot.asciidoc b/docs/reference-ml-update_model_snapshot.asciidoc
index b68ace1a9..81ddfc2c5 100644
--- a/docs/reference-ml-update_model_snapshot.asciidoc
+++ b/docs/reference-ml-update_model_snapshot.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.updateModelSnapshot]]
 === client.ml.updateModelSnapshot
 
 Update a snapshot. Updates certain properties of a snapshot.
diff --git a/docs/reference-ml-update_trained_model_deployment.asciidoc b/docs/reference-ml-update_trained_model_deployment.asciidoc
index 27be981c6..9ddec809c 100644
--- a/docs/reference-ml-update_trained_model_deployment.asciidoc
+++ b/docs/reference-ml-update_trained_model_deployment.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.updateTrainedModelDeployment]]
 === client.ml.updateTrainedModelDeployment
 
 Update a trained model deployment.
diff --git a/docs/reference-ml-upgrade_job_snapshot.asciidoc b/docs/reference-ml-upgrade_job_snapshot.asciidoc
index 8acb22770..c3ddf2fc6 100644
--- a/docs/reference-ml-upgrade_job_snapshot.asciidoc
+++ b/docs/reference-ml-upgrade_job_snapshot.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ml.upgradeJobSnapshot]]
 === client.ml.upgradeJobSnapshot
 
 Upgrade a snapshot. Upgrades an anomaly detection model snapshot to the latest major version. Over time, older snapshot formats are deprecated and removed. Anomaly detection jobs support only snapshots that are from the current or previous major version. This API provides a means to upgrade a snapshot to the current major version. This aids in preparing the cluster for an upgrade to the next major version. Only one snapshot per anomaly detection job can be upgraded at a time and the upgraded snapshot cannot be the current snapshot of the anomaly detection job.
diff --git a/docs/reference-monitoring-bulk.asciidoc b/docs/reference-monitoring-bulk.asciidoc
index fab81ca60..31a387621 100644
--- a/docs/reference-monitoring-bulk.asciidoc
+++ b/docs/reference-monitoring-bulk.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.monitoring.bulk]]
 === client.monitoring.bulk
 
 Used by the monitoring features to send monitoring data.
diff --git a/docs/reference-msearch.asciidoc b/docs/reference-msearch.asciidoc
index b4e896da1..33dbe489e 100644
--- a/docs/reference-msearch.asciidoc
+++ b/docs/reference-msearch.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.msearch]]
 === client.msearch
 
 Run multiple searches. The format of the request is similar to the bulk API format and makes use of the newline delimited JSON (NDJSON) format. The structure is as follows: ``` header\n body\n header\n body\n ``` This structure is specifically optimized to reduce parsing if a specific search ends up redirected to another node. IMPORTANT: The final line of data must end with a newline character `\n`. Each newline character may be preceded by a carriage return `\r`. When sending requests to this endpoint the `Content-Type` header should be set to `application/x-ndjson`.
@@ -76,7 +77,7 @@ interface MsearchRequest extends <> {
 ++++
 
 ++++
-type MsearchResponse>, AggregationsAggregate>> = MsearchMultiSearchResult
+type MsearchResponse>, <>>> = MsearchMultiSearchResult
 
 [pass]
 ++++
diff --git a/docs/reference-msearch_template.asciidoc b/docs/reference-msearch_template.asciidoc
index 6a1d8970a..1facec929 100644
--- a/docs/reference-msearch_template.asciidoc
+++ b/docs/reference-msearch_template.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.msearchTemplate]]
 === client.msearchTemplate
 
 Run multiple templated searches.
@@ -68,7 +69,7 @@ interface MsearchTemplateRequest extends <> {
 ++++
 
 ++++
-type MsearchTemplateResponse>, AggregationsAggregate>> = MsearchMultiSearchResult
+type MsearchTemplateResponse>, <>>> = MsearchMultiSearchResult
 
 [pass]
 ++++
diff --git a/docs/reference-mtermvectors.asciidoc b/docs/reference-mtermvectors.asciidoc
index 8e235ba65..2b25799d5 100644
--- a/docs/reference-mtermvectors.asciidoc
+++ b/docs/reference-mtermvectors.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.mtermvectors]]
 === client.mtermvectors
 
 Get multiple term vectors. You can specify existing documents by index and ID or provide artificial documents in the body of the request. You can specify the index in the request body or request URI. The response contains a `docs` array with all the fetched termvectors. Each element has the structure provided by the termvectors API.
diff --git a/docs/reference-nodes-clear_repositories_metering_archive.asciidoc b/docs/reference-nodes-clear_repositories_metering_archive.asciidoc
index f8566fcd3..15ab55238 100644
--- a/docs/reference-nodes-clear_repositories_metering_archive.asciidoc
+++ b/docs/reference-nodes-clear_repositories_metering_archive.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.nodes.clearRepositoriesMeteringArchive]]
 === client.nodes.clearRepositoriesMeteringArchive
 
 You can use this API to clear the archived repositories metering information in the cluster.
diff --git a/docs/reference-nodes-get_repositories_metering_info.asciidoc b/docs/reference-nodes-get_repositories_metering_info.asciidoc
index 2c269ed44..73db15f24 100644
--- a/docs/reference-nodes-get_repositories_metering_info.asciidoc
+++ b/docs/reference-nodes-get_repositories_metering_info.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.nodes.getRepositoriesMeteringInfo]]
 === client.nodes.getRepositoriesMeteringInfo
 
 You can use the cluster repositories metering API to retrieve repositories metering information in a cluster. This API exposes monotonically non-decreasing counters and it’s expected that clients would durably store the information needed to compute aggregations over a period of time. Additionally, the information exposed by this API is volatile, meaning that it won’t be present after node restarts.
diff --git a/docs/reference-nodes-hot_threads.asciidoc b/docs/reference-nodes-hot_threads.asciidoc
index 5c5498a2d..65e222936 100644
--- a/docs/reference-nodes-hot_threads.asciidoc
+++ b/docs/reference-nodes-hot_threads.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.nodes.hotThreads]]
 === client.nodes.hotThreads
 
 This API yields a breakdown of the hot threads on each selected node in the cluster. The output is plain text with a breakdown of each node’s top hot threads.
diff --git a/docs/reference-nodes-info.asciidoc b/docs/reference-nodes-info.asciidoc
index 8fabbbb81..498378bce 100644
--- a/docs/reference-nodes-info.asciidoc
+++ b/docs/reference-nodes-info.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.nodes.info]]
 === client.nodes.info
 
 Returns cluster nodes information.
diff --git a/docs/reference-nodes-reload_secure_settings.asciidoc b/docs/reference-nodes-reload_secure_settings.asciidoc
index 5a0d30e1f..4fc78c056 100644
--- a/docs/reference-nodes-reload_secure_settings.asciidoc
+++ b/docs/reference-nodes-reload_secure_settings.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.nodes.reloadSecureSettings]]
 === client.nodes.reloadSecureSettings
 
 Reloads the keystore on nodes in the cluster.
diff --git a/docs/reference-nodes-stats.asciidoc b/docs/reference-nodes-stats.asciidoc
index 35a06ff32..21adea8de 100644
--- a/docs/reference-nodes-stats.asciidoc
+++ b/docs/reference-nodes-stats.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.nodes.stats]]
 === client.nodes.stats
 
 Returns cluster nodes statistics.
diff --git a/docs/reference-nodes-usage.asciidoc b/docs/reference-nodes-usage.asciidoc
index 762be00c4..f6a93cef9 100644
--- a/docs/reference-nodes-usage.asciidoc
+++ b/docs/reference-nodes-usage.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.nodes.usage]]
 === client.nodes.usage
 
 Returns information on the usage of features.
diff --git a/docs/reference-open_point_in_time.asciidoc b/docs/reference-open_point_in_time.asciidoc
index 35b8a18da..56f7c4c81 100644
--- a/docs/reference-open_point_in_time.asciidoc
+++ b/docs/reference-open_point_in_time.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.openPointInTime]]
 === client.openPointInTime
 
 Open a point in time. A search request by default runs against the most recent visible data of the target indices, which is called point in time. Elasticsearch pit (point in time) is a lightweight view into the state of the data as it existed when initiated. In some cases, it’s preferred to perform multiple search requests using the same point in time. For example, if refreshes happen between `search_after` requests, then the results of those requests might not be consistent as changes happening between searches are only visible to the more recent point in time. A point in time must be opened explicitly before being used in search requests. The `keep_alive` parameter tells Elasticsearch how long it should persist.
@@ -54,7 +55,7 @@ interface OpenPointInTimeRequest extends <> {
   preference?: string
   routing?: <>
   expand_wildcards?: <>
-  index_filter?: QueryDslQueryContainer
+  index_filter?: <>
 }
 
 [pass]
diff --git a/docs/reference-ping.asciidoc b/docs/reference-ping.asciidoc
index 1086b59b7..9c3f57ece 100644
--- a/docs/reference-ping.asciidoc
+++ b/docs/reference-ping.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.ping]]
 === client.ping
 
 Ping the cluster. Returns whether the cluster is running.
diff --git a/docs/reference-put_script.asciidoc b/docs/reference-put_script.asciidoc
index 8f0d18a51..8a09c85c4 100644
--- a/docs/reference-put_script.asciidoc
+++ b/docs/reference-put_script.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.putScript]]
 === client.putScript
 
 Create or update a script or search template. Creates or updates a stored script or search template.
diff --git a/docs/reference-query_rules-delete_rule.asciidoc b/docs/reference-query_rules-delete_rule.asciidoc
index 081e8659b..e969e7cf4 100644
--- a/docs/reference-query_rules-delete_rule.asciidoc
+++ b/docs/reference-query_rules-delete_rule.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.queryRules.deleteRule]]
 === client.queryRules.deleteRule
 
 Deletes a query rule within a query ruleset.
diff --git a/docs/reference-query_rules-delete_ruleset.asciidoc b/docs/reference-query_rules-delete_ruleset.asciidoc
index 3383cb7bc..a29247a7c 100644
--- a/docs/reference-query_rules-delete_ruleset.asciidoc
+++ b/docs/reference-query_rules-delete_ruleset.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.queryRules.deleteRuleset]]
 === client.queryRules.deleteRuleset
 
 Deletes a query ruleset.
diff --git a/docs/reference-query_rules-get_rule.asciidoc b/docs/reference-query_rules-get_rule.asciidoc
index 7c6ef229b..271c83a6a 100644
--- a/docs/reference-query_rules-get_rule.asciidoc
+++ b/docs/reference-query_rules-get_rule.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.queryRules.getRule]]
 === client.queryRules.getRule
 
 Returns the details about a query rule within a query ruleset
diff --git a/docs/reference-query_rules-get_ruleset.asciidoc b/docs/reference-query_rules-get_ruleset.asciidoc
index 8b09de86e..ae9ed1af1 100644
--- a/docs/reference-query_rules-get_ruleset.asciidoc
+++ b/docs/reference-query_rules-get_ruleset.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.queryRules.getRuleset]]
 === client.queryRules.getRuleset
 
 Returns the details about a query ruleset
diff --git a/docs/reference-query_rules-list_rulesets.asciidoc b/docs/reference-query_rules-list_rulesets.asciidoc
index ef1c6ef8d..e5073e21f 100644
--- a/docs/reference-query_rules-list_rulesets.asciidoc
+++ b/docs/reference-query_rules-list_rulesets.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.queryRules.listRulesets]]
 === client.queryRules.listRulesets
 
 Returns summarized information about existing query rulesets.
diff --git a/docs/reference-query_rules-put_rule.asciidoc b/docs/reference-query_rules-put_rule.asciidoc
index 9f4af5771..958d2e2f6 100644
--- a/docs/reference-query_rules-put_rule.asciidoc
+++ b/docs/reference-query_rules-put_rule.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.queryRules.putRule]]
 === client.queryRules.putRule
 
 Creates or updates a query rule within a query ruleset.
diff --git a/docs/reference-query_rules-put_ruleset.asciidoc b/docs/reference-query_rules-put_ruleset.asciidoc
index 297be4384..abeed2a28 100644
--- a/docs/reference-query_rules-put_ruleset.asciidoc
+++ b/docs/reference-query_rules-put_ruleset.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.queryRules.putRuleset]]
 === client.queryRules.putRuleset
 
 Creates or updates a query ruleset.
diff --git a/docs/reference-query_rules-test.asciidoc b/docs/reference-query_rules-test.asciidoc
index 2fb947c29..f8d5df2bb 100644
--- a/docs/reference-query_rules-test.asciidoc
+++ b/docs/reference-query_rules-test.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.queryRules.test]]
 === client.queryRules.test
 
 Creates or updates a query ruleset.
diff --git a/docs/reference-rank_eval.asciidoc b/docs/reference-rank_eval.asciidoc
index 0c4ce4e8b..158a7fb86 100644
--- a/docs/reference-rank_eval.asciidoc
+++ b/docs/reference-rank_eval.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.rankEval]]
 === client.rankEval
 
 Evaluate ranked search results. Evaluate the quality of ranked search results over a set of typical search queries.
diff --git a/docs/reference-reindex.asciidoc b/docs/reference-reindex.asciidoc
index dc5a074f0..96c39bd1b 100644
--- a/docs/reference-reindex.asciidoc
+++ b/docs/reference-reindex.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.reindex]]
 === client.reindex
 
 Reindex documents. Copies documents from a source to a destination. The source can be any existing index, alias, or data stream. The destination must differ from the source. For example, you cannot reindex a data stream into itself.
diff --git a/docs/reference-reindex_rethrottle.asciidoc b/docs/reference-reindex_rethrottle.asciidoc
index 8fb550336..a26a96e7f 100644
--- a/docs/reference-reindex_rethrottle.asciidoc
+++ b/docs/reference-reindex_rethrottle.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.reindexRethrottle]]
 === client.reindexRethrottle
 
 Throttle a reindex operation. Change the number of requests per second for a particular reindex operation.
diff --git a/docs/reference-render_search_template.asciidoc b/docs/reference-render_search_template.asciidoc
index 1875199a8..d9beb8a99 100644
--- a/docs/reference-render_search_template.asciidoc
+++ b/docs/reference-render_search_template.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.renderSearchTemplate]]
 === client.renderSearchTemplate
 
 Render a search template. Render a search template as a search request body.
diff --git a/docs/reference-rollup-delete_job.asciidoc b/docs/reference-rollup-delete_job.asciidoc
index cad324226..f7290631d 100644
--- a/docs/reference-rollup-delete_job.asciidoc
+++ b/docs/reference-rollup-delete_job.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.rollup.deleteJob]]
 === client.rollup.deleteJob
 
 Deletes an existing rollup job.
diff --git a/docs/reference-rollup-get_jobs.asciidoc b/docs/reference-rollup-get_jobs.asciidoc
index fbafce131..1f3b700db 100644
--- a/docs/reference-rollup-get_jobs.asciidoc
+++ b/docs/reference-rollup-get_jobs.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.rollup.getJobs]]
 === client.rollup.getJobs
 
 Retrieves the configuration, stats, and status of rollup jobs.
diff --git a/docs/reference-rollup-get_rollup_caps.asciidoc b/docs/reference-rollup-get_rollup_caps.asciidoc
index b89faa050..57473d13a 100644
--- a/docs/reference-rollup-get_rollup_caps.asciidoc
+++ b/docs/reference-rollup-get_rollup_caps.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.rollup.getRollupCaps]]
 === client.rollup.getRollupCaps
 
 Returns the capabilities of any rollup jobs that have been configured for a specific index or index pattern.
diff --git a/docs/reference-rollup-get_rollup_index_caps.asciidoc b/docs/reference-rollup-get_rollup_index_caps.asciidoc
index bccec87f6..bcf903395 100644
--- a/docs/reference-rollup-get_rollup_index_caps.asciidoc
+++ b/docs/reference-rollup-get_rollup_index_caps.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.rollup.getRollupIndexCaps]]
 === client.rollup.getRollupIndexCaps
 
 Returns the rollup capabilities of all jobs inside of a rollup index (for example, the index where rollup data is stored).
diff --git a/docs/reference-rollup-put_job.asciidoc b/docs/reference-rollup-put_job.asciidoc
index 57c9b1042..1b3728d51 100644
--- a/docs/reference-rollup-put_job.asciidoc
+++ b/docs/reference-rollup-put_job.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.rollup.putJob]]
 === client.rollup.putJob
 
 Creates a rollup job.
diff --git a/docs/reference-rollup-rollup_search.asciidoc b/docs/reference-rollup-rollup_search.asciidoc
index 35b881a21..3fcf5129c 100644
--- a/docs/reference-rollup-rollup_search.asciidoc
+++ b/docs/reference-rollup-rollup_search.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.rollup.rollupSearch]]
 === client.rollup.rollupSearch
 
 Enables searching rolled-up data using the standard Query DSL.
@@ -51,10 +52,10 @@ interface RollupRollupSearchRequest extends <> {
   index: <>
   rest_total_hits_as_int?: boolean
   typed_keys?: boolean
-  aggregations?: Record
+  aggregations?: Record>>
   pass:[/**] @alias aggregations */
-  aggs?: Record
-  query?: QueryDslQueryContainer
+  aggs?: Record>>
+  query?: <>
   size?: <<_integer, integer>>
 }
 
@@ -69,7 +70,7 @@ interface RollupRollupSearchRequest extends <> {
 ++++
 
 ++++
-interface RollupRollupSearchResponse>, AggregationsAggregate>> {
+interface RollupRollupSearchResponse>, <>>> {
   took: <<_long, long>>
   timed_out: boolean
   terminated_early?: boolean
diff --git a/docs/reference-rollup-start_job.asciidoc b/docs/reference-rollup-start_job.asciidoc
index 0d4304ac4..f9f2b9758 100644
--- a/docs/reference-rollup-start_job.asciidoc
+++ b/docs/reference-rollup-start_job.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.rollup.startJob]]
 === client.rollup.startJob
 
 Starts an existing, stopped rollup job.
diff --git a/docs/reference-rollup-stop_job.asciidoc b/docs/reference-rollup-stop_job.asciidoc
index 62836a325..60700c1ab 100644
--- a/docs/reference-rollup-stop_job.asciidoc
+++ b/docs/reference-rollup-stop_job.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.rollup.stopJob]]
 === client.rollup.stopJob
 
 Stops an existing, started rollup job.
diff --git a/docs/reference-scripts_painless_execute.asciidoc b/docs/reference-scripts_painless_execute.asciidoc
index 36f76178c..cc6607711 100644
--- a/docs/reference-scripts_painless_execute.asciidoc
+++ b/docs/reference-scripts_painless_execute.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.scriptsPainlessExecute]]
 === client.scriptsPainlessExecute
 
 Run a script. Runs a script and returns a result.
diff --git a/docs/reference-scroll.asciidoc b/docs/reference-scroll.asciidoc
index 3ffa590b7..423f0d718 100644
--- a/docs/reference-scroll.asciidoc
+++ b/docs/reference-scroll.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.scroll]]
 === client.scroll
 
 Run a scrolling search. IMPORTANT: The scroll API is no longer recommend for deep pagination. If you need to preserve the index state while paging through more than 10,000 hits, use the `search_after` parameter with a point in time (PIT). The scroll API gets large sets of results from a single scrolling search request. To get the necessary scroll ID, submit a search API request that includes an argument for the `scroll` query parameter. The `scroll` parameter indicates how long Elasticsearch should retain the search context for the request. The search response returns a scroll ID in the `_scroll_id` response body parameter. You can then use the scroll ID with the scroll API to retrieve the next batch of results for the request. If the Elasticsearch security features are enabled, the access to the results of a specific scroll ID is restricted to the user or API key that submitted the search. You can also use the scroll API to specify a new scroll parameter that extends or shortens the retention period for the search context. IMPORTANT: Results from a scrolling search reflect the state of the index at the time of the initial search request. Subsequent indexing or document changes only affect later search and scroll requests.
@@ -64,7 +65,7 @@ interface ScrollRequest extends <> {
 ++++
 
 ++++
-type ScrollResponse>, AggregationsAggregate>> = SearchResponseBody
+type ScrollResponse>, <>>> = SearchResponseBody
 
 [pass]
 ++++
diff --git a/docs/reference-search.asciidoc b/docs/reference-search.asciidoc
index f6ab16cf7..6f3669c3d 100644
--- a/docs/reference-search.asciidoc
+++ b/docs/reference-search.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.search]]
 === client.search
 
 Run a search. Get search hits that match the query defined in the request. You can provide search queries using the `q` query string parameter or the request body. If both are specified, only the query parameter is used.
@@ -55,7 +56,7 @@ interface SearchRequest extends <> {
   analyze_wildcard?: boolean
   batched_reduce_size?: <<_long, long>>
   ccs_minimize_roundtrips?: boolean
-  default_operator?: QueryDslOperator
+  default_operator?: <>
   df?: string
   expand_wildcards?: <>
   ignore_throttled?: boolean
@@ -80,9 +81,9 @@ interface SearchRequest extends <> {
   _source_includes?: <>
   q?: string
   force_synthetic_source?: boolean
-  aggregations?: Record
+  aggregations?: Record>>
   pass:[/**] @alias aggregations */
-  aggs?: Record
+  aggs?: Record>>
   collapse?: SearchFieldCollapse
   explain?: boolean
   ext?: Record
@@ -90,13 +91,13 @@ interface SearchRequest extends <> {
   highlight?: SearchHighlight
   track_total_hits?: SearchTrackHits
   indices_boost?: Record<<>, <<_double, double>>>[]
-  docvalue_fields?: (QueryDslFieldAndFormat | <>)[]
+  docvalue_fields?: (<> | <>)[]
   knn?: <> | <>[]
   rank?: <>
   min_score?: <<_double, double>>
-  post_filter?: QueryDslQueryContainer
+  post_filter?: <>
   profile?: boolean
-  query?: QueryDslQueryContainer
+  query?: <>
   rescore?: SearchRescore | SearchRescore[]
   retriever?: <>
   script_fields?: Record>>
@@ -105,7 +106,7 @@ interface SearchRequest extends <> {
   slice?: <>
   sort?: <>
   _source?: SearchSourceConfig
-  fields?: (QueryDslFieldAndFormat | <>)[]
+  fields?: (<> | <>)[]
   suggest?: SearchSuggester
   terminate_after?: <<_long, long>>
   timeout?: string
@@ -114,7 +115,7 @@ interface SearchRequest extends <> {
   seq_no_primary_term?: boolean
   stored_fields?: <>
   pit?: SearchPointInTimeReference
-  runtime_mappings?: MappingRuntimeFields
+  runtime_mappings?: <>
   stats?: string[]
 }
 
@@ -129,7 +130,7 @@ interface SearchRequest extends <> {
 ++++
 
 ++++
-type SearchResponse>, AggregationsAggregate>> = SearchResponseBody
+type SearchResponse>, <>>> = SearchResponseBody
 
 [pass]
 ++++
diff --git a/docs/reference-search_application-delete.asciidoc b/docs/reference-search_application-delete.asciidoc
index 91a494713..44079caf7 100644
--- a/docs/reference-search_application-delete.asciidoc
+++ b/docs/reference-search_application-delete.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.searchApplication.delete]]
 === client.searchApplication.delete
 
 Delete a search application. Remove a search application and its associated alias. Indices attached to the search application are not removed.
diff --git a/docs/reference-search_application-delete_behavioral_analytics.asciidoc b/docs/reference-search_application-delete_behavioral_analytics.asciidoc
index 4a6533773..94ab09d4e 100644
--- a/docs/reference-search_application-delete_behavioral_analytics.asciidoc
+++ b/docs/reference-search_application-delete_behavioral_analytics.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.searchApplication.deleteBehavioralAnalytics]]
 === client.searchApplication.deleteBehavioralAnalytics
 
 Delete a behavioral analytics collection. The associated data stream is also deleted.
diff --git a/docs/reference-search_application-get.asciidoc b/docs/reference-search_application-get.asciidoc
index 596e03226..3318019b3 100644
--- a/docs/reference-search_application-get.asciidoc
+++ b/docs/reference-search_application-get.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.searchApplication.get]]
 === client.searchApplication.get
 
 Get search application details.
diff --git a/docs/reference-search_application-get_behavioral_analytics.asciidoc b/docs/reference-search_application-get_behavioral_analytics.asciidoc
index 26d48c9af..d381009d2 100644
--- a/docs/reference-search_application-get_behavioral_analytics.asciidoc
+++ b/docs/reference-search_application-get_behavioral_analytics.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.searchApplication.getBehavioralAnalytics]]
 === client.searchApplication.getBehavioralAnalytics
 
 Get behavioral analytics collections.
diff --git a/docs/reference-search_application-list.asciidoc b/docs/reference-search_application-list.asciidoc
index 793e96adc..6e62c3dac 100644
--- a/docs/reference-search_application-list.asciidoc
+++ b/docs/reference-search_application-list.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.searchApplication.list]]
 === client.searchApplication.list
 
 Returns the existing search applications.
diff --git a/docs/reference-search_application-post_behavioral_analytics_event.asciidoc b/docs/reference-search_application-post_behavioral_analytics_event.asciidoc
index c25080b48..c8658b4e8 100644
--- a/docs/reference-search_application-post_behavioral_analytics_event.asciidoc
+++ b/docs/reference-search_application-post_behavioral_analytics_event.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.searchApplication.postBehavioralAnalyticsEvent]]
 === client.searchApplication.postBehavioralAnalyticsEvent
 
 Creates a behavioral analytics event for existing collection.
diff --git a/docs/reference-search_application-put.asciidoc b/docs/reference-search_application-put.asciidoc
index e82f14f9a..34ce34d48 100644
--- a/docs/reference-search_application-put.asciidoc
+++ b/docs/reference-search_application-put.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.searchApplication.put]]
 === client.searchApplication.put
 
 Create or update a search application.
diff --git a/docs/reference-search_application-put_behavioral_analytics.asciidoc b/docs/reference-search_application-put_behavioral_analytics.asciidoc
index d51e8f181..3464cd703 100644
--- a/docs/reference-search_application-put_behavioral_analytics.asciidoc
+++ b/docs/reference-search_application-put_behavioral_analytics.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.searchApplication.putBehavioralAnalytics]]
 === client.searchApplication.putBehavioralAnalytics
 
 Create a behavioral analytics collection.
diff --git a/docs/reference-search_application-render_query.asciidoc b/docs/reference-search_application-render_query.asciidoc
index 69b51011c..e8a6db885 100644
--- a/docs/reference-search_application-render_query.asciidoc
+++ b/docs/reference-search_application-render_query.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.searchApplication.renderQuery]]
 === client.searchApplication.renderQuery
 
 Renders a query for given search application search parameters
diff --git a/docs/reference-search_application-search.asciidoc b/docs/reference-search_application-search.asciidoc
index f04beb159..220677142 100644
--- a/docs/reference-search_application-search.asciidoc
+++ b/docs/reference-search_application-search.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.searchApplication.search]]
 === client.searchApplication.search
 
 Run a search application search. Generate and run an Elasticsearch query that uses the specified query parameteter and the search template associated with the search application or default template. Unspecified template parameters are assigned their default values if applicable.
@@ -64,7 +65,7 @@ interface SearchApplicationSearchRequest extends <> {
 ++++
 
 ++++
-type SearchApplicationSearchResponse>, AggregationsAggregate>> = SearchResponseBody
+type SearchApplicationSearchResponse>, <>>> = SearchResponseBody
 
 [pass]
 ++++
diff --git a/docs/reference-search_mvt.asciidoc b/docs/reference-search_mvt.asciidoc
index c3b3b6f28..efdf31541 100644
--- a/docs/reference-search_mvt.asciidoc
+++ b/docs/reference-search_mvt.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.searchMvt]]
 === client.searchMvt
 
 Search a vector tile. Search a vector tile for geospatial values.
@@ -53,7 +54,7 @@ interface SearchMvtRequest extends <> {
   zoom: SearchMvtZoomLevel
   x: SearchMvtCoordinate
   y: SearchMvtCoordinate
-  aggs?: Record
+  aggs?: Record>>
   buffer?: <<_integer, integer>>
   exact_bounds?: boolean
   extent?: <<_integer, integer>>
@@ -61,8 +62,8 @@ interface SearchMvtRequest extends <> {
   grid_agg?: SearchMvtGridAggregationType
   grid_precision?: <<_integer, integer>>
   grid_type?: SearchMvtGridType
-  query?: QueryDslQueryContainer
-  runtime_mappings?: MappingRuntimeFields
+  query?: <>
+  runtime_mappings?: <>
   size?: <<_integer, integer>>
   sort?: <>
   track_total_hits?: SearchTrackHits
diff --git a/docs/reference-search_shards.asciidoc b/docs/reference-search_shards.asciidoc
index 9cc02d9d5..55bd510d1 100644
--- a/docs/reference-search_shards.asciidoc
+++ b/docs/reference-search_shards.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.searchShards]]
 === client.searchShards
 
 Get the search shards. Get the indices and shards that a search request would be run against. This information can be useful for working out issues or planning optimizations with routing and shard preferences. When filtered aliases are used, the filter is returned as part of the indices section.
diff --git a/docs/reference-search_template.asciidoc b/docs/reference-search_template.asciidoc
index 2e5fed389..7a3da584f 100644
--- a/docs/reference-search_template.asciidoc
+++ b/docs/reference-search_template.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.searchTemplate]]
 === client.searchTemplate
 
 Run a search with a search template.
@@ -83,7 +84,7 @@ interface SearchTemplateResponse {
   timed_out: boolean
   _shards: <>
   hits: SearchHitsMetadata
-  aggregations?: Record<<>, AggregationsAggregate>
+  aggregations?: Record<<>, <>>
   _clusters?: <>
   fields?: Record
   max_score?: <<_double, double>>
diff --git a/docs/reference-searchable_snapshots-cache_stats.asciidoc b/docs/reference-searchable_snapshots-cache_stats.asciidoc
index 4af9451b3..78303791b 100644
--- a/docs/reference-searchable_snapshots-cache_stats.asciidoc
+++ b/docs/reference-searchable_snapshots-cache_stats.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.searchableSnapshots.cacheStats]]
 === client.searchableSnapshots.cacheStats
 
 Retrieve node-level cache statistics about searchable snapshots.
diff --git a/docs/reference-searchable_snapshots-clear_cache.asciidoc b/docs/reference-searchable_snapshots-clear_cache.asciidoc
index df7e35d1a..dadb42cf4 100644
--- a/docs/reference-searchable_snapshots-clear_cache.asciidoc
+++ b/docs/reference-searchable_snapshots-clear_cache.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.searchableSnapshots.clearCache]]
 === client.searchableSnapshots.clearCache
 
 Clear the cache of searchable snapshots.
diff --git a/docs/reference-searchable_snapshots-mount.asciidoc b/docs/reference-searchable_snapshots-mount.asciidoc
index 38d9863c5..43bc7baab 100644
--- a/docs/reference-searchable_snapshots-mount.asciidoc
+++ b/docs/reference-searchable_snapshots-mount.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.searchableSnapshots.mount]]
 === client.searchableSnapshots.mount
 
 Mount a snapshot as a searchable index.
diff --git a/docs/reference-searchable_snapshots-stats.asciidoc b/docs/reference-searchable_snapshots-stats.asciidoc
index 4455b7184..92840918e 100644
--- a/docs/reference-searchable_snapshots-stats.asciidoc
+++ b/docs/reference-searchable_snapshots-stats.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.searchableSnapshots.stats]]
 === client.searchableSnapshots.stats
 
 Retrieve shard-level statistics about searchable snapshots.
diff --git a/docs/reference-security-activate_user_profile.asciidoc b/docs/reference-security-activate_user_profile.asciidoc
index dc291ed70..3dc2959b6 100644
--- a/docs/reference-security-activate_user_profile.asciidoc
+++ b/docs/reference-security-activate_user_profile.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.activateUserProfile]]
 === client.security.activateUserProfile
 
 Activate a user profile. Create or update a user profile on behalf of another user.
diff --git a/docs/reference-security-authenticate.asciidoc b/docs/reference-security-authenticate.asciidoc
index 157d33125..2a3a8eaa8 100644
--- a/docs/reference-security-authenticate.asciidoc
+++ b/docs/reference-security-authenticate.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.authenticate]]
 === client.security.authenticate
 
 Authenticate a user. Authenticates a user and returns information about the authenticated user. Include the user information in a [basic auth header](https://en.wikipedia.org/wiki/Basic_access_authentication). A successful call returns a JSON structure that shows user information such as their username, the roles that are assigned to the user, any assigned metadata, and information about the realms that authenticated and authorized the user. If the user cannot be authenticated, this API returns a 401 status code.
diff --git a/docs/reference-security-bulk_delete_role.asciidoc b/docs/reference-security-bulk_delete_role.asciidoc
index ef204dbda..e83102e88 100644
--- a/docs/reference-security-bulk_delete_role.asciidoc
+++ b/docs/reference-security-bulk_delete_role.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.bulkDeleteRole]]
 === client.security.bulkDeleteRole
 
 Bulk delete roles. The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. The bulk delete roles API cannot delete roles that are defined in roles files.
diff --git a/docs/reference-security-bulk_put_role.asciidoc b/docs/reference-security-bulk_put_role.asciidoc
index dbec22d7c..4dae28671 100644
--- a/docs/reference-security-bulk_put_role.asciidoc
+++ b/docs/reference-security-bulk_put_role.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.bulkPutRole]]
 === client.security.bulkPutRole
 
 Bulk create or update roles. The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. The bulk create or update roles API cannot update roles that are defined in roles files.
diff --git a/docs/reference-security-bulk_update_api_keys.asciidoc b/docs/reference-security-bulk_update_api_keys.asciidoc
index dfe8563bf..2170069bd 100644
--- a/docs/reference-security-bulk_update_api_keys.asciidoc
+++ b/docs/reference-security-bulk_update_api_keys.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.bulkUpdateApiKeys]]
 === client.security.bulkUpdateApiKeys
 
 Updates the attributes of multiple existing API keys.
diff --git a/docs/reference-security-change_password.asciidoc b/docs/reference-security-change_password.asciidoc
index e7eb360d6..aee207857 100644
--- a/docs/reference-security-change_password.asciidoc
+++ b/docs/reference-security-change_password.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.changePassword]]
 === client.security.changePassword
 
 Change passwords. Change the passwords of users in the native realm and built-in users.
diff --git a/docs/reference-security-clear_api_key_cache.asciidoc b/docs/reference-security-clear_api_key_cache.asciidoc
index 7ddf2755d..a58286eed 100644
--- a/docs/reference-security-clear_api_key_cache.asciidoc
+++ b/docs/reference-security-clear_api_key_cache.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.clearApiKeyCache]]
 === client.security.clearApiKeyCache
 
 Clear the API key cache. Evict a subset of all entries from the API key cache. The cache is also automatically cleared on state changes of the security index.
diff --git a/docs/reference-security-clear_cached_privileges.asciidoc b/docs/reference-security-clear_cached_privileges.asciidoc
index 5829e19c2..588185e57 100644
--- a/docs/reference-security-clear_cached_privileges.asciidoc
+++ b/docs/reference-security-clear_cached_privileges.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.clearCachedPrivileges]]
 === client.security.clearCachedPrivileges
 
 Clear the privileges cache. Evict privileges from the native application privilege cache. The cache is also automatically cleared for applications that have their privileges updated.
diff --git a/docs/reference-security-clear_cached_realms.asciidoc b/docs/reference-security-clear_cached_realms.asciidoc
index 9fba54bf8..7df469d7c 100644
--- a/docs/reference-security-clear_cached_realms.asciidoc
+++ b/docs/reference-security-clear_cached_realms.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.clearCachedRealms]]
 === client.security.clearCachedRealms
 
 Clear the user cache. Evict users from the user cache. You can completely clear the cache or evict specific users.
diff --git a/docs/reference-security-clear_cached_roles.asciidoc b/docs/reference-security-clear_cached_roles.asciidoc
index 29593924d..3bf998b17 100644
--- a/docs/reference-security-clear_cached_roles.asciidoc
+++ b/docs/reference-security-clear_cached_roles.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.clearCachedRoles]]
 === client.security.clearCachedRoles
 
 Clear the roles cache. Evict roles from the native role cache.
diff --git a/docs/reference-security-clear_cached_service_tokens.asciidoc b/docs/reference-security-clear_cached_service_tokens.asciidoc
index 7148a350d..ca63c2e52 100644
--- a/docs/reference-security-clear_cached_service_tokens.asciidoc
+++ b/docs/reference-security-clear_cached_service_tokens.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.clearCachedServiceTokens]]
 === client.security.clearCachedServiceTokens
 
 Clear service account token caches. Evict a subset of all entries from the service account token caches.
diff --git a/docs/reference-security-create_api_key.asciidoc b/docs/reference-security-create_api_key.asciidoc
index 94fb70fae..33bbb194d 100644
--- a/docs/reference-security-create_api_key.asciidoc
+++ b/docs/reference-security-create_api_key.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.createApiKey]]
 === client.security.createApiKey
 
 Create an API key. Create an API key for access without requiring basic authentication. A successful request returns a JSON structure that contains the API key, its unique id, and its name. If applicable, it also returns expiration information for the API key in milliseconds. NOTE: By default, API keys never expire. You can specify expiration information when you create the API keys.
diff --git a/docs/reference-security-create_cross_cluster_api_key.asciidoc b/docs/reference-security-create_cross_cluster_api_key.asciidoc
index d5d95deb4..ec86b62b4 100644
--- a/docs/reference-security-create_cross_cluster_api_key.asciidoc
+++ b/docs/reference-security-create_cross_cluster_api_key.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.createCrossClusterApiKey]]
 === client.security.createCrossClusterApiKey
 
 Create a cross-cluster API key. Create an API key of the `cross_cluster` type for the API key based remote cluster access. A `cross_cluster` API key cannot be used to authenticate through the REST interface. IMPORTANT: To authenticate this request you must use a credential that is not an API key. Even if you use an API key that has the required privilege, the API returns an error. Cross-cluster API keys are created by the Elasticsearch API key service, which is automatically enabled. NOTE: Unlike REST API keys, a cross-cluster API key does not capture permissions of the authenticated user. The API key’s effective permission is exactly as specified with the `access` property. A successful request returns a JSON structure that contains the API key, its unique ID, and its name. If applicable, it also returns expiration information for the API key in milliseconds. By default, API keys never expire. You can specify expiration information when you create the API keys. Cross-cluster API keys can only be updated with the update cross-cluster API key API. Attempting to update them with the update REST API key API or the bulk update REST API keys API will result in an error.
diff --git a/docs/reference-security-create_service_token.asciidoc b/docs/reference-security-create_service_token.asciidoc
index d40f0b6b4..9453f3f22 100644
--- a/docs/reference-security-create_service_token.asciidoc
+++ b/docs/reference-security-create_service_token.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.createServiceToken]]
 === client.security.createServiceToken
 
 Create a service account token. Create a service accounts token for access without requiring basic authentication.
diff --git a/docs/reference-security-delete_privileges.asciidoc b/docs/reference-security-delete_privileges.asciidoc
index 2cc1ca805..c29fdc8f0 100644
--- a/docs/reference-security-delete_privileges.asciidoc
+++ b/docs/reference-security-delete_privileges.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.deletePrivileges]]
 === client.security.deletePrivileges
 
 Delete application privileges.
diff --git a/docs/reference-security-delete_role.asciidoc b/docs/reference-security-delete_role.asciidoc
index d242dd1ab..6f2b0dad1 100644
--- a/docs/reference-security-delete_role.asciidoc
+++ b/docs/reference-security-delete_role.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.deleteRole]]
 === client.security.deleteRole
 
 Delete roles. Delete roles in the native realm.
diff --git a/docs/reference-security-delete_role_mapping.asciidoc b/docs/reference-security-delete_role_mapping.asciidoc
index 110b1386c..3299ccbaf 100644
--- a/docs/reference-security-delete_role_mapping.asciidoc
+++ b/docs/reference-security-delete_role_mapping.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.deleteRoleMapping]]
 === client.security.deleteRoleMapping
 
 Delete role mappings.
diff --git a/docs/reference-security-delete_service_token.asciidoc b/docs/reference-security-delete_service_token.asciidoc
index ed4760518..7acf0bb67 100644
--- a/docs/reference-security-delete_service_token.asciidoc
+++ b/docs/reference-security-delete_service_token.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.deleteServiceToken]]
 === client.security.deleteServiceToken
 
 Delete service account tokens. Delete service account tokens for a service in a specified namespace.
diff --git a/docs/reference-security-delete_user.asciidoc b/docs/reference-security-delete_user.asciidoc
index 7304f2b4e..c1007aa70 100644
--- a/docs/reference-security-delete_user.asciidoc
+++ b/docs/reference-security-delete_user.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.deleteUser]]
 === client.security.deleteUser
 
 Delete users. Delete users from the native realm.
diff --git a/docs/reference-security-disable_user.asciidoc b/docs/reference-security-disable_user.asciidoc
index 2877277e8..c4e5dae18 100644
--- a/docs/reference-security-disable_user.asciidoc
+++ b/docs/reference-security-disable_user.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.disableUser]]
 === client.security.disableUser
 
 Disable users. Disable users in the native realm.
diff --git a/docs/reference-security-disable_user_profile.asciidoc b/docs/reference-security-disable_user_profile.asciidoc
index 97540b66d..d9cf759f9 100644
--- a/docs/reference-security-disable_user_profile.asciidoc
+++ b/docs/reference-security-disable_user_profile.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.disableUserProfile]]
 === client.security.disableUserProfile
 
 Disable a user profile. Disable user profiles so that they are not visible in user profile searches.
diff --git a/docs/reference-security-enable_user.asciidoc b/docs/reference-security-enable_user.asciidoc
index a7a482b1d..6a028660d 100644
--- a/docs/reference-security-enable_user.asciidoc
+++ b/docs/reference-security-enable_user.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.enableUser]]
 === client.security.enableUser
 
 Enable users. Enable users in the native realm.
diff --git a/docs/reference-security-enable_user_profile.asciidoc b/docs/reference-security-enable_user_profile.asciidoc
index a7f1c5e57..6a84a91d9 100644
--- a/docs/reference-security-enable_user_profile.asciidoc
+++ b/docs/reference-security-enable_user_profile.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.enableUserProfile]]
 === client.security.enableUserProfile
 
 Enable a user profile. Enable user profiles to make them visible in user profile searches.
diff --git a/docs/reference-security-enroll_kibana.asciidoc b/docs/reference-security-enroll_kibana.asciidoc
index 21028cb14..c5a9333be 100644
--- a/docs/reference-security-enroll_kibana.asciidoc
+++ b/docs/reference-security-enroll_kibana.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.enrollKibana]]
 === client.security.enrollKibana
 
 Enroll Kibana. Enable a Kibana instance to configure itself for communication with a secured Elasticsearch cluster.
diff --git a/docs/reference-security-enroll_node.asciidoc b/docs/reference-security-enroll_node.asciidoc
index c158f5b18..7eb642c02 100644
--- a/docs/reference-security-enroll_node.asciidoc
+++ b/docs/reference-security-enroll_node.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.enrollNode]]
 === client.security.enrollNode
 
 Enroll a node. Enroll a new node to allow it to join an existing cluster with security features enabled.
diff --git a/docs/reference-security-get_api_key.asciidoc b/docs/reference-security-get_api_key.asciidoc
index 11af7a919..25e8e29a4 100644
--- a/docs/reference-security-get_api_key.asciidoc
+++ b/docs/reference-security-get_api_key.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.getApiKey]]
 === client.security.getApiKey
 
 Get API key information. Retrieves information for one or more API keys. NOTE: If you have only the `manage_own_api_key` privilege, this API returns only the API keys that you own. If you have `read_security`, `manage_api_key` or greater privileges (including `manage_security`), this API returns all API keys regardless of ownership.
diff --git a/docs/reference-security-get_builtin_privileges.asciidoc b/docs/reference-security-get_builtin_privileges.asciidoc
index 3dbea9347..3a4fddca1 100644
--- a/docs/reference-security-get_builtin_privileges.asciidoc
+++ b/docs/reference-security-get_builtin_privileges.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.getBuiltinPrivileges]]
 === client.security.getBuiltinPrivileges
 
 Get builtin privileges. Get the list of cluster privileges and index privileges that are available in this version of Elasticsearch.
diff --git a/docs/reference-security-get_privileges.asciidoc b/docs/reference-security-get_privileges.asciidoc
index a221fb1aa..e245c0dd6 100644
--- a/docs/reference-security-get_privileges.asciidoc
+++ b/docs/reference-security-get_privileges.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.getPrivileges]]
 === client.security.getPrivileges
 
 Get application privileges.
diff --git a/docs/reference-security-get_role.asciidoc b/docs/reference-security-get_role.asciidoc
index 436c328ed..f5f321bc8 100644
--- a/docs/reference-security-get_role.asciidoc
+++ b/docs/reference-security-get_role.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.getRole]]
 === client.security.getRole
 
 Get roles. Get roles in the native realm. The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. The get roles API cannot retrieve roles that are defined in roles files.
diff --git a/docs/reference-security-get_role_mapping.asciidoc b/docs/reference-security-get_role_mapping.asciidoc
index 683c9f6c2..108d94284 100644
--- a/docs/reference-security-get_role_mapping.asciidoc
+++ b/docs/reference-security-get_role_mapping.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.getRoleMapping]]
 === client.security.getRoleMapping
 
 Get role mappings. Role mappings define which roles are assigned to each user. The role mapping APIs are generally the preferred way to manage role mappings rather than using role mapping files. The get role mappings API cannot retrieve role mappings that are defined in role mapping files.
diff --git a/docs/reference-security-get_service_accounts.asciidoc b/docs/reference-security-get_service_accounts.asciidoc
index dd14fa14e..362bf956c 100644
--- a/docs/reference-security-get_service_accounts.asciidoc
+++ b/docs/reference-security-get_service_accounts.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.getServiceAccounts]]
 === client.security.getServiceAccounts
 
 Get service accounts. Get a list of service accounts that match the provided path parameters.
diff --git a/docs/reference-security-get_service_credentials.asciidoc b/docs/reference-security-get_service_credentials.asciidoc
index 614aef314..9228f7bcc 100644
--- a/docs/reference-security-get_service_credentials.asciidoc
+++ b/docs/reference-security-get_service_credentials.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.getServiceCredentials]]
 === client.security.getServiceCredentials
 
 Get service account credentials.
diff --git a/docs/reference-security-get_settings.asciidoc b/docs/reference-security-get_settings.asciidoc
index 5662c52bf..750ba4a9e 100644
--- a/docs/reference-security-get_settings.asciidoc
+++ b/docs/reference-security-get_settings.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.getSettings]]
 === client.security.getSettings
 
 Retrieve settings for the security system indices
diff --git a/docs/reference-security-get_token.asciidoc b/docs/reference-security-get_token.asciidoc
index 79acdac9a..f7d743392 100644
--- a/docs/reference-security-get_token.asciidoc
+++ b/docs/reference-security-get_token.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.getToken]]
 === client.security.getToken
 
 Get a token. Create a bearer token for access without requiring basic authentication.
diff --git a/docs/reference-security-get_user.asciidoc b/docs/reference-security-get_user.asciidoc
index 6647ca570..c7a2375eb 100644
--- a/docs/reference-security-get_user.asciidoc
+++ b/docs/reference-security-get_user.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.getUser]]
 === client.security.getUser
 
 Get users. Get information about users in the native realm and built-in users.
diff --git a/docs/reference-security-get_user_privileges.asciidoc b/docs/reference-security-get_user_privileges.asciidoc
index 9e452c765..5a5c631a1 100644
--- a/docs/reference-security-get_user_privileges.asciidoc
+++ b/docs/reference-security-get_user_privileges.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.getUserPrivileges]]
 === client.security.getUserPrivileges
 
 Get user privileges.
diff --git a/docs/reference-security-get_user_profile.asciidoc b/docs/reference-security-get_user_profile.asciidoc
index 67c8d5bc2..b813d8ae5 100644
--- a/docs/reference-security-get_user_profile.asciidoc
+++ b/docs/reference-security-get_user_profile.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.getUserProfile]]
 === client.security.getUserProfile
 
 Get a user profile. Get a user's profile using the unique profile ID.
diff --git a/docs/reference-security-grant_api_key.asciidoc b/docs/reference-security-grant_api_key.asciidoc
index 1d1115822..6d4bed756 100644
--- a/docs/reference-security-grant_api_key.asciidoc
+++ b/docs/reference-security-grant_api_key.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.grantApiKey]]
 === client.security.grantApiKey
 
 Grant an API key. Create an API key on behalf of another user. This API is similar to the create API keys API, however it creates the API key for a user that is different than the user that runs the API. The caller must have authentication credentials (either an access token, or a username and password) for the user on whose behalf the API key will be created. It is not possible to use this API to create an API key without that user’s credentials. The user, for whom the authentication credentials is provided, can optionally "run as" (impersonate) another user. In this case, the API key will be created on behalf of the impersonated user. This API is intended be used by applications that need to create and manage API keys for end users, but cannot guarantee that those users have permission to create API keys on their own behalf. A successful grant API key API call returns a JSON structure that contains the API key, its unique id, and its name. If applicable, it also returns expiration information for the API key in milliseconds. By default, API keys never expire. You can specify expiration information when you create the API keys.
diff --git a/docs/reference-security-has_privileges.asciidoc b/docs/reference-security-has_privileges.asciidoc
index 06c172808..b0d3274cc 100644
--- a/docs/reference-security-has_privileges.asciidoc
+++ b/docs/reference-security-has_privileges.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.hasPrivileges]]
 === client.security.hasPrivileges
 
 Check user privileges. Determine whether the specified user has a specified list of privileges.
diff --git a/docs/reference-security-has_privileges_user_profile.asciidoc b/docs/reference-security-has_privileges_user_profile.asciidoc
index 4416f2e03..3a07297cc 100644
--- a/docs/reference-security-has_privileges_user_profile.asciidoc
+++ b/docs/reference-security-has_privileges_user_profile.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.hasPrivilegesUserProfile]]
 === client.security.hasPrivilegesUserProfile
 
 Check user profile privileges. Determine whether the users associated with the specified user profile IDs have all the requested privileges.
diff --git a/docs/reference-security-invalidate_api_key.asciidoc b/docs/reference-security-invalidate_api_key.asciidoc
index dca79b72e..744419d55 100644
--- a/docs/reference-security-invalidate_api_key.asciidoc
+++ b/docs/reference-security-invalidate_api_key.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.invalidateApiKey]]
 === client.security.invalidateApiKey
 
 Invalidate API keys. This API invalidates API keys created by the create API key or grant API key APIs. Invalidated API keys fail authentication, but they can still be viewed using the get API key information and query API key information APIs, for at least the configured retention period, until they are automatically deleted. The `manage_api_key` privilege allows deleting any API keys. The `manage_own_api_key` only allows deleting API keys that are owned by the user. In addition, with the `manage_own_api_key` privilege, an invalidation request must be issued in one of the three formats: - Set the parameter `owner=true`. - Or, set both `username` and `realm_name` to match the user’s identity. - Or, if the request is issued by an API key, that is to say an API key invalidates itself, specify its ID in the `ids` field.
diff --git a/docs/reference-security-invalidate_token.asciidoc b/docs/reference-security-invalidate_token.asciidoc
index f9df40d17..866122100 100644
--- a/docs/reference-security-invalidate_token.asciidoc
+++ b/docs/reference-security-invalidate_token.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.invalidateToken]]
 === client.security.invalidateToken
 
 Invalidate a token. The access tokens returned by the get token API have a finite period of time for which they are valid. After that time period, they can no longer be used. The time period is defined by the `xpack.security.authc.token.timeout` setting. The refresh tokens returned by the get token API are only valid for 24 hours. They can also be used exactly once. If you want to invalidate one or more access or refresh tokens immediately, use this invalidate token API.
diff --git a/docs/reference-security-oidc_authenticate.asciidoc b/docs/reference-security-oidc_authenticate.asciidoc
index 7dd6f3fe8..4ac3cc3de 100644
--- a/docs/reference-security-oidc_authenticate.asciidoc
+++ b/docs/reference-security-oidc_authenticate.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.oidcAuthenticate]]
 === client.security.oidcAuthenticate
 
 Exchanges an OpenID Connection authentication response message for an Elasticsearch access token and refresh token pair
diff --git a/docs/reference-security-oidc_logout.asciidoc b/docs/reference-security-oidc_logout.asciidoc
index d2274c48a..4404d7bff 100644
--- a/docs/reference-security-oidc_logout.asciidoc
+++ b/docs/reference-security-oidc_logout.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.oidcLogout]]
 === client.security.oidcLogout
 
 Invalidates a refresh token and access token that was generated from the OpenID Connect Authenticate API
diff --git a/docs/reference-security-oidc_prepare_authentication.asciidoc b/docs/reference-security-oidc_prepare_authentication.asciidoc
index b6d4092e3..9fce3c08e 100644
--- a/docs/reference-security-oidc_prepare_authentication.asciidoc
+++ b/docs/reference-security-oidc_prepare_authentication.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.oidcPrepareAuthentication]]
 === client.security.oidcPrepareAuthentication
 
 Creates an OAuth 2.0 authentication request as a URL string
diff --git a/docs/reference-security-put_privileges.asciidoc b/docs/reference-security-put_privileges.asciidoc
index 27f117887..01f401706 100644
--- a/docs/reference-security-put_privileges.asciidoc
+++ b/docs/reference-security-put_privileges.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.putPrivileges]]
 === client.security.putPrivileges
 
 Create or update application privileges.
diff --git a/docs/reference-security-put_role.asciidoc b/docs/reference-security-put_role.asciidoc
index c25574437..c57b672dd 100644
--- a/docs/reference-security-put_role.asciidoc
+++ b/docs/reference-security-put_role.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.putRole]]
 === client.security.putRole
 
 Create or update roles. The role management APIs are generally the preferred way to manage roles in the native realm, rather than using file-based role management. The create or update roles API cannot update roles that are defined in roles files. File-based role management is not available in Elastic Serverless.
diff --git a/docs/reference-security-put_role_mapping.asciidoc b/docs/reference-security-put_role_mapping.asciidoc
index 7aaeb78ad..a82b8903f 100644
--- a/docs/reference-security-put_role_mapping.asciidoc
+++ b/docs/reference-security-put_role_mapping.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.putRoleMapping]]
 === client.security.putRoleMapping
 
 Create or update role mappings. Role mappings define which roles are assigned to each user. Each mapping has rules that identify users and a list of roles that are granted to those users. The role mapping APIs are generally the preferred way to manage role mappings rather than using role mapping files. The create or update role mappings API cannot update role mappings that are defined in role mapping files. This API does not create roles. Rather, it maps users to existing roles. Roles can be created by using the create or update roles API or roles files.
diff --git a/docs/reference-security-put_user.asciidoc b/docs/reference-security-put_user.asciidoc
index ba671a03b..a9629662b 100644
--- a/docs/reference-security-put_user.asciidoc
+++ b/docs/reference-security-put_user.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.putUser]]
 === client.security.putUser
 
 Create or update users. A password is required for adding a new user but is optional when updating an existing user. To change a user’s password without updating any other fields, use the change password API.
diff --git a/docs/reference-security-query_api_keys.asciidoc b/docs/reference-security-query_api_keys.asciidoc
index 7088c1608..8082af34e 100644
--- a/docs/reference-security-query_api_keys.asciidoc
+++ b/docs/reference-security-query_api_keys.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.queryApiKeys]]
 === client.security.queryApiKeys
 
 Find API keys with a query. Get a paginated list of API keys and their information. You can optionally filter the results with a query.
diff --git a/docs/reference-security-query_role.asciidoc b/docs/reference-security-query_role.asciidoc
index 25a9c861a..d279f5822 100644
--- a/docs/reference-security-query_role.asciidoc
+++ b/docs/reference-security-query_role.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.queryRole]]
 === client.security.queryRole
 
 Find roles with a query. Get roles in a paginated manner. You can optionally filter the results with a query.
diff --git a/docs/reference-security-query_user.asciidoc b/docs/reference-security-query_user.asciidoc
index 93552e31a..901263d55 100644
--- a/docs/reference-security-query_user.asciidoc
+++ b/docs/reference-security-query_user.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.queryUser]]
 === client.security.queryUser
 
 Find users with a query. Get information for users in a paginated manner. You can optionally filter the results with a query.
diff --git a/docs/reference-security-saml_authenticate.asciidoc b/docs/reference-security-saml_authenticate.asciidoc
index d9fa76703..b76d4d2bf 100644
--- a/docs/reference-security-saml_authenticate.asciidoc
+++ b/docs/reference-security-saml_authenticate.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.samlAuthenticate]]
 === client.security.samlAuthenticate
 
 Authenticate SAML. Submits a SAML response message to Elasticsearch for consumption.
diff --git a/docs/reference-security-saml_complete_logout.asciidoc b/docs/reference-security-saml_complete_logout.asciidoc
index 0ae132ae2..807905f5d 100644
--- a/docs/reference-security-saml_complete_logout.asciidoc
+++ b/docs/reference-security-saml_complete_logout.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.samlCompleteLogout]]
 === client.security.samlCompleteLogout
 
 Logout of SAML completely. Verifies the logout response sent from the SAML IdP.
diff --git a/docs/reference-security-saml_invalidate.asciidoc b/docs/reference-security-saml_invalidate.asciidoc
index 33493674f..904019459 100644
--- a/docs/reference-security-saml_invalidate.asciidoc
+++ b/docs/reference-security-saml_invalidate.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.samlInvalidate]]
 === client.security.samlInvalidate
 
 Invalidate SAML. Submits a SAML LogoutRequest message to Elasticsearch for consumption.
diff --git a/docs/reference-security-saml_logout.asciidoc b/docs/reference-security-saml_logout.asciidoc
index 57e8ef95a..57f49ce30 100644
--- a/docs/reference-security-saml_logout.asciidoc
+++ b/docs/reference-security-saml_logout.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.samlLogout]]
 === client.security.samlLogout
 
 Logout of SAML. Submits a request to invalidate an access token and refresh token.
diff --git a/docs/reference-security-saml_prepare_authentication.asciidoc b/docs/reference-security-saml_prepare_authentication.asciidoc
index 8a1edcaf1..d00e42cf1 100644
--- a/docs/reference-security-saml_prepare_authentication.asciidoc
+++ b/docs/reference-security-saml_prepare_authentication.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.samlPrepareAuthentication]]
 === client.security.samlPrepareAuthentication
 
 Prepare SAML authentication. Creates a SAML authentication request (``) as a URL string, based on the configuration of the respective SAML realm in Elasticsearch.
diff --git a/docs/reference-security-saml_service_provider_metadata.asciidoc b/docs/reference-security-saml_service_provider_metadata.asciidoc
index afb3f8c01..5b5594581 100644
--- a/docs/reference-security-saml_service_provider_metadata.asciidoc
+++ b/docs/reference-security-saml_service_provider_metadata.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.samlServiceProviderMetadata]]
 === client.security.samlServiceProviderMetadata
 
 Create SAML service provider metadata. Generate SAML metadata for a SAML 2.0 Service Provider.
diff --git a/docs/reference-security-suggest_user_profiles.asciidoc b/docs/reference-security-suggest_user_profiles.asciidoc
index d9f3db247..a889614fa 100644
--- a/docs/reference-security-suggest_user_profiles.asciidoc
+++ b/docs/reference-security-suggest_user_profiles.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.suggestUserProfiles]]
 === client.security.suggestUserProfiles
 
 Suggest a user profile. Get suggestions for user profiles that match specified search criteria.
diff --git a/docs/reference-security-update_api_key.asciidoc b/docs/reference-security-update_api_key.asciidoc
index 4af2ee685..3bd427754 100644
--- a/docs/reference-security-update_api_key.asciidoc
+++ b/docs/reference-security-update_api_key.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.updateApiKey]]
 === client.security.updateApiKey
 
 Update an API key. Updates attributes of an existing API key. Users can only update API keys that they created or that were granted to them. Use this API to update API keys created by the create API Key or grant API Key APIs. If you need to apply the same update to many API keys, you can use bulk update API Keys to reduce overhead. It’s not possible to update expired API keys, or API keys that have been invalidated by invalidate API Key. This API supports updates to an API key’s access scope and metadata. The access scope of an API key is derived from the `role_descriptors` you specify in the request, and a snapshot of the owner user’s permissions at the time of the request. The snapshot of the owner’s permissions is updated automatically on every call. If you don’t specify `role_descriptors` in the request, a call to this API might still change the API key’s access scope. This change can occur if the owner user’s permissions have changed since the API key was created or last modified. To update another user’s API key, use the `run_as` feature to submit a request on behalf of another user. IMPORTANT: It’s not possible to use an API key as the authentication credential for this API. To update an API key, the owner user’s credentials are required.
diff --git a/docs/reference-security-update_cross_cluster_api_key.asciidoc b/docs/reference-security-update_cross_cluster_api_key.asciidoc
index c2c7e8576..80a91abfc 100644
--- a/docs/reference-security-update_cross_cluster_api_key.asciidoc
+++ b/docs/reference-security-update_cross_cluster_api_key.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.updateCrossClusterApiKey]]
 === client.security.updateCrossClusterApiKey
 
 Update a cross-cluster API key. Update the attributes of an existing cross-cluster API key, which is used for API key based remote cluster access.
diff --git a/docs/reference-security-update_settings.asciidoc b/docs/reference-security-update_settings.asciidoc
index 9b78257e5..6475c772e 100644
--- a/docs/reference-security-update_settings.asciidoc
+++ b/docs/reference-security-update_settings.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.updateSettings]]
 === client.security.updateSettings
 
 Update settings for the security system index
diff --git a/docs/reference-security-update_user_profile_data.asciidoc b/docs/reference-security-update_user_profile_data.asciidoc
index f80f2f894..6b081f498 100644
--- a/docs/reference-security-update_user_profile_data.asciidoc
+++ b/docs/reference-security-update_user_profile_data.asciidoc
@@ -26,6 +26,7 @@
 ////////
 
 [discrete]
+[[client.security.updateUserProfileData]]
 === client.security.updateUserProfileData
 
 Update user profile data. Update specific data for the user profile that is associated with a unique ID.
diff --git a/docs/reference-shared-types.asciidoc b/docs/reference-shared-types.asciidoc
index e880a85db..a466e0c36 100644
--- a/docs/reference-shared-types.asciidoc
+++ b/docs/reference-shared-types.asciidoc
@@ -3,6 +3,7 @@
 
 
 [discrete]
+[[AcknowledgedResponseBase]]
 === AcknowledgedResponseBase
 
 [pass]
@@ -19,6 +20,7 @@ interface AcknowledgedResponseBase {
 ++++
 
 [discrete]
+[[AggregateName]]
 === AggregateName
 
 [pass]
@@ -32,6 +34,7 @@ type AggregateName = string
 ++++
 
 [discrete]
+[[BulkIndexByScrollFailure]]
 === BulkIndexByScrollFailure
 
 [pass]
@@ -51,6 +54,7 @@ interface BulkIndexByScrollFailure {
 ++++
 
 [discrete]
+[[BulkStats]]
 === BulkStats
 
 [pass]
@@ -74,6 +78,7 @@ interface BulkStats {
 ++++
 
 [discrete]
+[[ByteSize]]
 === ByteSize
 
 [pass]
@@ -87,6 +92,7 @@ type ByteSize = <<_long, long>> | string
 ++++
 
 [discrete]
+[[Bytes]]
 === Bytes
 
 [pass]
@@ -100,6 +106,7 @@ type Bytes = 'b' | 'kb' | 'mb' | 'gb' | 'tb' | 'pb'
 ++++
 
 [discrete]
+[[CategoryId]]
 === CategoryId
 
 [pass]
@@ -113,6 +120,7 @@ type CategoryId = string
 ++++
 
 [discrete]
+[[ClusterAlias]]
 === ClusterAlias
 
 [pass]
@@ -126,6 +134,7 @@ type ClusterAlias = string
 ++++
 
 [discrete]
+[[ClusterDetails]]
 === ClusterDetails
 
 [pass]
@@ -146,6 +155,7 @@ interface ClusterDetails {
 ++++
 
 [discrete]
+[[ClusterInfoTarget]]
 === ClusterInfoTarget
 
 [pass]
@@ -159,6 +169,7 @@ type ClusterInfoTarget = '_all' | 'http' | 'ingest' | 'thread_pool' | 'script'
 ++++
 
 [discrete]
+[[ClusterInfoTargets]]
 === ClusterInfoTargets
 
 [pass]
@@ -172,6 +183,7 @@ type ClusterInfoTargets = <> | <>[]
 ++++
 
 [discrete]
+[[ClusterSearchStatus]]
 === ClusterSearchStatus
 
 [pass]
@@ -185,6 +197,7 @@ type ClusterSearchStatus = 'running' | 'successful' | 'partial' | 'skipped' | 'f
 ++++
 
 [discrete]
+[[ClusterStatistics]]
 === ClusterStatistics
 
 [pass]
@@ -206,6 +219,7 @@ interface ClusterStatistics {
 ++++
 
 [discrete]
+[[CompletionStats]]
 === CompletionStats
 
 [pass]
@@ -225,6 +239,7 @@ interface CompletionStats {
 ++++
 
 [discrete]
+[[Conflicts]]
 === Conflicts
 
 [pass]
@@ -238,6 +253,7 @@ type Conflicts = 'abort' | 'proceed'
 ++++
 
 [discrete]
+[[CoordsGeoBounds]]
 === CoordsGeoBounds
 
 [pass]
@@ -256,6 +272,7 @@ interface CoordsGeoBounds {
 ++++
 
 [discrete]
+[[DFIIndependenceMeasure]]
 === DFIIndependenceMeasure
 
 [pass]
@@ -269,6 +286,7 @@ type DFIIndependenceMeasure = 'standardized' | 'saturated' | 'chisquared'
 ++++
 
 [discrete]
+[[DFRAfterEffect]]
 === DFRAfterEffect
 
 [pass]
@@ -282,6 +300,7 @@ type DFRAfterEffect = 'no' | 'b' | 'l'
 ++++
 
 [discrete]
+[[DFRBasicModel]]
 === DFRBasicModel
 
 [pass]
@@ -295,6 +314,7 @@ type DFRBasicModel = 'be' | 'd' | 'g' | 'if' | 'in' | 'ine' | 'p'
 ++++
 
 [discrete]
+[[DataStreamName]]
 === DataStreamName
 
 [pass]
@@ -308,6 +328,7 @@ type DataStreamName = string
 ++++
 
 [discrete]
+[[DataStreamNames]]
 === DataStreamNames
 
 [pass]
@@ -321,6 +342,7 @@ type DataStreamNames = <> | <>[]
 ++++
 
 [discrete]
+[[DateFormat]]
 === DateFormat
 
 [pass]
@@ -334,6 +356,7 @@ type DateFormat = string
 ++++
 
 [discrete]
+[[DateMath]]
 === DateMath
 
 [pass]
@@ -347,6 +370,7 @@ type DateMath = string | Date
 ++++
 
 [discrete]
+[[DateTime]]
 === DateTime
 
 [pass]
@@ -360,6 +384,7 @@ type DateTime = string | <><<>> | Date
 ++++
 
 [discrete]
+[[Distance]]
 === Distance
 
 [pass]
@@ -373,6 +398,7 @@ type Distance = string
 ++++
 
 [discrete]
+[[DistanceUnit]]
 === DistanceUnit
 
 [pass]
@@ -386,6 +412,7 @@ type DistanceUnit = 'in' | 'ft' | 'yd' | 'mi' | 'nmi' | 'km' | 'm' | 'cm' | 'mm'
 ++++
 
 [discrete]
+[[DocStats]]
 === DocStats
 
 [pass]
@@ -404,6 +431,7 @@ interface DocStats {
 ++++
 
 [discrete]
+[[Duration]]
 === Duration
 
 [pass]
@@ -417,6 +445,7 @@ type Duration = string | -1 | 0
 ++++
 
 [discrete]
+[[DurationLarge]]
 === DurationLarge
 
 [pass]
@@ -430,6 +459,7 @@ type DurationLarge = string
 ++++
 
 [discrete]
+[[DurationValue]]
 === DurationValue
 
 [pass]
@@ -443,6 +473,7 @@ type DurationValue = Unit
 ++++
 
 [discrete]
+[[ElasticsearchVersionInfo]]
 === ElasticsearchVersionInfo
 
 [pass]
@@ -466,6 +497,7 @@ interface ElasticsearchVersionInfo {
 ++++
 
 [discrete]
+[[ElasticsearchVersionMinInfo]]
 === ElasticsearchVersionMinInfo
 
 [pass]
@@ -484,6 +516,7 @@ interface ElasticsearchVersionMinInfo {
 ++++
 
 [discrete]
+[[EmptyObject]]
 === EmptyObject
 
 [pass]
@@ -498,6 +531,7 @@ interface EmptyObject {
 ++++
 
 [discrete]
+[[EpochTime]]
 === EpochTime
 
 [pass]
@@ -511,6 +545,7 @@ type EpochTime = Unit
 ++++
 
 [discrete]
+[[ErrorCause]]
 === ErrorCause
 
 [pass]
@@ -533,6 +568,7 @@ type ErrorCause = ErrorCauseKeys
 ++++
 
 [discrete]
+[[ErrorResponseBase]]
 === ErrorResponseBase
 
 [pass]
@@ -549,6 +585,7 @@ interface ErrorResponseBase {
 ++++
 
 [discrete]
+[[EsqlColumns]]
 === EsqlColumns
 
 [pass]
@@ -562,6 +599,7 @@ type EsqlColumns = ArrayBuffer
 ++++
 
 [discrete]
+[[ExpandWildcard]]
 === ExpandWildcard
 
 [pass]
@@ -575,6 +613,7 @@ type ExpandWildcard = 'all' | 'open' | 'closed' | 'hidden' | 'none'
 ++++
 
 [discrete]
+[[ExpandWildcards]]
 === ExpandWildcards
 
 [pass]
@@ -588,6 +627,7 @@ type ExpandWildcards = <> | <>[]
 ++++
 
 [discrete]
+[[Field]]
 === Field
 
 [pass]
@@ -601,6 +641,7 @@ type Field = string
 ++++
 
 [discrete]
+[[FieldMemoryUsage]]
 === FieldMemoryUsage
 
 [pass]
@@ -617,6 +658,7 @@ interface FieldMemoryUsage {
 ++++
 
 [discrete]
+[[FieldSizeUsage]]
 === FieldSizeUsage
 
 [pass]
@@ -633,6 +675,7 @@ interface FieldSizeUsage {
 ++++
 
 [discrete]
+[[FieldSort]]
 === FieldSort
 
 [pass]
@@ -640,11 +683,11 @@ interface FieldSizeUsage {
 
 ++++
 interface FieldSort {
-  missing?: AggregationsMissing
+  missing?: <>
   mode?: <>
   nested?: <>
   order?: <>
-  unmapped_type?: MappingFieldType
+  unmapped_type?: <>
   numeric_type?: <>
   format?: string
 }
@@ -654,6 +697,7 @@ interface FieldSort {
 ++++
 
 [discrete]
+[[FieldSortNumericType]]
 === FieldSortNumericType
 
 [pass]
@@ -667,6 +711,7 @@ type FieldSortNumericType = '<<_long, long>>' | '<<_double, double>>' | 'date' |
 ++++
 
 [discrete]
+[[FieldValue]]
 === FieldValue
 
 [pass]
@@ -680,6 +725,7 @@ type FieldValue = <<_long, long>> | <<_double, double>> | string | boolean | nul
 ++++
 
 [discrete]
+[[FielddataStats]]
 === FielddataStats
 
 [pass]
@@ -698,6 +744,7 @@ interface FielddataStats {
 ++++
 
 [discrete]
+[[Fields]]
 === Fields
 
 [pass]
@@ -711,6 +758,7 @@ type Fields = <> | <>[]
 ++++
 
 [discrete]
+[[FlushStats]]
 === FlushStats
 
 [pass]
@@ -729,6 +777,7 @@ interface FlushStats {
 ++++
 
 [discrete]
+[[Fuzziness]]
 === Fuzziness
 
 [pass]
@@ -742,6 +791,7 @@ type Fuzziness = string | <<_integer, integer>>
 ++++
 
 [discrete]
+[[GeoBounds]]
 === GeoBounds
 
 [pass]
@@ -755,6 +805,7 @@ type GeoBounds = <> | <> | <> | <> | <<_double, doub
 ++++
 
 [discrete]
+[[GeoShape]]
 === GeoShape
 
 [pass]
@@ -888,6 +947,7 @@ type GeoShape = any
 ++++
 
 [discrete]
+[[GeoShapeRelation]]
 === GeoShapeRelation
 
 [pass]
@@ -901,6 +961,7 @@ type GeoShapeRelation = 'intersects' | 'disjoint' | 'within' | 'contains'
 ++++
 
 [discrete]
+[[GeoTile]]
 === GeoTile
 
 [pass]
@@ -914,6 +975,7 @@ type GeoTile = string
 ++++
 
 [discrete]
+[[GeoTilePrecision]]
 === GeoTilePrecision
 
 [pass]
@@ -927,6 +989,7 @@ type GeoTilePrecision = number
 ++++
 
 [discrete]
+[[GetStats]]
 === GetStats
 
 [pass]
@@ -951,6 +1014,7 @@ interface GetStats {
 ++++
 
 [discrete]
+[[GrokPattern]]
 === GrokPattern
 
 [pass]
@@ -964,6 +1028,7 @@ type GrokPattern = string
 ++++
 
 [discrete]
+[[HealthStatus]]
 === HealthStatus
 
 [pass]
@@ -977,6 +1042,7 @@ type HealthStatus = 'green' | 'GREEN' | 'yellow' | 'YELLOW' | 'red' | 'RED'
 ++++
 
 [discrete]
+[[Host]]
 === Host
 
 [pass]
@@ -990,6 +1056,7 @@ type Host = string
 ++++
 
 [discrete]
+[[HttpHeaders]]
 === HttpHeaders
 
 [pass]
@@ -1003,6 +1070,7 @@ type HttpHeaders = Record
 ++++
 
 [discrete]
+[[IBDistribution]]
 === IBDistribution
 
 [pass]
@@ -1016,6 +1084,7 @@ type IBDistribution = 'll' | 'spl'
 ++++
 
 [discrete]
+[[IBLambda]]
 === IBLambda
 
 [pass]
@@ -1029,6 +1098,7 @@ type IBLambda = 'df' | 'ttf'
 ++++
 
 [discrete]
+[[Id]]
 === Id
 
 [pass]
@@ -1042,6 +1112,7 @@ type Id = string
 ++++
 
 [discrete]
+[[Ids]]
 === Ids
 
 [pass]
@@ -1055,6 +1126,7 @@ type Ids = <> | <>[]
 ++++
 
 [discrete]
+[[IndexAlias]]
 === IndexAlias
 
 [pass]
@@ -1068,6 +1140,7 @@ type IndexAlias = string
 ++++
 
 [discrete]
+[[IndexName]]
 === IndexName
 
 [pass]
@@ -1081,6 +1154,7 @@ type IndexName = string
 ++++
 
 [discrete]
+[[IndexPattern]]
 === IndexPattern
 
 [pass]
@@ -1094,6 +1168,7 @@ type IndexPattern = string
 ++++
 
 [discrete]
+[[IndexPatterns]]
 === IndexPatterns
 
 [pass]
@@ -1107,6 +1182,7 @@ type IndexPatterns = <>[]
 ++++
 
 [discrete]
+[[IndexingStats]]
 === IndexingStats
 
 [pass]
@@ -1136,6 +1212,7 @@ interface IndexingStats {
 ++++
 
 [discrete]
+[[Indices]]
 === Indices
 
 [pass]
@@ -1149,6 +1226,7 @@ type Indices = <> | <>[]
 ++++
 
 [discrete]
+[[IndicesOptions]]
 === IndicesOptions
 
 [pass]
@@ -1171,6 +1249,7 @@ interface IndicesOptions {
 ++++
 
 [discrete]
+[[IndicesResponseBase]]
 === IndicesResponseBase
 
 [pass]
@@ -1186,6 +1265,7 @@ interface IndicesResponseBase extends <> {
 ++++
 
 [discrete]
+[[InlineGet]]
 === InlineGet
 
 [pass]
@@ -1208,6 +1288,7 @@ type InlineGet = InlineGetKeys
 ++++
 
 [discrete]
+[[Ip]]
 === Ip
 
 [pass]
@@ -1221,13 +1302,14 @@ type Ip = string
 ++++
 
 [discrete]
+[[KnnQuery]]
 === KnnQuery
 
 [pass]
 ++++
 
 ++++
-interface KnnQuery extends QueryDslQueryBase {
+interface KnnQuery extends <> {
   pass:[/**] @property field The name of the vector field to search against */
   field: <>
   pass:[/**] @property query_vector The query vector */
@@ -1239,7 +1321,7 @@ interface KnnQuery extends QueryDslQueryBase {
   pass:[/**] @property k The final number of nearest neighbors to return as top hits */
   k?: <<_integer, integer>>
   pass:[/**] @property filter Filters for the kNN search query */
-  filter?: QueryDslQueryContainer | QueryDslQueryContainer[]
+  filter?: <> | <>[]
   pass:[/**] @property similarity The minimum similarity for a vector to be considered a match */
   similarity?: <<_float, float>>
 }
@@ -1249,6 +1331,7 @@ interface KnnQuery extends QueryDslQueryBase {
 ++++
 
 [discrete]
+[[KnnRetriever]]
 === KnnRetriever
 
 [pass]
@@ -1275,6 +1358,7 @@ interface KnnRetriever extends <> {
 ++++
 
 [discrete]
+[[KnnSearch]]
 === KnnSearch
 
 [pass]
@@ -1295,7 +1379,7 @@ interface KnnSearch {
   pass:[/**] @property boost Boost value to apply to kNN scores */
   boost?: <<_float, float>>
   pass:[/**] @property filter Filters for the kNN search query */
-  filter?: QueryDslQueryContainer | QueryDslQueryContainer[]
+  filter?: <> | <>[]
   pass:[/**] @property similarity The minimum similarity for a vector to be considered a match */
   similarity?: <<_float, float>>
   pass:[/**] @property inner_hits If defined, each search hit will contain inner hits. */
@@ -1307,6 +1391,7 @@ interface KnnSearch {
 ++++
 
 [discrete]
+[[LatLonGeoLocation]]
 === LatLonGeoLocation
 
 [pass]
@@ -1325,6 +1410,7 @@ interface LatLonGeoLocation {
 ++++
 
 [discrete]
+[[Level]]
 === Level
 
 [pass]
@@ -1338,6 +1424,7 @@ type Level = 'cluster' | 'indices' | 'shards'
 ++++
 
 [discrete]
+[[LifecycleOperationMode]]
 === LifecycleOperationMode
 
 [pass]
@@ -1351,6 +1438,7 @@ type LifecycleOperationMode = 'RUNNING' | 'STOPPING' | 'STOPPED'
 ++++
 
 [discrete]
+[[MapboxVectorTiles]]
 === MapboxVectorTiles
 
 [pass]
@@ -1364,6 +1452,7 @@ type MapboxVectorTiles = ArrayBuffer
 ++++
 
 [discrete]
+[[MergesStats]]
 === MergesStats
 
 [pass]
@@ -1394,6 +1483,7 @@ interface MergesStats {
 ++++
 
 [discrete]
+[[Metadata]]
 === Metadata
 
 [pass]
@@ -1407,6 +1497,7 @@ type Metadata = Record
 ++++
 
 [discrete]
+[[Metrics]]
 === Metrics
 
 [pass]
@@ -1420,6 +1511,7 @@ type Metrics = string | string[]
 ++++
 
 [discrete]
+[[MinimumShouldMatch]]
 === MinimumShouldMatch
 
 [pass]
@@ -1433,6 +1525,7 @@ type MinimumShouldMatch = <<_integer, integer>> | string
 ++++
 
 [discrete]
+[[MultiTermQueryRewrite]]
 === MultiTermQueryRewrite
 
 [pass]
@@ -1446,6 +1539,7 @@ type MultiTermQueryRewrite = string
 ++++
 
 [discrete]
+[[Name]]
 === Name
 
 [pass]
@@ -1459,6 +1553,7 @@ type Name = string
 ++++
 
 [discrete]
+[[Names]]
 === Names
 
 [pass]
@@ -1472,6 +1567,7 @@ type Names = <> | <>[]
 ++++
 
 [discrete]
+[[Namespace]]
 === Namespace
 
 [pass]
@@ -1485,6 +1581,7 @@ type Namespace = string
 ++++
 
 [discrete]
+[[NestedSortValue]]
 === NestedSortValue
 
 [pass]
@@ -1492,7 +1589,7 @@ type Namespace = string
 
 ++++
 interface NestedSortValue {
-  filter?: QueryDslQueryContainer
+  filter?: <>
   max_children?: <<_integer, integer>>
   nested?: <>
   path: <>
@@ -1503,6 +1600,7 @@ interface NestedSortValue {
 ++++
 
 [discrete]
+[[NodeAttributes]]
 === NodeAttributes
 
 [pass]
@@ -1527,6 +1625,7 @@ interface NodeAttributes {
 ++++
 
 [discrete]
+[[NodeId]]
 === NodeId
 
 [pass]
@@ -1540,6 +1639,7 @@ type NodeId = string
 ++++
 
 [discrete]
+[[NodeIds]]
 === NodeIds
 
 [pass]
@@ -1553,6 +1653,7 @@ type NodeIds = <> | <>[]
 ++++
 
 [discrete]
+[[NodeName]]
 === NodeName
 
 [pass]
@@ -1566,6 +1667,7 @@ type NodeName = string
 ++++
 
 [discrete]
+[[NodeRole]]
 === NodeRole
 
 [pass]
@@ -1579,6 +1681,7 @@ type NodeRole = 'master' | 'data' | 'data_cold' | 'data_content' | 'data_frozen'
 ++++
 
 [discrete]
+[[NodeRoles]]
 === NodeRoles
 
 [pass]
@@ -1592,6 +1695,7 @@ type NodeRoles = <>[]
 ++++
 
 [discrete]
+[[NodeShard]]
 === NodeShard
 
 [pass]
@@ -1616,6 +1720,7 @@ interface NodeShard {
 ++++
 
 [discrete]
+[[NodeStatistics]]
 === NodeStatistics
 
 [pass]
@@ -1637,6 +1742,7 @@ interface NodeStatistics {
 ++++
 
 [discrete]
+[[Normalization]]
 === Normalization
 
 [pass]
@@ -1650,6 +1756,7 @@ type Normalization = 'no' | 'h1' | 'h2' | 'h3' | 'z'
 ++++
 
 [discrete]
+[[OpType]]
 === OpType
 
 [pass]
@@ -1663,6 +1770,7 @@ type OpType = 'index' | 'create'
 ++++
 
 [discrete]
+[[Password]]
 === Password
 
 [pass]
@@ -1676,6 +1784,7 @@ type Password = string
 ++++
 
 [discrete]
+[[Percentage]]
 === Percentage
 
 [pass]
@@ -1689,6 +1798,7 @@ type Percentage = string | <<_float, float>>
 ++++
 
 [discrete]
+[[PipelineName]]
 === PipelineName
 
 [pass]
@@ -1702,6 +1812,7 @@ type PipelineName = string
 ++++
 
 [discrete]
+[[PluginStats]]
 === PluginStats
 
 [pass]
@@ -1725,6 +1836,7 @@ interface PluginStats {
 ++++
 
 [discrete]
+[[PropertyName]]
 === PropertyName
 
 [pass]
@@ -1738,6 +1850,7 @@ type PropertyName = string
 ++++
 
 [discrete]
+[[QueryCacheStats]]
 === QueryCacheStats
 
 [pass]
@@ -1768,6 +1881,7 @@ interface QueryCacheStats {
 ++++
 
 [discrete]
+[[QueryVector]]
 === QueryVector
 
 [pass]
@@ -1781,6 +1895,7 @@ type QueryVector = <<_float, float>>[]
 ++++
 
 [discrete]
+[[QueryVectorBuilder]]
 === QueryVectorBuilder
 
 [pass]
@@ -1796,6 +1911,7 @@ interface QueryVectorBuilder {
 ++++
 
 [discrete]
+[[RRFRetriever]]
 === RRFRetriever
 
 [pass]
@@ -1816,6 +1932,7 @@ interface RRFRetriever extends <> {
 ++++
 
 [discrete]
+[[RankBase]]
 === RankBase
 
 [pass]
@@ -1830,6 +1947,7 @@ interface RankBase {
 ++++
 
 [discrete]
+[[RankContainer]]
 === RankContainer
 
 [pass]
@@ -1846,6 +1964,7 @@ interface RankContainer {
 ++++
 
 [discrete]
+[[RecoveryStats]]
 === RecoveryStats
 
 [pass]
@@ -1864,6 +1983,7 @@ interface RecoveryStats {
 ++++
 
 [discrete]
+[[Refresh]]
 === Refresh
 
 [pass]
@@ -1877,6 +1997,7 @@ type Refresh = boolean | 'true' | 'false' | 'wait_for'
 ++++
 
 [discrete]
+[[RefreshStats]]
 === RefreshStats
 
 [pass]
@@ -1897,6 +2018,7 @@ interface RefreshStats {
 ++++
 
 [discrete]
+[[RelationName]]
 === RelationName
 
 [pass]
@@ -1910,6 +2032,7 @@ type RelationName = string
 ++++
 
 [discrete]
+[[RelocationFailureInfo]]
 === RelocationFailureInfo
 
 [pass]
@@ -1925,6 +2048,7 @@ interface RelocationFailureInfo {
 ++++
 
 [discrete]
+[[RequestBase]]
 === RequestBase
 
 [pass]
@@ -1939,6 +2063,7 @@ interface RequestBase extends <> {
 ++++
 
 [discrete]
+[[RequestCacheStats]]
 === RequestCacheStats
 
 [pass]
@@ -1958,6 +2083,7 @@ interface RequestCacheStats {
 ++++
 
 [discrete]
+[[Result]]
 === Result
 
 [pass]
@@ -1971,6 +2097,7 @@ type Result = 'created' | 'updated' | 'deleted' | 'not_found' | 'noop'
 ++++
 
 [discrete]
+[[Retries]]
 === Retries
 
 [pass]
@@ -1987,6 +2114,7 @@ interface Retries {
 ++++
 
 [discrete]
+[[RetrieverBase]]
 === RetrieverBase
 
 [pass]
@@ -1995,7 +2123,7 @@ interface Retries {
 ++++
 interface RetrieverBase {
   pass:[/**] @property filter Query to filter the documents that can match. */
-  filter?: QueryDslQueryContainer | QueryDslQueryContainer[]
+  filter?: <> | <>[]
   pass:[/**] @property min_score Minimum _score for matching documents. Documents with a lower _score are not included in the top documents. */
   min_score?: <<_float, float>>
 }
@@ -2005,6 +2133,7 @@ interface RetrieverBase {
 ++++
 
 [discrete]
+[[RetrieverContainer]]
 === RetrieverContainer
 
 [pass]
@@ -2027,6 +2156,7 @@ interface RetrieverContainer {
 ++++
 
 [discrete]
+[[Routing]]
 === Routing
 
 [pass]
@@ -2040,6 +2170,7 @@ type Routing = string
 ++++
 
 [discrete]
+[[RrfRank]]
 === RrfRank
 
 [pass]
@@ -2058,6 +2189,7 @@ interface RrfRank {
 ++++
 
 [discrete]
+[[ScalarValue]]
 === ScalarValue
 
 [pass]
@@ -2071,6 +2203,7 @@ type ScalarValue = <<_long, long>> | <<_double, double>> | string | boolean | nu
 ++++
 
 [discrete]
+[[ScoreSort]]
 === ScoreSort
 
 [pass]
@@ -2086,6 +2219,7 @@ interface ScoreSort {
 ++++
 
 [discrete]
+[[Script]]
 === Script
 
 [pass]
@@ -2109,6 +2243,7 @@ interface Script {
 ++++
 
 [discrete]
+[[ScriptField]]
 === ScriptField
 
 [pass]
@@ -2125,6 +2260,7 @@ interface ScriptField {
 ++++
 
 [discrete]
+[[ScriptLanguage]]
 === ScriptLanguage
 
 [pass]
@@ -2138,6 +2274,7 @@ type ScriptLanguage = 'painless' | 'expression' | 'mustache' | 'java' | string
 ++++
 
 [discrete]
+[[ScriptSort]]
 === ScriptSort
 
 [pass]
@@ -2157,6 +2294,7 @@ interface ScriptSort {
 ++++
 
 [discrete]
+[[ScriptSortType]]
 === ScriptSortType
 
 [pass]
@@ -2170,6 +2308,7 @@ type ScriptSortType = 'string' | 'number' | 'version'
 ++++
 
 [discrete]
+[[ScriptTransform]]
 === ScriptTransform
 
 [pass]
@@ -2188,6 +2327,7 @@ interface ScriptTransform {
 ++++
 
 [discrete]
+[[ScrollId]]
 === ScrollId
 
 [pass]
@@ -2201,6 +2341,7 @@ type ScrollId = string
 ++++
 
 [discrete]
+[[ScrollIds]]
 === ScrollIds
 
 [pass]
@@ -2214,6 +2355,7 @@ type ScrollIds = <> | <>[]
 ++++
 
 [discrete]
+[[SearchStats]]
 === SearchStats
 
 [pass]
@@ -2246,6 +2388,7 @@ interface SearchStats {
 ++++
 
 [discrete]
+[[SearchTransform]]
 === SearchTransform
 
 [pass]
@@ -2262,6 +2405,7 @@ interface SearchTransform {
 ++++
 
 [discrete]
+[[SearchType]]
 === SearchType
 
 [pass]
@@ -2275,6 +2419,7 @@ type SearchType = 'query_then_fetch' | 'dfs_query_then_fetch'
 ++++
 
 [discrete]
+[[SegmentsStats]]
 === SegmentsStats
 
 [pass]
@@ -2335,6 +2480,7 @@ interface SegmentsStats {
 ++++
 
 [discrete]
+[[SequenceNumber]]
 === SequenceNumber
 
 [pass]
@@ -2348,6 +2494,7 @@ type SequenceNumber = <<_long, long>>
 ++++
 
 [discrete]
+[[Service]]
 === Service
 
 [pass]
@@ -2361,6 +2508,7 @@ type Service = string
 ++++
 
 [discrete]
+[[ShardFailure]]
 === ShardFailure
 
 [pass]
@@ -2380,6 +2528,7 @@ interface ShardFailure {
 ++++
 
 [discrete]
+[[ShardStatistics]]
 === ShardStatistics
 
 [pass]
@@ -2401,6 +2550,7 @@ interface ShardStatistics {
 ++++
 
 [discrete]
+[[ShardsOperationResponseBase]]
 === ShardsOperationResponseBase
 
 [pass]
@@ -2416,6 +2566,7 @@ interface ShardsOperationResponseBase {
 ++++
 
 [discrete]
+[[SlicedScroll]]
 === SlicedScroll
 
 [pass]
@@ -2433,6 +2584,7 @@ interface SlicedScroll {
 ++++
 
 [discrete]
+[[Slices]]
 === Slices
 
 [pass]
@@ -2446,6 +2598,7 @@ type Slices = <<_integer, integer>> | <>
 ++++
 
 [discrete]
+[[SlicesCalculation]]
 === SlicesCalculation
 
 [pass]
@@ -2459,6 +2612,7 @@ type SlicesCalculation = 'auto'
 ++++
 
 [discrete]
+[[Sort]]
 === Sort
 
 [pass]
@@ -2472,6 +2626,7 @@ type Sort = <> | <>[]
 ++++
 
 [discrete]
+[[SortCombinations]]
 === SortCombinations
 
 [pass]
@@ -2485,6 +2640,7 @@ type SortCombinations = <> | <>
 ++++
 
 [discrete]
+[[SortMode]]
 === SortMode
 
 [pass]
@@ -2498,6 +2654,7 @@ type SortMode = 'min' | 'max' | 'sum' | 'avg' | 'median'
 ++++
 
 [discrete]
+[[SortOptions]]
 === SortOptions
 
 [pass]
@@ -2518,6 +2675,7 @@ type SortOptions = SortOptionsKeys
 ++++
 
 [discrete]
+[[SortOrder]]
 === SortOrder
 
 [pass]
@@ -2531,6 +2689,7 @@ type SortOrder = 'asc' | 'desc'
 ++++
 
 [discrete]
+[[SortResults]]
 === SortResults
 
 [pass]
@@ -2544,6 +2703,7 @@ type SortResults = <>[]
 ++++
 
 [discrete]
+[[StandardRetriever]]
 === StandardRetriever
 
 [pass]
@@ -2552,7 +2712,7 @@ type SortResults = <>[]
 ++++
 interface StandardRetriever extends <> {
   pass:[/**] @property query Defines a query to retrieve a set of top documents. */
-  query?: QueryDslQueryContainer
+  query?: <>
   pass:[/**] @property search_after Defines a search after object parameter used for pagination. */
   search_after?: <>
   pass:[/**] @property terminate_after Maximum number of documents to collect for each shard. */
@@ -2568,6 +2728,7 @@ interface StandardRetriever extends <> {
 ++++
 
 [discrete]
+[[StoreStats]]
 === StoreStats
 
 [pass]
@@ -2594,6 +2755,7 @@ interface StoreStats {
 ++++
 
 [discrete]
+[[StoredScript]]
 === StoredScript
 
 [pass]
@@ -2613,6 +2775,7 @@ interface StoredScript {
 ++++
 
 [discrete]
+[[SuggestMode]]
 === SuggestMode
 
 [pass]
@@ -2626,6 +2789,7 @@ type SuggestMode = 'missing' | 'popular' | 'always'
 ++++
 
 [discrete]
+[[SuggestionName]]
 === SuggestionName
 
 [pass]
@@ -2639,6 +2803,7 @@ type SuggestionName = string
 ++++
 
 [discrete]
+[[TaskFailure]]
 === TaskFailure
 
 [pass]
@@ -2657,6 +2822,7 @@ interface TaskFailure {
 ++++
 
 [discrete]
+[[TaskId]]
 === TaskId
 
 [pass]
@@ -2670,6 +2836,7 @@ type TaskId = string | <<_integer, integer>>
 ++++
 
 [discrete]
+[[TextEmbedding]]
 === TextEmbedding
 
 [pass]
@@ -2686,6 +2853,7 @@ interface TextEmbedding {
 ++++
 
 [discrete]
+[[TextSimilarityReranker]]
 === TextSimilarityReranker
 
 [pass]
@@ -2710,6 +2878,7 @@ interface TextSimilarityReranker extends <> {
 ++++
 
 [discrete]
+[[ThreadType]]
 === ThreadType
 
 [pass]
@@ -2723,6 +2892,7 @@ type ThreadType = 'cpu' | 'wait' | 'block' | 'gpu' | 'mem'
 ++++
 
 [discrete]
+[[TimeOfDay]]
 === TimeOfDay
 
 [pass]
@@ -2736,6 +2906,7 @@ type TimeOfDay = string
 ++++
 
 [discrete]
+[[TimeUnit]]
 === TimeUnit
 
 [pass]
@@ -2749,6 +2920,7 @@ type TimeUnit = 'nanos' | 'micros' | 'ms' | 's' | 'm' | 'h' | 'd'
 ++++
 
 [discrete]
+[[TimeZone]]
 === TimeZone
 
 [pass]
@@ -2762,6 +2934,7 @@ type TimeZone = string
 ++++
 
 [discrete]
+[[TopLeftBottomRightGeoBounds]]
 === TopLeftBottomRightGeoBounds
 
 [pass]
@@ -2778,6 +2951,7 @@ interface TopLeftBottomRightGeoBounds {
 ++++
 
 [discrete]
+[[TopRightBottomLeftGeoBounds]]
 === TopRightBottomLeftGeoBounds
 
 [pass]
@@ -2794,6 +2968,7 @@ interface TopRightBottomLeftGeoBounds {
 ++++
 
 [discrete]
+[[TransformContainer]]
 === TransformContainer
 
 [pass]
@@ -2811,6 +2986,7 @@ interface TransformContainer {
 ++++
 
 [discrete]
+[[TranslogStats]]
 === TranslogStats
 
 [pass]
@@ -2832,6 +3008,7 @@ interface TranslogStats {
 ++++
 
 [discrete]
+[[TransportAddress]]
 === TransportAddress
 
 [pass]
@@ -2845,6 +3022,7 @@ type TransportAddress = string
 ++++
 
 [discrete]
+[[UnitFloatMillis]]
 === UnitFloatMillis
 
 [pass]
@@ -2858,6 +3036,7 @@ type UnitFloatMillis = <<_double, double>>
 ++++
 
 [discrete]
+[[UnitMillis]]
 === UnitMillis
 
 [pass]
@@ -2871,6 +3050,7 @@ type UnitMillis = <<_long, long>>
 ++++
 
 [discrete]
+[[UnitNanos]]
 === UnitNanos
 
 [pass]
@@ -2884,6 +3064,7 @@ type UnitNanos = <<_long, long>>
 ++++
 
 [discrete]
+[[UnitSeconds]]
 === UnitSeconds
 
 [pass]
@@ -2897,6 +3078,7 @@ type UnitSeconds = <<_long, long>>
 ++++
 
 [discrete]
+[[Username]]
 === Username
 
 [pass]
@@ -2910,6 +3092,7 @@ type Username = string
 ++++
 
 [discrete]
+[[Uuid]]
 === Uuid
 
 [pass]
@@ -2923,6 +3106,7 @@ type Uuid = string
 ++++
 
 [discrete]
+[[VersionNumber]]
 === VersionNumber
 
 [pass]
@@ -2936,6 +3120,7 @@ type VersionNumber = <<_long, long>>
 ++++
 
 [discrete]
+[[VersionString]]
 === VersionString
 
 [pass]
@@ -2949,6 +3134,7 @@ type VersionString = string
 ++++
 
 [discrete]
+[[VersionType]]
 === VersionType
 
 [pass]
@@ -2962,6 +3148,7 @@ type VersionType = 'internal' | 'external' | 'external_gte' | 'force'
 ++++
 
 [discrete]
+[[WaitForActiveShardOptions]]
 === WaitForActiveShardOptions
 
 [pass]
@@ -2975,6 +3162,7 @@ type WaitForActiveShardOptions = 'all' | 'index-setting'
 ++++
 
 [discrete]
+[[WaitForActiveShards]]
 === WaitForActiveShards
 
 [pass]
@@ -2988,6 +3176,7 @@ type WaitForActiveShards = <<_integer, integer>> | <>
 ++++
 
 [discrete]
+[[WaitForEvents]]
 === WaitForEvents
 
 [pass]
@@ -3001,6 +3190,7 @@ type WaitForEvents = 'immediate' | 'urgent' | 'high' | 'normal' | 'low' | 'langu
 ++++
 
 [discrete]
+[[WarmerStats]]
 === WarmerStats
 
 [pass]
@@ -3019,6 +3209,7 @@ interface WarmerStats {
 ++++
 
 [discrete]
+[[WktGeoBounds]]
 === WktGeoBounds
 
 [pass]
@@ -3034,6 +3225,7 @@ interface WktGeoBounds {
 ++++
 
 [discrete]
+[[WriteResponseBase]]
 === WriteResponseBase
 
 [pass]
@@ -3056,6 +3248,7 @@ interface WriteResponseBase {
 ++++
 
 [discrete]
+[[byte]]
 === byte
 
 [pass]
@@ -3069,6 +3262,7 @@ type byte = number
 ++++
 
 [discrete]
+[[double]]
 === double
 
 [pass]
@@ -3082,6 +3276,7 @@ type double = number
 ++++
 
 [discrete]
+[[float]]
 === float
 
 [pass]
@@ -3095,6 +3290,7 @@ type float = number
 ++++
 
 [discrete]
+[[integer]]
 === integer
 
 [pass]
@@ -3108,6 +3304,7 @@ type integer = number
 ++++
 
 [discrete]
+[[long]]
 === long
 
 [pass]
@@ -3121,6 +3318,7 @@ type long = number
 ++++
 
 [discrete]
+[[short]]
 === short
 
 [pass]
@@ -3134,6 +3332,7 @@ type short = number
 ++++
 
 [discrete]
+[[uint]]
 === uint
 
 [pass]
@@ -3147,6 +3346,7 @@ type uint = number
 ++++
 
 [discrete]
+[[ulong]]
 === ulong
 
 [pass]
@@ -3160,6 +3360,7 @@ type ulong = number
 ++++
 
 [discrete]
+[[BaseNode]]
 === SpecUtilsBaseNode
 
 [pass]
@@ -3180,6 +3381,7 @@ interface SpecUtilsBaseNode {
 ++++
 
 [discrete]
+[[NullValue]]
 === SpecUtilsNullValue
 
 [pass]
@@ -3193,6 +3395,7 @@ type SpecUtilsNullValue = null
 ++++
 
 [discrete]
+[[PipeSeparatedFlags]]
 === SpecUtilsPipeSeparatedFlags
 
 [pass]
@@ -3206,6 +3409,7 @@ type SpecUtilsPipeSeparatedFlags = T | string
 ++++
 
 [discrete]
+[[Stringified]]
 === SpecUtilsStringified
 
 [pass]
@@ -3219,6 +3423,7 @@ type SpecUtilsStringified = T | string
 ++++
 
 [discrete]
+[[Void]]
 === SpecUtilsVoid
 
 [pass]
@@ -3232,6 +3437,7 @@ type SpecUtilsStringified = T | string
 ++++
 
 [discrete]
+[[WithNullValue]]
 === SpecUtilsWithNullValue
 
 [pass]
@@ -3245,6 +3451,7 @@ type SpecUtilsWithNullValue = T | <>
 ++++
 
 [discrete]
+[[AdditionalProperties]]
 === SpecUtilsAdditionalProperties
 
 [pass]
@@ -3259,6 +3466,7 @@ interface SpecUtilsAdditionalProperties {
 ++++
 
 [discrete]
+[[AdditionalProperty]]
 === SpecUtilsAdditionalProperty
 
 [pass]
@@ -3273,6 +3481,7 @@ interface SpecUtilsAdditionalProperty {
 ++++
 
 [discrete]
+[[CommonQueryParameters]]
 === SpecUtilsCommonQueryParameters
 
 [pass]
@@ -3295,6 +3504,7 @@ interface SpecUtilsCommonQueryParameters {
 ++++
 
 [discrete]
+[[CommonCatQueryParameters]]
 === SpecUtilsCommonCatQueryParameters
 
 [pass]
@@ -3323,6 +3533,7 @@ interface SpecUtilsCommonCatQueryParameters {
 ++++
 
 [discrete]
+[[OverloadOf]]
 === SpecUtilsOverloadOf
 
 [pass]
@@ -3335,3 +3546,11859 @@ interface SpecUtilsOverloadOf {
 ++++
 
++++ + +[discrete] +[[AggregationsAdjacencyMatrixAggregate]] +=== AggregationsAdjacencyMatrixAggregate + +[pass] +++++ +
+++++
+interface AggregationsAdjacencyMatrixAggregate extends <><<>> {
+}
+[pass]
+++++
+
+++++ + +[discrete] +[[AggregationsAdjacencyMatrixAggregation]] +=== AggregationsAdjacencyMatrixAggregation + +[pass] +++++ +
+++++
+interface AggregationsAdjacencyMatrixAggregation extends <> {
+  pass:[/**] @property filters Filters used to create buckets. At least one filter is required. */
+  filters?: Record>>
+  pass:[/**] @property separator Separator used to concatenate filter names. Defaults to &. */
+  separator?: string
+}
+[pass]
+++++
+
+++++ + +[discrete] +[[AggregationsAdjacencyMatrixBucket]] +=== AggregationsAdjacencyMatrixBucket + +[pass] +++++ +
+++++
+interface AggregationsAdjacencyMatrixBucketKeys extends <> {
+  key: string
+}
+type AggregationsAdjacencyMatrixBucket = AggregationsAdjacencyMatrixBucketKeys
+  & { [property: string]: <> | string | <<_long, long>> }
+[pass]
+++++
+
+++++ + +[discrete] +[[AggregationsAggregate]] +=== AggregationsAggregate + +[pass] +++++ +
+++++
+type AggregationsAggregate = <> | <> | <> | <> | <> | <> | <> | <> | <> | <> | <> | <> | <> | <> | <> | <> | <> | <> | <> | <> | <> | <> | <> | <> | <> | <> | <> | <> | <> | <> | <> | <> | <> | <> | <> | <> | <> | <> | <> | <> | <> | <> | <> | <> | <> | <> | <> | <> | <> | <> | <> | <> | <> | <> | <> | <> | <> | <> | <> | <> | <> | <> | <> | <> | <> | <> | <> | <> | <> | <>
+[pass]
+++++
+
+++++ + +[discrete] +[[AggregationsAggregateBase]] +=== AggregationsAggregateBase + +[pass] +++++ +
+++++
+interface AggregationsAggregateBase {
+  meta?: <>
+}
+[pass]
+++++
+
+++++ + +[discrete] +[[AggregationsAggregateOrder]] +=== AggregationsAggregateOrder + +[pass] +++++ +
+++++
+type AggregationsAggregateOrder = Partial>, <>>> | Partial>, <>>>[]
+[pass]
+++++
+
+++++ + +[discrete] +[[AggregationsAggregation]] +=== AggregationsAggregation + +[pass] +++++ +
+++++
+interface AggregationsAggregation {
+}
+[pass]
+++++
+
+++++ + +[discrete] +[[AggregationsAggregationContainer]] +=== AggregationsAggregationContainer + +[pass] +++++ +
+++++
+interface AggregationsAggregationContainer {
+  pass:[/**] @property aggregations Sub-aggregations for this aggregation. Only applies to bucket aggregations. */
+  aggregations?: Record>>
+  pass:[/**] @property aggs Sub-aggregations for this aggregation. Only applies to bucket aggregations. */
+  aggs?: Record>>
+  meta?: <>
+  pass:[/**] @property adjacency_matrix A bucket aggregation returning a form of adjacency matrix. The request provides a collection of named filter expressions, similar to the `filters` aggregation. Each bucket in the response represents a non-empty cell in the matrix of intersecting filters. */
+  adjacency_matrix?: <>
+  pass:[/**] @property auto_date_histogram A multi-bucket aggregation similar to the date histogram, except instead of providing an interval to use as the width of each bucket, a target number of buckets is provided. */
+  auto_date_histogram?: <>
+  pass:[/**] @property avg A single-value metrics aggregation that computes the average of numeric values that are extracted from the aggregated documents. */
+  avg?: <>
+  pass:[/**] @property avg_bucket A sibling pipeline aggregation which calculates the mean value of a specified metric in a sibling aggregation. The specified metric must be numeric and the sibling aggregation must be a multi-bucket aggregation. */
+  avg_bucket?: <>
+  pass:[/**] @property boxplot A metrics aggregation that computes a box plot of numeric values extracted from the aggregated documents. */
+  boxplot?: <>
+  pass:[/**] @property bucket_script A parent pipeline aggregation which runs a script which can perform per bucket computations on metrics in the parent multi-bucket aggregation. */
+  bucket_script?: <>
+  pass:[/**] @property bucket_selector A parent pipeline aggregation which runs a script to determine whether the current bucket will be retained in the parent multi-bucket aggregation. */
+  bucket_selector?: <>
+  pass:[/**] @property bucket_sort A parent pipeline aggregation which sorts the buckets of its parent multi-bucket aggregation. */
+  bucket_sort?: <>
+  pass:[/**] @property bucket_count_ks_test A sibling pipeline aggregation which runs a two sample Kolmogorov–Smirnov test ("K-S test") against a provided distribution and the distribution implied by the documents counts in the configured sibling aggregation. */
+  bucket_count_ks_test?: <>
+  pass:[/**] @property bucket_correlation A sibling pipeline aggregation which runs a correlation function on the configured sibling multi-bucket aggregation. */
+  bucket_correlation?: <>
+  pass:[/**] @property cardinality A single-value metrics aggregation that calculates an approximate count of distinct values. */
+  cardinality?: <>
+  pass:[/**] @property categorize_text A multi-bucket aggregation that groups semi-structured text into buckets. */
+  categorize_text?: <>
+  pass:[/**] @property children A single bucket aggregation that selects child documents that have the specified type, as defined in a `join` field. */
+  children?: <>
+  pass:[/**] @property composite A multi-bucket aggregation that creates composite buckets from different sources. Unlike the other multi-bucket aggregations, you can use the `composite` aggregation to paginate *all* buckets from a multi-level aggregation efficiently. */
+  composite?: <>
+  pass:[/**] @property cumulative_cardinality A parent pipeline aggregation which calculates the cumulative cardinality in a parent `histogram` or `date_histogram` aggregation. */
+  cumulative_cardinality?: <>
+  pass:[/**] @property cumulative_sum A parent pipeline aggregation which calculates the cumulative sum of a specified metric in a parent `histogram` or `date_histogram` aggregation. */
+  cumulative_sum?: <>
+  pass:[/**] @property date_histogram A multi-bucket values source based aggregation that can be applied on date values or date range values extracted from the documents. It dynamically builds fixed size (interval) buckets over the values. */
+  date_histogram?: <>
+  pass:[/**] @property date_range A multi-bucket value source based aggregation that enables the user to define a set of date ranges - each representing a bucket. */
+  date_range?: <>
+  pass:[/**] @property derivative A parent pipeline aggregation which calculates the derivative of a specified metric in a parent `histogram` or `date_histogram` aggregation. */
+  derivative?: <>
+  pass:[/**] @property diversified_sampler A filtering aggregation used to limit any sub aggregations' processing to a sample of the top-scoring documents. Similar to the `sampler` aggregation, but adds the ability to limit the number of matches that share a common value. */
+  diversified_sampler?: <>
+  pass:[/**] @property extended_stats A multi-value metrics aggregation that computes stats over numeric values extracted from the aggregated documents. */
+  extended_stats?: <>
+  pass:[/**] @property extended_stats_bucket A sibling pipeline aggregation which calculates a variety of stats across all bucket of a specified metric in a sibling aggregation. */
+  extended_stats_bucket?: <>
+  pass:[/**] @property frequent_item_sets A bucket aggregation which finds frequent item sets, a form of association rules mining that identifies items that often occur together. */
+  frequent_item_sets?: <>
+  pass:[/**] @property filter A single bucket aggregation that narrows the set of documents to those that match a query. */
+  filter?: <>
+  pass:[/**] @property filters A multi-bucket aggregation where each bucket contains the documents that match a query. */
+  filters?: <>
+  pass:[/**] @property geo_bounds A metric aggregation that computes the geographic bounding box containing all values for a Geopoint or Geoshape field. */
+  geo_bounds?: <>
+  pass:[/**] @property geo_centroid A metric aggregation that computes the weighted centroid from all coordinate values for geo fields. */
+  geo_centroid?: <>
+  pass:[/**] @property geo_distance A multi-bucket aggregation that works on `geo_point` fields. Evaluates the distance of each document value from an origin point and determines the buckets it belongs to, based on ranges defined in the request. */
+  geo_distance?: <>
+  pass:[/**] @property geohash_grid A multi-bucket aggregation that groups `geo_point` and `geo_shape` values into buckets that represent a grid. Each cell is labeled using a geohash which is of user-definable precision. */
+  geohash_grid?: <>
+  pass:[/**] @property geo_line Aggregates all `geo_point` values within a bucket into a `LineString` ordered by the chosen sort field. */
+  geo_line?: <>
+  pass:[/**] @property geotile_grid A multi-bucket aggregation that groups `geo_point` and `geo_shape` values into buckets that represent a grid. Each cell corresponds to a map tile as used by many online map sites. */
+  geotile_grid?: <>
+  pass:[/**] @property geohex_grid A multi-bucket aggregation that groups `geo_point` and `geo_shape` values into buckets that represent a grid. Each cell corresponds to a H3 cell index and is labeled using the H3Index representation. */
+  geohex_grid?: <>
+  pass:[/**] @property global Defines a single bucket of all the documents within the search execution context. This context is defined by the indices and the document types you’re searching on, but is not influenced by the search query itself. */
+  global?: <>
+  pass:[/**] @property histogram A multi-bucket values source based aggregation that can be applied on numeric values or numeric range values extracted from the documents. It dynamically builds fixed size (interval) buckets over the values. */
+  histogram?: <>
+  pass:[/**] @property ip_range A multi-bucket value source based aggregation that enables the user to define a set of IP ranges - each representing a bucket. */
+  ip_range?: <>
+  pass:[/**] @property ip_prefix A bucket aggregation that groups documents based on the network or sub-network of an IP address. */
+  ip_prefix?: <>
+  pass:[/**] @property inference A parent pipeline aggregation which loads a pre-trained model and performs inference on the collated result fields from the parent bucket aggregation. */
+  inference?: <>
+  line?: <>
+  pass:[/**] @property matrix_stats A numeric aggregation that computes the following statistics over a set of document fields: `count`, `mean`, `variance`, `skewness`, `kurtosis`, `covariance`, and `covariance`. */
+  matrix_stats?: <>
+  pass:[/**] @property max A single-value metrics aggregation that returns the maximum value among the numeric values extracted from the aggregated documents. */
+  max?: <>
+  pass:[/**] @property max_bucket A sibling pipeline aggregation which identifies the bucket(s) with the maximum value of a specified metric in a sibling aggregation and outputs both the value and the key(s) of the bucket(s). */
+  max_bucket?: <>
+  pass:[/**] @property median_absolute_deviation A single-value aggregation that approximates the median absolute deviation of its search results. */
+  median_absolute_deviation?: <>
+  pass:[/**] @property min A single-value metrics aggregation that returns the minimum value among numeric values extracted from the aggregated documents. */
+  min?: <>
+  pass:[/**] @property min_bucket A sibling pipeline aggregation which identifies the bucket(s) with the minimum value of a specified metric in a sibling aggregation and outputs both the value and the key(s) of the bucket(s). */
+  min_bucket?: <>
+  pass:[/**] @property missing A field data based single bucket aggregation, that creates a bucket of all documents in the current document set context that are missing a field value (effectively, missing a field or having the configured NULL value set). */
+  missing?: <>
+  moving_avg?: <>
+  pass:[/**] @property moving_percentiles Given an ordered series of percentiles, "slides" a window across those percentiles and computes cumulative percentiles. */
+  moving_percentiles?: <>
+  pass:[/**] @property moving_fn Given an ordered series of data, "slides" a window across the data and runs a custom script on each window of data. For convenience, a number of common functions are predefined such as `min`, `max`, and moving averages. */
+  moving_fn?: <>
+  pass:[/**] @property multi_terms A multi-bucket value source based aggregation where buckets are dynamically built - one per unique set of values. */
+  multi_terms?: <>
+  pass:[/**] @property nested A special single bucket aggregation that enables aggregating nested documents. */
+  nested?: <>
+  pass:[/**] @property normalize A parent pipeline aggregation which calculates the specific normalized/rescaled value for a specific bucket value. */
+  normalize?: <>
+  pass:[/**] @property parent A special single bucket aggregation that selects parent documents that have the specified type, as defined in a `join` field. */
+  parent?: <>
+  pass:[/**] @property percentile_ranks A multi-value metrics aggregation that calculates one or more percentile ranks over numeric values extracted from the aggregated documents. */
+  percentile_ranks?: <>
+  pass:[/**] @property percentiles A multi-value metrics aggregation that calculates one or more percentiles over numeric values extracted from the aggregated documents. */
+  percentiles?: <>
+  pass:[/**] @property percentiles_bucket A sibling pipeline aggregation which calculates percentiles across all bucket of a specified metric in a sibling aggregation. */
+  percentiles_bucket?: <>
+  pass:[/**] @property range A multi-bucket value source based aggregation that enables the user to define a set of ranges - each representing a bucket. */
+  range?: <>
+  pass:[/**] @property rare_terms A multi-bucket value source based aggregation which finds "rare" terms — terms that are at the <<_long, long>>-tail of the distribution and are not frequent. */
+  rare_terms?: <>
+  pass:[/**] @property rate Calculates a rate of documents or a field in each bucket. Can only be used inside a `date_histogram` or `composite` aggregation. */
+  rate?: <>
+  pass:[/**] @property reverse_nested A special single bucket aggregation that enables aggregating on parent documents from nested documents. Should only be defined inside a `nested` aggregation. */
+  reverse_nested?: <>
+  pass:[/**] @property random_sampler A single bucket aggregation that randomly includes documents in the aggregated results. Sampling provides significant speed improvement at the cost of accuracy. */
+  random_sampler?: <>
+  pass:[/**] @property sampler A filtering aggregation used to limit any sub aggregations' processing to a sample of the top-scoring documents. */
+  sampler?: <>
+  pass:[/**] @property scripted_metric A metric aggregation that uses scripts to provide a metric output. */
+  scripted_metric?: <>
+  pass:[/**] @property serial_diff An aggregation that subtracts values in a time series from themselves at different time lags or periods. */
+  serial_diff?: <>
+  pass:[/**] @property significant_terms Returns interesting or unusual occurrences of terms in a set. */
+  significant_terms?: <>
+  pass:[/**] @property significant_text Returns interesting or unusual occurrences of free-text terms in a set. */
+  significant_text?: <>
+  pass:[/**] @property stats A multi-value metrics aggregation that computes stats over numeric values extracted from the aggregated documents. */
+  stats?: <>
+  pass:[/**] @property stats_bucket A sibling pipeline aggregation which calculates a variety of stats across all bucket of a specified metric in a sibling aggregation. */
+  stats_bucket?: <>
+  pass:[/**] @property string_stats A multi-value metrics aggregation that computes statistics over string values extracted from the aggregated documents. */
+  string_stats?: <>
+  pass:[/**] @property sum A single-value metrics aggregation that sums numeric values that are extracted from the aggregated documents. */
+  sum?: <>
+  pass:[/**] @property sum_bucket A sibling pipeline aggregation which calculates the sum of a specified metric across all buckets in a sibling aggregation. */
+  sum_bucket?: <>
+  pass:[/**] @property terms A multi-bucket value source based aggregation where buckets are dynamically built - one per unique value. */
+  terms?: <>
+  pass:[/**] @property time_series The time series aggregation queries data created using a time series index. This is typically data such as metrics or other data streams with a time component, and requires creating an index using the time series mode. */
+  time_series?: <>
+  pass:[/**] @property top_hits A metric aggregation that returns the top matching documents per bucket. */
+  top_hits?: <>
+  pass:[/**] @property t_test A metrics aggregation that performs a statistical hypothesis test in which the test statistic follows a Student’s t-distribution under the null hypothesis on numeric values extracted from the aggregated documents. */
+  t_test?: <>
+  pass:[/**] @property top_metrics A metric aggregation that selects metrics from the document with the largest or smallest sort value. */
+  top_metrics?: <>
+  pass:[/**] @property value_count A single-value metrics aggregation that counts the number of values that are extracted from the aggregated documents. */
+  value_count?: <>
+  pass:[/**] @property weighted_avg A single-value metrics aggregation that computes the weighted average of numeric values that are extracted from the aggregated documents. */
+  weighted_avg?: <>
+  pass:[/**] @property variable_width_histogram A multi-bucket aggregation similar to the histogram, except instead of providing an interval to use as the width of each bucket, a target number of buckets is provided. */
+  variable_width_histogram?: <>
+}
+[pass]
+++++
+
+++++ + +[discrete] +[[AggregationsAggregationRange]] +=== AggregationsAggregationRange + +[pass] +++++ +
+++++
+interface AggregationsAggregationRange {
+  pass:[/**] @property from Start of the range (inclusive). */
+  from?: <<_double, double>> | null
+  pass:[/**] @property key Custom key to return the range with. */
+  key?: string
+  pass:[/**] @property to End of the range (exclusive). */
+  to?: <<_double, double>> | null
+}
+[pass]
+++++
+
+++++ + +[discrete] +[[AggregationsArrayPercentilesItem]] +=== AggregationsArrayPercentilesItem + +[pass] +++++ +
+++++
+interface AggregationsArrayPercentilesItem {
+  key: string
+  value: <<_double, double>> | null
+  value_as_string?: string
+}
+[pass]
+++++
+
+++++ + +[discrete] +[[AggregationsAutoDateHistogramAggregate]] +=== AggregationsAutoDateHistogramAggregate + +[pass] +++++ +
+++++
+interface AggregationsAutoDateHistogramAggregate extends <><<>> {
+  interval: <>
+}
+[pass]
+++++
+
+++++ + +[discrete] +[[AggregationsAutoDateHistogramAggregation]] +=== AggregationsAutoDateHistogramAggregation + +[pass] +++++ +
+++++
+interface AggregationsAutoDateHistogramAggregation extends <> {
+  pass:[/**] @property buckets The target number of buckets. */
+  buckets?: <<_integer, integer>>
+  pass:[/**] @property field The field on which to run the aggregation. */
+  field?: <>
+  pass:[/**] @property format The date format used to format `key_as_string` in the response. If no `format` is specified, the first date format specified in the field mapping is used. */
+  format?: string
+  pass:[/**] @property minimum_interval The minimum rounding interval. This can make the collection process more efficient, as the aggregation will not attempt to round at any interval lower than `minimum_interval`. */
+  minimum_interval?: <>
+  pass:[/**] @property missing The value to apply to documents that do not have a value. By default, documents without a value are ignored. */
+  missing?: <>
+  pass:[/**] @property offset Time zone specified as a ISO 8601 UTC offset. */
+  offset?: string
+  params?: Record
+  script?: <