I found the same endpoint, but unfortunately the flow object is not shown in the session object for the botflow. (I observed, that the flow object appears only if the flow is already closed.)
GET /api/v2/analytics/conversations/7ef22753-d281-4950-8c01-cc84b6c68cfb/details :
{
"conversationId": "7ef22753-d281-4950-8c01-cc84b6c68cfb",
"conversationInitiator": "customer",
"conversationStart": "2023-04-11T11:56:46.645Z",
"customerParticipation": true,
"divisionIds": [
"a85d0cf7-0afb-4561-adfd-9289c07cd51f"
],
"originatingDirection": "inbound",
"participants": [
{
"participantId": "488ec02c-2491-44ca-87d8-8c0e48a423ea",
"purpose": "customer",
"sessions": [
{
"addressFrom": "52b1a92d-581a-4949-b4fe-d6e436735341",
"addressTo": "e500b8df-c0fc-4e7b-a752-40ab8c0764db",
"direction": "inbound",
"mediaType": "message",
"messageType": "webmessaging",
"peerId": "a3ff2a18-c41c-45f8-a411-606b14f45774",
"provider": "PureCloud Messaging",
"sessionId": "b88151ca-7288-425f-8379-9faa1d3b805a",
"metrics": [
{
"emitDate": "2023-04-11T11:56:46.645Z",
"name": "nConnected",
"value": 1
}
],
"segments": [
{
"conference": false,
"segmentStart": "2023-04-11T11:56:46.645Z",
"segmentType": "interact"
}
]
}
]
},
{
"participantId": "5ca3d70f-fa03-4d6c-ae61-b27d78d5de17",
"purpose": "workflow",
"sessions": [
{
"addressFrom": "e500b8df-c0fc-4e7b-a752-40ab8c0764db",
"addressTo": "52b1a92d-581a-4949-b4fe-d6e436735341",
"direction": "inbound",
"mediaType": "message",
"messageType": "webmessaging",
"peerId": "b88151ca-7288-425f-8379-9faa1d3b805a",
"provider": "PureCloud Messaging",
"remote": "Guest",
"sessionId": "a3ff2a18-c41c-45f8-a411-606b14f45774",
"metrics": [
{
"emitDate": "2023-04-11T11:56:46.649Z",
"name": "nFlow",
"value": 1
}
],
"segments": [
{
"conference": false,
"segmentStart": "2023-04-11T11:56:46.649Z",
"segmentType": "interact"
}
]
}
]
},
{
"participantId": "a552f0b6-3131-4c0a-82ab-0a8b87519786",
"purpose": "botflow",
"sessions": [
{
"direction": "inbound",
"mediaType": "message",
"messageType": "webmessaging",
"peerId": "b88151ca-7288-425f-8379-9faa1d3b805a",
"provider": "PureCloud BotFlow",
"remote": "Guest",
"sessionId": "492980d8-a634-4a01-a648-a6feebd08ea7",
"metrics": [
{
"emitDate": "2023-04-11T11:56:47.015Z",
"name": "nFlow",
"value": 1
}
],
"segments": [
{
"conference": false,
"segmentStart": "2023-04-11T11:56:47.015Z",
"segmentType": "interact"
}
]
}
]
}
]
}
Could you please suggest here something?