Querying a specific event

Hi, I’m new to matomo, and I’m having a hard time getting the reports I need through the report REST API. My use case is the following:

  • I rely on events a lot. I basically have 5 or 6 different types of events, and each event has values that can range from 1 to 1000.
  • I need to get information about each event. For instance, if I have an event ‘Score’, I would like to know how many score events have a given value (say, 500)
    In the report API I only saw queries that would return top events or things like that.

Is there a way to count occurences of each unique set of (category, action, name, value) over a given period ?
Or at least (I could get away with that I think), get a count of each unique set of (category, action, name) over a given period ?

Tks!