Use Cases/Guides

Configuration Audit

SitePro Configuration Audit

The SitePro API enables you to retrieve full site configurations and compare them against a defined master standard. This allows teams to perform automated configuration audits, ensuring consistency across sites and preventing drift over time.

By regularly validating configurations, organizations can maintain standardized deployments, reduce errors, and ensure compliance with internal or regulatory requirements.

Endpoint: /v1/config/site

Request

GET https://platform.sitepro.com/v1/config/site?siteId={siteId}

curl -X GET 
  -H "Authorization: <JWT_Token>"
  "https://platform.sitepro.com/v1/config/site?siteId={siteId}"

Response

Returns a single object with five arrays. Each array contains fully detailed objects for that equipment type, including hardware register mappings.

ArrayContains
devicesHardware I/O devices and their Modbus register definitions.
sensorsAll sensors on the site - units, conversion settings, min/max ranges, and register references. Typically the largest array (50-150+ items).
metersFlow meters linked to their sensors and flow register mappings.
pumpsPumps with linked sensors (head pressure, suction, vibration) and VFD register mappings.
tankGroupsTank groups with capacity, height limits, oil/water layer settings, and linked sensor IDs.

Note: Objects across the five arrays link to each other via ID fields - for example, a pump references its sensors by SiteSensorID and its meter by SiteFlowMeterID. Use these to build your equipment relationships after loading the config.

Lighter Alternatives

EndpointUse when...
GET /v1/config/site/lightYou need equipment config but not full register-level detail.
GET /v1/config/site/compactYou only need basic equipment identity and linkage.
GET /v1/config/updates/siteYou want only what has changed since a given date (requires startDate query param).

How It Works

  1. Retrieve Site Configurations
    Pull current configuration data for your sites using the API
  2. Define a Master Configuration
    Establish a baseline configuration to compare against
  3. Compare Configurations
    Programmatically identify differences between site configs and the master
  4. Flag or Report Drift
    Highlight mismatches, missing components, or unexpected changes
  5. Take Action
    Update configurations manually or trigger automated correction workflows

What to Compare

Site Structure

  • Site IDs and naming conventions
  • Device and edge configurations
  • Enabled features or modules

Sensor Configuration

  • Sensor IDs and types
  • Units of measurement
  • Sensor-to-device mappings

Asset & Hierarchy Mapping

  • Equipment structure and relationships
  • Sensor alignment to assets
  • Organizational consistency across sites

Other Ways to Use this Endpoint

Standardization Across Sites

  • Ensure all sites follow the same configuration template
  • Quickly identify outliers or misconfigured locations

Automated Audit Reports

  • Generate reports highlighting configuration drift
  • Track changes over time for audit history

Deployment Validation

  • Verify new site setups match expected configurations
  • Catch setup issues early before impacting operations

Compliance & Governance

  • Ensure configurations meet internal standards
  • Support regulatory or operational audits with documented consistency