# create an instance of the API class
api_instance = PureCloudPlatformApiSdk.AnalyticsApi()
body = PureCloudPlatformApiSdk.ConversationQuery() # ConversationQuery | query
try:
# Query for conversation details
api_response = api_instance.post_conversations_details_query(body)
pprint(api_response)
In your code, the variable body is the query. Set properties on that to create the query. See the ConversationQuery class for details on the properties you can use. If you're unsure what query you want to use, you can use the Developer Tools Analytics Query Builder to test queries easily.