API regeneration