glean-upgrade-migration

Featured

Check Glean developer changelog for API changes. Trigger: "glean upgrade migration", "upgrade-migration".

AI & Automation 2,944 stars 440 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Glean Upgrade & Migration ## Overview Glean is an enterprise search platform that indexes documents across SaaS tools via connectors and exposes Search and Indexing APIs. Migrations involve connector schema changes, search API response format updates, and document permission model upgrades. Tracking API versions is critical because Glean's Indexing API enforces document schema validation — adding required fields or changing permission structures in a new version will cause bulk indexing failures and stale search results if connectors are not updated in lockstep. ## Version Detection ```typescript const GLEAN_BASE = "https://your-domain-be.glean.com/api"; async function detectGleanApiVersion(apiToken: string): Promise<void> { // Check indexing API health and version const indexRes = await fetch(`${GLEAN_BASE}/index/v1/status`, { headers: { Authorization: `Bearer ${apiToken}`, "Content-Type": "application/json" }, }); const indexStatus = await indexRes.json(); console.log(`Indexing API version: ${indexRes.headers.get("x-glean-api-version") ?? "v1"}`); console.log(`Connector status: ${JSON.stringify(indexStatus.connectors)}`); // Check search API for deprecated query parameters const searchRes = await fetch(`${GLEAN_BASE}/client/v1/search`, { method: "POST", headers: { Authorization: `Bearer ${apiToken}`, "Content-Type": "application/json" }, body: JSON.stringify({ query: "test", pageSize: 1 }), }); const deprecationHeader = searchRes....

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category