Assets API

Endpoints for accessing asset information in your organization. Assets represent inventory items that may or may not be enrolled as managed devices.

Available Endpoints

MethodEndpointDescription
GET/assetsList all assets with pagination and filtering
GET/assets/countGet total count of assets
GET/assets/{id}Get details of a specific asset
GET/assets/summaryGet aggregate fleet numbers: totals, a status breakdown and a security posture summary
GET/assets/{id}/commandsList the most recent commands sent to a device

List Assets

Returns a paginated list of assets with optional filtering. Results are sorted by syncedAt descending by default.

Query Parameters

FieldDescription
statusFilter by asset status (e.g., ACTIVE, INACTIVE)
policyFilter by assigned policy path name
pagePage number (0-indexed, default: 0)
sizePage size (default: 50, max: 100)
sortSort field and direction (e.g., syncedAt,desc)
lastSeenBeforeOnly assets last seen before this ISO-8601 instant, for example 2026-01-01T00:00:00Z. It must not be in the future or before 1970-01-01T00:00:00Z. Also supported by /assets/count.
curl "https://api.nomid.tech/emm/api/v1/assets?page=0&size=20" \
  -H "X-API-Key: nm_acme_abc123..."

Get Asset Count

Returns the total count of assets matching the filter criteria. Supports the same filter parameters as the list endpoint.

GET /assets/count

Get Asset

Returns detailed information about a specific asset by its ID, including all nested objects.

GET /assets/{id}

Find devices not seen recently

lastSeenBefore narrows a list or a count to devices whose record was last updated before the instant you give, which is a practical way to find offline devices. It works at minute granularity, so a device updated up to 59 seconds after the instant may still be included.

curl "https://api.nomid.tech/emm/api/v1/assets?lastSeenBefore=2026-09-01T00:00:00Z&status=ACTIVE" \
  -H "X-API-Key: $NOMID_API_KEY"

Fleet summary

GET /assets/summary needs DEVICES_READ and returns aggregate numbers only, never a device list.

totalDevicesTotal number of devices.
devicesByStatusDevice counts keyed by status.
securityPostureSecurity counts such as secureCount, atRiskCount and potentiallyCompromisedCount. riskyDeviceIds lists up to 10 device path names, worst first. riskyDeviceCount is the true total, and riskyDeviceIdsTruncated says whether the list was cut.

The security posture counts exclude Pico devices. The top-level totalDevices does not.

Command history

GET /assets/ASSET_ID/commands needs DEVICES_READ and returns the most recent commands sent to a device, newest first. limit defaults to 20 and is capped at 50. A limit below 1 returns 400, and an unknown asset returns 404.

typeThe command type, for example LOCK or NOTIFICATION_MESSAGE.
statusIN_PROGRESS, EXPIRED, SUCCESS or ERROR.
createdAtWhen the command was created.
feedbackAtWhen the device or provider reported back, if it has.
outcomeA short code that explains an ERROR or EXPIRED status.
curl "https://api.nomid.tech/emm/api/v1/assets/k3x9m2pa/commands?limit=5" \
  -H "X-API-Key: $NOMID_API_KEY"

Command payloads and sensitive data are never returned.

Send commands with the device commands API

Response Schema

Each asset object follows the PublicAssetDto structure with nested objects for custom data, hardware specifications, and managed device information.

Top-Level Fields

pathNameUnique asset identifier: a short code such as k3x9m2pa, with no slashes. Use it as the asset ID in URLs, for example /assets/k3x9m2pa.
identificationUser-friendly identifier or display name for the asset
statusCurrent asset status (ACTIVE, INACTIVE, etc.)
syncedAtISO 8601 timestamp of last synchronization
customDataObject containing custom metadata and tags
specificationsObject containing hardware specifications
managedDeviceObject containing EMM device info, or null if not enrolled

customData Object

Key-value pairs of custom metadata (e.g., department, location)

Array of string tags for categorization

specifications Object

Device serial number

Device model name

managedDevice Object

This object is null when the asset is not enrolled as a managed device in the EMM system.

Pagination

List endpoints return paginated results using Spring's Page format:

Choose Your Time

Loading...
Open booking calendar