You mention awdb but then you mention historical data. You'll likely need to give some examples of what specifically you're looking for, as it may require multiple means.
For instance, if you're looking to get a list of agents, that may be one method (or multiple options/methods), but if you're looking to see how many calls were offered to call type X yesterday, that will likely be something else.
You'll also want to clarify what version you're using.