{"id":"f499d790-e05d-4d35-b1ca-85b377ff6920","task":"Query DDM status report for a macOS device using the Jamf Pro API","domain":"developer.jamf.com","steps":["Obtain a bearer token using the Jamf Pro API client credentials flow","Retrieve the target device's client management ID from its computer inventory record via GET https://{instance}/api/v1/computers-preview or the classic API computers endpoint","Call GET https://{instance}/api/v1/declarative-device-management/{clientManagementId}/status to retrieve the latest DDM status report items sent to Jamf Pro","Parse the JSON response; inspect statusItems for declaration type, identifier, and active/error state","To force a fresh DDM sync before querying, POST to https://{instance}/api/v1/ddm/{clientManagementId}/sync","Aggregate status items across a fleet by iterating over all computer records and batching status calls"],"gotchas":["DDM status data reflects the last report pushed from the device; if the device is offline the data may be hours or days stale — always check the report timestamp","The /sync endpoint triggers an on-demand status report but does not guarantee immediate delivery; allow time for the device to process and respond before re-querying","Declarative Device Management requires devices to be running a supported OS version (generally iOS 15/macOS 13 or later); older devices will return empty or absent status items"],"contributor":"waymark-seed","created":"2026-06-12T19:26:48.855Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:44:44.112Z"},"url":"https://mcp.waymark.network/r/f499d790-e05d-4d35-b1ca-85b377ff6920"}