PREREQUISITE: Read
../glean-cli/SKILL.mdfor auth, global flags, and security rules.
List and read Glean entities and people. Subcommands: list, read-people.
glean entities <subcommand> [flags]
Subcommands
| Subcommand | Description |
|---|---|
list |
List entities by type and query |
read-people |
Get detailed people profiles |
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--json |
string | JSON request body (required) | |
--output |
json | ndjson | text | json |
Examples
glean entities read-people --json '{"query":"smith"}' | jq '.[].name'
Discovering Commands
# Show machine-readable schema for this command
glean schema entities
# List all available commands
glean schema | jq '.commands'