Skip to main content
agents

Update Chat

PUT
/api/agents/{company_name}/chats/{chat_id}
Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

company_namestringrequired
chat_idstringrequired
Required string length: 24 - 24
Pattern: ^[0-9a-f]{24}$
Example: 5eb7cf5a86d9755df3a6c593

Body

application/json
titlestringrequired

Name of the chat

Response

application/json

Successful Response

_idstring
Required string length: 24 - 24
Pattern: ^[0-9a-f]{24}$
Example: 5eb7cf5a86d9755df3a6c593
company_namestringrequired
created_bystringrequired
datestring
deletedbooleandefault:false
historyobject[]default:[]

The chat history containing requests and responses.

languageenum<string>required
Available options: en, de, fr, es, it, pt, nl, pl, cs, da, sv, fi, nb, et, lt, lv, sk, sl, bg, ru, uk, el, tr, hu, ja, ko, zh, id
last_updatedstring
statusenum<string>default:ready
Available options: ready, in_progress, failed
template_idstring | null
titlestring | null