CLI Reference
ctxindex get
Retrieve one complete Resource by its exact ctxindex Ref.
get returns complete local state first. If needed, it invokes the Source Adapter's retrieval capability and caches the complete Resource as purgeable ad-hoc state.
Usage
ctxindex get [--json] <ref>Flags
| Flag | Purpose |
|---|---|
--json | Print the complete Resource as deterministic JSON. |
<ref> must be the exact stable ctx:// Ref returned by search, Actions, Relations, or another retrieval command.
JSON output
get --json writes the Resource envelope and available Profile payload in deterministic JSON. Warnings and diagnostics are written to stderr.
Stable exit codes
Exit codes are API: 0 success; 2 invalid usage; 10 needs_auth; 20 rate limited; 30 network/provider; 40 permission denied; 50 other sync failure; 130 cancelled by SIGINT.