getJourney

Topics: Surfaces

Fetch a single journey by ID, if the caller may see it.

Returns

Journey

Arguments

id

JourneyID!Required

TypeID of the journey to fetch (prefix jny). Returns null when it does not exist or the caller's scope/domain grants do not admit it — a hidden journey is indistinguishable from a missing one.

Exact field SDL
"""Fetch a single journey by ID, if the caller may see it."""
getJourney(
  """
  TypeID of the journey to fetch (prefix `jny`). Returns null when it does not exist or the caller's scope/domain grants do not admit it — a hidden journey is indistinguishable from a missing one.
  """
  id: JourneyID!
): Journey @topic(names: ["surfaces"])

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