โ† API reference
Query / devices

getControllerPolicyByController

Fetch a controller's policy by the controller ID (the natural key). Returns null if no policy is configured (default-deny).

Arguments

controllerIdControllerID!

Controller to look up

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's policy by the controller ID (the natural key). Returns null if no policy is configured (default-deny).
"""
getControllerPolicyByController(
  """Controller to look up"""
  controllerId: ControllerID!
): ControllerPolicyState @topic(names: ["devices"])

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