A collection is the unit you upload documents into and query against. Each collection belongs to one project. Defaults for chunking and embedding model can be overridden at create time and changed later.
Fetch one collection plus its stats — size, status counts, claim and contradiction state.
Use `get` for the collection object and `stats` for the operational view: document counts by status, storage size, claim and contradiction run state. Call both when populating an admin or health UI.
dewey collections get my-docs
dewey collections stats my-docs
Change name, visibility, description, chunking, embedding model, or which AI features are enabled.
Every field is optional — pass only what you want to change. Changing chunk size or embedding model does not re-embed existing documents; trigger that explicitly with `recomputeSummaries` / `recomputeClaims` afterwards if needed.
dewey collections update my-docs--name"Quarterly reports"--visibility public