# Glean Indexing API

Index and manage users, groups, teams, employees, memberships, and documents in Glean via the Indexing API.

## Overview

Use the **Glean Indexing API** connector to push content and identity data into Glean from Tray workflows.

## Supported operations

The connector currently ships with the following operations:

* **Index User**: Indexes or updates a user in the Glean system
* **Index Group**: Indexes or updates a group/team in the Glean system
* **Delete Group**: Delete a specific group from the Glean Indexing API
* **Get Datasource Status**: Retrieves the status and statistics of a datasource

## API Information

* **Base URL**: `https://{instance}-be.glean.com/api/index/v1`
* **Auth**: `Authorization: Bearer {access_token}`

For endpoint details and token guidance, see Glean’s docs:

*

## Authentication

Create a new authentication for the connector and provide:

* **Bearer Token**: A Glean access token used as a Bearer token.
* **Instance Name**: Your Glean tenant identifier used to form the base URL.

The connector builds requests like:

* `https://{instance}-be.glean.com/api/index/v1/...`

For example, if your backend host is `company-be.glean.com`, your **Instance Name** is `company`.

## Notes on usage

* **Raw HTTP**: This connector enables Tray’s Raw HTTP operation, which uses the same base URL + Bearer token headers for calling additional Indexing API endpoints not covered by the typed operations.
