What exactly is 'RobotSessionType' when fetching globalsessions API

I am getting two types of robot sessions for a same set of Robot-Machine setup - ephemeral and long lived, and getting different statuses on both sessions.
No documentation is available on UiPath.