diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index 1accce7ca1..0d7a5a3953 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -16919,6 +16919,9 @@ "description": "The maximum number of threads to be used by the analysis. Using more\nthreads may decrease the time necessary to complete the analysis at the\ncost of using more CPU. Note that the process may use additional threads\nfor operational functionality other than the analysis itself.", "type": "number" }, + "_meta": { + "$ref": "#/components/schemas/_types:Metadata" + }, "model_memory_limit": { "description": "The approximate maximum amount of memory resources that are permitted for\nanalytical processing. If your `elasticsearch.yml` file contains an\n`xpack.ml.max_model_memory_limit` setting, an error occurs when you try\nto create data frame analytics jobs that have `model_memory_limit` values\ngreater than that setting.", "type": "string" @@ -16978,6 +16981,9 @@ "max_num_threads": { "type": "number" }, + "_meta": { + "$ref": "#/components/schemas/_types:Metadata" + }, "model_memory_limit": { "type": "string" }, @@ -17763,6 +17769,9 @@ "description": "A description of the job.", "type": "string" }, + "job_id": { + "$ref": "#/components/schemas/_types:Id" + }, "groups": { "description": "A list of job groups. A job can belong to no groups or many.", "type": "array", @@ -18112,6 +18121,9 @@ { "$ref": "#/components/parameters/ml.get_trained_models#include" }, + { + "$ref": "#/components/parameters/ml.get_trained_models#include_model_definition" + }, { "$ref": "#/components/parameters/ml.get_trained_models#size" }, @@ -20017,6 +20029,9 @@ { "$ref": "#/components/parameters/ml.get_trained_models#include" }, + { + "$ref": "#/components/parameters/ml.get_trained_models#include_model_definition" + }, { "$ref": "#/components/parameters/ml.get_trained_models#size" }, @@ -20366,15 +20381,12 @@ }, "required": [ "bucket_count", - "earliest_record_timestamp", "empty_bucket_count", "input_bytes", "input_field_count", "input_record_count", "invalid_date_count", "job_id", - "last_data_time", - "latest_record_timestamp", "missing_field_count", "out_of_order_timestamp_count", "processed_field_count", @@ -74885,7 +74897,14 @@ }, "model_memory_limit": { "description": "The approximate maximum amount of memory resources that are required for analytical processing. Once this limit is approached, data pruning becomes more aggressive. Upon exceeding this limit, new entities are not modeled. If the `xpack.ml.max_model_memory_limit` setting has a value greater than 0 and less than 1024mb, that value is used instead of the default. The default value is relatively small to ensure that high resource usage is a conscious decision. If you have jobs that are expected to analyze high cardinality fields, you will likely need to use a higher value. If you specify a number instead of a string, the units are assumed to be MiB. Specifying a string is recommended for clarity. If you specify a byte size unit of `b` or `kb` and the number does not equate to a discrete number of megabytes, it is rounded down to the closest MiB. The minimum valid value is 1 MiB. If you specify a value less than 1 MiB, an error occurs. If you specify a value for the `xpack.ml.max_model_memory_limit` setting, an error occurs when you try to create jobs that have `model_memory_limit` values greater than that setting value.", - "type": "string" + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] } } }, @@ -76882,6 +76901,9 @@ "ml.info:Limits": { "type": "object", "properties": { + "max_single_ml_node_processors": { + "type": "number" + }, "max_model_memory_limit": { "type": "string" }, @@ -76890,6 +76912,9 @@ }, "total_ml_memory": { "type": "string" + }, + "total_ml_processors": { + "type": "number" } }, "required": [ @@ -98973,6 +98998,16 @@ }, "style": "form" }, + "ml.get_trained_models#include_model_definition": { + "in": "query", + "name": "include_model_definition", + "description": "parameter is deprecated! Use [include=definition] instead", + "deprecated": true, + "schema": { + "type": "boolean" + }, + "style": "form" + }, "ml.get_trained_models#size": { "in": "query", "name": "size", diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index 6650407da1..450cc833ba 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -9941,6 +9941,9 @@ "description": "The maximum number of threads to be used by the analysis. Using more\nthreads may decrease the time necessary to complete the analysis at the\ncost of using more CPU. Note that the process may use additional threads\nfor operational functionality other than the analysis itself.", "type": "number" }, + "_meta": { + "$ref": "#/components/schemas/_types:Metadata" + }, "model_memory_limit": { "description": "The approximate maximum amount of memory resources that are permitted for\nanalytical processing. If your `elasticsearch.yml` file contains an\n`xpack.ml.max_model_memory_limit` setting, an error occurs when you try\nto create data frame analytics jobs that have `model_memory_limit` values\ngreater than that setting.", "type": "string" @@ -10000,6 +10003,9 @@ "max_num_threads": { "type": "number" }, + "_meta": { + "$ref": "#/components/schemas/_types:Metadata" + }, "model_memory_limit": { "type": "string" }, @@ -10574,6 +10580,9 @@ "description": "A description of the job.", "type": "string" }, + "job_id": { + "$ref": "#/components/schemas/_types:Id" + }, "groups": { "description": "A list of job groups. A job can belong to no groups or many.", "type": "array", @@ -10792,6 +10801,9 @@ { "$ref": "#/components/parameters/ml.get_trained_models#include" }, + { + "$ref": "#/components/parameters/ml.get_trained_models#include_model_definition" + }, { "$ref": "#/components/parameters/ml.get_trained_models#size" }, @@ -11883,6 +11895,9 @@ { "$ref": "#/components/parameters/ml.get_trained_models#include" }, + { + "$ref": "#/components/parameters/ml.get_trained_models#include_model_definition" + }, { "$ref": "#/components/parameters/ml.get_trained_models#size" }, @@ -50218,7 +50233,14 @@ }, "model_memory_limit": { "description": "The approximate maximum amount of memory resources that are required for analytical processing. Once this limit is approached, data pruning becomes more aggressive. Upon exceeding this limit, new entities are not modeled. If the `xpack.ml.max_model_memory_limit` setting has a value greater than 0 and less than 1024mb, that value is used instead of the default. The default value is relatively small to ensure that high resource usage is a conscious decision. If you have jobs that are expected to analyze high cardinality fields, you will likely need to use a higher value. If you specify a number instead of a string, the units are assumed to be MiB. Specifying a string is recommended for clarity. If you specify a byte size unit of `b` or `kb` and the number does not equate to a discrete number of megabytes, it is rounded down to the closest MiB. The minimum valid value is 1 MiB. If you specify a value less than 1 MiB, an error occurs. If you specify a value for the `xpack.ml.max_model_memory_limit` setting, an error occurs when you try to create jobs that have `model_memory_limit` values greater than that setting value.", - "type": "string" + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] } } }, @@ -60438,6 +60460,16 @@ }, "style": "form" }, + "ml.get_trained_models#include_model_definition": { + "in": "query", + "name": "include_model_definition", + "description": "parameter is deprecated! Use [include=definition] instead", + "deprecated": true, + "schema": { + "type": "boolean" + }, + "style": "form" + }, "ml.get_trained_models#size": { "in": "query", "name": "size", diff --git a/output/schema/schema-serverless.json b/output/schema/schema-serverless.json index 1d43344aee..c5d26380ab 100644 --- a/output/schema/schema-serverless.json +++ b/output/schema/schema-serverless.json @@ -28288,6 +28288,22 @@ } } }, + { + "deprecation": { + "description": "", + "version": "7.10.0" + }, + "description": "parameter is deprecated! Use [include=definition] instead", + "name": "include_model_definition", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "boolean", + "namespace": "_builtins" + } + } + }, { "description": "Specifies the maximum number of models to obtain.", "name": "size", @@ -28329,7 +28345,7 @@ } } ], - "specLocation": "ml/get_trained_models/MlGetTrainedModelRequest.ts#L25-L92" + "specLocation": "ml/get_trained_models/MlGetTrainedModelRequest.ts#L25-L99" }, { "body": { @@ -29279,6 +29295,17 @@ } } }, + { + "name": "_meta", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "Metadata", + "namespace": "_types" + } + } + }, { "description": "The approximate maximum amount of memory resources that are permitted for\nanalytical processing. If your `elasticsearch.yml` file contains an\n`xpack.ml.max_model_memory_limit` setting, an error occurs when you try\nto create data frame analytics jobs that have `model_memory_limit` values\ngreater than that setting.", "name": "model_memory_limit", @@ -29367,7 +29394,7 @@ } ], "query": [], - "specLocation": "ml/put_data_frame_analytics/MlPutDataFrameAnalyticsRequest.ts#L30-L142" + "specLocation": "ml/put_data_frame_analytics/MlPutDataFrameAnalyticsRequest.ts#L30-L144" }, { "body": { @@ -29481,6 +29508,17 @@ } } }, + { + "name": "_meta", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "Metadata", + "namespace": "_types" + } + } + }, { "name": "model_memory_limit", "required": true, @@ -29521,7 +29559,7 @@ "name": "Response", "namespace": "ml.put_data_frame_analytics" }, - "specLocation": "ml/put_data_frame_analytics/MlPutDataFrameAnalyticsResponse.ts#L31-L46" + "specLocation": "ml/put_data_frame_analytics/MlPutDataFrameAnalyticsResponse.ts#L31-L47" }, { "attachedBehaviors": [ @@ -29531,6 +29569,9 @@ "kind": "properties", "properties": [ { + "aliases": [ + "aggs" + ], "description": "If set, the datafeed performs aggregation searches.\nSupport for aggregations is limited and should be used only with low cardinality data.", "name": "aggregations", "required": false, @@ -29816,7 +29857,7 @@ } } ], - "specLocation": "ml/put_datafeed/MlPutDatafeedRequest.ts#L37-L173" + "specLocation": "ml/put_datafeed/MlPutDatafeedRequest.ts#L37-L175" }, { "body": { @@ -30252,6 +30293,18 @@ } } }, + { + "description": "The identifier for the anomaly detection job. This identifier can contain lowercase alphanumeric characters (a-z and 0-9), hyphens, and underscores. It must start and end with alphanumeric characters.", + "name": "job_id", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "Id", + "namespace": "_types" + } + } + }, { "description": "A list of job groups. A job can belong to no groups or many.", "name": "groups", @@ -30358,7 +30411,7 @@ } ], "query": [], - "specLocation": "ml/put_job/MlPutJobRequest.ts#L30-L113" + "specLocation": "ml/put_job/MlPutJobRequest.ts#L30-L117" }, { "body": { @@ -132010,11 +132063,23 @@ "required": false, "serverDefault": "1024mb", "type": { - "kind": "instance_of", - "type": { - "name": "string", - "namespace": "_builtins" - } + "items": [ + { + "kind": "instance_of", + "type": { + "name": "string", + "namespace": "_builtins" + } + }, + { + "kind": "instance_of", + "type": { + "name": "long", + "namespace": "_types" + } + } + ], + "kind": "union_of" } } ], diff --git a/output/schema/schema.json b/output/schema/schema.json index a52efaa8f5..3b8c23ec07 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -150086,11 +150086,23 @@ "required": false, "serverDefault": "1024mb", "type": { - "kind": "instance_of", - "type": { - "name": "string", - "namespace": "_builtins" - } + "kind": "union_of", + "items": [ + { + "kind": "instance_of", + "type": { + "name": "string", + "namespace": "_builtins" + } + }, + { + "kind": "instance_of", + "type": { + "name": "long", + "namespace": "_types" + } + } + ] } } ], @@ -167839,6 +167851,22 @@ } } }, + { + "deprecation": { + "description": "", + "version": "7.10.0" + }, + "description": "parameter is deprecated! Use [include=definition] instead", + "name": "include_model_definition", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "boolean", + "namespace": "_builtins" + } + } + }, { "description": "Specifies the maximum number of models to obtain.", "name": "size", @@ -167880,7 +167908,7 @@ } } ], - "specLocation": "ml/get_trained_models/MlGetTrainedModelRequest.ts#L25-L92" + "specLocation": "ml/get_trained_models/MlGetTrainedModelRequest.ts#L25-L99" }, { "kind": "response", @@ -168213,7 +168241,7 @@ } } ], - "specLocation": "ml/info/types.ts#L44-L50" + "specLocation": "ml/info/types.ts#L46-L52" }, { "kind": "interface", @@ -168234,7 +168262,7 @@ } } ], - "specLocation": "ml/info/types.ts#L40-L42" + "specLocation": "ml/info/types.ts#L42-L44" }, { "kind": "interface", @@ -168275,6 +168303,17 @@ "namespace": "ml.info" }, "properties": [ + { + "name": "max_single_ml_node_processors", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "integer", + "namespace": "_types" + } + } + }, { "name": "max_model_memory_limit", "required": false, @@ -168307,9 +168346,20 @@ "namespace": "_builtins" } } + }, + { + "name": "total_ml_processors", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "integer", + "namespace": "_types" + } + } } ], - "specLocation": "ml/info/types.ts#L34-L38" + "specLocation": "ml/info/types.ts#L34-L40" }, { "kind": "interface", @@ -168704,7 +168754,7 @@ }, { "name": "earliest_record_timestamp", - "required": true, + "required": false, "type": { "kind": "instance_of", "type": { @@ -168781,7 +168831,7 @@ }, { "name": "last_data_time", - "required": true, + "required": false, "type": { "kind": "instance_of", "type": { @@ -168792,7 +168842,7 @@ }, { "name": "latest_record_timestamp", - "required": true, + "required": false, "type": { "kind": "instance_of", "type": { @@ -169429,6 +169479,17 @@ } } }, + { + "name": "_meta", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "Metadata", + "namespace": "_types" + } + } + }, { "description": "The approximate maximum amount of memory resources that are permitted for\nanalytical processing. If your `elasticsearch.yml` file contains an\n`xpack.ml.max_model_memory_limit` setting, an error occurs when you try\nto create data frame analytics jobs that have `model_memory_limit` values\ngreater than that setting.", "name": "model_memory_limit", @@ -169516,7 +169577,7 @@ } ], "query": [], - "specLocation": "ml/put_data_frame_analytics/MlPutDataFrameAnalyticsRequest.ts#L30-L142" + "specLocation": "ml/put_data_frame_analytics/MlPutDataFrameAnalyticsRequest.ts#L30-L144" }, { "kind": "response", @@ -169631,6 +169692,17 @@ } } }, + { + "name": "_meta", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "Metadata", + "namespace": "_types" + } + } + }, { "name": "model_memory_limit", "required": true, @@ -169670,7 +169742,7 @@ "name": "Response", "namespace": "ml.put_data_frame_analytics" }, - "specLocation": "ml/put_data_frame_analytics/MlPutDataFrameAnalyticsResponse.ts#L31-L46" + "specLocation": "ml/put_data_frame_analytics/MlPutDataFrameAnalyticsResponse.ts#L31-L47" }, { "kind": "request", @@ -169681,6 +169753,9 @@ "kind": "properties", "properties": [ { + "aliases": [ + "aggs" + ], "description": "If set, the datafeed performs aggregation searches.\nSupport for aggregations is limited and should be used only with low cardinality data.", "name": "aggregations", "required": false, @@ -169965,7 +170040,7 @@ } } ], - "specLocation": "ml/put_datafeed/MlPutDatafeedRequest.ts#L37-L173" + "specLocation": "ml/put_datafeed/MlPutDatafeedRequest.ts#L37-L175" }, { "kind": "response", @@ -170402,6 +170477,18 @@ } } }, + { + "description": "The identifier for the anomaly detection job. This identifier can contain lowercase alphanumeric characters (a-z and 0-9), hyphens, and underscores. It must start and end with alphanumeric characters.", + "name": "job_id", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "Id", + "namespace": "_types" + } + } + }, { "description": "A list of job groups. A job can belong to no groups or many.", "name": "groups", @@ -170507,7 +170594,7 @@ } ], "query": [], - "specLocation": "ml/put_job/MlPutJobRequest.ts#L30-L113" + "specLocation": "ml/put_job/MlPutJobRequest.ts#L30-L117" }, { "kind": "response", diff --git a/output/schema/validation-errors.json b/output/schema/validation-errors.json index 041f98de05..eb06a00fa9 100644 --- a/output/schema/validation-errors.json +++ b/output/schema/validation-errors.json @@ -854,12 +854,6 @@ ], "response": [] }, - "ml.get_trained_models": { - "request": [ - "Request: missing json spec query parameter 'include_model_definition'" - ], - "response": [] - }, "ml.put_job": { "request": [ "Request: missing json spec query parameter 'ignore_unavailable'", diff --git a/output/typescript/types.ts b/output/typescript/types.ts index 7f88ed3d04..577539dadb 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -13664,7 +13664,7 @@ export interface MlAnalysisConfigRead { export interface MlAnalysisLimits { categorization_examples_limit?: long - model_memory_limit?: string + model_memory_limit?: string | long } export interface MlAnalysisMemoryLimit { @@ -15524,6 +15524,7 @@ export interface MlGetTrainedModelsRequest extends RequestBase { exclude_generated?: boolean from?: integer include?: MlInclude + include_model_definition?: boolean size?: integer tags?: string | string[] } @@ -15576,9 +15577,11 @@ export interface MlInfoDefaults { } export interface MlInfoLimits { + max_single_ml_node_processors?: integer max_model_memory_limit?: string effective_max_model_memory_limit: string total_ml_memory: string + total_ml_processors?: integer } export interface MlInfoNativeCode { @@ -15629,15 +15632,15 @@ export interface MlPostDataRequest extends RequestBase { export interface MlPostDataResponse { bucket_count: long - earliest_record_timestamp: long + earliest_record_timestamp?: long empty_bucket_count: long input_bytes: long input_field_count: long input_record_count: long invalid_date_count: long job_id: Id - last_data_time: integer - latest_record_timestamp: long + last_data_time?: integer + latest_record_timestamp?: long missing_field_count: long out_of_order_timestamp_count: long processed_field_count: long @@ -15710,6 +15713,7 @@ export interface MlPutDataFrameAnalyticsRequest extends RequestBase { description?: string dest: MlDataframeAnalyticsDestination max_num_threads?: integer + _meta?: Metadata model_memory_limit?: string source: MlDataframeAnalyticsSource headers?: HttpHeaders @@ -15727,6 +15731,7 @@ export interface MlPutDataFrameAnalyticsResponse { dest: MlDataframeAnalyticsDestination id: Id max_num_threads: integer + _meta?: Metadata model_memory_limit: string source: MlDataframeAnalyticsSource version: VersionString @@ -15740,6 +15745,7 @@ export interface MlPutDatafeedRequest extends RequestBase { ignore_unavailable?: boolean body?: { aggregations?: Record + aggs?: Record chunking_config?: MlChunkingConfig delayed_data_check_config?: MlDelayedDataCheckConfig frequency?: Duration @@ -15801,6 +15807,7 @@ export interface MlPutJobRequest extends RequestBase { data_description: MlDataDescription datafeed_config?: MlDatafeedConfig description?: string + job_id?: Id groups?: string[] model_plot_config?: MlModelPlotConfig model_snapshot_retention_days?: long diff --git a/specification/ml/_types/Analysis.ts b/specification/ml/_types/Analysis.ts index 3a903917bb..017ed2a344 100644 --- a/specification/ml/_types/Analysis.ts +++ b/specification/ml/_types/Analysis.ts @@ -168,7 +168,7 @@ export class AnalysisLimits { * The approximate maximum amount of memory resources that are required for analytical processing. Once this limit is approached, data pruning becomes more aggressive. Upon exceeding this limit, new entities are not modeled. If the `xpack.ml.max_model_memory_limit` setting has a value greater than 0 and less than 1024mb, that value is used instead of the default. The default value is relatively small to ensure that high resource usage is a conscious decision. If you have jobs that are expected to analyze high cardinality fields, you will likely need to use a higher value. If you specify a number instead of a string, the units are assumed to be MiB. Specifying a string is recommended for clarity. If you specify a byte size unit of `b` or `kb` and the number does not equate to a discrete number of megabytes, it is rounded down to the closest MiB. The minimum valid value is 1 MiB. If you specify a value less than 1 MiB, an error occurs. If you specify a value for the `xpack.ml.max_model_memory_limit` setting, an error occurs when you try to create jobs that have `model_memory_limit` values greater than that setting value. * @server_default 1024mb */ - model_memory_limit?: string + model_memory_limit?: string | long } export class AnalysisMemoryLimit { diff --git a/specification/ml/get_trained_models/MlGetTrainedModelRequest.ts b/specification/ml/get_trained_models/MlGetTrainedModelRequest.ts index 738eaa7fb5..d4bce525e7 100644 --- a/specification/ml/get_trained_models/MlGetTrainedModelRequest.ts +++ b/specification/ml/get_trained_models/MlGetTrainedModelRequest.ts @@ -77,6 +77,13 @@ export interface Request extends RequestBase { * body. */ include?: Include + + /** + * parameter is deprecated! Use [include=definition] instead + * @deprecated 7.10.0 + */ + include_model_definition?: boolean + /** * Specifies the maximum number of models to obtain. * @server_default 100 diff --git a/specification/ml/info/types.ts b/specification/ml/info/types.ts index 0fd3132f31..3984b4e335 100644 --- a/specification/ml/info/types.ts +++ b/specification/ml/info/types.ts @@ -32,9 +32,11 @@ export class NativeCode { } export class Limits { + max_single_ml_node_processors?: integer max_model_memory_limit?: string effective_max_model_memory_limit: string total_ml_memory: string + total_ml_processors?: integer } export class Datafeeds { diff --git a/specification/ml/post_data/MlPostJobDataResponse.ts b/specification/ml/post_data/MlPostJobDataResponse.ts index 55a530ff43..5a86825dda 100644 --- a/specification/ml/post_data/MlPostJobDataResponse.ts +++ b/specification/ml/post_data/MlPostJobDataResponse.ts @@ -23,15 +23,15 @@ import { integer, long } from '@_types/Numeric' export class Response { body: { bucket_count: long - earliest_record_timestamp: long + earliest_record_timestamp?: long empty_bucket_count: long input_bytes: long input_field_count: long input_record_count: long invalid_date_count: long job_id: Id - last_data_time: integer - latest_record_timestamp: long + last_data_time?: integer + latest_record_timestamp?: long missing_field_count: long out_of_order_timestamp_count: long processed_field_count: long diff --git a/specification/ml/put_data_frame_analytics/MlPutDataFrameAnalyticsRequest.ts b/specification/ml/put_data_frame_analytics/MlPutDataFrameAnalyticsRequest.ts index 932cfe3f88..cd36199e18 100644 --- a/specification/ml/put_data_frame_analytics/MlPutDataFrameAnalyticsRequest.ts +++ b/specification/ml/put_data_frame_analytics/MlPutDataFrameAnalyticsRequest.ts @@ -24,7 +24,7 @@ import { DataframeAnalyticsSource } from '@ml/_types/DataframeAnalytics' import { RequestBase } from '@_types/Base' -import { HttpHeaders, Id, VersionString } from '@_types/common' +import { HttpHeaders, Id, Metadata, VersionString } from '@_types/common' import { integer } from '@_types/Numeric' /** @@ -115,6 +115,8 @@ export interface Request extends RequestBase { * @server_default 1 */ max_num_threads?: integer + + _meta?: Metadata /** * The approximate maximum amount of memory resources that are permitted for * analytical processing. If your `elasticsearch.yml` file contains an diff --git a/specification/ml/put_data_frame_analytics/MlPutDataFrameAnalyticsResponse.ts b/specification/ml/put_data_frame_analytics/MlPutDataFrameAnalyticsResponse.ts index 2a308e8eee..be7ec033d3 100644 --- a/specification/ml/put_data_frame_analytics/MlPutDataFrameAnalyticsResponse.ts +++ b/specification/ml/put_data_frame_analytics/MlPutDataFrameAnalyticsResponse.ts @@ -24,7 +24,7 @@ import { DataframeAnalyticsDestination, DataframeAnalyticsSource } from '@ml/_types/DataframeAnalytics' -import { Id, VersionString } from '@_types/common' +import { Id, Metadata, VersionString } from '@_types/common' import { integer } from '@_types/Numeric' import { EpochTime, UnitMillis } from '@_types/Time' @@ -39,6 +39,7 @@ export class Response { dest: DataframeAnalyticsDestination id: Id max_num_threads: integer + _meta?: Metadata model_memory_limit: string source: DataframeAnalyticsSource version: VersionString diff --git a/specification/ml/put_datafeed/MlPutDatafeedRequest.ts b/specification/ml/put_datafeed/MlPutDatafeedRequest.ts index 839dd456d2..083e762ade 100644 --- a/specification/ml/put_datafeed/MlPutDatafeedRequest.ts +++ b/specification/ml/put_datafeed/MlPutDatafeedRequest.ts @@ -87,8 +87,10 @@ export interface Request extends RequestBase { ignore_unavailable?: boolean } body: { - /** If set, the datafeed performs aggregation searches. + /** + * If set, the datafeed performs aggregation searches. * Support for aggregations is limited and should be used only with low cardinality data. + * @aliases aggs */ aggregations?: Dictionary /** diff --git a/specification/ml/put_job/MlPutJobRequest.ts b/specification/ml/put_job/MlPutJobRequest.ts index e2a79ae999..85c3f71164 100644 --- a/specification/ml/put_job/MlPutJobRequest.ts +++ b/specification/ml/put_job/MlPutJobRequest.ts @@ -83,6 +83,10 @@ export interface Request extends RequestBase { * A description of the job. */ description?: string + /** + * The identifier for the anomaly detection job. This identifier can contain lowercase alphanumeric characters (a-z and 0-9), hyphens, and underscores. It must start and end with alphanumeric characters. + */ + job_id?: Id /** * A list of job groups. A job can belong to no groups or many. */