glean-collections

Original🇺🇸 English
Translated

Manage curated document collections in Glean. Use when creating, updating, or organizing themed sets of documents.

13installs
Added on

NPX Install

npx skill4agent add gleanwork/glean-cli glean-collections

glean collections

PREREQUISITE: Read
../glean-shared/SKILL.md
for auth, global flags, and security rules.
Manage Glean collections. Subcommands: create, delete, update, add-items, delete-item.
bash
glean collections <subcommand> [flags]

Subcommands

SubcommandDescription
add-items
Add documents to a collection
create
Create a new collection
delete
Delete a collection
delete-item
Remove a document from a collection
get
Get a specific collection
list
List all collections
update
Update a collection

Flags

FlagTypeDefaultDescription
--dry-run
booleanfalse
--json
stringJSON request body
--output
json | ndjson | textjson

Examples

bash
glean collections create --json '{"name":"My Collection"}'

Discovering Commands

bash
# Show machine-readable schema for this command
glean schema collections

# List all available commands
glean schema | jq '.commands'