local path for endpoint