The Device Manager API provides comprehensive device inventory management for Lamassu IoT. It enables you to manage device lifecycles, organize devices into dynamic hierarchical groups, and retrieve detailed statistics.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/lamassuiot/lamassuiot/llms.txt
Use this file to discover all available pages before exploring further.
Base URL
Authentication
All Device Manager API endpoints require JWT authentication using the Bearer token scheme.Key Features
Device Lifecycle Management
- Create, read, update, and delete devices
- Manage device metadata and identity slots
- Decommission devices when no longer in use
- Filter and search devices by multiple criteria
Dynamic Device Groups
- Organize devices using flexible filter criteria
- Build hierarchical group structures with parent-child relationships
- Automatically populate groups based on device attributes (tags, status, DMS, metadata)
- Query devices and statistics per group
Device Statistics
- Retrieve device counts by status
- Filter statistics by DMS, tags, metadata, and other fields
- Get group-specific statistics
Device Status Types
Devices can have the following status values:NO_IDENTITY- Device has no identity assignedACTIVE- Device is active and operationalRENEWAL_WINDOW- Device certificate is in renewal windowABOUT_TO_EXPIRE- Device certificate is about to expireEXPIRED- Device certificate has expiredREVOKED- Device certificate has been revokedDECOMMISSIONED- Device has been decommissioned
Filtering
The Device Manager API supports powerful filtering capabilities across device and device group endpoints.Filter Syntax
Filters use the format:field[operator]:value
Common Filter Operators
String Operators:eq- Equal (case-sensitive)eq_ic- Equal ignore casene- Not equal (case-sensitive)ne_ic- Not equal ignore casect- Contains (case-sensitive)ct_ic- Contains ignore casenc- Not contains (case-sensitive)nc_ic- Not contains ignore case
contains- Contains value (case-sensitive)contains_ic- Contains value ignore case
eq- Equalbf- Beforeaf- After
eq- Equalne- Not equal
Filter Examples
Pagination
List endpoints support pagination using bookmarks:Number of results per page
Pagination token from previous response’s
next fieldPagination Example
Sorting
List endpoints support sorting:Field name to sort by
Sort direction:
asc or descSorting Example
Next Steps
Device Operations
Create, read, update, and delete devices
Device Groups
Organize devices with dynamic groups
Statistics
Retrieve device statistics and metrics
