Chat
Retrieves all saved Chats
Changed onRetrieves all the saved Chats between Glean Assistant and the user. The returned Chats contain only metadata and no conversational content.
post/rest/api/v1/listchats
Request
- Base URL: https://instance-name-be.glean.com
- URL: https://instance-name-be.glean.com/rest/api/v1/listchats
- Auth: HTTP bearer
Query parameters
localestring
The client's preferred locale in rfc5646 format (e.g. en, ja, pt-BR). If omitted, the Accept-Language will be used. If not present or not supported, defaults to the closest match or en.
timezoneOffsetinteger
The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC.
Response
OK
Example response
{
"chatResults": [
{
"chat": {
"createdBy": {
"name": "George Clooney",
"obfuscatedId": "abc123"
},
"icon": {
"color": "#343CED",
"key": "person_icon",
"iconType": "GLYPH",
"name": "user"
}
}
}
]
}Changes
- info
the endpoint scheme security
APITokenwas added to the API
- info
- info
the endpoint scheme security
APITokenwas removed from the API
- info