Elasticsearch query to SQL

I know there is SQL API which can convert SQL query to REST

is there a way around. convert REST query to SQL ?

Anyone has any idea. any other way to do this?

Hi @elasticforme,
If there is a way to do this, it's not from Elastic. ES SQL only has the _sql/translate API (as you mentioned) but there is no support for the reversed action.