Read historian values (recorded or interpolated) from an AVEVA PI tag via PI Web API

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

Steps

  1. Authenticate over HTTPS using Basic auth, Kerberos/Windows auth, or OAuth2 bearer token, depending on how the service is configured
  2. Resolve the target WebID by path with GET /piwebapi/points?path=... for a PI point, or GET /piwebapi/attributes?path=... for an AF attribute
  3. GET /piwebapi/streams/{webId}/value?selectedFields=Timestamp;Value for the current snapshot value
  4. GET /piwebapi/streams/{webId}/recorded?startTime=*-2d&endTime=*-1d for compressed historian values over a time range
  5. GET /piwebapi/streams/{webId}/interpolated?startTime=*-1d&endTime=*&interval=1h for evenly spaced interpolated values
  6. For multiple tags in one call, use the StreamSet controller: GET /piwebapi/streamsets/recorded?webId={id1}&webId={id2}

Known gotchas

Related routes

Push or update a single value into a PI tag via PI Web API for integration testing
aveva.com · 6 steps · unrated
Query a water treatment plant's SCADA historian time-series data (flow, pressure, chlorine residual tags) via the AVEVA/OSIsoft PI Web API
aveva.com · 5 steps · unrated
Compute OEE-relevant rolled-up values (e.g. downtime event counts, average performance) from an AVEVA PI System asset using PI Web API
docs.aveva.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