---
title: "Beta: Get user information"
method: POST
path: "/api/index/v1/debug/{datasource}/user"
tags: ["Troubleshooting"]
---

# Beta: Get user information

`POST /api/index/v1/debug/{datasource}/user`

Gives various information that would help in debugging related to a particular user. Currently in beta, might undergo breaking changes without prior notice.

Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.

## Path parameters

- `datasource` string, required

## Request body

- DebugUserRequest — Describes the request body of the /debug/{datasource}/user API call
  - `email` string, required — Email ID of the user to get the status for

## Response `200`

OK

- DebugUserResponse — Describes the response body of the /debug/{datasource}/user API call
  - `status` UserStatusResponse — Describes the user status response body
    - `isActiveUser` boolean — Whether the user is active or not
    - `uploadStatus` 'UPLOADED' | 'NOT_UPLOADED' | 'STATUS_UNKNOWN' — Upload status, enum of NOT_UPLOADED, UPLOADED, STATUS_UNKNOWN
    - `lastUploadedAt` string — Time of last successful upload for the user, in ISO 8601 format
  - `uploadedGroups` DatasourceGroupDefinition[] — List of groups the user is a member of, as uploaded via permissions API.
    - `name` string, required — name of the group. Should be unique among all groups for the datasource, and cannot have spaces.

## Other responses

- `400` — Bad Request
- `401` — Not Authorized

---

[API](https://skmtc.net/gleanwork/apis/glean-indexing-api.md) · [All operations](https://skmtc.net/gleanwork/apis/glean-indexing-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gleanwork/glean-indexing-api/versions/1c92beda1a4f/schema)
