Getting all pageurls with a specific title from the Visitorslog

In the WebGUI of Matomo I go to

Behaviour → Page titles

There I select the entry “404 Not Found” and open the “segmented visits log”

In that dialog I can find for the page titled “404 Not Found” the url that was called. (s. attached image)

grafik

I want to make my live a little bit easier and like to use the API to get a list of all urls that came to the page “404 Not Found” for one day.

I have tried some approaches but with no success.

Can someone of you at least draft the idea to get this done with the API?

That would be great!

Thanks!