No documents yet
Folders
Folder management coming soon
Tags
No tags yet. Tags will appear as you create documents.
Templates
Blank Document
Start with an empty page
Chapter
Single chapter with heading
Article
Title, subtitle, and body sections
Writing Statistics
Settings
Theme
Font
AI Assistance
When enabled, AI completions and companion suggestions will not be shown.
Voice Profile
Your writing style profile for personalized AI completions.
Privacy
Agent API
REST API for programmatic document management. All endpoints are scoped by workspace.
https://ss-writer.ocuss.app
workspace parameter is mandatory.
/api/agent/documents
List documents in a workspace. Supports filtering by folder, tag, and search.
workspace (required) Slug or UUIDfolder_id (optional) Filter by foldertag (optional) Filter by tagsearch (optional) Search title/contentlimit (optional) Max results (default 50)/api/agent/documents
Create a new document. Title is required.
workspace (required) Slug or UUIDtitle * Document titleparent_id (optional) Parent document UUIDtemplate_id (optional) Template UUIDfolder_id (optional) Folder UUIDcurl -X POST "https://ss-writer.ocuss.app/api/agent/documents?workspace=$MULTICA_WORKSPACE_ID" \
-H "Content-Type: application/json" \
-d '{"title":"Chapter One","parent_id":""}'
/api/agent/documents/{document_id}
Get full document content and metadata by ID.
workspace (required) Slug or UUID/api/agent/documents/{document_id}
Update document content, metadata, or settings.
workspace (required) Slug or UUIDtitle, content_prosemirror, content_markdownword_count, theme, font_family, font_sizefolder_id, tags[], statuscurl -X PUT "https://ss-writer.ocuss.app/api/agent/documents/$DOC_ID?workspace=$MULTICA_WORKSPACE_ID" \
-H "Content-Type: application/json" \
-d '{"title":"Updated Title","theme":"dark","word_count":1200}'
/api/agent/documents/{document_id}
Soft-delete a document. Specify permanent=true to hard-delete.
workspace (required)permanent (optional) Default: false/api/agent/documents/{document_id}/synthesize
Generate summary, key points, outline, and suggested tags for a document.
workspace (required)/api/agent/documents/{document_id}/export
Export document in markdown or EPUB format.
workspace (required)format (optional) markdown (default) or epub/api/agent/folders
List folders in the workspace.
workspace (required) Slug or UUID/api/agent/tags
List all tags with usage counts.
workspace (required) Slug or UUIDMCP Tools
writer_documents_create(workspace_id, title, parent_id?, template_id?, folder_id?)
writer_documents_list(workspace_id, folder_id?, tag?, search?, limit?)
writer_documents_get(workspace_id, document_id)
writer_documents_update(workspace_id, document_id, title?, content?, theme?, font_family?, font_size?, tags?, status?)
writer_documents_delete(workspace_id, document_id, permanent?)
writer_documents_synthesize(workspace_id, document_id)
writer_folders_list(workspace_id)
writer_tags_list(workspace_id)
Quick Reference
curl "https://ss-writer.ocuss.app/api/agent/documents?workspace=$MULTICA_WORKSPACE_ID"
curl -X POST "https://ss-writer.ocuss.app/api/agent/documents?workspace=$MULTICA_WORKSPACE_ID" \
-H "Content-Type: application/json" \
-d '{"title":"New Chapter"}'
curl "https://ss-writer.ocuss.app/api/agent/documents/$DOC_ID?workspace=$MULTICA_WORKSPACE_ID"
curl -X PUT "https://ss-writer.ocuss.app/api/agent/documents/$DOC_ID?workspace=$MULTICA_WORKSPACE_ID" \
-H "Content-Type: application/json" \
-d '{"title":"Updated Title"}'
curl -X POST "https://ss-writer.ocuss.app/api/agent/documents/$DOC_ID/synthesize?workspace=$MULTICA_WORKSPACE_ID"