included minimal API for db_interface