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"
}
}