up: api example usage