Freeze a hosted document as a record.
POST
/v1/abilities/workspace.doc.closeFreeze a hosted document as a record. Further patches need force:true. Emits workspace.doc.closed carrying the final markdown, which is what a git-sync subscriber commits.
Request body
Section titled “Request body”inputWorkspaceDocCloseInputrequiredShow 2 properties
idstringrequireddispositionstringoptionalhow it ended, e.g. “shipped as Phase 21”
contextCallContextoptionalOptional call context. The tenant always comes from the credential:
tenantIdis honoured only by a credential allowed to address sub-tenants, and then nests under the credential’s own tenant.Show 3 properties
tenantIdstringoptionalSub-tenant to act for (sub-tenant credentials only).
runIdstringoptionalThe trust run (from trust.preflight) this call executes under.
verticalIdstringoptionalVertical to attribute created records to.
Returns
Section titled “Returns”Schema shown for 200 · application/json
resultThe ability’s return value. Its shape depends on the ability.