--json, --timeout, …) apply here too and are documented on Global flags. Error codes are a workspace-global contract, not a per-command one — the taxonomy, and how to read a code that is not in it, is on The error envelope.
octolens feedback rm
Remove the relevance feedback on a mention
Arguments
Flags
Examples
--json, stdout carries one JSON document with these fields. Backed by the v2 API operation DELETE /api/v2/feedback.
Without
--json: A terminal prints one line saying whether anything was removed.
Example output:
0 OK · 1 UNEXPECTED · 2 USAGE · 8 CANCELLED. The full map is on Exit codes.
octolens feedback stats
Show aggregated relevance-feedback stats (org-wide or per-keyword)
Flags
Examples
--json, stdout carries one JSON document with these fields. Backed by the v2 API operation GET /api/v2/feedback/stats.
Without
--json: A terminal renders the totals as an aligned table.
Example output:
0 OK · 1 UNEXPECTED · 2 USAGE. The full map is on Exit codes.
octolens feedback submit
Submit relevance feedback on a mention (thumbs up/down)
Arguments
Flags
Examples
--json, stdout carries one JSON document with these fields. Backed by the v2 API operation POST /api/v2/feedback.
Without
--json: A terminal renders the stored feedback record.
Example output:
0 OK · 1 UNEXPECTED · 2 USAGE. The full map is on Exit codes.
octolens filters add
Add value(s) to a global filter list (skips duplicates)
Arguments
Examples
--json, stdout carries one JSON document with these fields. Backed by the v2 API operation POST /api/v2/filters/global/add.
Without
--json: A terminal confirms how many values were added and renders the list’s new contents.
Example output:
0 OK · 1 UNEXPECTED · 2 USAGE. The full map is on Exit codes.
octolens filters get
Show your org-wide filter lists (all, or one with —list)
Flags
Examples
--json, stdout carries one JSON document with these fields. Backed by the v2 API operation GET /api/v2/filters/global.
Without
--json: A terminal renders each list with its values (or just one list with --list).
Example output
Example output
0 OK · 1 UNEXPECTED · 2 USAGE. The full map is on Exit codes.
octolens filters remove
Remove value(s) from a global filter list
Arguments
Flags
Examples
--json, stdout carries one JSON document with these fields. Backed by the v2 API operation POST /api/v2/filters/global/remove.
Without
--json: A terminal confirms how many values were removed and renders the list’s new contents.
Example output:
0 OK · 1 UNEXPECTED · 2 USAGE · 8 CANCELLED. The full map is on Exit codes.
octolens filters set
Replace a global filter list wholesale (no values + —clear = empty it)
Arguments
Flags
Examples
--json, stdout carries one JSON document with these fields. Backed by the v2 API operation PATCH /api/v2/filters/global.
Without
--json: A terminal confirms the replacement and renders the list’s new contents.
Example output:
0 OK · 1 UNEXPECTED · 2 USAGE · 8 CANCELLED. The full map is on Exit codes.
octolens tags list
List the AI-assigned tag names on your mentions — filter mentions by tag via feeds create —filter-json (a Tags condition)
Flags
Examples
--json, stdout carries one JSON document with these fields. Backed by the v2 API operation GET /api/v2/tags.
Without
--json: A terminal renders an indented tag list; piped stdout emits one bare tag per line.
Example output:
0 OK · 1 UNEXPECTED · 2 USAGE. The full map is on Exit codes.