Connection base API