Is there any API to programatically automate Cloud Trace Analysis Report in GCP?

Currently in order to get the latency of my request and compare its performance with previous day, we are using cloud trace Analysis report.

We normally create this performance report manually after every release to see if there are any improvement in the performance.

We provide the request url, time duration, also the time duration to compare with.

enter image description here

I was looking for any APIs by which we can automate this process which I could not find in the documentation. Is anyone aware of such APIs or ways by which we can automate this task?