With elastic/elasticsearch#134446 we are adding a new query parameter to ES|QL request: include_cps_metadata include_execution_metadata
The behavior is the same as include_ccs_metadata
, but it will be available both on Serverless and Stateful, in the scope of Cross-Project Search and Cross-Cluster Search. Details here