api sketch