Authorization: Bearer ********************{
"content": {
"text": "string",
"type": "Text"
},
"conversationId": "string",
"history": [
{
"content": {
"text": "string",
"type": "Text"
},
"metadata": {},
"role": "user"
}
],
"options": {
"memory": true,
"prompt": {
"type": "None"
},
"toolContext": {}
}
}curl --location --request POST '/tenant//bot//completion' \
--header 'CoSec-Device-Id;' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"content": {
"text": "string",
"type": "Text"
},
"conversationId": "string",
"history": [
{
"content": {
"text": "string",
"type": "Text"
},
"metadata": {},
"role": "user"
}
],
"options": {
"memory": true,
"prompt": {
"type": "None"
},
"toolContext": {}
}
}'null