history
Authorization: Bearer ********************
{ "botId": "string", "sessionData": [ { "sessionId": "string", "messages": [ { "role": "string", "content": { "type": "string", "text": "string" } } ] } ] }
curl --location --request POST 'https://insight.juzibot.com/openapi/workflow/history/batch-add' \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data-raw '{ "botId": "string", "sessionData": [ { "sessionId": "string", "messages": [ { "role": "string", "content": { "type": "string", "text": "string" } } ] } ] }'
{ "code": 0 }