API for Codegrade