How to get the query plan in json format in cdb ?

We are trying to build a worker, which checks if the query is indexed or not. In PostgreSQL, we have the ability to get the query plan in JSON format using EXPLAIN (FORMAT JSON, ANALYZE) + {QUERY}

Is there any same functionality, available in the cockroach DB? Can you please let me know if such support exists?