title: How to use the Watson Assistant "listLogs" API function for a versioned workspace?
body: <p>How can I use the <a href="https://cloud.ibm.com/apidocs/assistant#list-log-events-in-a-workspace" rel="nofollow noreferrer">Watson Assistant "listLogs" API Function</a> to list the user conversations from a specific assistant ? We have one skill linked to three assistants for our environments (DEV/TEST/PROD), and I want to retrieve the conversations from PROD assistant only. What filters do I have to use ?</p>
  
  <p>What I already tried:</p>
  
  <ul>
  <li>When using the listLogs function with just the "workspace_id" as parameter, it is returning just an empty list.</li>
  <li>When using the listAllLogs function with a filter parameter (<em>language::de,workspace_id::my-workspace-id</em>), the resulting list is empty as well</li>
  <li>When using the listAllLogs function with another filter parameter (<em>language::de,meta.conversation.assistant_and_skill_reference::"my-assistant-id:main+skill"</em>), again an empty list is returned</li>
  </ul>
  
  <p>As the skill is used in live chatbot, there are thousands of logged conversations, all visible in the Analytics tab of the Watson Assistant console, so the data is definitely there.</p>
  
  <p>UPDATE: This is the out from the <a href="https://github.com/data-henrik/watson-conversation-tool" rel="nofollow noreferrer">Watson Conversation Tool</a>, it's empty
  <a href="https://i.stack.imgur.com/q9gsX.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/q9gsX.png" alt="enter image description here"></a></p>