I'm trying to construct a session url like /projects/UHJvamVjdDozOA==/sessions/UHJvamVjdFNlc3Npb246MjUyNw%3D%3D, I have a session id in uuid, which phoenix api should I use to get its internal id like 2527, please?
馃挕聽Hint: Mention RunLLM in the thread for followups.
is the graphql api preferred over the rest one at https://arize-phoenix.readthedocs.io/projects/client/en/latest/api/client.html#projects?
Generally, the graphql api gets built out more than the REST api because it powers the phoenix UI. This has been changing, but you鈥檒l likely have more superpowers in the graphql api 馃憤
Thank you! where can I find the doc for the graphql API, is it https://arize.com/docs/ax/reference/api-reference/graphql-api/models-api? But looks like mainly for phoenix platform? I'm self-hosting arize phoenix.
In your phoenix instance, click on APIs and then there鈥檚 an interactive REST or GraphQL docs site 馃檪
Ah, thank you! Awesome
Hey Zhuyi X. - we've been meaning to build out the redirect routes to support the user provided IDs like sessionIDs. https://github.com/Arize-ai/phoenix/issues/6934 I'll work with Donny L. to figure out a solution in the near future. IN the meantime as Ben pointed out, GraphQL drives all of the UI so it's a good way of unblocking this.
Zhuyi X. thanks for your patience! we have added support for redirect given span/trace/session id https://github.com/Arize-ai/phoenix/pull/8320 let me know if you need further help on it
my hunch is that it has to be through graphql, first find the corresponding trace id, and then use the new url redirects feature, but would like to confirm if I missed anything.
