Skip to content
Proud to collaborate with Microsoft for Startups

data.neon.branch.persist ​

Persist a NeonBranch row (create or restore)

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-neon
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes——
cloud_connection_uuiduuidYes——
neon_project_uuiduuidNo——
neon_project_idstringYes——
neon_branch_idstringYes——
namestringNo——
is_primarybooleanNo——
neon_parent_idstringNo——
endpoint_hoststringNo——
endpoint_metadatajsonNo——
provider_metadatajsonNo——
actorstringNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
neon_branch_uuiduuidYes——
neon_branch_idstringYes——
createdbooleanYes——
restoredbooleanYes——
persisted_atstringYes——
failure_reasonstringNo—Engine-stamped human-readable failure reason
failed_at_statestringNo—Engine-stamped state when the workflow failed
failed_stepstringNo—Engine-stamped step name (DAG path)
failed_layerintegerNo—Engine-stamped layer index (DAG path)
errorstringNo—Engine-stamped exception message
error_typestringNo—Engine-stamped exception class name
failure_typestringNo—Engine-stamped failure category (atomic path)
failed_actionstringNo—Engine-stamped action method that raised (atomic path)

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—completePersist branch
completedNoYesYes—Persisted
failedNoYesNo—Persist failed

State Diagram ​

Transitions ​

FromActionToDescription
pendingcompletecompleted—
pendingfailfailed—

API Usage ​

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

{
  "workflow_type": "data.neon.branch.persist",
  "initial_data": {
    "organization_uuid": "value",
    "cloud_connection_uuid": "value",
    "neon_project_id": "value",
    "neon_branch_id": "value"
  }
}