Get all SDTs for a Device Group

Last updated on 14 September, 2020

With LogicMonitor’s REST API you can programmatically get the SDTs for the device groups in your account.

Note: As with all of our API calls, authentication is required.


URI: /device/groups/{id}/sdts

Request Parameters: By default, a list of 50 SDT properties will be returned for each result. You can include sort, filter, fields, size and offset parameters in your request to control what data is included in the response and how it is formatted.




Example URI

sort sort={+ or -}property Sorts the response by the property specified in either increasing (+) or decreasing (-) order /device/groups/76/sdts?sort=-sdtType
filter filter=property:value Filters the response to include only the results that have the specified value for the specified property /device/groups/12/sdts?filter=deviceDisplayName~prod
fields fields={list of properties separated by commas} Filters the response to only include the following fields for each object /device/groups/32/sdts?fields=deviceDisplayName,id,sdtType
size size=integer The number of results to display /device/groups/54/sdts?size=5
offset offset=integer The number of results to offset the displayed results by /device/groups/id/sdts?offset=2