GET/ai

Updated 4 months ago by Maurizio Cibelli

Get all the bots for a given user

Request Body

media type

data type

description

application/json

ApiAiList

Returns all the bot associated to a specific developer

Example

Request

GET /ai
Content-Type: */*
Accept: application/json

Response

{
"aiList" : [ {
"uiTrainingState" : {
"uiTrainingStatus" : "empty",
"trainingProgressPercent" : 12345,
"errorMessage" : "..."
},
"canChat" : true,
"linkedBots" : [ 12345, 12345 ],
"summaryStatusPublic" : "AI_ERROR",
"aiid" : "...",
"client_token" : "...",
"summaryAiStatus" : "AI_TRAINING_STOPPED",
"confidence" : 12345.0,
"backendStatus" : { },
"passthroughUrl" : "...",
"name" : "...",
"description" : "...",
"isPrivate" : true,
"personality" : 12345,
"voice" : 12345,
"language" : "...",
"timezone" : "...",
"defaultChatResponses" : [ "...", "..." ],
"readOnly" : true,
"handoverResetTimeoutSeconds" : 12345,
"errorThresholdHandover" : 12345,
"handoverMessage" : "...",
"engineVersion" : "...",
"status" : {
"code" : 12345,
"success" : { },
"info" : "...",
"created" : { }
}
}, {
"uiTrainingState" : {
"uiTrainingStatus" : "empty",
"trainingProgressPercent" : 12345,
"errorMessage" : "..."
},
"canChat" : true,
"linkedBots" : [ 12345, 12345 ],
"summaryStatusPublic" : "AI_TRAINING_COMPLETE",
"aiid" : "...",
"client_token" : "...",
"summaryAiStatus" : "AI_ERROR",
"confidence" : 12345.0,
"backendStatus" : { },
"passthroughUrl" : "...",
"name" : "...",
"description" : "...",
"isPrivate" : true,
"personality" : 12345,
"voice" : 12345,
"language" : "...",
"timezone" : "...",
"defaultChatResponses" : [ "...", "..." ],
"readOnly" : true,
"handoverResetTimeoutSeconds" : 12345,
"errorThresholdHandover" : 12345,
"handoverMessage" : "...",
"engineVersion" : "...",
"status" : {
"code" : 12345,
"success" : { },
"info" : "...",
"created" : { }
}
} ],
"status" : {
"code" : 12345,
"success" : { },
"info" : "...",
"created" : { }
}}


How did we do?