Is there any Kibana API endpoint to get index pattern for the current login user or if there is an existing implementation for it?

Any updates?