API for paths.