POST/ai

Updated 4 months ago by Maurizio Cibelli

Post a new AI to the console for the specific developer

Request Parameters

name

type

description

default

constraints

error_threshold_handover

form

-1

int

handover_message

form

 

handover_reset_timeout_seconds

form

-1

int

is_private

form

false

boolean

personality

form

0

int

voice

form

0

int

Example

Request

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

Response

{
"uiTrainingState" : {
"uiTrainingStatus" : "empty",
"trainingProgressPercent" : 12345,
"errorMessage" : "..."
},
"canChat" : true,
"linkedBots" : [ 12345, 12345 ],
"summaryStatusPublic" : "AI_TRAINING_COMPLETE",
"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" : { }
}}


How did we do?