Filter Page URLs by Segments

What you probably want to use is maybe the label filter in the API see https://developer.matomo.org/api-reference/reporting-api or you can search within the data table in the UI.

If you have Custom Reports then you can use this plugin to create such a report as it allows to define “segment filters”. Then the custom report will only show these pages that match the filter.

Not recommended: You could for now probably also disable this new behaviour using a config setting in config/config.ini.php:

[General]
enable_segments_cache = 0

But we don’t recommend this and it will be removed in Matomo 4 where you would have the same problem again. There may be also other issues with disabling this setting but it should work.

Source: https://github.com/matomo-org/matomo/issues/15130#issuecomment-551252343