Skip to main content
Get a list of devices.
External DocumentationTo learn more, visit the Sevco documentation.

Basic Parameters

ParameterDescription
MetadataThe metadata to filter by.
QueryA JSON object defining the query to filter the results by.

For example:
{
“rules”: [
{
“operator”: “exists”,
“field”: “org_ui”,
“value”: “example”
},
{
“operator”: “exists”,
“field”: “hostnames”,
“value”: “example”
}
],
“combinator”: “and”
}

For more information, please refer to Sevco’s documentation.
Return All PagesAutomatically fetch all resources, page by page.
SortAn array of sorting criteria objects.
[
{
“field”: “last_observed_timestamp”,
“direction”: “asc”
},
{
“field”: “last_activity_time”,
“direction”: “desc”
}
]

For more information, please refer to Sevco’s documentation.

Advanced Parameters

ParameterDescription
PageThe page number to get results from.
Per PageThe maximum number of results to return per page.
TotalThe total number of devices.

Example Output

{
	"items": [
		{
			"id": "string",
			"last_observed_timestamp": "string",
			"last_activity_time": "string",
			"first_observed_timestamp": "string",
			"org_id": "string",
			"version": "string",
			"attributes": {
				"os": "string",
				"ips": [
					"string"
				],
				"groups": [
					null
				],
				"hostnames": [
					"string"
				],
				"os_category": "string",
				"recent_users": [
					null
				],
				"mac_addresses": [
					"string"
				],
				"mac_manufacturers": [
					"string"
				],
				"distinguished_name": "string"
			},
			"sources": [
				{
					"config_id": "string",
					"id": "string",
					"last_observed_timestamp": "string",
					"last_activity_timestamp": "string",
					"source": "string",
					"version": "string"
				}
			]
		}
	],
	"pagination": {
		"page": 0,
		"per_page": 0,
		"total": 0
	}
}

Workflow Library Example

List Devices with Sevco and Send Results Via Email
Workflow LibraryPreview this Workflow on desktop