Does CHT provide an API endpoint to check purging results? To start with, with the basic requirements like when purging started and when it ended, how many documents got purged, etc.?
As an alternative of no API, I was thinking about checking server logs at the time of purging configured time. Are there any other ways I can check purging details apart from server log?
There is no specific API endpoint, but there is a database query that you can make to gain access to all
Purgelog docs will have information about purge runs, including: when it ran, over how many lists of roles, how long it took and whether there were errors.
To check how many documents are purged, you can check the actual purge databases.
You should find more details about purgelog documents in this section of the documentation: