How can we help?

Categories commands

The categories command lets you list categories in your NeetoKB workspace.

List categories

This command shows categories and their hierarchy metadata. Use this when you need category IDs for articles list --category-id or when planning article placement.

neetokb categories list
neetokb categories list --page 1 --page-size 5

Optional flags:

  • --page - Page number

  • --page-size - Items per page

  • --subdomain <name> - Target a specific logged-in workspace

  • --json - Return JSON envelope output

  • --quiet - Return raw payload only

  • --toon - Return TOON (token-optimized) output

Sample output:

NAME            SLUG            ARTICL...   CATEGOR...   DEPTH    DESC...   ID                     
─────────────   ─────────────   ─────────   ──────────   ──────   ───────   ───────────────────────
QA Enginner     qa-enginner     1           4            0                  9757f527-40cb-4852-a...
Ruby            ruby.           0           1            0        -         78438fc8-ee97-4dd8-a...

Page 1 of 1 (2 total records)

  List articles in category: neetokb articles list --category-id <id>