diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index e55cff53d4..d706cdfe31 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -10585,7 +10585,7 @@ } }, "include_ccs_metadata": { - "description": "When set to `true` and performing a cross-cluster query, the response will include an extra `_clusters`\nobject with information about the clusters that participated in the search along with info such as shards\ncount.", + "description": "When set to `true` and performing a cross-cluster/cross-project query, the response will include an extra `_clusters`\nobject with information about the clusters that participated in the search along with info such as shards\ncount.", "default": false, "type": "boolean" }, @@ -11057,7 +11057,7 @@ } }, "include_ccs_metadata": { - "description": "When set to `true` and performing a cross-cluster query, the response will include an extra `_clusters`\nobject with information about the clusters that participated in the search along with info such as shards\ncount.", + "description": "When set to `true` and performing a cross-cluster/cross-project query, the response will include an extra `_clusters`\nobject with information about the clusters that participated in the search along with info such as shards\ncount.", "default": false, "type": "boolean" } diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index 31ee8671e9..02cb30a7a4 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -6509,7 +6509,7 @@ } }, "include_ccs_metadata": { - "description": "When set to `true` and performing a cross-cluster query, the response will include an extra `_clusters`\nobject with information about the clusters that participated in the search along with info such as shards\ncount.", + "description": "When set to `true` and performing a cross-cluster/cross-project query, the response will include an extra `_clusters`\nobject with information about the clusters that participated in the search along with info such as shards\ncount.", "default": false, "type": "boolean" } diff --git a/output/schema/schema.json b/output/schema/schema.json index 59afa0a176..fca0f8cd9a 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -140018,7 +140018,10 @@ } }, { - "description": "When set to `true` and performing a cross-cluster query, the response will include an extra `_clusters`\nobject with information about the clusters that participated in the search along with info such as shards\ncount.", + "aliases": [ + "include_execution_metadata" + ], + "description": "When set to `true` and performing a cross-cluster/cross-project query, the response will include an extra `_clusters`\nobject with information about the clusters that participated in the search along with info such as shards\ncount.", "name": "include_ccs_metadata", "required": false, "serverDefault": false, @@ -140163,7 +140166,7 @@ } } ], - "specLocation": "esql/async_query/AsyncQueryRequest.ts#L28-L138" + "specLocation": "esql/async_query/AsyncQueryRequest.ts#L28-L139" }, { "kind": "response", @@ -140865,7 +140868,10 @@ } }, { - "description": "When set to `true` and performing a cross-cluster query, the response will include an extra `_clusters`\nobject with information about the clusters that participated in the search along with info such as shards\ncount.", + "aliases": [ + "include_execution_metadata" + ], + "description": "When set to `true` and performing a cross-cluster/cross-project query, the response will include an extra `_clusters`\nobject with information about the clusters that participated in the search along with info such as shards\ncount.", "name": "include_ccs_metadata", "required": false, "serverDefault": false, @@ -140972,7 +140978,7 @@ } } ], - "specLocation": "esql/query/QueryRequest.ts#L27-L115" + "specLocation": "esql/query/QueryRequest.ts#L27-L116" }, { "kind": "response", diff --git a/output/typescript/types.ts b/output/typescript/types.ts index e8eb40bc37..902e7599a1 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -11117,6 +11117,7 @@ export interface EsqlAsyncQueryRequest extends RequestBase { query: string tables?: Record> include_ccs_metadata?: boolean + include_execution_metadata?: boolean wait_for_completion_timeout?: Duration keep_alive?: Duration keep_on_completion?: boolean @@ -11191,6 +11192,7 @@ export interface EsqlQueryRequest extends RequestBase { query: string tables?: Record> include_ccs_metadata?: boolean + include_execution_metadata?: boolean } } diff --git a/specification/esql/async_query/AsyncQueryRequest.ts b/specification/esql/async_query/AsyncQueryRequest.ts index 87709cef94..f3c360f625 100644 --- a/specification/esql/async_query/AsyncQueryRequest.ts +++ b/specification/esql/async_query/AsyncQueryRequest.ts @@ -106,10 +106,11 @@ export interface Request extends RequestBase { */ tables?: Dictionary> /** - * When set to `true` and performing a cross-cluster query, the response will include an extra `_clusters` + * When set to `true` and performing a cross-cluster/cross-project query, the response will include an extra `_clusters` * object with information about the clusters that participated in the search along with info such as shards * count. * @server_default false + * @aliases include_execution_metadata */ include_ccs_metadata?: boolean /** diff --git a/specification/esql/query/QueryRequest.ts b/specification/esql/query/QueryRequest.ts index 91004d2312..4d634e5187 100644 --- a/specification/esql/query/QueryRequest.ts +++ b/specification/esql/query/QueryRequest.ts @@ -105,10 +105,11 @@ export interface Request extends RequestBase { */ tables?: Dictionary> /** - * When set to `true` and performing a cross-cluster query, the response will include an extra `_clusters` + * When set to `true` and performing a cross-cluster/cross-project query, the response will include an extra `_clusters` * object with information about the clusters that participated in the search along with info such as shards * count. * @server_default false + * @aliases include_execution_metadata */ include_ccs_metadata?: boolean }