POST
/
rest
/
api
/
v1
/
getchatfiles
from glean import Glean
import os


with Glean(
    api_token=os.getenv("GLEAN_API_TOKEN", ""),
) as g_client:

    res = g_client.client.chat.retrieve_files(file_ids=[
        "<value 1>",
    ])

    # Handle response
    print(res)
{
  "files": {}
}

Authorizations

Authorization
string
header
required

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

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.

Body

application/json

Response

200
application/json

OK

The response is of type object.