glean-documents
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chineseglean documents
glean documents
PREREQUISITE: Readfor auth, global flags, and security rules.../glean-shared/SKILL.md
Retrieve and summarize Glean documents. Subcommands: get, get-by-facets, get-permissions, summarize.
bash
glean documents <subcommand> [flags]前提条件: 阅读了解认证、全局标志参数和安全规则。../glean-shared/SKILL.md
检索并汇总Glean文档。子命令:get、get-by-facets、get-permissions、summarize。
bash
glean documents <subcommand> [flags]Subcommands
子命令
| Subcommand | Description |
|---|---|
| Retrieve document metadata by URL or ID |
| Retrieve documents matching facet filters |
| Inspect who has access to a document |
| Generate an AI summary of a document |
| 子命令 | 描述 |
|---|---|
| 通过URL或ID检索文档元数据 |
| 检索匹配维度筛选条件的文档 |
| 检查谁有权限访问某文档 |
| 生成文档的AI摘要 |
Flags
标志参数
| Flag | Type | Default | Description |
|---|---|---|---|
| boolean | false | |
| string | JSON request body | |
| json | ndjson | text | json |
| 标志参数 | 类型 | 默认值 | 描述 |
|---|---|---|---|
| boolean | false | |
| string | JSON请求体 | |
| json | ndjson | text | json |
Examples
示例
bash
glean documents summarize --json '{"documentId":"DOC_ID"}' | jq .summarybash
glean documents summarize --json '{"documentId":"DOC_ID"}' | jq .summaryDiscovering Commands
命令探索
bash
undefinedbash
undefinedShow machine-readable schema for this command
显示此命令的机器可读模式
glean schema documents
glean schema documents
List all available commands
列出所有可用命令
glean schema | jq '.commands'
undefinedglean schema | jq '.commands'
undefined