internal api sketches