Add an API call to create digests