Reading an index
You can use the readSearchIndex API to query an index name to retrieve
the schema information and the settings on the index. You can also view whether the index is used
for writing new documents.
If you use the index identifier instead of an index name, you can get the schema information and the settings of the current write index.