Changes data

quotecloud_copy_document

Create and fully materialize a new independent document from an editor-accessible non-template source, then return its document ID, display ID, and key. Template and system-template sources are rejected; use quotecloud_copy_template for those. The call waits for completion or rollback, accrues API document usage only on success, requires documents:write, and only runs when documents.create is enabled.

Inputs

documentIdRequired
A Convex document ID or company-scoped numeric display ID. string
titleOptional
string