โ† API reference
Query / devices

listControllerPolicies

List controller policies with pagination. Requires controller_policy:list permission.

Arguments

firstInt

Number of items to return from the start

lastInt

Number of items to return from the end

afterString

Cursor pointing to the item after which to start

beforeString

Cursor pointing to the item before which to start

Filter criteria

Sort order for results

Returns ControllerPolicyConnection!

Scalar fields at a glance

totalCountInt
โ†— View the complete ControllerPolicyConnection type

Explore in a view

Device Fleet
View exact SDL
"""
List controller policies with pagination. Requires controller_policy:list permission.
"""
listControllerPolicies(
  """Number of items to return from the start"""
  first: Int
  """Number of items to return from the end"""
  last: Int
  """Cursor pointing to the item after which to start"""
  after: String
  """Cursor pointing to the item before which to start"""
  before: String
  """Filter criteria"""
  filter: ControllerPolicyFilterInput
  """Sort order for results"""
  sort: [ControllerPolicySortInput!]
): ControllerPolicyConnection! @topic(names: ["devices"])

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