POST
/
beta
/
api
/
v1
/
evaluateBot

Authorizations

lx-api-key
string
headerrequired

Body

application/json
conversation
object[]
required

Name of the identifier to use on the Lytix platform

context
object
required

Mapping between 'role' and ground truth context (e.g. the ground truth for the bot)

version
string

Version of the session to evaluate

sessionId
string

Session Id to associate with the IO event

Response

200 - application/json
finalGrade
object
required

Map between 'role' and final grade on the conversation

allGrades
object
required

Mapping between 'role' and grade on individual messages