Retrieves all saved Chats

post/listchats

Retrieves all the saved Chats between Glean Assistant and the user. The returned Chats contain only metadata and no conversational content.

SecurityBearerAuth
Request
query Parameters
timezoneOffset
integer

The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC.

header Parameters
X-Glean-Auth-Type
string

Auth type being used to access the endpoint (should be non-empty only for global tokens).

X-Scio-Actas
string <email>

Email address of a user on whose behalf the request is intended to be made (should be non-empty only for global tokens).

Responses
200

OK

Response Schema: application/json
Array of objects (ChatMetadataResult)
401

Not Authorized

403

Forbidden

429

Too Many Requests

Request samples
Response samples
application/json
{
  • "chatResults": [
    • {
      • "chat": {
        • "id": "string",
        • "createTime": 0,
        • "createdBy": {
          • "name": "George Clooney",
          • "obfuscatedId": "abc123"
          },
        • "updateTime": 0,
        • "name": "string",
        • "applicationId": "string"
        },
      • "trackingToken": "string"
      }
    ]
}