This page documents current(maybe) work on interfaces to deriving statistics from the Workflow DB.
Current page from Prasanth: Pegasus Statistics Python Version Modified
Here is the Python API as of 6/4/2011