POST
/
beta
/
api
/
v1
/
evaluateBot

Authorizations

lx-api-key
string
header
required

Body

application/json
context
object
required

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

conversation
object[]
required

Name of the identifier to use on the Lytix platform

sessionId
string

Session Id to associate with the IO event

version
string

Version of the session to evaluate

Response

200 - application/json
allGrades
object
required

Mapping between 'role' and grade on individual messages

finalGrade
object
required

Map between 'role' and final grade on the conversation