api test interface