Matomo Segments API
The Matomo Segments API enables developers to create and manage saved segments for filtering analytics data. Segments allow filtering visits and actions by any combination of visitor properties, behavior patterns, and custom dimensions. Any Reporting API method can accept a segment parameter to return data for a specific subset of visitors.