The sessions can be obtained from http://127.0.0.1:4723/wd/hub/sessions, which returns a JSON response containing all session information.
I’m having the same problem with connecting to existing session with Appium’s Python client. Any help will be great.