Skip to main content

Indexing API

The Indexing API makes content from internal tools, on-premises systems, and custom applications searchable in Glean. Use it to manage datasources, index content, apply permissions, and keep search results current.

Start here

Indexing workflow

1

Create a datasource

Set up a datasource to organize the content you want Glean to discover. Follow the datasource setup guide.

2

Index content

Index content with the Documents, People, and Permissions references.

3

Apply permissions

Index permissions and validate document access so users only see content they are authorized to view.

4

Validate and troubleshoot

Use the Indexing API Quickstart and the troubleshooting guides in the sidebar to verify your datasource and indexed content.

Indexing API reference

Cross-datasource enrichment

Custom Metadata is grouped with Indexing API guidance because it enriches indexed content and uses Glean-issued credentials, but it uses the distinct /rest/api/index/custom-metadata/... base path. It can attach metadata to documents from any datasource, including native connectors, without re-indexing the source document.