Sam API from repo