The Kelvin SmartApp™ name to filter the Asset list. It must contain only lowercase alphanumeric characters. The characters ., _ and - are allowed to separate words instead of a space BUT can not be at the beginning or end of the name.
app_versions
No
1.0.1
Filter the results on the Kelvin SmartApp™ versions
enabled_states
No
Options are true or false
Filter whether the Kelvin SmartApp™ is currently processing data from the Asset
resources
No
krn:asset:beam_pump_16
Filter for only certain Assets
statuses
No
Options are running, stopped, staged, updating.
Filter on the status of the Kelvin SmartApp™ for the Asset.
A Kelvin SmartApp™ can be processing many thousands of Assets at the same time. Kelvin UI makes it easy to monitor the status of all these Assets and quickly add or delete Assets to the Kelvin SmartApp™.
You can list all Assets used by a Kelvin SmartApp™.
To see a full list of Assets running a certain , go to SmartApps™ dashboard page and select the Kelvin SmartApp™.
Click on the Management tab, and click on the Assets tab. Here you can see a list of Assets and the configuration options for the Kelvin SmartApp™.
fromkelvin.api.clientimportClient# Loginclient=Client(url="https://beta.kelvininc.com",username="<your_username>")client.login(password="<your_password>")# List Assets in SmartAppresponse=client.apps.list_app_resources(app_name="doc-demo-smartapp")print(f'Found {len(response)} assets for doc-demo-smartapp')forassetinresponse:print(f' - {asset.resource} (enabled: {asset.enabled})')