Create a collection with optional caller-provided ID and timestamps.
If id already exists, the request behaves as an upsert for that collection ID.
Use collection membership endpoints to add or remove notes from collections.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
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 caller-provided UUID for the collection. If omitted, Mem generates a new UUID. If the provided ID already exists, this request behaves as an upsert for that collection ID.
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 creation timestamp (ISO 8601).
Used only when this request creates a new collection ID.
If omitted on create, Mem uses updated_at when provided; otherwise current server time.
Ignored when the provided id already exists.
"2025-04-01T14:30:45Z"
Optional "last updated" timestamp for this write (ISO 8601).
If omitted, new collections inherit created_at; existing collections use current server time.
If provided, Mem uses this value even when the collection ID already exists.
"2025-04-02T09:15:22Z"
OK
Identifier for this API request. Useful for tracing and support.
UUID of the created collection.
Current title of the collection.
Optional description text currently stored on the collection.
Creation timestamp for the collection in ISO 8601 format.
Last modification timestamp for the collection in ISO 8601 format.