COnverstaion api completed calls

im using /api/v2/analytics/conversations/details/query

to download calls in this we are getting all calls for that one hour duration whihc i passed both completed calls and on going calls.
is there any way i pass some thing in api so i only got completed calls not ongoing call for that duration.

  • List item

When you form the query include check for conversationEnd Exists
The property is only there for completed calls.

/edit eg has

  "type": "and",
  "predicates": [
    {
      "type": "dimension",
      "dimension": "conversationEnd",
      "operator": "exists"
    }
  ]
}