โ† API reference
Query / jobs

listMilestones

List milestones with pagination and filtering. Requires milestone:list permission.

Arguments

firstInt

Number of items from the start

lastInt

Number of items from the end

afterString

Cursor to start after

beforeString

Cursor to start before

Filter criteria

Sort order

Returns MilestoneConnection!

Scalar fields at a glance

totalCountInt
โ†— View the complete MilestoneConnection type

Explore in a view

Production Floor
View exact SDL
"""
List milestones with pagination and filtering. Requires milestone:list permission.
"""
listMilestones(
  """Number of items from the start"""
  first: Int
  """Number of items from the end"""
  last: Int
  """Cursor to start after"""
  after: String
  """Cursor to start before"""
  before: String
  """Filter criteria"""
  filter: MilestoneFilterInput
  """Sort order"""
  sort: [MilestoneSortInput!]
): MilestoneConnection! @topic(names: ["jobs"])

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