With this spl you can check what indexes exist or if you want to search for a specific index.
List all indexes:
|rest /services/data/indexes | fields title | rename title AS index
Or check if a specific index exist use:
|rest /services/data/indexes | fields title | rename title AS index | search index=yourindex