glean-upgrade-migration

Featured

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

AI & Automation 2,266 stars 315 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
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

glean-migration-deep-dive

Migrate from Elasticsearch/Algolia: 1) Export all documents from source, 2) Transform to Glean document schema (id, title, url, body, permissions), 3) Create datasource with adddatasource, 4) Bulk index with bulkindexdocuments, 5) Validate search quality with test queries, 6) Switch search UI to use Glean Client API. Trigger: "glean migration deep dive", "migration-deep-dive".

2,266 Updated today
jeremylongshore
AI & Automation Featured

glean-deploy-integration

Deploy Glean custom connectors as scheduled jobs on Cloud Run, Lambda, or Fly.io. Trigger: "deploy glean connector", "glean connector hosting", "schedule glean indexing".

2,266 Updated today
jeremylongshore
AI & Automation Featured

glean-hello-world

Index documents into Glean and search them back using the Indexing and Client APIs. Use when starting a new Glean custom connector, testing search quality, or learning the index/search pattern. Trigger: "glean hello world", "glean example", "glean index document", "glean search".

2,266 Updated today
jeremylongshore
AI & Automation Featured

glean-common-errors

Diagnose and fix common Glean API errors including indexing failures, search issues, and permission problems. Trigger: "glean error", "glean not indexing", "glean search empty", "debug glean".

2,266 Updated today
jeremylongshore
AI & Automation Featured

glean-observability

Track: documents indexed per run (total + new + updated + deleted), indexing errors and retries, search API latency, zero-result query rate, stale content age distribution. Trigger: "glean observability", "observability".

2,266 Updated today
jeremylongshore