I'm aware of the session API, but it is ultra slow compared to the async_netd API call.
While async_netd takes milliseconds, the Sessions API takes 1-2 seconds. And this is on a fairly low count endpoint ( < 250 ) running on a C2000V, far exceeding the storage speed requirements that show when I installed it.