Glean provides individual and bulk upload endpoints for people and teams.
Endpoint | Description |
---|---|
/indexemployee | Index or update information about an individual employee. |
/bulkindexemployees | Index or update information about multiple people simultaneously. Bulk indexing supports paginated uploads, and replaces information from a previous upload. |
/deleteemployee | Delete information about an individual employee. |
Endpoint | Description |
---|---|
/indexteam | Index or update an individual team. |
/bulkindexteams | Index or update multiple teams. |
/deleteteam | Delete information about a team. |
By default, people and teams are updated in the index within an hour of a successful upload. Glean also provides an API (/processallemployeesandteams) to trigger processing of all recently uploaded people and teams immediately after an upload.
It is worth noting that in the push model, you are responsible for enumerating and pushing people and teams information on a periodic basis to Glean. Glean provides official API clients in Python, TypeScript, Go, and Java that make it easy to push entities using the API.