Agent-readable docs index: /llms.txt. Full docs in one file: /llms-full.txt. Download /docs.zip to grep all markdown files locally.

Domotz

Domotz connects Stackyapper to your network agents, discovered devices, uptime and round-trip delay history, inventory, network topology, IP conflicts, SNMP sensors, alert profiles, and managed power outlets.
See the Domotz tools and API reference to match any Stackyapper domotz_* tool to its Domotz Public API v1 endpoint, access level, and confirmation requirement.

How authentication works

Domotz uses an Organization connection in Stackyapper. A workspace owner or admin saves two values:
  • Domotz API key: sent in the X-Api-Key header.
  • API region (us or eu): selects the matching Domotz regional Public API cell (https://api-us-east-1-cell-1.domotz.com/public-api/v1 for us, or https://api-eu-west-1-cell-1.domotz.com/public-api/v1 for eu).

Prepare Domotz

Create a Domotz API key and confirm your account’s API region before connecting in Stackyapper.
  1. Confirm your Domotz API region
    Check which Domotz regional API endpoint your account uses in the Domotz portal (see the Domotz Developer Portal):
    RegionValue to enter in StackyapperAPI host used
    USushttps://api-us-east-1-cell-1.domotz.com/public-api/v1
    EUeuhttps://api-eu-west-1-cell-1.domotz.com/public-api/v1
  2. Generate a Domotz API key
    1. Sign in to the Domotz portal as an administrator and open Settings → API Keys (or the Developer section).
    2. Create a new API key dedicated to Stackyapper and label it clearly (for example, Stackyapper).
    3. Copy the generated Domotz API key.
    Copy the API key when Domotz generates it and store it securely. Never paste API keys into chat messages or tickets.

Connect in Stackyapper

  1. Save the Domotz connection
    1. Open Apps → Domotz → Add connection in Stackyapper.
    2. Paste your Domotz API key.
    3. Enter your API region: us or eu.
    4. Select Save.
  2. Verify with a read-only call
    Run a small read (such as listing Domotz agents) and confirm the result in Audit before granting outlet control permissions.

Rotate credentials or change region

  • Rotate the API key: Generate a new key in Domotz, open Apps → Domotz → Manage connection in Stackyapper, enter the new Domotz API key, and save. Confirm a read succeeds before revoking the old key in Domotz.
  • Change the region: Update API region (us or eu) together with the API key belonging to that regional Domotz account.

Permissions and access controls

  • Access controls: Connecting Domotz does not grant every user every tool. Workspace owners and admins assign tools per group or user in Tools & access and App limits. See Understand access.
  • Power outlet confirmation: 17 of the 18 Domotz tools are read-only. The single destructive tool (domotz_power_outlet_control) cycles or toggles a managed power outlet and always requires explicit confirmation before running.

What your AI client can work with

Stackyapper’s Domotz app provides 18 reviewed tools (17 reads and 1 destructive power-control operation):
AreaExamples
Agents and devicesList agents, inspect agent and device details, uptime, round-trip delay history, device inventory
Network and topologyNetwork topology, network interfaces, IP conflict detection
Metrics and SNMPMonitored variables, variable history, SNMP sensors, sensor history
AlertsAlert profiles across the account and per device
Power outletsList managed power outlets and perform confirmed outlet actions
Domotz tools and API reference
Search all 18 Domotz tools and match each one to its Domotz Public API v1 endpoint, access level, and confirmation requirement.

Troubleshooting

Connection appears saved but calls fail immediately
Cause: The API region value is not us or eu (for example, it was entered in uppercase or as a full URL).
Fix: Open Apps → Domotz → Manage connection and enter lowercase us or eu in API region (us or eu).
Domotz returns 401 Unauthorized or 403 Forbidden
Cause: The API key is invalid or revoked, or the selected region (us vs eu) does not match the Domotz regional cell where the key was issued.
Fix: Confirm whether your Domotz account is hosted in the US or EU cell, match API region accordingly, and verify the key is active in Domotz.
Power outlet control is blocked or asks for confirmation
Cause: domotz_power_outlet_control is classified as destructive so an AI client cannot power-cycle equipment without approval.
Fix: Grant domotz_power_outlet_control only to authorized engineers in Tools & access, and approve the exact outlet action when prompted.