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.
Introduction
The Alerts API provides event monitoring and notification capabilities for the Lamassu IoT Platform. Users can subscribe to specific event types and receive notifications through various channels when events occur.Base URL
Authentication
All Alerts API endpoints require Bearer token authentication using JWT tokens.API Groups
The Alerts API is organized into two main groups:Events
Inspect and monitor the latest events per event type:- Retrieve the most recent event for each event type
- View event metadata including timestamp and occurrence count
Subscriptions
Manage user alert subscriptions:- List all subscriptions for a user
- Subscribe to specific event types
- Unsubscribe from events
- Configure notification channels
- Set conditional filters for events
Key Features
Multi-Channel Delivery
Receive notifications via Email, Microsoft Teams, or custom webhooks
Conditional Filters
Subscribe to events with specific conditions using JSON Schema, JSONPath, or JavaScript expressions
Event Monitoring
Track the latest events and their occurrence counts per event type
Flexible Subscriptions
Each user can manage their own subscriptions independently
Supported Notification Channels
Microsoft Teams
Send notifications to Microsoft Teams channels:Webhooks
Integrate with custom systems via HTTP webhooks:Subscription Conditions
Filter events using three condition types:JSON Schema
Validate event payload against a JSON Schema:JSONPath
Filter events using JSONPath expressions:JavaScript
Use JavaScript expressions for complex filtering:Common Event Types
Typical event types in the Lamassu platform:- Certificate Issued - New certificate issued
- Certificate Revoked - Certificate revoked
- Certificate Expiring - Certificate nearing expiration
- Device Enrolled - New device enrolled
- Device Removed - Device removed from system
- CA Created - New Certificate Authority created
- CA Expired - Certificate Authority expired
- DMS Created - New DMS instance created
- Enrollment Failed - Device enrollment failed
Common Use Cases
Monitor Critical Certificate Events
Alert on Enrollment Failures
Track High-Value Device Changes
Next Steps
Events
Monitor the latest events
Subscriptions
Manage alert subscriptions
