Use the Skykit Control API to manage tenant devices. This includes defining a configuration for how the device should function and support for device administration actions called commands.
See the Skykit API doc for setup instructions. Setup involves creating a public/private key and sending the public key to Skykit. When the key is ready you can use it to issue requests such as the device request to view details of a device.
Many of the Skykit API requests work in the background. See Bulk Jobs and Status for details on how that works.
Some longer running tasks such as generating reports or taking screenshots require more than one request. See the flow diagram for screenshots for an example of polling a job and fetching a download URL for the resulting artifact.