draft api