getJourneyVersion

Topics: Surfaces

Fetch one journey version by ID. Returns null when the journey is not visible to the caller, and when the version is still an open draft and the caller is not its author — matching what listJourneyVersions would show.

Returns

JourneyVersion

Arguments

TypeID of the journey version to fetch (prefix jnv).

Exact field SDL
"""
Fetch one journey version by ID. Returns null when the journey is not visible to the caller, and when the version is still an open draft and the caller is not its author — matching what `listJourneyVersions` would show.
"""
getJourneyVersion(
  """TypeID of the journey version to fetch (prefix `jnv`)."""
  id: JourneyVersionID!
): JourneyVersion @topic(names: ["surfaces"])

Declared on Query. Access is checked by the platform for each operation.