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


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

    res = g_client.client.documents.retrieve()

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

Authorizations

Authorization
string
header
required

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

Body

application/json

Information about documents requested.

The body is of type object.

Response

200
application/json

OK

The response is of type object.