Hi Steve,
AFAIK you cannot group on any other temporal attribute besides publication year directly through the API. A possible workaround is to filter the Works in your query to a certain date range by using the parameters '
from_publication_date' and '
to_publication_date'. Using this method, you could construct a separate query for each month, keeping the other grouping & filtering options the same; combining the results should give you what you want. This does mean a lot more API calls, but with the generous API limitations of OA it shouldn't take more than a minute to do.
You can also do the filtering/grouping of the data yourself by retrieving the unfiltered/ungrouped data for each Work you're interested in, which is how I do things generally. This is also helpful because OpenAlex selects a single date from all possible publication dates linked to an item, which sometimes does not match up with records for an item in other systems. By grabbing the raw data for all the items I can supplement them with the publication dates from other sources like Crossref, so I have some more options to work with.
Regards,
Samuel