Run saved chatbot decision regression cases
bearerAuth In: header
application/json
TypeScript Definitions
Use the request body type in TypeScript.
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/chatbot/evaluations/run" \ -H "Content-Type: application/json" \ -d '{}'{
"results": [
{
"caseId": "af51d69f-996a-4891-a745-aadfcdec225a",
"passed": true,
"assertions": {
"outcome": true,
"intent": true,
"rule": true,
"articles": true
},
"result": {
"outcome": "disabled",
"intent": "general",
"consumesAiCredit": true,
"rule": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"intent": "general",
"actions": [
null
]
},
"intentPolicy": {
"intent": "general",
"handling": "answer",
"tag": "string",
"priority": "low"
},
"knowledge": {
"confidence": 0,
"threshold": 0,
"sufficient": true,
"articles": [
{
"articleId": "51fa4a0e-8c7f-4728-a148-d47e6fea8ffc",
"title": "string",
"slug": "string",
"score": 0
}
]
},
"gates": {
"chatbotEnabled": true,
"operatorAvailable": true,
"withinSchedule": true,
"aiFeatureEnabled": true,
"providerAvailable": true
}
}
}
]
}{
"error": {
"code": "string",
"message": "string",
"fields": {
"property1": "string",
"property2": "string"
},
"details": {},
"correlationId": "string"
}
}{
"error": {
"code": "string",
"message": "string",
"fields": {
"property1": "string",
"property2": "string"
},
"details": {},
"correlationId": "string"
}
}{
"error": {
"code": "string",
"message": "string",
"fields": {
"property1": "string",
"property2": "string"
},
"details": {},
"correlationId": "string"
}
}{
"error": {
"code": "string",
"message": "string",
"fields": {
"property1": "string",
"property2": "string"
},
"details": {},
"correlationId": "string"
}
}{
"error": {
"code": "string",
"message": "string",
"fields": {
"property1": "string",
"property2": "string"
},
"details": {},
"correlationId": "string"
}
}{
"error": {
"code": "string",
"message": "string",
"fields": {
"property1": "string",
"property2": "string"
},
"details": {},
"correlationId": "string"
}
}{
"error": {
"code": "string",
"message": "string",
"fields": {
"property1": "string",
"property2": "string"
},
"details": {},
"correlationId": "string"
}
}{
"error": {
"code": "string",
"message": "string",
"fields": {
"property1": "string",
"property2": "string"
},
"details": {},
"correlationId": "string"
}
}Try it
Your API key is sent directly to the Convor API from your browser and is never stored on this site.
Was this page helpful?