Elasticsearch CURL Query

Hello @Emanuil , thanks for your help

from my previous answer i would like to generate a response like that or something similar :slight_smile: :

desired response sample:

{
  "took" : 6,
  "timed_out" : false,
  "_shards" : {
    "total" : 1,
    "successful" : 1,
    "skipped" : 0,
    "failed" : 0
  },
  "hits" : {
    "total" : {
      "value" : 15,
      "relation" : "eq"
    },
    "max_score" : 24.525375,
    "hits" : [
      {
        "_index" : "enwiki_latest",
        "_type" : "_doc",
        "_id" : "r-1jU3QBzwBIdiQJJlKB",
        "_score" : 24.525375,
        **"_labels" : Rebic**
        "_source" : {
          "id" : "\"Q87486800\"",
          "labels" : "{\"en\": {\"language\": \"en\", \"value\": \"Jelena Rebic\"}, \"nl\": {\"language\": \"nl\", \"value\": \"Jelena Rebic\"}}"
        }
      },
      {
        "_index" : "enwiki_latest",
        "_type" : "_doc",
        "_id" : "ktgeU3QBzwBIdiQJ2ssN",
        "_score" : 17.667746,
        **"_labels" : Toto**
        "_source" : {
          "id" : "\"Q2384109\"",
          "labels" : "{\"fr\": {\"language\": \"fr\", \"value\": \"La T\\u00eate \\u00e0 Toto\"}}"
        }
      }
    ]
  }
}