Fix path to get_api_endpoints