[Robot] updated api. Could have errors.