Hey @Sathya_Narayanan, n8n would export only a limited amount of metrics aimed at consumption through Prometheus (this is documented here).
Currently, the “official” way of looking at previous executions would be the executions list in the UI which isn’t exactly great for deeper analytics.
So a suitable approach here could be to use the undocumented UI API to programmatically (for example GET http://localhost:5678/rest/executions?filter=%7B%7D&limit=10, simply take a look at the network requests your browser makes when using the executions list if you’re unsure about the exact request) and then process the JSON data recevied.
Alternatively, you can query the database directly. Since you haven’t specified a database, n8n would have created a SQLite database which is stored in the database.sqlite file inside your n8n data directory (~/.n8n) by default. The table should be pretty self-explanatory (finished = 1 means the execution finished without an error):