curl --request POST \
  --url https://{domain}-be.glean.com/api/index/v1/debug/{datasource}/user \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json; charset=UTF-8' \
  --data '{
  "email": "u1@foo.com"
}'
{
  "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

email
string
required

Email ID of the user to get the status for

Example:

"u1@foo.com"

Response

200
application/json; charset=UTF-8
OK

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

status
object

Upload and indexing status of the user

uploadedGroups
object[]

List of groups the user is a member of, as uploaded via permissions API.

describes a group in the datasource

Was this page helpful?