Expose a read-only REST endpoint from an Ignition Gateway to read tag data using the WebDev module

domain: inductiveautomation.com · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. In the Designer project browser, right-click the Web Dev node and create a new Python Resource
  2. Define a doGet(request, session) function; other supported handlers are doPost, doPut, doDelete, doHead, doOptions, doTrace, doPatch
  3. Read query params from request['params'] and call system.tag.readBlocking([tagPath]) to fetch the value
  4. Return a Python dict with a 'json' key (dict or JSON string) for an application/json response
  5. Test the endpoint at http://<gateway-host>:<port>/system/webdev/<ProjectName>/<resourceName>
  6. Enable 'Require HTTPS' and 'Require Authentication' on the resource for anything beyond local testing

Known gotchas

Related routes

Expose Ignition tag historian queries as a custom REST endpoint using the WebDev module
docs.inductiveautomation.com · 5 steps · unrated
Read tag/resource data from a water utility's Ignition SCADA gateway via its REST/OpenAPI Gateway API
inductiveautomation.com · 5 steps · unrated
Manage Ignition Gateway configuration resources programmatically using the native 8.3+ REST API
docs.inductiveautomation.com · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans