โ† API reference
Query / jobs

listScheduleScenarios

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

Arguments

firstInt

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

lastInt

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

afterString

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

beforeString

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.

Returns ScheduleScenarioConnection!

Scalar fields at a glance

totalCountInt
โ†— View the complete ScheduleScenarioConnection type

Explore in a view

Production Floor
View exact 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"])

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