API sketch
model with sample