Create a document collection
Create a collection. The slug is derived server-side from name (deduplicated
per project) and cannot be set by the client. Requires admin permissions.
Authorizations
Use Authorization: Bearer
Path Parameters
UUID of the project
Body
Response
Created
A named grouping of documents within a project. Membership is the
Document.collection foreign key (single collection per document); a mirrored
["tag", slug] pair is also kept on each document's metadata so the
retrieval/extraction layers can scope to a collection.
Human-readable label (editable).
Stable identifier documents are linked by. Derived from name at creation
and immutable afterwards (renaming changes only name).
Number of active documents in this collection (server-annotated).