PUT /ai/{aiid}/config

Updated 4 months ago by Maurizio Cibelli

Set the AI config

Response Body

media type

data type

description

application/json

AiBotConfigWithDefinition (JSON)

Response Codes

code

condition

200

Succeeded.

404

AI not found.

500

Internal error.

Response Body

media type

data type

description

application/json

object (JSON)

Example

Request
{
"config" : {
"version" : 12345,
"apiKeys" : {
"property1" : "...",
"property2" : "..."
},
"empty" : true,
"valid" : true
},
"definitions" : {
"apiKeys" : [ {
"name" : "...",
"description" : "...",
"link" : "..."
}, {
"name" : "...",
"description" : "...",
"link" : "..."
} ],
"empty" : true
},
"empty" : true}

Response
HTTP/1.1 200 OK
Content-Type: application/json


How did we do?