I would like to use the API to retrieve all emails sent by a particular flow. I know I can look up sent emails using the Get Events endpoint with filtering for the “Received Email” metric, but filtering by flow is not one of the options. Do I just need to retrieve all of the “Received Email” events (which might require making several requests and retrieving hundreds of events even though only a handful of them are from the flow I care about) and then apply my own filtering afterward?
There’s another API endpoint called Get Messages For Flow Action, but I tried it and it seems that “messages” in this case does not refer to the actual individual emails that were sent, a “message” here means a type of message (a particular name, template, etc).

