[SD] add repair api .