G

Glean Client API

REST discovered

Details
URL
https://{instance}-be.glean.com/rest/api/v1/
Docs
https://developers.glean.com/api-info/client/getting-started/overview
Authentication
Glean-issued API token + Glean-issued API token X-Glean-ActAs: <credential> discovered
Glean-issued API token bearer Get token ↗

Find your tenant server URL at About Glean. Then in Glean Admin, go to Settings → API Tokens to create a token. Use this token for Client API calls, and for Indexing API calls as the only supported auth method. Global Client API tokens require impersonation with X-Glean-ActAs; user-scoped tokens do not.

Glean-issued API token bearer discovered Get token ↗
OAuth access token issued by Glean OAuth Authorization Server oauth2 discovered Set up OAuth ↗

Set up a Client API OAuth app using Glean's OAuth authorization server as described in OAuth Authentication for Client API. Use Authorization Code with PKCE, either with a static client or Dynamic Client Registration. Obtain an access token for your tenant's Client API; Glean-issued OAuth tokens do not require X-Glean-Auth-Type.

OAuth access token issued by Glean OAuth Authorization Server + OAuth access token issued by Glean OAuth Authorization Server X-Glean-Auth-Type: <credential> discovered