Conversion turns a literal node — a definition held only as an artifact — into a first-class Schema, Experience, or Flow, and replaces the literal node with a reference node.
Start a conversion with Convert to resource on a literal node. See Canvas Editor Actions.
On success, the result is the new resource's type, its ID, its version, the Canvas version that records the conversion, and its editor URL (see Editor URL).
The conversion is all or nothing. If it fails, no resource, folder entry, or Canvas version is written.
Checks are applied in this order.
Canvas must be enabled for the Space and the caller must be a Space admin. See Canvas Access.
If this literal was already converted from the same artifact, the earlier result is returned unchanged. No second resource is created.
If the Canvas has changed since the version you are editing, conversion returns:
CONFLICT "Canvas head changed"Converting a flow:literal node returns BAD_REQUEST with Flow conversion requires explicit confirmation. Flow literals cannot be converted from the Canvas.
For Schema and Experience literals that have review candidates (see Canvas Review and Provenance), conversion requires a candidate that is accepted with matching content:
CONFLICT with Literal candidate must be accepted before conversion.The gate constrains reviewed content. It does not require every literal to have been reviewed.
The definition artifact pinned by the literal must be a valid definition of the resource type being created:
BAD_REQUEST with Definition artifact pin is invalid.BAD_REQUEST with Invalid <Schema|Experience|Flow> definition artifact.On success:
<type>:reference node that points to the new resource.Converted <type> literal <nodeId>, and it becomes the current version.For a Flow, the Flow is no longer associated with the Canvas.
Earlier Canvas versions still show the literal node. Conversion does not rewrite history.
If a resource with the same name and type already exists in the Space, conversion returns:
CONFLICT A <resourceType> named "<name>" already exists in this spaceThe result includes an editor URL for the created resource:
Resource type | URL |
|---|---|
|
|
|
|
|
|