Api building

debug