use the get_api function instead of a separate eval block