Publish draft
Publish the document’s current main (non-branch) draft, promoting it to the published version. No request body — the draft is consumed, so the response echoes the now-published document’s metadata.
Only the main draft is publishable here. A branch-attached draft is published by merging its branch (POST /api/v1/models/{modelId}/branch/{branchName}/merge), so a document with no main draft returns 404.
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 published document's URL slug (e.g. abc123) or its canonical workbook UUID.