List document drafts
This endpoint requires Viewer permissions or higher on the specified document.
List all drafts attached to a published document. A document in Omni can have up to one draft per branch plus one draft not attached to a branch.
By default, returns active drafts only. Pass ?include=archived to include soft-deleted drafts retained for approximately 7 days.
Authorizations
Can be either an Organization API Key or Personal Access Token (PAT).
Include in the Authorization header as: Bearer YOUR_TOKEN
Path Parameters
The identifier of the published document. To retrieve the ID, navigate to File > Document settings in the document and then click Settings. The Identifier field contains the document ID.
Query Parameters
Pass archived to include soft-deleted drafts in the response. By default, only active drafts are returned.
archived Response
List of drafts retrieved successfully. Results are sorted in descending order using the draft's updatedAt.
The identifier of the draft.
"d56b7f56"
The identifier of the published document this draft is attached to.
"ecd01fe5"
The UUID of the workbook model.
"d61034e2-05fe-4268-a3a7-d4cdb8d650e9"
The branch this draft is attached to, or null for draft not attached to a branch. A document can only have one draft not attached to a branch.
{
"id": "a9bc51d2-1234-5678-9abc-def012345678",
"name": "governance/relabel-age-average"
}The status of the draft.
active, archived "active"
Indicates whether the draft is out of date compared to the published document.
false
Timestamp when the draft was created.
"2026-05-06T13:44:00.000Z"
Timestamp when the draft was last updated.
"2026-05-06T13:44:26.000Z"
User who created the draft.
{ "name": "Blob Ross" }User who last edited the draft.
{ "name": "Blob Ross" }