updated API file with instructions and match confidence