v4
latestOpenAPI 3.1.02026-08-01207318738.7 KBDocuments
List document drafts
Lists drafts for a document with branch context. By default only active drafts are returned; pass include=archived to also include soft-deleted drafts (retained ~7 days). Results are sorted by createdAt descending.
get/api/v1/documents/{identifier}/drafts
Path parameters
identifierstring required
Document identifier (either document ID or identifier slug)
Example:abc123
Document identifier (either document ID or identifier slug)
Query parameters
includestring
Comma-separated list of additional drafts to include. Only "archived" is recognized — when present, soft-deleted drafts (retained ~7 days) are returned alongside active drafts.
Example:archived
Comma-separated list of additional drafts to include. Only "archived" is recognized — when present, soft-deleted drafts (retained ~7 days) are returned alongside active drafts.
Response
List of drafts for the document