Create Collection
Create a collection with optional caller-provided ID and timestamps.
If id already exists, this request returns a conflict.
Use collection membership endpoints to add, remove, or move notes between collections.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Title for the collection. Use a short, stable label suitable for navigation and search. Maximum: 1,000 characters (and no more than 1,000 UTF-8 bytes).
1000"Acme Corp"
Optional creation timestamp (ISO 8601).
If provided, it must include a timezone offset and cannot be in the future.
If omitted, Mem uses updated_at when provided; otherwise current server time.
"2025-04-01T14:30:45Z"
Optional descriptive text for collection scope or intent. Maximum: 10,000 characters (and no more than 10,000 UTF-8 bytes).
10000"Anything related to Acme Corp; a software company that provides a suite of tools for managing customer relationships."
Optional caller-provided UUID for the collection. If omitted, Mem generates a new UUID. If the provided ID already exists, this request returns a conflict.
Optional "last updated" timestamp for this write (ISO 8601).
If provided, it must include a timezone offset and cannot be in the future.
If omitted, Mem uses created_at for the initial collection write.
"2025-04-02T09:15:22Z"
Response
OK
Creation timestamp for the collection in ISO 8601 format.
Optional description text currently stored on the collection.
UUID of the created collection.
Identifier for this API request. Useful for tracing and support.
Current title of the collection.
Last modification timestamp for the collection in ISO 8601 format.