<APP-88> Fetch the correct `/config` path for V1 c...
# proj-sdk
m
APP-88 Fetch the correct
/config
path for V1 conversations 🧵
Hi @straight-sundown-84319, We’re using the following API to return the runtime_id and session_id for V0 conversations: conversation.py#L26 Could you please let me know which API serves the equivalent purpose for V1 conversations? Thank you! thankyou cc @freezing-spoon-14104
s
Hi Hiep - the equivalent of the session_id is the conversation id, and the equivalent of the runtime_id is the sandbox id.
thankyou 1
f
We also use data from
/config
for various other reasons like retrieving
APP_MODE
. But it looks like the V1 agent server no longer supports this or an equivalent endpoint
m
The APP_MODE value is returned from the /api/options/config endpoint. The API mentioned in the ticket, /api/conversations/{conversationId}/config, returns the session_id and runtime_id.
f
Oh OK that makes sense, thanks for clarifying
thankyou 1