The Application 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 Application versions
enabled_states
No
Options are true or false
Filter whether the Application 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 Application for the Asset.
A Application 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 Application.
You can list all Assets used by a Application.
To see a full list of Assets running a certain , go to Applications dashboard page and select the Application.
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 Application.
fromkelvin.api.clientimportClient# Loginclient=Client(url="https://beta.kelvininc.com",username="<your_username>")client.login(password="<your_password>")# List Assets in Applicationresponse=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})')