Motivation
The CLI is a first-class surface (R44: every capability is exposed via PHP, HTTP, and MCP). Operators run ingestion, retention, graph rebuilds, and the Auto-Wiki phases fromphp artisan. This page lists the
commands grouped by concern with their exact signatures. Run php artisan <command> --help for the authoritative, version-current option list.
Conventions
- Tenancy. Most commands accept
--tenant=(default: currentTenantContext, usuallydefault). - Dry runs. Destructive sweeps accept
--dry-runto report without mutating. - Retention overrides. Prune commands accept
--days=N;0disables that rotation. - Path arguments. Commands that take a KB
source_path(e.g.kb:delete, the folder walk inkb:ingest-folder) normalise it throughKbPathand resolve it relative toKB_PATH_PREFIX. (kb:ingestbuilds its path more directly, so match the path you ingested with when deleting.)
Ingestion
Promotion & deletion
Canonical graph & health
Auto-Wiki engine
See the auto-wiki engine.
Retention & cleanup
Insights, evaluation & compliance
Benchmarks
Auth, MCP & widget
Worked example
Scheduler & maintenance
Which of these run on a schedule, and when.
HTTP API reference
The same capabilities over HTTP.