Update document from Extended Markdown
Replace the latest document content from Extended Markdown while preserving omitted metadata. This is the preferred persistent edit endpoint for AI agents. Internally Autype converts the markdown back to validated JSON and stores a normal document snapshot.
Authorizations
Short-lived, Developer-API-audience token obtained by the trusted MCP service through token exchange (mcp_at_...). Raw MCP resource tokens are rejected.
Path Parameters
Document ID
Body
Replacement Extended Markdown content. Omit only when updating metadata such as variables/defaults/stylePresetId.
"# Updated Report\n\nNew content."
Document settings to replace/merge with current settings.
Set, replace, or clear the referenced workspace or built-in system style preset.
Replacement variables object
Replacement abbreviation map
Defaults to merge with the current inline defaults
Replacement citations array in CSL-JSON format
Replacement style metadata
Response
Updated document represented as Extended Markdown
Document ID
Document title
Project ID the document belongs to
Extended Markdown representation of the latest snapshot
Document settings
Referenced workspace or built-in system style preset, if any
Variables for template substitution
Abbreviation map
Inline defaults
Citations array
Style metadata
Current content revision
