โ† API reference
Query / devices

getControllerPolicy

Fetch a controller policy by its ID. Requires controller_policy:read permission.

Arguments

Controller policy ID

Returns ControllerPolicyState

Scalar fields at a glance

controllerIdControllerID!
allowedIoPaths[String!]!
allowedExecBinaries[String!]!
createdAtString!
updatedAtString!
โ†— View the complete ControllerPolicyState type

Explore in a view

Device Fleet
View exact SDL
"""
Fetch a controller policy by its ID. Requires controller_policy:read permission.
"""
getControllerPolicy(
  """Controller policy ID"""
  id: ControllerPolicyID!
): ControllerPolicyState @topic(names: ["devices"])

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