POST
/
api
/
index
/
v1
/
debug
/
{datasource}
/
user
from glean.api_client import Glean
import os


with Glean(
    api_token=os.getenv("GLEAN_API_TOKEN", ""),
    instance=os.getenv("GLEAN_INSTANCE", ""),
) as glean:

    res = glean.indexing.people.debug(datasource="<value>", email="u1@foo.com")

    # Handle response
    print(res)
{
  "status": {
    "isActiveUser": true,
    "uploadStatus": "UPLOADED",
    "lastUploadedAt": "2021-08-06T17:58:01.000Z"
  },
  "uploadedGroups": [
    {
      "name": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

datasource
string
required

The datasource to which the user belongs

Body

application/json; charset=UTF-8

Describes the request body of the /debug/{datasource}/user API call

Response

200
application/json; charset=UTF-8

OK

Describes the response body of the /debug/{datasource}/user API call