Skip to main content
Skip table of contents

Interaction Logs from the Analytics API

The Analytics API is a new version of our ReportingAPI, with download facilities (soon) available through the CMS. The logs downloaded from the Analytics API will have the following columns:

Column Name

Description

Data type

nullable?

Notes

logid

internal ID for each record

bigint

no

 

interactionuuid

uuid for each separate interaction

uuid

no

See note on UUID

originatinginteractionuuid

for Feedback and Linkclicks, the uuid of the interaction the feedback/linkclick follows on from.

uuid

yes

See note on UUID

sessionuuid

uuid for each separate session

uuid

no

See note on UUID

sessionisactive

true if any interaction in the session is of a maininteractiontype other than Event or DataRetrieval, or contains only the start of a Dialog and not any other Dialog interaction, otherwise false

boolean

no

 

timestampstart

timestamp of the interaction when it entered the Platform, in UTC format

timestamp with time zone

no

 

timestampend

timestamp of the interaction when it left the Platform, in UTC format

timestamp with time zone

no

 

culture

Either the shorter language code, or the full culture code, as applicable for the interaction

text

no

 

maininteractiontype

The most relevant interactiontype from a recognition perspective -- a user asking a question will have QA here, even if the question is answered using a Dialog

text

no

 

allinteractiontypes

All the interactiontypes that were involved in the interaction. A user question that starts a Dialog will have [ "Dialog", "QA"] here

text(json)

no

 

interactionvalue

A specific value. Depending on the interactiontype, this can be various things but it commonly is the user question or clicked dialog option

text

yes

 

outputtext

the Answer text returned to the user for this Interaction

text

yes

 

outputmetadata

the additional meta-data of the Output, as logged in JSON or a JSON array. Usually an array of key/value pairs.

text (json)

yes

 

channel

Information about the Channel for the Answer. {"name": Default, "type":"Text"}

text (json)

no

 

contexts

The contexts we logged for this interaction. "id" and "name" should not be empty, "value" can be an empty string.

text (json)

yes

 

articleids

the articles used to provide an answer to this interaction. ["dn-1-1", "qa-1"]

text (json)

yes

 

dialogpaths

A json overview of which dialogpaths applied during the interaction.
Started: the location in a dialog that was just started
EndedOrInProgress: the location in an ongoing dialog or one that was ended to start a new one
DropOut: should only appear for interactions not (only) of type Dialog: The location within a Dialog that this interaction dropped out of.

text (json)

yes

 

tdialogstatus

A JSON object consisting of all the nodes in the Tdialog with the names as keys and whether they are completed (filled with valid data) or not. Completed nodes will have a 1 as the value with the key, Open ones wil have a 0. 

text (json)

yes

 

feedbackinfo

All the information relating to a feedback interaction: originatinginteractionuuid, label, score, comment.

text (json)

yes

 

linkclickinfo

All the information relating to a linkclick interaction: originatinginteractionuuid, url

text (json)

yes

 

recognitiontype

What kind of recognition was used for Q&A interactions

text

yes

 

recognitionquality

Only _truly_ relevant for Q&A interactions of recognitiontype 'Entity Recognition'; a measure of how well the question in the CMS that was used to match the user question actually matched that user question, calculated at interaction time.
In the dashboarding, the overall recognition quality is calculated using the Q&A interactions with recognitiontypes 'Entity Recognition', 'No Recognition' (quality is always 0) and 'Exception Event' (quality should always be 100)

numeric

yes

 

recognitiondetails

JSON object containing all information about recognition, most notably:matched intent, matched entities, missing words. This can be present for Dialog interactions but will then only contain information about matched entities.

text (json)

yes

 

generativeaisources

JSON object containing sources used in generating any AI generated answer and if present, the reasoning given for the answer.

text (json)

yes

 

translation

If we translated the userinput in order to recognise it, this will say either 'Culture Selected' or 'Culture Detected'. If we did a detection but did not translate, it will say 'No Translation'. If we didn't even attempt a detection, this will be null.

text

yes

 

translationdetails

All the information we used when translating userinput, including the original input, what language we translated from, whether we determined that language via detection, and the confidence of the detection.
If a translation has taken place, the 'originalinput' from this field is what the user actually typed in.

text (json)

yes

 

articles

JSON object containing all the information about the articles involved in answering the user question.

text (json)

yes

 

onlinecategory

The category (ies) the articles involved in the response are assigned to for the classification that was included in the request

text (json)

yes

 

faqsfound

For an FAQSearch or Dataretrieval interaction, the list of FAQs found.

text (json)

yes

 

pages

A json object containing the originatingpage and the previouspage for the interaction. Not nullable but the page information may be an empty string

text (json)

no

 

customerprojectidentifier

an identifier for the project, using CUSTOMERKEY_PROJECTKEY

text

no

 

publishinfo

Information about when the knowledgebase that this interaction happened against was published and where.

text (json)

no

 

sessiondetails

Standard information about the session at the time the interaction took place. This includes ‘sessionisactive’ but unlike the separate column this one is not updated when the session becomes active

text (json)

no

 

additionalsessioninfo

Additional information about the session.  For the moment his includes the useruuid and  any userinfo marked as 'showinReporting'.

text (json)

yes

 

variables

(Currently) always-empty field anticipating future use.

text(json)

yes

 

 

Notes:

UUID
A UUID is a Universal Unique Identifier. Conversational AI Cloud logging uses it to make sure that each Interaction and User and Session has a unique ID

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.