add API

Signed-off-by: zensh <admin@zensh.com>