Added configuration getter so metadata about a session can be fetched

I figured I'd submit this for a PR just incase others found this useful.