recents
recents list
List the operator's recent items
Usage
bash
pega recents list [flags]Source endpoint: GET /recents — view command source
Flags
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
--format | option | No | json | Output format (json, compact, yaml, table) |
--fields | option | No | Comma-separated top-level fields to include in output | |
--dry-run | boolean | No | Print HTTP request details and exit without executing | |
--quiet | boolean | No | Suppress all stderr progress/warning output | |
--verbose | boolean | No | Emit full HTTP request/response details to stderr | |
--no-cache | boolean | No | Bypass token file cache; perform fresh OAuth exchange | |
--profile | option | No | default | Named config profile |
--max-results | option | No | Maximum recents to fetch (≤0 returns all) (→ ?maxResultsToFetch=) |
Examples
sh
pega recents listsh
pega recents list --max-results 20recents update
Add or update a recent item
Usage
bash
pega recents update [flags]Source endpoint: PATCH /recents — view command source
Flags
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
--format | option | No | json | Output format (json, compact, yaml, table) |
--fields | option | No | Comma-separated top-level fields to include in output | |
--dry-run | boolean | No | Print HTTP request details and exit without executing | |
--quiet | boolean | No | Suppress all stderr progress/warning output | |
--verbose | boolean | No | Emit full HTTP request/response details to stderr | |
--no-cache | boolean | No | Bypass token file cache; perform fresh OAuth exchange | |
--profile | option | No | default | Named config profile |
--label | option | Yes | pyLabel value | |
--id | option | Yes | pyID value |
Examples
sh
pega recents update --label "My Case" --id MYORG-WORK\!M-1