merlin-driver API