Get device declaration state
getDeviceDeclarationStateCheck a device's declarative management state: which declarations are applied, their status and validity, and reasons for any failures. Identify the device by UUID or name substring.
Instructions
Report the declarative device management (DDM) state for one device: which declarations are applied, their status and validity, and — for anything that failed — the reasons Jamf gives. The companion to listBlueprints, since a Blueprint deploys declarations and this says whether they landed. Accepts a device UUID, or a substring of a name, serial, model or user; an ambiguous substring returns candidates rather than guessing. NOTE: Jamf excludes PENDING declarations from any filtered read, so a device mid-deployment will look emptier than it is — see excludedFromThisAnswer in the result.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | Yes | Device UUID, or a substring of the device name, serial, model or user id | |
| filter | No | RSQL filter. Jamf requires one, so this defaults to "declarationIdentifier==*" (match all). Filter fields: declarationIdentifier, active, declarationType, validityState, dateUpdated, channel. Wildcards on declarationIdentifier are case-insensitive, e.g. "declarationIdentifier==Blueprint_*". | |
| includeChannels | No | Also list the device's available DDM channels. Defaults to true. |