ProductionQu Query

listScheduleScenarios

Topics: Jobs

List the caller's tenant's schedule scenarios as a keyset-paginated connection. Requires scheduleScenario:list permission.

Returns

ScheduleScenarioConnection!

Arguments

first

IntOptional

Number of scenarios to take from the start of the page window (forward pagination).

last

IntOptional

Number of scenarios to take from the end of the page window (backward pagination).

after

StringOptional

Opaque cursor from a previous page; returns scenarios positioned after it.

before

StringOptional

Opaque cursor from a previous page; returns scenarios positioned before it.

Criteria narrowing which scenarios are returned. Omit to list all in the tenant.

Ordering terms. The first term's direction drives the createdAt keyset walk (DESC when omitted); further terms are applied as tie-breakers.

Exact field SDL
"""
List the caller's tenant's schedule scenarios as a keyset-paginated connection. Requires scheduleScenario:list permission.
"""
listScheduleScenarios(
  """
  Number of scenarios to take from the start of the page window (forward pagination).
  """
  first: Int
  """
  Number of scenarios to take from the end of the page window (backward pagination).
  """
  last: Int
  """
  Opaque cursor from a previous page; returns scenarios positioned after it.
  """
  after: String
  """
  Opaque cursor from a previous page; returns scenarios positioned before it.
  """
  before: String
  """
  Criteria narrowing which scenarios are returned. Omit to list all in the tenant.
  """
  filter: ScheduleScenarioFilterInput
  """
  Ordering terms. The first term's direction drives the createdAt keyset walk (DESC when omitted); further terms are applied as tie-breakers.
  """
  sort: [ScheduleScenarioSortInput!]
): ScheduleScenarioConnection! @topic(names: ["jobs"])

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