Endpoint Key Values

The Key Values view allows you to store and manage custom metadata for individual endpoints.

Key Values

The Key Values tab allows you to store and manage custom metadata for individual endpoints. This provides a flexible way to associate application-specific information with each device.


Accessing Key Values

To view endpoint key values:

  1. Navigate to Inventory → Endpoints
  2. Select an endpoint
  3. Open the Key Values tab

What Are Key Values?

Key Values are custom key-value pairs attached to an endpoint.

  • Key — A unique identifier for the data (e.g. vehicle_id)
  • Value — The associated value (e.g. TRUCK-001)

They allow you to store metadata relevant to your specific use case.


Scope

Key values are stored at the endpoint level and are not inherited from Endpoint Groups or other configuration objects.


Common Use Cases

Fleet Management

KeyExample ValuePurpose
vehicle_idTRUCK-001Links the SIM to a specific vehicle
license_plateABC1234Vehicle registration tracking
driver_nameJohn SmithDriver assignment
fleet_codeFLEET-EAST-01Fleet or division identification

Asset Tracking

KeyExample ValuePurpose
asset_tagAST-2024-0001Internal asset identification
locationWarehouse ACurrent or assigned location
serial_numberSN987654321Manufacturer serial number
purchase_date2024-01-15Asset registration date

Industrial IoT

KeyExample ValuePurpose
sensor_typetemperatureType of sensor
installation_date2024-03-01Installation date
firmware_version2.1.0Device firmware version
machine_idMCH-Assembly-01Associated equipment

Healthcare / Medical

KeyExample ValuePurpose
patient_idPT-12345Associated patient (if applicable)
device_modelMedMonitor-X1Device model
calibration_date2024-02-01Last calibration date
location_roomOR-3Room or area location

Managing Key Values

Adding Key Values

Key values can be added through:

  1. Portal — manually via the endpoint details page
  2. API — programmatically via the Stacuity API

Key Value Events

When a key value is updated, an event is generated.

  • Event type: EndpointKeyValueUpdated_v1

These events can be used for:

  • Webhooks — notifying external systems
  • Event Handlers — triggering automated workflows
  • Audit logging — tracking changes over time

API Access

Key values can be accessed via authenticated API calls, enabling:

  • Programmatic updates
  • Integration with external systems
  • Retrieval of endpoint metadata

Data Format

Key values store simple key-value pairs (string-based data), which can represent:

  • Identifiers (vehicle IDs, asset tags)
  • Status information
  • Configuration metadata
  • Location references
  • Any custom application data

Reading Key Values

Key values can be accessed through:

  • API — retrieve values programmatically
  • Events — receive updates when values change
  • Portal — view values in the endpoint details

Best Practices

Naming Conventions

  • Use consistent naming (e.g. lowercase with underscores)
  • Avoid special characters
  • Use clear, descriptive key names

Value Management

  • Keep values concise
  • Update values only when necessary
  • Use consistent formats for similar data

Security

  • Avoid storing sensitive information (e.g. passwords or personal data)
  • Use secure API access when integrating with external systems