Skip to main content
Flags and arguments below are the contract as the binary states it. The global flags (--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
Returns With --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:
Exit codes0 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
Returns With --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:
Exit codes0 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
Returns With --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:
Exit codes0 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
Returns With --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:
Exit codes0 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
Returns With --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).
Exit codes0 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
Returns With --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:
Exit codes0 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
Returns With --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:
Exit codes0 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
Returns With --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:
Exit codes0 OK · 1 UNEXPECTED · 2 USAGE. The full map is on Exit codes.