URL
API Key
x-api-key
IDLE
TWAIN Innovation Cloud · OPC UA Simulation Endpoint

Factory Metrics & Usage Console

Start a simulation, stream factory events, and inspect real-time OPC UA metrics — production cycles, energy, robot motion, asset health, billing, and more. Enter your API key to begin.

Cycles
Events
Failures
kWh
Production Cycles
Units Produced
Downtime Events
Failures
Interventions
Total Energy
kWh
Robot Distance
m
Heat:Low
High — click any card for details & use case
▶ Start a simulation session or enter your API key and click Reload to load live factory metrics.
Billing Summary — derived from /metrics aggregates · hover cards for description & use case
Load metrics first to populate billing data.
Invoice Detail
// Billing data will appear here after loading metrics.
Start Simulation Session

POST to /simulate/start to initialise a new factory simulation. The server generates a live event stream — production cycles, energy, robot motion, failure events, and more.

Factory API Key * required to start
🔑
cURL — Start Simulation
curl -X POST https://twainopcua.compliancetest.net/simulate/start \ -H "x-api-key: factory_001"
cURL — Get Metrics
curl https://twainopcua.compliancetest.net/metrics \ -H "x-api-key: factory_001"
cURL — Get Billing
curl https://twainopcua.compliancetest.net/billing \ -H "x-api-key: factory_001"
Response
// Response will appear here after starting simulation
Raw API Responses
GET /metrics
// Load metrics to see raw response
GET /billing
// Load billing to see raw response