Set api_path for models