v68

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-0189430445.4 KB
Chat

Retrieves all saved Chats

Retrieves 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

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

cursorstring

An opaque cursor for fetching the next page of results. If empty, there are no more results.

Example response

{
  "chatResults": [
    {
      "chat": {
        "createdBy": {
          "name": "George Clooney",
          "obfuscatedId": "abc123"
        },
        "icon": {
          "color": "#343CED",
          "key": "person_icon",
          "iconType": "GLYPH",
          "name": "user"
        }
      }
    }
  ]
}