POST
/
beta
/
api
/
v1
/
evaluateBot

Authorizations

lx-api-key
string
header
required

Body

application/json
Conversation to evaluate
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
Model IO response
finalGrade
object
required

Map between 'role' and final grade on the conversation

allGrades
object
required

Mapping between 'role' and grade on individual messages