def METHOD_NAME() -> List[int]:
    # retrieves all goal codes
    url = f"{BASE_URL}/v1/sdg/Goal/List"
    res = requests.get(url)
    assert res.ok
    goals = res.json()
    goal_codes = [int(goal["code"]) for goal in goals]
    return goal_codes