Create a key in API keys. Its secret is shown once, stored as a SHA-256 hash, and checked on every request.
Authorization header
Authorization: Bearer syn_<your-key>
The base URL is https://syngularity.dev/api/v1, or your deployment host. Use http://localhost:3000/api/v1 locally. JSON writes use Content-Type: application/json; multipart uploads supply their own boundary.
All REST responses include X-Request-Id and Cache-Control: no-store. Send observed versions in request bodies; If-Match is not supported.
File and folder access for every key
Choose selected files and folders or explicitly allow all files. Read and update grants are independent. Exact file rules override folder inheritance; the nearest folder rule wins, and equal-level denies take precedence. New keys start without any file access.
Setting
Access
Read only
Discover, read, and export only the files allowed by this key’s read rules.
Update enabled
Update existing files allowed by update rules. Read access is separate. With creation explicitly enabled, restricted write keys can also create files within writable folder grants, respecting exclusions. File-only grants cannot create files. Creating empty folders, moving, deleting, and editing folder descriptions still require an all-files write key.
Rewrite approval
Additional explicit permission to approve drafts, requiring both read and update access to the draft’s file.
Folder grants can include descendants and future files. Folder descriptions require a separate read grant for their _folder.md file. Update-only keys can check the version with HEAD or get_memory_version and replace a whole file; the response contains only its path and version. Existing keys retain explicit all-files access. Revoke stops authentication and leaves a visible record. Delete also hides the key; its database record and usage history remain. Key management requires the signed-in owner and is not exposed to agent keys.
02 / REST ENDPOINTS
Complete endpoint reference
GET
Read and discover
GET/memories
List memories
List document metadata and section content. The full raw Markdown field is omitted; section content is included. Use search for topic discovery.
PermissionsRead access to returned files; HEAD also permits update-only access.
Parameters
Parameter
Where / type
Required
Description
since
queryISO timestamp
No
Inclusive lower bound for created/updated files. Reuse nextSince; deduplicate by path and hash.
limit
queryinteger 1–500
No
Page size; default 100.
cursor
querynonnegative integer
No
Offset cursor returned as nextCursor.
q
querystring
No
Case-insensitive content, title, description, and path filter.
Request
List memories request
GET /memories — List memories request
curl -X GET 'https://syngularity.dev/api/v1/memories' \
-H 'Authorization: Bearer syn_<your-key>'
Response
200application/json
Successful response. JSON examples use illustrative hashes, timestamps, and revision tokens.
Base path: /api/v1. Send Authorization: Bearer syn_<key>.
Keys access only their owner's granted paths. New keys have no path grants; legacy unscoped keys normalize to explicit all-files access, while existing scoped grants are preserved. Authenticated requests share their account's plan allowance across all keys.
Your account uses the price and request limits saved at signup. Free currently includes 10/second, 60/minute, 1,000/hour, 10,000/day and 100,000/calendar month. Later catalog changes do not alter existing agreements. Keys cannot raise these limits or reset usage. Windows reset independently at UTC boundaries.
Read and update are independent. Exact file rules override the nearest matching folder; equal-specificity denies win. Folder grants cover future files and optionally descendants. Folder metadata requires an exact _folder.md read grant for restricted keys.
File creation (createFiles) and standalone folder creation (createFolders) are independent capabilities. Restricted write keys additionally need matching writable folder grants; file-only grants never authorize creation, and recursion and exclusions still apply. Omitted flags preserve existing permissions: all-files write keys retain both capabilities; restricted keys retain legacy createMemories file creation and no folder creation. Explicit createFiles overrides createMemories. Deleting, moving, and editing existing folder metadata require an all-files write key or the owner. Moves that newly expose content to a restricted key return 409 KEY_ACCESS_CHANGE.
Update-only keys can obtain the current version through HEAD /memories/{path} (MCP get_memory_version) and replace the whole file. Successful writes return only {path, version}; targeted edits, diffs, and approval also require read access.
Treat change cursors as opaque strings. Restricted cursors are encrypted and bound to the key and current grants. After CURSOR_SCOPE_CHANGED, rebuild the authorized snapshot from cursor 0. Empty hidden-only pages still advance nextCursor.
Timestamp polling only returns current files. Follow nextCursor until null while retaining the original since filter; do not advance since between pages. Offset pages are not a snapshot during concurrent writes. Use GET /changes for reliable updates, deletions and moved-away paths.
Search authorized Markdown at section granularity. Cloud semantic and hybrid modes use owner-configured OpenAI embeddings persisted in pgvector; keyword search does not send content to a provider.
PermissionsRead access to returned files; HEAD also permits update-only access.
Parameters
Parameter
Where / type
Required
Description
q
querystring
Yes
Natural-language or keyword query.
mode
querykeyword | semantic | hybrid
No
Ranking mode; default hybrid.
root
querystring
No
Organization or folder prefix.
limit
queryinteger 1–50
No
Maximum hits; default 20.
minScore
querynumber 0–1
No
Exclude weaker matches.
Request
Search memories request
GET /search — Search memories request
curl -X GET 'https://syngularity.dev/api/v1/search' \
-H 'Authorization: Bearer syn_<your-key>'
Response
200application/json
Successful response. JSON examples use illustrative hashes, timestamps, and revision tokens.
Base path: /api/v1. Send Authorization: Bearer syn_<key>.
Keys access only their owner's granted paths. New keys have no path grants; legacy unscoped keys normalize to explicit all-files access, while existing scoped grants are preserved. Authenticated requests share their account's plan allowance across all keys.
Your account uses the price and request limits saved at signup. Free currently includes 10/second, 60/minute, 1,000/hour, 10,000/day and 100,000/calendar month. Later catalog changes do not alter existing agreements. Keys cannot raise these limits or reset usage. Windows reset independently at UTC boundaries.
Read and update are independent. Exact file rules override the nearest matching folder; equal-specificity denies win. Folder grants cover future files and optionally descendants. Folder metadata requires an exact _folder.md read grant for restricted keys.
File creation (createFiles) and standalone folder creation (createFolders) are independent capabilities. Restricted write keys additionally need matching writable folder grants; file-only grants never authorize creation, and recursion and exclusions still apply. Omitted flags preserve existing permissions: all-files write keys retain both capabilities; restricted keys retain legacy createMemories file creation and no folder creation. Explicit createFiles overrides createMemories. Deleting, moving, and editing existing folder metadata require an all-files write key or the owner. Moves that newly expose content to a restricted key return 409 KEY_ACCESS_CHANGE.
Update-only keys can obtain the current version through HEAD /memories/{path} (MCP get_memory_version) and replace the whole file. Successful writes return only {path, version}; targeted edits, diffs, and approval also require read access.
Treat change cursors as opaque strings. Restricted cursors are encrypted and bound to the key and current grants. After CURSOR_SCOPE_CHANGED, rebuild the authorized snapshot from cursor 0. Empty hidden-only pages still advance nextCursor.
Search is permission-filtered before ranking, including for restricted keys. Results identify the best matching section for targeted reads and edits.
The workspace owner configures an OpenAI API key and embedding model in Settings, then reindexes existing memories. Without a key, hybrid falls back to keyword with semanticAvailable=false; semantic returns EMBEDDING_KEY_REQUIRED. Local installations retain the built-in lexical similarity mode.
Read an ordered journal of file revision metadata and deletions, including move source paths. No Markdown or section content is stored in the journal.
PermissionsRead access to returned files; HEAD also permits update-only access.
Parameters
Parameter
Where / type
Required
Description
cursor
querydecimal string
No
Exclusive cursor from the last completed page. Default 0 starts from the migration baseline on an empty replica. Treat as a string, not a timestamp or file version.
limit
queryinteger 1–500
No
Events per page; default 100.
Request
Poll memory changes request
GET /changes — Poll memory changes request
curl -X GET 'https://syngularity.dev/api/v1/changes' \
-H 'Authorization: Bearer syn_<your-key>'
Response
200application/json
Successful response. JSON examples use illustrative hashes, timestamps, and revision tokens.
Base path: /api/v1. Send Authorization: Bearer syn_<key>.
Keys access only their owner's granted paths. New keys have no path grants; legacy unscoped keys normalize to explicit all-files access, while existing scoped grants are preserved. Authenticated requests share their account's plan allowance across all keys.
Your account uses the price and request limits saved at signup. Free currently includes 10/second, 60/minute, 1,000/hour, 10,000/day and 100,000/calendar month. Later catalog changes do not alter existing agreements. Keys cannot raise these limits or reset usage. Windows reset independently at UTC boundaries.
Read and update are independent. Exact file rules override the nearest matching folder; equal-specificity denies win. Folder grants cover future files and optionally descendants. Folder metadata requires an exact _folder.md read grant for restricted keys.
File creation (createFiles) and standalone folder creation (createFolders) are independent capabilities. Restricted write keys additionally need matching writable folder grants; file-only grants never authorize creation, and recursion and exclusions still apply. Omitted flags preserve existing permissions: all-files write keys retain both capabilities; restricted keys retain legacy createMemories file creation and no folder creation. Explicit createFiles overrides createMemories. Deleting, moving, and editing existing folder metadata require an all-files write key or the owner. Moves that newly expose content to a restricted key return 409 KEY_ACCESS_CHANGE.
Update-only keys can obtain the current version through HEAD /memories/{path} (MCP get_memory_version) and replace the whole file. Successful writes return only {path, version}; targeted edits, diffs, and approval also require read access.
Treat change cursors as opaque strings. Restricted cursors are encrypted and bound to the key and current grants. After CURSOR_SCOPE_CHANGED, rebuild the authorized snapshot from cursor 0. Empty hidden-only pages still advance nextCursor.
Apply events in order and persist nextCursor only after a page succeeds. Continue while hasMore is true; otherwise poll again later with the same cursor.
Upsert means fetch the current Markdown with GET /memories/{path}; delete means remove the local path. Moves produce source deletes and destination upserts. If a newer deletion makes a fetch return 404, remove that path and continue replaying.
Events are per owner and retained without time expiry. Existing heads are seeded during migration; earlier deletions are not reconstructed. Bootstrap an empty replica from cursor 0. A saved cursor belongs to its workspace and server; an ahead cursor returns 409 INVALID_CURSOR.
Includes _folder.md metadata. Empty folder registry changes are outside this file feed. The journal contains path/version/hash metadata only; read-only keys may poll it and all requests use normal quotas.
Base path: /api/v1. Send Authorization: Bearer syn_<key>.
Keys access only their owner's granted paths. New keys have no path grants; legacy unscoped keys normalize to explicit all-files access, while existing scoped grants are preserved. Authenticated requests share their account's plan allowance across all keys.
Your account uses the price and request limits saved at signup. Free currently includes 10/second, 60/minute, 1,000/hour, 10,000/day and 100,000/calendar month. Later catalog changes do not alter existing agreements. Keys cannot raise these limits or reset usage. Windows reset independently at UTC boundaries.
Read and update are independent. Exact file rules override the nearest matching folder; equal-specificity denies win. Folder grants cover future files and optionally descendants. Folder metadata requires an exact _folder.md read grant for restricted keys.
File creation (createFiles) and standalone folder creation (createFolders) are independent capabilities. Restricted write keys additionally need matching writable folder grants; file-only grants never authorize creation, and recursion and exclusions still apply. Omitted flags preserve existing permissions: all-files write keys retain both capabilities; restricted keys retain legacy createMemories file creation and no folder creation. Explicit createFiles overrides createMemories. Deleting, moving, and editing existing folder metadata require an all-files write key or the owner. Moves that newly expose content to a restricted key return 409 KEY_ACCESS_CHANGE.
Update-only keys can obtain the current version through HEAD /memories/{path} (MCP get_memory_version) and replace the whole file. Successful writes return only {path, version}; targeted edits, diffs, and approval also require read access.
Treat change cursors as opaque strings. Restricted cursors are encrypted and bound to the key and current grants. After CURSOR_SCOPE_CHANGED, rebuild the authorized snapshot from cursor 0. Empty hidden-only pages still advance nextCursor.
ETag is informational; If-Match/conditional 304 requests are not supported. Supply version in write bodies.
Find folders, file purposes, and section outlines without downloading section bodies. The structure is generated automatically; descriptions are user-maintained.
PermissionsRead access to returned files; HEAD also permits update-only access.
Parameters
Parameter
Where / type
Required
Description
root
querystring
No
Limit results to an organization or folder.
format
queryjson | markdown
No
JSON is default. markdown returns a readable map.
Request
Discover the memory map request
GET /map — Discover the memory map request
curl -X GET 'https://syngularity.dev/api/v1/map' \
-H 'Authorization: Bearer syn_<your-key>'
Response
200application/json
Successful response. JSON examples use illustrative hashes, timestamps, and revision tokens.
Base path: /api/v1. Send Authorization: Bearer syn_<key>.
Keys access only their owner's granted paths. New keys have no path grants; legacy unscoped keys normalize to explicit all-files access, while existing scoped grants are preserved. Authenticated requests share their account's plan allowance across all keys.
Your account uses the price and request limits saved at signup. Free currently includes 10/second, 60/minute, 1,000/hour, 10,000/day and 100,000/calendar month. Later catalog changes do not alter existing agreements. Keys cannot raise these limits or reset usage. Windows reset independently at UTC boundaries.
Read and update are independent. Exact file rules override the nearest matching folder; equal-specificity denies win. Folder grants cover future files and optionally descendants. Folder metadata requires an exact _folder.md read grant for restricted keys.
File creation (createFiles) and standalone folder creation (createFolders) are independent capabilities. Restricted write keys additionally need matching writable folder grants; file-only grants never authorize creation, and recursion and exclusions still apply. Omitted flags preserve existing permissions: all-files write keys retain both capabilities; restricted keys retain legacy createMemories file creation and no folder creation. Explicit createFiles overrides createMemories. Deleting, moving, and editing existing folder metadata require an all-files write key or the owner. Moves that newly expose content to a restricted key return 409 KEY_ACCESS_CHANGE.
Update-only keys can obtain the current version through HEAD /memories/{path} (MCP get_memory_version) and replace the whole file. Successful writes return only {path, version}; targeted edits, diffs, and approval also require read access.
Treat change cursors as opaque strings. Restricted cursors are encrypted and bound to the key and current grants. After CURSOR_SCOPE_CHANGED, rebuild the authorized snapshot from cursor 0. Empty hidden-only pages still advance nextCursor.
Descriptions are missing, current, or needs_review. Treat descriptions as navigation aids and read source files before editing.
Folder revision tokens cover descendant files and folder paths; use them for moves and deletion.
Base path: /api/v1. Send Authorization: Bearer syn_<key>.
Keys access only their owner's granted paths. New keys have no path grants; legacy unscoped keys normalize to explicit all-files access, while existing scoped grants are preserved. Authenticated requests share their account's plan allowance across all keys.
Your account uses the price and request limits saved at signup. Free currently includes 10/second, 60/minute, 1,000/hour, 10,000/day and 100,000/calendar month. Later catalog changes do not alter existing agreements. Keys cannot raise these limits or reset usage. Windows reset independently at UTC boundaries.
Read and update are independent. Exact file rules override the nearest matching folder; equal-specificity denies win. Folder grants cover future files and optionally descendants. Folder metadata requires an exact _folder.md read grant for restricted keys.
File creation (createFiles) and standalone folder creation (createFolders) are independent capabilities. Restricted write keys additionally need matching writable folder grants; file-only grants never authorize creation, and recursion and exclusions still apply. Omitted flags preserve existing permissions: all-files write keys retain both capabilities; restricted keys retain legacy createMemories file creation and no folder creation. Explicit createFiles overrides createMemories. Deleting, moving, and editing existing folder metadata require an all-files write key or the owner. Moves that newly expose content to a restricted key return 409 KEY_ACCESS_CHANGE.
Update-only keys can obtain the current version through HEAD /memories/{path} (MCP get_memory_version) and replace the whole file. Successful writes return only {path, version}; targeted edits, diffs, and approval also require read access.
Treat change cursors as opaque strings. Restricted cursors are encrypted and bound to the key and current grants. After CURSOR_SCOPE_CHANGED, rebuild the authorized snapshot from cursor 0. Empty hidden-only pages still advance nextCursor.
Base path: /api/v1. Send Authorization: Bearer syn_<key>.
Keys access only their owner's granted paths. New keys have no path grants; legacy unscoped keys normalize to explicit all-files access, while existing scoped grants are preserved. Authenticated requests share their account's plan allowance across all keys.
Your account uses the price and request limits saved at signup. Free currently includes 10/second, 60/minute, 1,000/hour, 10,000/day and 100,000/calendar month. Later catalog changes do not alter existing agreements. Keys cannot raise these limits or reset usage. Windows reset independently at UTC boundaries.
Read and update are independent. Exact file rules override the nearest matching folder; equal-specificity denies win. Folder grants cover future files and optionally descendants. Folder metadata requires an exact _folder.md read grant for restricted keys.
File creation (createFiles) and standalone folder creation (createFolders) are independent capabilities. Restricted write keys additionally need matching writable folder grants; file-only grants never authorize creation, and recursion and exclusions still apply. Omitted flags preserve existing permissions: all-files write keys retain both capabilities; restricted keys retain legacy createMemories file creation and no folder creation. Explicit createFiles overrides createMemories. Deleting, moving, and editing existing folder metadata require an all-files write key or the owner. Moves that newly expose content to a restricted key return 409 KEY_ACCESS_CHANGE.
Update-only keys can obtain the current version through HEAD /memories/{path} (MCP get_memory_version) and replace the whole file. Successful writes return only {path, version}; targeted edits, diffs, and approval also require read access.
Treat change cursors as opaque strings. Restricted cursors are encrypted and bound to the key and current grants. After CURSOR_SCOPE_CHANGED, rebuild the authorized snapshot from cursor 0. Empty hidden-only pages still advance nextCursor.
The response is binary ZIP, not JSON. Save it to a file.
Includes _folder.md metadata and empty folder entries. Excludes API keys, events, rewrite drafts and historical revision objects.
List account webhook subscriptions. Requires an all-files write key with manageWebhooks.
PermissionsAll-files write key with explicit manageWebhooks: true. Restricted and read-only keys cannot manage subscriptions.
Parameters
No endpoint-specific parameters or request body.
Request
List webhook subscriptions request
GET /webhooks — List webhook subscriptions request
curl -X GET 'https://syngularity.dev/api/v1/webhooks' \
-H 'Authorization: Bearer syn_<your-key>'
Response
200application/json
Successful response. JSON examples use illustrative hashes, timestamps, and revision tokens.
Example response
GET /webhooks response
{
"webhooks": []
}
Behavior
Base path: /api/v1. Send Authorization: Bearer syn_<key>.
Keys access only their owner's granted paths. New keys have no path grants; legacy unscoped keys normalize to explicit all-files access, while existing scoped grants are preserved. Authenticated requests share their account's plan allowance across all keys.
Your account uses the price and request limits saved at signup. Free currently includes 10/second, 60/minute, 1,000/hour, 10,000/day and 100,000/calendar month. Later catalog changes do not alter existing agreements. Keys cannot raise these limits or reset usage. Windows reset independently at UTC boundaries.
Read and update are independent. Exact file rules override the nearest matching folder; equal-specificity denies win. Folder grants cover future files and optionally descendants. Folder metadata requires an exact _folder.md read grant for restricted keys.
File creation (createFiles) and standalone folder creation (createFolders) are independent capabilities. Restricted write keys additionally need matching writable folder grants; file-only grants never authorize creation, and recursion and exclusions still apply. Omitted flags preserve existing permissions: all-files write keys retain both capabilities; restricted keys retain legacy createMemories file creation and no folder creation. Explicit createFiles overrides createMemories. Deleting, moving, and editing existing folder metadata require an all-files write key or the owner. Moves that newly expose content to a restricted key return 409 KEY_ACCESS_CHANGE.
Update-only keys can obtain the current version through HEAD /memories/{path} (MCP get_memory_version) and replace the whole file. Successful writes return only {path, version}; targeted edits, diffs, and approval also require read access.
Treat change cursors as opaque strings. Restricted cursors are encrypted and bound to the key and current grants. After CURSOR_SCOPE_CHANGED, rebuild the authorized snapshot from cursor 0. Empty hidden-only pages still advance nextCursor.
Base path: /api/v1. Send Authorization: Bearer syn_<key>.
Keys access only their owner's granted paths. New keys have no path grants; legacy unscoped keys normalize to explicit all-files access, while existing scoped grants are preserved. Authenticated requests share their account's plan allowance across all keys.
Your account uses the price and request limits saved at signup. Free currently includes 10/second, 60/minute, 1,000/hour, 10,000/day and 100,000/calendar month. Later catalog changes do not alter existing agreements. Keys cannot raise these limits or reset usage. Windows reset independently at UTC boundaries.
Read and update are independent. Exact file rules override the nearest matching folder; equal-specificity denies win. Folder grants cover future files and optionally descendants. Folder metadata requires an exact _folder.md read grant for restricted keys.
File creation (createFiles) and standalone folder creation (createFolders) are independent capabilities. Restricted write keys additionally need matching writable folder grants; file-only grants never authorize creation, and recursion and exclusions still apply. Omitted flags preserve existing permissions: all-files write keys retain both capabilities; restricted keys retain legacy createMemories file creation and no folder creation. Explicit createFiles overrides createMemories. Deleting, moving, and editing existing folder metadata require an all-files write key or the owner. Moves that newly expose content to a restricted key return 409 KEY_ACCESS_CHANGE.
Update-only keys can obtain the current version through HEAD /memories/{path} (MCP get_memory_version) and replace the whole file. Successful writes return only {path, version}; targeted edits, diffs, and approval also require read access.
Treat change cursors as opaque strings. Restricted cursors are encrypted and bound to the key and current grants. After CURSOR_SCOPE_CHANGED, rebuild the authorized snapshot from cursor 0. Empty hidden-only pages still advance nextCursor.
Obtain the current version without downloading content, hashes, headings, or descriptions. Requires read or update permission for this exact path.
PermissionsRead access to returned files; HEAD also permits update-only access.
Parameters
Parameter
Where / type
Required
Description
path
pathstring
Yes
A Markdown file path, such as organization/contacts.md or organization/folder/contacts.md. Folders are optional; URL-encode each segment.
Request
Check a memory version request
HEAD /memories/{path} — Check a memory version request
curl -X HEAD 'https://syngularity.dev/api/v1/memories/acme/memory/personal/Profile.md' \
-H 'Authorization: Bearer syn_<your-key>'
Response
200No body
Empty body. X-Memory-Version and ETag identify the current version.
Response headers
HEAD /memories/{path} headers
ETag: "3"
X-Memory-Version: 3
Example response
HEAD /memories/{path} response
Behavior
Base path: /api/v1. Send Authorization: Bearer syn_<key>.
Keys access only their owner's granted paths. New keys have no path grants; legacy unscoped keys normalize to explicit all-files access, while existing scoped grants are preserved. Authenticated requests share their account's plan allowance across all keys.
Your account uses the price and request limits saved at signup. Free currently includes 10/second, 60/minute, 1,000/hour, 10,000/day and 100,000/calendar month. Later catalog changes do not alter existing agreements. Keys cannot raise these limits or reset usage. Windows reset independently at UTC boundaries.
Read and update are independent. Exact file rules override the nearest matching folder; equal-specificity denies win. Folder grants cover future files and optionally descendants. Folder metadata requires an exact _folder.md read grant for restricted keys.
File creation (createFiles) and standalone folder creation (createFolders) are independent capabilities. Restricted write keys additionally need matching writable folder grants; file-only grants never authorize creation, and recursion and exclusions still apply. Omitted flags preserve existing permissions: all-files write keys retain both capabilities; restricted keys retain legacy createMemories file creation and no folder creation. Explicit createFiles overrides createMemories. Deleting, moving, and editing existing folder metadata require an all-files write key or the owner. Moves that newly expose content to a restricted key return 409 KEY_ACCESS_CHANGE.
Update-only keys can obtain the current version through HEAD /memories/{path} (MCP get_memory_version) and replace the whole file. Successful writes return only {path, version}; targeted edits, diffs, and approval also require read access.
Treat change cursors as opaque strings. Restricted cursors are encrypted and bound to the key and current grants. After CURSOR_SCOPE_CHANGED, rebuild the authorized snapshot from cursor 0. Empty hidden-only pages still advance nextCursor.
Base path: /api/v1. Send Authorization: Bearer syn_<key>.
Keys access only their owner's granted paths. New keys have no path grants; legacy unscoped keys normalize to explicit all-files access, while existing scoped grants are preserved. Authenticated requests share their account's plan allowance across all keys.
Your account uses the price and request limits saved at signup. Free currently includes 10/second, 60/minute, 1,000/hour, 10,000/day and 100,000/calendar month. Later catalog changes do not alter existing agreements. Keys cannot raise these limits or reset usage. Windows reset independently at UTC boundaries.
Read and update are independent. Exact file rules override the nearest matching folder; equal-specificity denies win. Folder grants cover future files and optionally descendants. Folder metadata requires an exact _folder.md read grant for restricted keys.
File creation (createFiles) and standalone folder creation (createFolders) are independent capabilities. Restricted write keys additionally need matching writable folder grants; file-only grants never authorize creation, and recursion and exclusions still apply. Omitted flags preserve existing permissions: all-files write keys retain both capabilities; restricted keys retain legacy createMemories file creation and no folder creation. Explicit createFiles overrides createMemories. Deleting, moving, and editing existing folder metadata require an all-files write key or the owner. Moves that newly expose content to a restricted key return 409 KEY_ACCESS_CHANGE.
Update-only keys can obtain the current version through HEAD /memories/{path} (MCP get_memory_version) and replace the whole file. Successful writes return only {path, version}; targeted edits, diffs, and approval also require read access.
Treat change cursors as opaque strings. Restricted cursors are encrypted and bound to the key and current grants. After CURSOR_SCOPE_CHANGED, rebuild the authorized snapshot from cursor 0. Empty hidden-only pages still advance nextCursor.
JSON body variants cannot be mixed. multipart/form-data is also accepted for whole-file replacement.
Requires an existing file and its positive observed version. Version zero does not create a file; use POST /memories or MCP create_memory instead.
1 MB limit includes generated frontmatter. Full replacement replaces custom metadata too.
Base path: /api/v1. Send Authorization: Bearer syn_<key>.
Keys access only their owner's granted paths. New keys have no path grants; legacy unscoped keys normalize to explicit all-files access, while existing scoped grants are preserved. Authenticated requests share their account's plan allowance across all keys.
Your account uses the price and request limits saved at signup. Free currently includes 10/second, 60/minute, 1,000/hour, 10,000/day and 100,000/calendar month. Later catalog changes do not alter existing agreements. Keys cannot raise these limits or reset usage. Windows reset independently at UTC boundaries.
Read and update are independent. Exact file rules override the nearest matching folder; equal-specificity denies win. Folder grants cover future files and optionally descendants. Folder metadata requires an exact _folder.md read grant for restricted keys.
File creation (createFiles) and standalone folder creation (createFolders) are independent capabilities. Restricted write keys additionally need matching writable folder grants; file-only grants never authorize creation, and recursion and exclusions still apply. Omitted flags preserve existing permissions: all-files write keys retain both capabilities; restricted keys retain legacy createMemories file creation and no folder creation. Explicit createFiles overrides createMemories. Deleting, moving, and editing existing folder metadata require an all-files write key or the owner. Moves that newly expose content to a restricted key return 409 KEY_ACCESS_CHANGE.
Update-only keys can obtain the current version through HEAD /memories/{path} (MCP get_memory_version) and replace the whole file. Successful writes return only {path, version}; targeted edits, diffs, and approval also require read access.
Treat change cursors as opaque strings. Restricted cursors are encrypted and bound to the key and current grants. After CURSOR_SCOPE_CHANGED, rebuild the authorized snapshot from cursor 0. Empty hidden-only pages still advance nextCursor.
Describing a section anchors its heading ID. IDs remain stable across title changes.
Content changes retain descriptions and mark them needs_review. Null can remove descriptions for deleted sections.
Base path: /api/v1. Send Authorization: Bearer syn_<key>.
Keys access only their owner's granted paths. New keys have no path grants; legacy unscoped keys normalize to explicit all-files access, while existing scoped grants are preserved. Authenticated requests share their account's plan allowance across all keys.
Your account uses the price and request limits saved at signup. Free currently includes 10/second, 60/minute, 1,000/hour, 10,000/day and 100,000/calendar month. Later catalog changes do not alter existing agreements. Keys cannot raise these limits or reset usage. Windows reset independently at UTC boundaries.
Read and update are independent. Exact file rules override the nearest matching folder; equal-specificity denies win. Folder grants cover future files and optionally descendants. Folder metadata requires an exact _folder.md read grant for restricted keys.
File creation (createFiles) and standalone folder creation (createFolders) are independent capabilities. Restricted write keys additionally need matching writable folder grants; file-only grants never authorize creation, and recursion and exclusions still apply. Omitted flags preserve existing permissions: all-files write keys retain both capabilities; restricted keys retain legacy createMemories file creation and no folder creation. Explicit createFiles overrides createMemories. Deleting, moving, and editing existing folder metadata require an all-files write key or the owner. Moves that newly expose content to a restricted key return 409 KEY_ACCESS_CHANGE.
Update-only keys can obtain the current version through HEAD /memories/{path} (MCP get_memory_version) and replace the whole file. Successful writes return only {path, version}; targeted edits, diffs, and approval also require read access.
Treat change cursors as opaque strings. Restricted cursors are encrypted and bound to the key and current grants. After CURSOR_SCOPE_CHANGED, rebuild the authorized snapshot from cursor 0. Empty hidden-only pages still advance nextCursor.
Successful response. JSON examples use illustrative hashes, timestamps, and revision tokens.
Example response
PATCH /webhooks/{id} response
{
"id": "<uuid>",
"enabled": false
}
Behavior
Base path: /api/v1. Send Authorization: Bearer syn_<key>.
Keys access only their owner's granted paths. New keys have no path grants; legacy unscoped keys normalize to explicit all-files access, while existing scoped grants are preserved. Authenticated requests share their account's plan allowance across all keys.
Your account uses the price and request limits saved at signup. Free currently includes 10/second, 60/minute, 1,000/hour, 10,000/day and 100,000/calendar month. Later catalog changes do not alter existing agreements. Keys cannot raise these limits or reset usage. Windows reset independently at UTC boundaries.
Read and update are independent. Exact file rules override the nearest matching folder; equal-specificity denies win. Folder grants cover future files and optionally descendants. Folder metadata requires an exact _folder.md read grant for restricted keys.
File creation (createFiles) and standalone folder creation (createFolders) are independent capabilities. Restricted write keys additionally need matching writable folder grants; file-only grants never authorize creation, and recursion and exclusions still apply. Omitted flags preserve existing permissions: all-files write keys retain both capabilities; restricted keys retain legacy createMemories file creation and no folder creation. Explicit createFiles overrides createMemories. Deleting, moving, and editing existing folder metadata require an all-files write key or the owner. Moves that newly expose content to a restricted key return 409 KEY_ACCESS_CHANGE.
Update-only keys can obtain the current version through HEAD /memories/{path} (MCP get_memory_version) and replace the whole file. Successful writes return only {path, version}; targeted edits, diffs, and approval also require read access.
Treat change cursors as opaque strings. Restricted cursors are encrypted and bound to the key and current grants. After CURSOR_SCOPE_CHANGED, rebuild the authorized snapshot from cursor 0. Empty hidden-only pages still advance nextCursor.
Create a separately named Markdown file at version 1, with an optional description. Existing files are never overwritten. Folders and files are independent; sibling documents can share any folder.
PermissionsWrite access with file creation enabled (createFiles: true, or legacy createMemories: true for restricted keys) and a matching writable folder grant. All-files write keys default to enabled unless createFiles is false. File-only grants cannot create files; folder recursion and exclusions apply.
Parameters
Parameter
Where / type
Required
Description
path
bodystring
Yes
Full organization/folders/filename.md path. Existing paths and capitalization collisions fail.
markdown
bodystring
Yes
Markdown with optional YAML frontmatter. Maximum 1 MB including generated fields.
description
bodystring ≤ 2000
No
Brief file purpose, stored in Markdown frontmatter and confirmed against the initial content.
Base path: /api/v1. Send Authorization: Bearer syn_<key>.
Keys access only their owner's granted paths. New keys have no path grants; legacy unscoped keys normalize to explicit all-files access, while existing scoped grants are preserved. Authenticated requests share their account's plan allowance across all keys.
Your account uses the price and request limits saved at signup. Free currently includes 10/second, 60/minute, 1,000/hour, 10,000/day and 100,000/calendar month. Later catalog changes do not alter existing agreements. Keys cannot raise these limits or reset usage. Windows reset independently at UTC boundaries.
Read and update are independent. Exact file rules override the nearest matching folder; equal-specificity denies win. Folder grants cover future files and optionally descendants. Folder metadata requires an exact _folder.md read grant for restricted keys.
File creation (createFiles) and standalone folder creation (createFolders) are independent capabilities. Restricted write keys additionally need matching writable folder grants; file-only grants never authorize creation, and recursion and exclusions still apply. Omitted flags preserve existing permissions: all-files write keys retain both capabilities; restricted keys retain legacy createMemories file creation and no folder creation. Explicit createFiles overrides createMemories. Deleting, moving, and editing existing folder metadata require an all-files write key or the owner. Moves that newly expose content to a restricted key return 409 KEY_ACCESS_CHANGE.
Update-only keys can obtain the current version through HEAD /memories/{path} (MCP get_memory_version) and replace the whole file. Successful writes return only {path, version}; targeted edits, diffs, and approval also require read access.
Treat change cursors as opaque strings. Restricted cursors are encrypted and bound to the key and current grants. After CURSOR_SCOPE_CHANGED, rebuild the authorized snapshot from cursor 0. Empty hidden-only pages still advance nextCursor.
Use POST /memories or MCP create_memory for creation. Updates and rewrite proposals, including MCP update_memory and propose_rewrite, require an existing file and a positive observed version; version zero does not create a file.
When readable, creation returns canonical Markdown, not byte-identical raw input: system frontmatter is generated, YAML is serialized, and BOM, CRLF, and initial blank lines are normalized. Custom metadata values and ordinary body text are retained.
Creation permission does not grant read access or authorize standalone empty-folder creation, deletion, moves, or folder-description edits.
Existing restricted keys remain update-only unless the owner explicitly enables creation. All-files write keys retain their existing creation capability.
Pace bulk imports against unchanged account-wide quotas; batches of 50 are checkpoints, not bursts. Respect REST Retry-After or MCP error.details.retryAfter on 429 and use bounded, jittered backoff for transient 503s. If a create outcome is uncertain, read and compare canonical content before retrying; without read access, report it as unverified. Never overwrite a conflict.
The former hierarchy/category/subcategory create format is no longer accepted.
Safe case-preserving filenames are supported; organizations use lowercase slugs. Traversal, symlinks and reserved filesystem names are rejected.
Create an empty folder under an existing organization or folder, with an optional display name and purpose text.
PermissionsWrite access with createFolders: true and a matching writable folder grant. All-files write keys default to enabled unless createFolders is false. File creation is independent; file-only grants cannot create folders.
Parameters
Parameter
Where / type
Required
Description
path
bodystring
Yes
Full folder path; parent must already exist.
name
bodystring ≤ 120
No
Display name, independent of the final path segment. Defaults to the final path segment.
Base path: /api/v1. Send Authorization: Bearer syn_<key>.
Keys access only their owner's granted paths. New keys have no path grants; legacy unscoped keys normalize to explicit all-files access, while existing scoped grants are preserved. Authenticated requests share their account's plan allowance across all keys.
Your account uses the price and request limits saved at signup. Free currently includes 10/second, 60/minute, 1,000/hour, 10,000/day and 100,000/calendar month. Later catalog changes do not alter existing agreements. Keys cannot raise these limits or reset usage. Windows reset independently at UTC boundaries.
Read and update are independent. Exact file rules override the nearest matching folder; equal-specificity denies win. Folder grants cover future files and optionally descendants. Folder metadata requires an exact _folder.md read grant for restricted keys.
File creation (createFiles) and standalone folder creation (createFolders) are independent capabilities. Restricted write keys additionally need matching writable folder grants; file-only grants never authorize creation, and recursion and exclusions still apply. Omitted flags preserve existing permissions: all-files write keys retain both capabilities; restricted keys retain legacy createMemories file creation and no folder creation. Explicit createFiles overrides createMemories. Deleting, moving, and editing existing folder metadata require an all-files write key or the owner. Moves that newly expose content to a restricted key return 409 KEY_ACCESS_CHANGE.
Update-only keys can obtain the current version through HEAD /memories/{path} (MCP get_memory_version) and replace the whole file. Successful writes return only {path, version}; targeted edits, diffs, and approval also require read access.
Treat change cursors as opaque strings. Restricted cursors are encrypted and bound to the key and current grants. After CURSOR_SCOPE_CHANGED, rebuild the authorized snapshot from cursor 0. Empty hidden-only pages still advance nextCursor.
Organization management is available to the signed-in owner in the app.
Base path: /api/v1. Send Authorization: Bearer syn_<key>.
Keys access only their owner's granted paths. New keys have no path grants; legacy unscoped keys normalize to explicit all-files access, while existing scoped grants are preserved. Authenticated requests share their account's plan allowance across all keys.
Your account uses the price and request limits saved at signup. Free currently includes 10/second, 60/minute, 1,000/hour, 10,000/day and 100,000/calendar month. Later catalog changes do not alter existing agreements. Keys cannot raise these limits or reset usage. Windows reset independently at UTC boundaries.
Read and update are independent. Exact file rules override the nearest matching folder; equal-specificity denies win. Folder grants cover future files and optionally descendants. Folder metadata requires an exact _folder.md read grant for restricted keys.
File creation (createFiles) and standalone folder creation (createFolders) are independent capabilities. Restricted write keys additionally need matching writable folder grants; file-only grants never authorize creation, and recursion and exclusions still apply. Omitted flags preserve existing permissions: all-files write keys retain both capabilities; restricted keys retain legacy createMemories file creation and no folder creation. Explicit createFiles overrides createMemories. Deleting, moving, and editing existing folder metadata require an all-files write key or the owner. Moves that newly expose content to a restricted key return 409 KEY_ACCESS_CHANGE.
Update-only keys can obtain the current version through HEAD /memories/{path} (MCP get_memory_version) and replace the whole file. Successful writes return only {path, version}; targeted edits, diffs, and approval also require read access.
Treat change cursors as opaque strings. Restricted cursors are encrypted and bound to the key and current grants. After CURSOR_SCOPE_CHANGED, rebuild the authorized snapshot from cursor 0. Empty hidden-only pages still advance nextCursor.
Moved files receive a new version; historical cloud revision objects are retained.
Pending rewrite drafts for moved sources are invalidated. Update bot requests that reference old paths.
Base path: /api/v1. Send Authorization: Bearer syn_<key>.
Keys access only their owner's granted paths. New keys have no path grants; legacy unscoped keys normalize to explicit all-files access, while existing scoped grants are preserved. Authenticated requests share their account's plan allowance across all keys.
Your account uses the price and request limits saved at signup. Free currently includes 10/second, 60/minute, 1,000/hour, 10,000/day and 100,000/calendar month. Later catalog changes do not alter existing agreements. Keys cannot raise these limits or reset usage. Windows reset independently at UTC boundaries.
Read and update are independent. Exact file rules override the nearest matching folder; equal-specificity denies win. Folder grants cover future files and optionally descendants. Folder metadata requires an exact _folder.md read grant for restricted keys.
File creation (createFiles) and standalone folder creation (createFolders) are independent capabilities. Restricted write keys additionally need matching writable folder grants; file-only grants never authorize creation, and recursion and exclusions still apply. Omitted flags preserve existing permissions: all-files write keys retain both capabilities; restricted keys retain legacy createMemories file creation and no folder creation. Explicit createFiles overrides createMemories. Deleting, moving, and editing existing folder metadata require an all-files write key or the owner. Moves that newly expose content to a restricted key return 409 KEY_ACCESS_CHANGE.
Update-only keys can obtain the current version through HEAD /memories/{path} (MCP get_memory_version) and replace the whole file. Successful writes return only {path, version}; targeted edits, diffs, and approval also require read access.
Treat change cursors as opaque strings. Restricted cursors are encrypted and bound to the key and current grants. After CURSOR_SCOPE_CHANGED, rebuild the authorized snapshot from cursor 0. Empty hidden-only pages still advance nextCursor.
Requires an existing file and its positive observed version. Version zero does not create a file; use POST /memories or MCP create_memory instead.
Drafts expire after 24 hours. Owners review them in Memories; trusted keys can use the approval endpoint.
Base path: /api/v1. Send Authorization: Bearer syn_<key>.
Keys access only their owner's granted paths. New keys have no path grants; legacy unscoped keys normalize to explicit all-files access, while existing scoped grants are preserved. Authenticated requests share their account's plan allowance across all keys.
Your account uses the price and request limits saved at signup. Free currently includes 10/second, 60/minute, 1,000/hour, 10,000/day and 100,000/calendar month. Later catalog changes do not alter existing agreements. Keys cannot raise these limits or reset usage. Windows reset independently at UTC boundaries.
Read and update are independent. Exact file rules override the nearest matching folder; equal-specificity denies win. Folder grants cover future files and optionally descendants. Folder metadata requires an exact _folder.md read grant for restricted keys.
File creation (createFiles) and standalone folder creation (createFolders) are independent capabilities. Restricted write keys additionally need matching writable folder grants; file-only grants never authorize creation, and recursion and exclusions still apply. Omitted flags preserve existing permissions: all-files write keys retain both capabilities; restricted keys retain legacy createMemories file creation and no folder creation. Explicit createFiles overrides createMemories. Deleting, moving, and editing existing folder metadata require an all-files write key or the owner. Moves that newly expose content to a restricted key return 409 KEY_ACCESS_CHANGE.
Update-only keys can obtain the current version through HEAD /memories/{path} (MCP get_memory_version) and replace the whole file. Successful writes return only {path, version}; targeted edits, diffs, and approval also require read access.
Treat change cursors as opaque strings. Restricted cursors are encrypted and bound to the key and current grants. After CURSOR_SCOPE_CHANGED, rebuild the authorized snapshot from cursor 0. Empty hidden-only pages still advance nextCursor.
No request body. Missing, expired, or stale drafts fail; successful approval removes the pending draft.
Register a public HTTPS endpoint on port 443 and queue a signed webhook.test. Credentials, fragments, private addresses and redirects are not allowed. The secret is returned only in this response.
PermissionsAll-files write key with explicit manageWebhooks: true. Restricted and read-only keys cannot manage subscriptions.
Parameters
No endpoint-specific parameters or request body.
Request
Create a webhook subscription request
POST /webhooks — Create a webhook subscription request
Base path: /api/v1. Send Authorization: Bearer syn_<key>.
Keys access only their owner's granted paths. New keys have no path grants; legacy unscoped keys normalize to explicit all-files access, while existing scoped grants are preserved. Authenticated requests share their account's plan allowance across all keys.
Your account uses the price and request limits saved at signup. Free currently includes 10/second, 60/minute, 1,000/hour, 10,000/day and 100,000/calendar month. Later catalog changes do not alter existing agreements. Keys cannot raise these limits or reset usage. Windows reset independently at UTC boundaries.
Read and update are independent. Exact file rules override the nearest matching folder; equal-specificity denies win. Folder grants cover future files and optionally descendants. Folder metadata requires an exact _folder.md read grant for restricted keys.
File creation (createFiles) and standalone folder creation (createFolders) are independent capabilities. Restricted write keys additionally need matching writable folder grants; file-only grants never authorize creation, and recursion and exclusions still apply. Omitted flags preserve existing permissions: all-files write keys retain both capabilities; restricted keys retain legacy createMemories file creation and no folder creation. Explicit createFiles overrides createMemories. Deleting, moving, and editing existing folder metadata require an all-files write key or the owner. Moves that newly expose content to a restricted key return 409 KEY_ACCESS_CHANGE.
Update-only keys can obtain the current version through HEAD /memories/{path} (MCP get_memory_version) and replace the whole file. Successful writes return only {path, version}; targeted edits, diffs, and approval also require read access.
Treat change cursors as opaque strings. Restricted cursors are encrypted and bound to the key and current grants. After CURSOR_SCOPE_CHANGED, rebuild the authorized snapshot from cursor 0. Empty hidden-only pages still advance nextCursor.
Replace the signing secret. The new plaintext is returned only once.
PermissionsAll-files write key with explicit manageWebhooks: true. Restricted and read-only keys cannot manage subscriptions.
Parameters
Parameter
Where / type
Required
Description
id
pathUUID
Yes
Rewrite draft ID returned by POST /rewrites.
id
pathUUID
Yes
Subscription ID.
Request
Rotate a webhook secret request
POST /webhooks/{id}/rotate-secret — Rotate a webhook secret request
curl -X POST 'https://syngularity.dev/api/v1/webhooks/<draft-id>/rotate-secret' \
-H 'Authorization: Bearer syn_<your-key>'
Response
200application/json
Successful response. JSON examples use illustrative hashes, timestamps, and revision tokens.
Example response
POST /webhooks/{id}/rotate-secret response
{
"secret": "whsec_..."
}
Behavior
Base path: /api/v1. Send Authorization: Bearer syn_<key>.
Keys access only their owner's granted paths. New keys have no path grants; legacy unscoped keys normalize to explicit all-files access, while existing scoped grants are preserved. Authenticated requests share their account's plan allowance across all keys.
Your account uses the price and request limits saved at signup. Free currently includes 10/second, 60/minute, 1,000/hour, 10,000/day and 100,000/calendar month. Later catalog changes do not alter existing agreements. Keys cannot raise these limits or reset usage. Windows reset independently at UTC boundaries.
Read and update are independent. Exact file rules override the nearest matching folder; equal-specificity denies win. Folder grants cover future files and optionally descendants. Folder metadata requires an exact _folder.md read grant for restricted keys.
File creation (createFiles) and standalone folder creation (createFolders) are independent capabilities. Restricted write keys additionally need matching writable folder grants; file-only grants never authorize creation, and recursion and exclusions still apply. Omitted flags preserve existing permissions: all-files write keys retain both capabilities; restricted keys retain legacy createMemories file creation and no folder creation. Explicit createFiles overrides createMemories. Deleting, moving, and editing existing folder metadata require an all-files write key or the owner. Moves that newly expose content to a restricted key return 409 KEY_ACCESS_CHANGE.
Update-only keys can obtain the current version through HEAD /memories/{path} (MCP get_memory_version) and replace the whole file. Successful writes return only {path, version}; targeted edits, diffs, and approval also require read access.
Treat change cursors as opaque strings. Restricted cursors are encrypted and bound to the key and current grants. After CURSOR_SCOPE_CHANGED, rebuild the authorized snapshot from cursor 0. Empty hidden-only pages still advance nextCursor.
PermissionsAll-files write key with explicit manageWebhooks: true. Restricted and read-only keys cannot manage subscriptions.
Parameters
Parameter
Where / type
Required
Description
id
pathUUID
Yes
Rewrite draft ID returned by POST /rewrites.
id
pathUUID
Yes
Subscription ID.
Request
Test a webhook request
POST /webhooks/{id}/test — Test a webhook request
curl -X POST 'https://syngularity.dev/api/v1/webhooks/<draft-id>/test' \
-H 'Authorization: Bearer syn_<your-key>'
Response
202application/json
Successful response. JSON examples use illustrative hashes, timestamps, and revision tokens.
Example response
POST /webhooks/{id}/test response
{
"queued": true
}
Behavior
Base path: /api/v1. Send Authorization: Bearer syn_<key>.
Keys access only their owner's granted paths. New keys have no path grants; legacy unscoped keys normalize to explicit all-files access, while existing scoped grants are preserved. Authenticated requests share their account's plan allowance across all keys.
Your account uses the price and request limits saved at signup. Free currently includes 10/second, 60/minute, 1,000/hour, 10,000/day and 100,000/calendar month. Later catalog changes do not alter existing agreements. Keys cannot raise these limits or reset usage. Windows reset independently at UTC boundaries.
Read and update are independent. Exact file rules override the nearest matching folder; equal-specificity denies win. Folder grants cover future files and optionally descendants. Folder metadata requires an exact _folder.md read grant for restricted keys.
File creation (createFiles) and standalone folder creation (createFolders) are independent capabilities. Restricted write keys additionally need matching writable folder grants; file-only grants never authorize creation, and recursion and exclusions still apply. Omitted flags preserve existing permissions: all-files write keys retain both capabilities; restricted keys retain legacy createMemories file creation and no folder creation. Explicit createFiles overrides createMemories. Deleting, moving, and editing existing folder metadata require an all-files write key or the owner. Moves that newly expose content to a restricted key return 409 KEY_ACCESS_CHANGE.
Update-only keys can obtain the current version through HEAD /memories/{path} (MCP get_memory_version) and replace the whole file. Successful writes return only {path, version}; targeted edits, diffs, and approval also require read access.
Treat change cursors as opaque strings. Restricted cursors are encrypted and bound to the key and current grants. After CURSOR_SCOPE_CHANGED, rebuild the authorized snapshot from cursor 0. Empty hidden-only pages still advance nextCursor.
Successful response. JSON examples use illustrative hashes, timestamps, and revision tokens.
Example response
DELETE /memories/{path} response
{
"deleted": true
}
Behavior
Base path: /api/v1. Send Authorization: Bearer syn_<key>.
Keys access only their owner's granted paths. New keys have no path grants; legacy unscoped keys normalize to explicit all-files access, while existing scoped grants are preserved. Authenticated requests share their account's plan allowance across all keys.
Your account uses the price and request limits saved at signup. Free currently includes 10/second, 60/minute, 1,000/hour, 10,000/day and 100,000/calendar month. Later catalog changes do not alter existing agreements. Keys cannot raise these limits or reset usage. Windows reset independently at UTC boundaries.
Read and update are independent. Exact file rules override the nearest matching folder; equal-specificity denies win. Folder grants cover future files and optionally descendants. Folder metadata requires an exact _folder.md read grant for restricted keys.
File creation (createFiles) and standalone folder creation (createFolders) are independent capabilities. Restricted write keys additionally need matching writable folder grants; file-only grants never authorize creation, and recursion and exclusions still apply. Omitted flags preserve existing permissions: all-files write keys retain both capabilities; restricted keys retain legacy createMemories file creation and no folder creation. Explicit createFiles overrides createMemories. Deleting, moving, and editing existing folder metadata require an all-files write key or the owner. Moves that newly expose content to a restricted key return 409 KEY_ACCESS_CHANGE.
Update-only keys can obtain the current version through HEAD /memories/{path} (MCP get_memory_version) and replace the whole file. Successful writes return only {path, version}; targeted edits, diffs, and approval also require read access.
Treat change cursors as opaque strings. Restricted cursors are encrypted and bound to the key and current grants. After CURSOR_SCOPE_CHANGED, rebuild the authorized snapshot from cursor 0. Empty hidden-only pages still advance nextCursor.
Deletion removes pending rewrite drafts for this source. Cloud Storage cleanup uses a retryable queue.
Reserved _folder.md files are managed through folder operations.
Successful response. JSON examples use illustrative hashes, timestamps, and revision tokens.
Example response
DELETE /folders/{path} response
{
"deleted": true
}
Behavior
Base path: /api/v1. Send Authorization: Bearer syn_<key>.
Keys access only their owner's granted paths. New keys have no path grants; legacy unscoped keys normalize to explicit all-files access, while existing scoped grants are preserved. Authenticated requests share their account's plan allowance across all keys.
Your account uses the price and request limits saved at signup. Free currently includes 10/second, 60/minute, 1,000/hour, 10,000/day and 100,000/calendar month. Later catalog changes do not alter existing agreements. Keys cannot raise these limits or reset usage. Windows reset independently at UTC boundaries.
Read and update are independent. Exact file rules override the nearest matching folder; equal-specificity denies win. Folder grants cover future files and optionally descendants. Folder metadata requires an exact _folder.md read grant for restricted keys.
File creation (createFiles) and standalone folder creation (createFolders) are independent capabilities. Restricted write keys additionally need matching writable folder grants; file-only grants never authorize creation, and recursion and exclusions still apply. Omitted flags preserve existing permissions: all-files write keys retain both capabilities; restricted keys retain legacy createMemories file creation and no folder creation. Explicit createFiles overrides createMemories. Deleting, moving, and editing existing folder metadata require an all-files write key or the owner. Moves that newly expose content to a restricted key return 409 KEY_ACCESS_CHANGE.
Update-only keys can obtain the current version through HEAD /memories/{path} (MCP get_memory_version) and replace the whole file. Successful writes return only {path, version}; targeted edits, diffs, and approval also require read access.
Treat change cursors as opaque strings. Restricted cursors are encrypted and bound to the key and current grants. After CURSOR_SCOPE_CHANGED, rebuild the authorized snapshot from cursor 0. Empty hidden-only pages still advance nextCursor.
A folder topic/ and sibling topic.md are independent; deleting the folder preserves the sibling file.
Organization deletion remain signed-in owner actions in the app. Export a copy before deleting content.
Successful response. JSON examples use illustrative hashes, timestamps, and revision tokens.
Example response
DELETE /webhooks/{id} response
Behavior
Base path: /api/v1. Send Authorization: Bearer syn_<key>.
Keys access only their owner's granted paths. New keys have no path grants; legacy unscoped keys normalize to explicit all-files access, while existing scoped grants are preserved. Authenticated requests share their account's plan allowance across all keys.
Your account uses the price and request limits saved at signup. Free currently includes 10/second, 60/minute, 1,000/hour, 10,000/day and 100,000/calendar month. Later catalog changes do not alter existing agreements. Keys cannot raise these limits or reset usage. Windows reset independently at UTC boundaries.
Read and update are independent. Exact file rules override the nearest matching folder; equal-specificity denies win. Folder grants cover future files and optionally descendants. Folder metadata requires an exact _folder.md read grant for restricted keys.
File creation (createFiles) and standalone folder creation (createFolders) are independent capabilities. Restricted write keys additionally need matching writable folder grants; file-only grants never authorize creation, and recursion and exclusions still apply. Omitted flags preserve existing permissions: all-files write keys retain both capabilities; restricted keys retain legacy createMemories file creation and no folder creation. Explicit createFiles overrides createMemories. Deleting, moving, and editing existing folder metadata require an all-files write key or the owner. Moves that newly expose content to a restricted key return 409 KEY_ACCESS_CHANGE.
Update-only keys can obtain the current version through HEAD /memories/{path} (MCP get_memory_version) and replace the whole file. Successful writes return only {path, version}; targeted edits, diffs, and approval also require read access.
Treat change cursors as opaque strings. Restricted cursors are encrypted and bound to the key and current grants. After CURSOR_SCOPE_CHANGED, rebuild the authorized snapshot from cursor 0. Empty hidden-only pages still advance nextCursor.
Organizations contain files and folders. Create nested folders and multiple named Markdown documents. Files can also live directly in the organization root.
Organization slugs use up to 63 lowercase letters, digits, underscores or hyphens. Folder names and filenames preserve case and may contain spaces. Paths reject traversal, leading dots, symlinks, reserved Windows names, trailing spaces/dots and capitalization collisions. Folder paths have at most 24 segments and 700 characters; file paths have at most 800 characters.
Section IDs come from headings; use ## Preferences {#preferences} to preserve an ID when renaming its heading. Section offsets refer to the Markdown body after frontmatter. Duplicate heading IDs fail validation.
User-maintained descriptions
File descriptions and section descriptions are optional YAML frontmatter. The app and metadata PATCH operation record hashes when you save or confirm them; later content changes mark them needs_review. Describing a section automatically adds its explicit heading ID. Removed sections leave unresolved descriptions that can be deleted with null.
Portable description metadata
---
description: Communication preferences and working style.
description_hash: <body-sha256>
section_descriptions:
preferences:
description: Preferred reply length, tone, and tools.
hash: <section-content-sha256>
---
# Profile
## Preferences {#preferences}
Keep replies concise.
Folder descriptions use reserved _folder.md metadata files. These travel with exports, imports and sync; the app lists them as folder metadata rather than ordinary memories. The map is generated from the current structure, never maintained as a second manual file.
Markdown lint warnings flag malformed headings and repeated or near-duplicate passages and copied blocks. Warnings are advisory; whole-file replacement works even when a file has no headings. Full replacement includes custom frontmatter, so retain any metadata you want to keep.
Import, edit, and migrate
In Memories, create locations manually, add individual files, edit Markdown, or import a folder/ZIP into an organization or folder. Preview destinations before importing; retain or strip a common enclosing directory. Exported files matching the chosen organization/folder prefix are restored beneath that location.
Existing files default to Skip. Explicit replacement uses the version observed during preview and fails if the destination changes. Imports are per-item operations: successful items remain saved if another item fails. Retry failed items after reviewing their errors.
Limits: 20 MB ZIP, 50 MB expanded Markdown, 1 MB per Markdown file including generated frontmatter, and 1,000 entries. Non-Markdown files are reported as ignored. Empty directory entries and _folder.md descriptions are retained when available.
Breaking API transition
Creation takes {path, markdown, description?}; the former hierarchy/category/subcategory request is rejected. Memory responses use location with organization, folders and filename. Existing source paths, content, versions and cloud revisions are retained; existing nested containers become folders.
Existing key access levels and approval grants are preserved. Existing unscoped keys normalize to explicit all-files access; newly issued keys require explicit grants. Paths remain location-based, and moves that would newly expose a file to a restricted key are blocked until destination grants are reviewed. Moves invalidate pending source rewrite drafts; timestamp polling only returns current files. Use GET /changes with a saved cursor for ordered updates and deletions, including move source paths.
Rate limits and notifications
Every existing and new account has this default allowance, shared across all of its API keys. Keys inherit their account’s plan limits; creating another key does not reset usage. Windows reset independently at UTC boundaries.
Window
Default requests
second
10
minute
60
hour
1,000
day
10,000
month
100,000
Second, minute, hour and day use fixed UTC windows; month resets at the UTC calendar-month boundary. Admitted authenticated REST requests, including failed writes, count. Requests already over quota return 429 without incrementing another window. A 429 returns Retry-After in seconds.
In-app alerts fire at 80% and 100%. Open the notification bell or Settings → View alerts. These are dashboard alerts, not email. MCP tool calls share REST quotas; protocol discovery and initialization do not consume memory-request quota.
For bulk creation, checkpoint batches of 50 rather than sending 50-request bursts. Start with one active create; use only a small, bounded worker pool when the shared account budget permits it. Include other clients, retries and readback requests in that budget. Persist completed paths. Respect REST Retry-After or MCP error.details.retryAfter on 429, and use capped backoff with jitter and a bounded retry budget for transient 503s.
Cloud listing reads at most four source files at a time per list invocation, not globally across requests. Transient immutable Storage downloads receive at most three attempts; mutations are not automatically retried. This preserves source-derived metadata and integrity checks, but cannot guarantee an import avoids rate limits or service failures.
04 / MCP
Connect your agents
Use stateless Streamable HTTP at /mcp on the same host, with a bearer API key. This endpoint is outside /api/v1.
Start with get_memory_map, then read_memory for relevant files. Read-only tools also include list_memories, list_folders, list_memory_changes and get_memory_version. Update-enabled tools include update_memory, replace_section, find_replace, describe_memory and propose_rewrite, with backend path checks. Updates and rewrite proposals require an existing file and its positive observed version; version zero does not create a file.
Keys can independently enable Create files (create_memory) and Create folders (create_folder), or both. Restricted write keys receive each tool only when its capability is enabled and a writable folder grant exists. Each target must satisfy folder scope, recursion, exclusions and effective write access; file-only grants cannot create. The tool accepts path, markdown and optional description, creates version 1, and never overwrites an existing file. Other lifecycle tools (describe_folder, move_memory, delete_memory and delete_folder) remain all-files write only. Explicit approvers also receive approve_rewrite.
Tools share the REST contracts, ownership checks, version/subtree conflicts, warnings and quotas. Binary ZIP export is available through REST. Client secret configuration differs by application; use its supported secret store. Grok and future clients can use the same portable data contracts. Provider-specific connectors, OAuth, legacy SSE-only transport, subscriptions and webhooks are not included.
05 / AGENT SKILLS
Download Singularity for your AI tools
Singularity retrieves relevant Markdown context when you invoke it with a question and optional file or folder selections. Choose the package for your client below. Each ZIP contains its matching skill or command files and preserves the supplied manual workflow.
Connect and authenticate the existing Syngularity MCP server once in each host. Keep the API key in the client’s connection settings. Skill installation and connector authentication are separate.
Claude
Upload the client ZIP under Customize > Skills > Create skill > Upload a skill.
Manual invocation: Explicitly ask to use Singularity with the question.
These packages retrieve context and do not change your library or key permissions. The Gemini download targets Gemini CLI, and the Grok download targets Grok Build. See the consumer-app compatibility notes for other Gemini and Grok surfaces. Extract the all-client bundle to choose a package; upload the individual client ZIP where the installation guide calls for one.
06 / RECOVERY
Errors and safe retries
Error response
{
"error": {
"code": "VERSION_CONFLICT",
"message": "The memory changed. Read the latest source and retry.",
"details": {
"expectedVersion": 3,
"currentVersion": 4
},
"requestId": "<request-id>"
}
}
401: check invalid, revoked or deleted credentials. 403: review the operation’s access, path scope, creation opt-in or rewrite approval requirement with the owner; do not broaden permissions automatically. 404: refresh files, folders, sections or drafts. 409: refresh the source/map and reconsider the operation. 410: draft expired after 24 hours. 413/422: correct the file size, path, Markdown or request. 429: wait for REST Retry-After or MCP error.details.retryAfter. 503: use bounded retry backoff with jitter and inspect service availability.
If a create response is lost, read the target and compare canonical content before retrying; the first attempt may already have committed. A write-only key cannot verify content: report an unverified outcome instead. Never turn a create conflict into an update or overwrite. Other uncertain writes also require a read before retrying. Account, notification, synchronization and dashboard routes require human sessions and are separate from this public agent API.