diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/esql/delete_view.rb b/elasticsearch-api/lib/elasticsearch/api/actions/esql/delete_view.rb index d791adf04..f4283a5f6 100644 --- a/elasticsearch-api/lib/elasticsearch/api/actions/esql/delete_view.rb +++ b/elasticsearch-api/lib/elasticsearch/api/actions/esql/delete_view.rb @@ -24,6 +24,9 @@ module Esql module Actions # Delete an ES|QL view. # Deletes a stored ES|QL view. + # + # This API is only available behind a feature flag: `esql_views`. + # # This functionality is in technical preview and may be changed or removed in a future # release. Elastic will apply best effort to fix any issues, but features in technical # preview are not subject to the support SLA of official GA features. diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/esql/get_view.rb b/elasticsearch-api/lib/elasticsearch/api/actions/esql/get_view.rb index 3e8645afa..ce5edf7c8 100644 --- a/elasticsearch-api/lib/elasticsearch/api/actions/esql/get_view.rb +++ b/elasticsearch-api/lib/elasticsearch/api/actions/esql/get_view.rb @@ -24,6 +24,9 @@ module Esql module Actions # Get an ES|QL view. # Returns a stored ES|QL view. + # + # This API is only available behind a feature flag: `esql_views`. + # # This functionality is in technical preview and may be changed or removed in a future # release. Elastic will apply best effort to fix any issues, but features in technical # preview are not subject to the support SLA of official GA features. diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/esql/put_view.rb b/elasticsearch-api/lib/elasticsearch/api/actions/esql/put_view.rb index 5d198a00f..a2c52af4c 100644 --- a/elasticsearch-api/lib/elasticsearch/api/actions/esql/put_view.rb +++ b/elasticsearch-api/lib/elasticsearch/api/actions/esql/put_view.rb @@ -23,6 +23,9 @@ module API module Esql module Actions # Create or update an ES|QL view. + # + # This API is only available behind a feature flag: `esql_views`. + # # This functionality is in technical preview and may be changed or removed in a future # release. Elastic will apply best effort to fix any issues, but features in technical # preview are not subject to the support SLA of official GA features. diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/indices/delete_sample_configuration.rb b/elasticsearch-api/lib/elasticsearch/api/actions/indices/delete_sample_configuration.rb index 30892af1b..1edf6bfc1 100644 --- a/elasticsearch-api/lib/elasticsearch/api/actions/indices/delete_sample_configuration.rb +++ b/elasticsearch-api/lib/elasticsearch/api/actions/indices/delete_sample_configuration.rb @@ -24,6 +24,9 @@ module Indices module Actions # Delete sampling configuration. # Delete the sampling configuration for the specified index. + # + # This API is only available behind a feature flag: `random_sampling`. + # # This functionality is in technical preview and may be changed or removed in a future # release. Elastic will apply best effort to fix any issues, but features in technical # preview are not subject to the support SLA of official GA features. diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/indices/get_all_sample_configuration.rb b/elasticsearch-api/lib/elasticsearch/api/actions/indices/get_all_sample_configuration.rb index 5448919df..8157f8a19 100644 --- a/elasticsearch-api/lib/elasticsearch/api/actions/indices/get_all_sample_configuration.rb +++ b/elasticsearch-api/lib/elasticsearch/api/actions/indices/get_all_sample_configuration.rb @@ -24,6 +24,9 @@ module Indices module Actions # Get all sampling configurations. # Get the sampling configurations for all indices. + # + # This API is only available behind a feature flag: `random_sampling`. + # # This functionality is in technical preview and may be changed or removed in a future # release. Elastic will apply best effort to fix any issues, but features in technical # preview are not subject to the support SLA of official GA features. diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/indices/get_sample.rb b/elasticsearch-api/lib/elasticsearch/api/actions/indices/get_sample.rb index bb5b8c25e..f914e1c69 100644 --- a/elasticsearch-api/lib/elasticsearch/api/actions/indices/get_sample.rb +++ b/elasticsearch-api/lib/elasticsearch/api/actions/indices/get_sample.rb @@ -23,6 +23,9 @@ module API module Indices module Actions # Request for a random sample of raw documents ingested into the given index or data stream. + # + # This API is only available behind a feature flag: `random_sampling`. + # # This functionality is in technical preview and may be changed or removed in a future # release. Elastic will apply best effort to fix any issues, but features in technical # preview are not subject to the support SLA of official GA features. diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/indices/get_sample_configuration.rb b/elasticsearch-api/lib/elasticsearch/api/actions/indices/get_sample_configuration.rb index 7d312abc2..51e1c2ccb 100644 --- a/elasticsearch-api/lib/elasticsearch/api/actions/indices/get_sample_configuration.rb +++ b/elasticsearch-api/lib/elasticsearch/api/actions/indices/get_sample_configuration.rb @@ -24,6 +24,9 @@ module Indices module Actions # Get sampling configuration. # Get the sampling configuration for the specified index. + # + # This API is only available behind a feature flag: `random_sampling`. + # # This functionality is in technical preview and may be changed or removed in a future # release. Elastic will apply best effort to fix any issues, but features in technical # preview are not subject to the support SLA of official GA features. diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/indices/get_sample_stats.rb b/elasticsearch-api/lib/elasticsearch/api/actions/indices/get_sample_stats.rb index 612a799bb..0c24dbb6a 100644 --- a/elasticsearch-api/lib/elasticsearch/api/actions/indices/get_sample_stats.rb +++ b/elasticsearch-api/lib/elasticsearch/api/actions/indices/get_sample_stats.rb @@ -23,6 +23,9 @@ module API module Indices module Actions # Request stats for a random sample of raw documents ingested into the given index or data stream. + # + # This API is only available behind a feature flag: `random_sampling`. + # # This functionality is in technical preview and may be changed or removed in a future # release. Elastic will apply best effort to fix any issues, but features in technical # preview are not subject to the support SLA of official GA features. diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/indices/put_sample_configuration.rb b/elasticsearch-api/lib/elasticsearch/api/actions/indices/put_sample_configuration.rb index ead869194..0b0b7a1b7 100644 --- a/elasticsearch-api/lib/elasticsearch/api/actions/indices/put_sample_configuration.rb +++ b/elasticsearch-api/lib/elasticsearch/api/actions/indices/put_sample_configuration.rb @@ -24,6 +24,9 @@ module Indices module Actions # Create or update sampling configuration. # Create or update the sampling configuration for the specified index. + # + # This API is only available behind a feature flag: `random_sampling`. + # # This functionality is in technical preview and may be changed or removed in a future # release. Elastic will apply best effort to fix any issues, but features in technical # preview are not subject to the support SLA of official GA features. diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/inference/get.rb b/elasticsearch-api/lib/elasticsearch/api/actions/inference/get.rb index 942d91980..81c2f2a5f 100644 --- a/elasticsearch-api/lib/elasticsearch/api/actions/inference/get.rb +++ b/elasticsearch-api/lib/elasticsearch/api/actions/inference/get.rb @@ -25,8 +25,9 @@ module Actions # Get an inference endpoint. # This API requires the `monitor_inference` cluster privilege (the built-in `inference_admin` and `inference_user` roles grant this privilege). # - # @option arguments [String] :task_type The task type - # @option arguments [String] :inference_id The inference Id + # @option arguments [String] :task_type The task type of the endpoint to return + # @option arguments [String] :inference_id The inference Id of the endpoint to return. Using `_all` or `*` will return all endpoints with the specified + # `task_type` if one is specified, or all endpoints for all task types if no `task_type` is specified # @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors # when they occur. # @option arguments [String, Array] :filter_path Comma-separated list of filters in dot notation which reduce the response @@ -62,6 +63,8 @@ def get(arguments = {}) method = Elasticsearch::API::HTTP_GET path = if _task_type && _inference_id "_inference/#{Utils.listify(_task_type)}/#{Utils.listify(_inference_id)}" + elsif _task_type + "_inference/#{Utils.listify(_task_type)}/_all" elsif _inference_id "_inference/#{Utils.listify(_inference_id)}" else diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/project/tags.rb b/elasticsearch-api/lib/elasticsearch/api/actions/project/tags.rb index 3ac96d383..9eba5bfb9 100644 --- a/elasticsearch-api/lib/elasticsearch/api/actions/project/tags.rb +++ b/elasticsearch-api/lib/elasticsearch/api/actions/project/tags.rb @@ -24,7 +24,9 @@ module Project module Actions # Get tags. # Get the tags that are defined for the project. + # # This API is only available in Serverless. + # # This functionality is in technical preview and may be changed or removed in a future # release. Elastic will apply best effort to fix any issues, but features in technical # preview are not subject to the support SLA of official GA features. diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/streams/logs_disable.rb b/elasticsearch-api/lib/elasticsearch/api/actions/streams/logs_disable.rb index e4dc0279e..4321f0e8b 100644 --- a/elasticsearch-api/lib/elasticsearch/api/actions/streams/logs_disable.rb +++ b/elasticsearch-api/lib/elasticsearch/api/actions/streams/logs_disable.rb @@ -24,6 +24,9 @@ module Streams module Actions # Disable logs stream. # Turn off the logs stream feature for this cluster. + # + # This API is only available behind a feature flag: `logs_stream`. + # # This functionality is in technical preview and may be changed or removed in a future # release. Elastic will apply best effort to fix any issues, but features in technical # preview are not subject to the support SLA of official GA features. diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/streams/logs_enable.rb b/elasticsearch-api/lib/elasticsearch/api/actions/streams/logs_enable.rb index 6876bded7..e2c792f3a 100644 --- a/elasticsearch-api/lib/elasticsearch/api/actions/streams/logs_enable.rb +++ b/elasticsearch-api/lib/elasticsearch/api/actions/streams/logs_enable.rb @@ -27,6 +27,9 @@ module Actions # NOTE: To protect existing data, this feature can be turned on only if the # cluster does not have existing indices or data streams that match the pattern `logs|logs.*`. # If those indices or data streams exist, a `409 - Conflict` response and error is returned. + # + # This API is only available behind a feature flag: `logs_stream`. + # # This functionality is in technical preview and may be changed or removed in a future # release. Elastic will apply best effort to fix any issues, but features in technical # preview are not subject to the support SLA of official GA features. diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/streams/status.rb b/elasticsearch-api/lib/elasticsearch/api/actions/streams/status.rb index d3ef465e1..21ff149d2 100644 --- a/elasticsearch-api/lib/elasticsearch/api/actions/streams/status.rb +++ b/elasticsearch-api/lib/elasticsearch/api/actions/streams/status.rb @@ -24,6 +24,9 @@ module Streams module Actions # Get the status of streams. # Get the current status for all types of streams. + # + # This API is only available behind a feature flag: `logs_stream`. + # # This functionality is in technical preview and may be changed or removed in a future # release. Elastic will apply best effort to fix any issues, but features in technical # preview are not subject to the support SLA of official GA features. diff --git a/elasticsearch-api/lib/elasticsearch/api/version.rb b/elasticsearch-api/lib/elasticsearch/api/version.rb index 0c523e069..84a51693a 100644 --- a/elasticsearch-api/lib/elasticsearch/api/version.rb +++ b/elasticsearch-api/lib/elasticsearch/api/version.rb @@ -18,6 +18,6 @@ module Elasticsearch module API VERSION = '9.3.0'.freeze - ES_SPECIFICATION_COMMIT = '6e9a671c38d875602bda0957eb6af0e7e3657eec'.freeze + ES_SPECIFICATION_COMMIT = 'e7c19dcd3aa9fd34b15509f0453af0e4756ea080'.freeze end end