Corrected API format