Skip to content

JourneyVersion ​

Type: Object

One immutable-once-published snapshot of a journey definition. The authoring history returned by listJourneyVersions.

Fields ​

NameTypeArgsDescriptionDeprecated
createdAtISO8601!ISO-8601 timestamp of when this version was first opened as a draft; publishing does not change it.
definitionString!The journey definition as a verbatim JSON document (spec schema 2) — the author's exact bytes, validated at write time against journey.schema.json and the live GraphQL schema, but stored unmodified.
idJourneyVersionID!TypeID of this version (prefix jnv, e.g. "jnv_01K…").
journeyIdJourneyID!TypeID of the journey this version belongs to (prefix jny).
statusJourneyStatus!DRAFT while the version is editable and never served to runners; PUBLISHED once publishJourney promotes it, after which it is immutable. Several DRAFT versions may be open at once — editing a journey amends the newest, while createJourneyVersion always mints another — and publishing promotes the one it names, leaving the rest open.
versionInt!Monotonic version number within the journey, starting at 1. A new draft takes the next number; re-saving an open draft overwrites it in place, so numbers are not consumed per edit.

Connect machines, automate workflows, and build custom apps for print production.