Chats
Update chat state
Update the state of a specific chat by its ID.
patch/chats/{chat_id}/state
Request
- Base URL: https://api.useinvent.com
- URL: https://api.useinvent.com/chats/{chat_id}/state
- Auth: HTTP bearer
Path parameters
chat_idstring required
Chat ID
Request body
Response
Example response
{
"last_message": {
"messages": [
{
"parts": [
{
"audio": {
"file_filename": "document.pdf",
"file_size": 1024,
"file_mimetype": "application/pdf"
}
}
]
}
]
},
"referral": {
"parts": [
{
"file": {
"file_filename": "document.pdf",
"file_size": 1024,
"file_mimetype": "application/pdf"
}
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.