status
Show the documents currently indexed in your Knoku project.
npx @knoku/cli@latest status
# or, if installed globally
knoku statusWhat it does
- Reads your config: loads
KNOKU_API_KEYandKNOKU_PROJECT_IDfrom your env file. - Fetches documents: calls
GET /api/v1/documentson the Knoku API. WhenKNOKU_PROJECT_IDis set, it is sent as?project_id=.... - Lists indexed files: prints each document’s path and title.
If a document has no title, status prints untitled.
Example output
Documents: 24 indexed
overview/index.mdx — Overview
overview/get-started.mdx — Get Started
cli/index.mdx — CLI
cli/init.mdx — init
cli/push.mdx — push
...When to use
- After a push: verify that all expected files were indexed.
- Debugging: check if a specific file made it to the backend.
- Auditing: see the full list of documents in a project without opening the dashboard.
Last updated on