← API reference
Mutation / surfaces

createJourneyVersionFromSource

Compile Journey XML into a new draft version under an existing journey, preserving prior versions.

Arguments

Parent journey and authoritative XML for the new draft version.

Returns JourneyVersionPayload!

Explore in a view

Journeys and Workspaces
View exact SDL
"""
Compile Journey XML into a new draft version under an existing journey, preserving prior versions.
"""
createJourneyVersionFromSource(
  """Parent journey and authoritative XML for the new draft version."""
  input: CreateJourneyVersionSourceInput!
): JourneyVersionPayload! @topic(names: ["surfaces"])

Schema reference describes the API contract. Actual access is checked by the platform for every operation.