How to get all created indexes names

is there any command to get list of indexes created in RediSearch module?

redis-cli -h redis-12005.cluster1.local -p 12005 –scan --pattern idx:*

Thanks @Virag for your comments.It is working as aspected.

It will work as @Virag has suggested as well as by scaning keys with patterns as described below.

Auto Generated Inline Image 1.png