a proto api