write about get plan API