Hey, does anyone can thing of a way to get a URL into a specific session based on it's session id? Is there a way to generate a URL based on session-id which will lead to seeing it in the platform?
It seems likely that you can generate a URL to view a specific session in Phoenix by using the session ID. According to the Phoenix API documentation, you can obtain the URL of a running Phoenix session using the session.url property. This URL can be used to open the Phoenix UI in a browser, and you might be able to append the session ID to this URL to directly access a specific session.Would you like more detail on how to construct this URL or how to use the session ID in this context? Sources:
- Phoenix API documentation
馃挕聽Hint: Mention RunLLM in the thread for followups.
Are you looking for a quick way from code to get a URL to the platform to show the session? What鈥檚 the use case
The use case is to be able to navigate to the specific session in the platfrom, based on the session_id solely
create a button on client-side which will take me to the session, the client side only has the session_id and the platform main URL
Got it will have team circle back on question.
Sounds good, thank you very much!
Hey Silvan, right now Phoenix works on globally unique IDs for everything so we wrap your session_IDs in our own ID system to guarantee uniqueness. That does mean there isn't an easy way to construct the URL client side without querying Phoenix itself. What we have talked about is to create a reverse lookup system by which you can construct a URL, say https://myphoenix/session_id/<your-session> -> https://myphoenix/projects/xyz/sessions/session_identifier If this works for you definitely let us know in github! https://github.com/Arize-ai/phoenix/issues
Yes this sounds very good!
Filed!
