← API reference
Query / surfaces

listJourneys

List the caller's visible journey library (own personal + their teams' + instance).

Arguments

firstInt

Page size, 0 to 100 (default 25). A value outside that range returns a PAGE_SIZE_NEGATIVE or PAGE_SIZE_EXCEEDED error.

afterString

Cursor from a previous page's endCursor — the page starts at the journey after it. An unresolvable cursor is ignored and the first page is returned.

Optional handle / status filter, narrowing the journeys the caller may already see. It can never widen visibility.

Ordering clauses; only the first is applied. Defaults to UPDATED_AT descending.

Returns JourneyConnection!

Scalar fields at a glance

totalCountInt
↗ View the complete JourneyConnection type

Explore in a view

Journeys and Workspaces
View exact SDL
"""
List the caller's visible journey library (own personal + their teams' + instance).
"""
listJourneys(
  """
  Page size, 0 to 100 (default 25). A value outside that range returns a PAGE_SIZE_NEGATIVE or PAGE_SIZE_EXCEEDED error.
  """
  first: Int
  """
  Cursor from a previous page's `endCursor` — the page starts at the journey after it. An unresolvable cursor is ignored and the first page is returned.
  """
  after: String
  """
  Optional handle / status filter, narrowing the journeys the caller may already see. It can never widen visibility.
  """
  filter: JourneyFilterInput
  """
  Ordering clauses; only the first is applied. Defaults to UPDATED_AT descending.
  """
  sort: [JourneySortInput!]
): JourneyConnection! @topic(names: ["surfaces"])

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