How to create a backend module with a custom listing in shopware 6?

I want to create a custom backend module. Data for this listing have some conditions so I want to create a new file and function for the custom listing. how to do this in shopware 6? Do we need to create a new API for this? is there any documentation?