This function returns the current archive object associated with this session.
The archive object is not needed for the synchronous C API, but is made available for interfacing with the lower-level (nondocumented) API.