Reporting API: exclude URL patterns from reports

Hi, I’m making calls to the reporting api to get “VisitsSummary.get”.
The issue that i need to filter out some urls like, /admin, /cms, etc.
Is it possible to exclude these urls from the api call?

Have you tried to use segmentation? See Segmentation - Compare segments of visitors - Analytics Platform - Matomo