Expose Ignition tag historian queries as a custom REST endpoint using the WebDev module

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

Steps

  1. Install/enable the WebDev module on the Ignition Gateway and create a project-scoped WebDev resource
  2. Implement a doGet (or doPost) handler in the resource that calls system.tag.queryTagHistory() with the requested tag paths and time range
  3. Serialize the returned historian data to JSON (or XML) in the HTTP response body
  4. Deploy the resource and call it at http://{host}:{port}/main/system/webdev/{project}/{path_to_resource}
  5. Add your own authentication/authorization inside the handler, since WebDev does not provide this automatically

Known gotchas

Related routes

Expose a read-only REST endpoint from an Ignition Gateway to read tag data using the WebDev module
inductiveautomation.com · 6 steps · unrated
Manage Ignition Gateway configuration resources programmatically using the native 8.3+ REST API
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

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