← API reference
CANONICAL TYPE REFERENCE

JourneyPayload

Result of a journey create / update / publish: either the resulting journey or the validation errors that prevented the write.

The journey as it stands after the mutation; null when errors is non-empty.

Field-level validation errors (e.g. an invalid definition, a TEAM-scoped journey with no teams, unknown team ids). Empty on success. Authorization failures are raised as GraphQL errors instead, not reported here.

View exact SDL
"""
Result of a journey create / update / publish: either the resulting journey or the validation errors that prevented the write.
"""
type JourneyPayload {
  """
  The journey as it stands after the mutation; null when `errors` is non-empty.
  """
  journey: Journey
  """
  Field-level validation errors (e.g. an invalid definition, a TEAM-scoped journey with no teams, unknown team ids). Empty on success. Authorization failures are raised as GraphQL errors instead, not reported here.
  """
  errors: [FieldError!]!
}

One stable address across all schema views. Follow a field’s type to explore connections between domains.