Skip to content
Proud to collaborate with Microsoft for Startups

composition.version ​

Append a new version to an existing composition lineage from a new definition

Append a new version to an existing composition lineage.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-composition
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes——
composition_uuiduuidYes—Any existing version of the lineage to extend
definitiondictYes——
descriptionstringNo——
created_by_uuiduuidNo——
tagslistNo——
source_session_uuiduuidNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
composition_uuiduuidYes——
lineage_uuiduuidNo—Stable lineage handle, carried across every version (ticket 142b6295)
superseded_versionslistNo—Prior active lineage versions archived by this write
workflow_typestringYes——
versionintegerYes——
statusstringYes——
validation_passedbooleanYes——
validation_errorslistNo——
validation_warningslistNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepstringNo——
failed_layerstringNo——
errorstringNo——
error_typestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—completeApply composition change
completedNoYesYes—Done
failedNoYesNo—Failed

State Diagram ​

Transitions ​

FromActionToDescription
pendingcompletecompleted—
pendingfailfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "composition.version",
  "initial_data": {
    "organization_uuid": "value",
    "composition_uuid": "value",
    "definition": "value"
  }
}