Added
New `duplicate_doc` mutation
July 9th, 2025
š·ļø API version:
2025-10
You can now duplicate an existing document using the new duplicate_doc mutation.
mutation {
duplicate_doc (docId: 12345, duplicateType: duplicate_doc_with_content_and_updates)
}The response is a JSON object that contains the new document's unique identifier.
{
Ā "data": {
Ā Ā "duplicate_doc": {
Ā Ā Ā "success": true,
Ā Ā Ā "id": "1234567890"
Ā Ā }
Ā },
Ā "extensions": {
Ā Ā "request_id": "f83e4038-c3g6-02ed-c382-74fe5g2d24b1"
Ā }
}