Create an elasticsearch based engine via API

Hello,
I am trying to create an Elasticsearch based app search engine via the API, but I keep getting the following error: "Type is not included in the list; valid options are meta and default".
Here's my current request example:

POST /api/as/v1/engines
{
  "name": "article-local-engine",
  "type": "elasticsearch",
  "index_name": "article_local"
}

Does anyone know how I can achieve that, I can't find an example in the docs ?

Thanks in advance!

Hi @franmako , right now the only way to create Elasticsearch engines is through the UI. Thank you!