We’ve added tracking for graph rebuilds using a new GraphRebuild entity type. Implementing this will record details of rebuilds, such as when they start and end (including aborted rebuilds).
You can also retrieve rebuild history using pagination with the REST API. Old records are automatically deleted after three years.