This is a prototype for an experimental archive summary API recently added in Prosody trunk.
This is not a finished protocol, but a prototype meant for testing.
A basic query:
It can also take dataform and RSM parameters similar to a filtered MAM query.
E.g if the last message you received had an id
09af3-cc343-b409f then the following query would tell you who sent you messages since: