Lua API
The AspenTech Inmation OT Data Fabric Lua API is the underlying application layer that powers platform behavior from within Inmation. It is not intended to be invoked directly by external web/HTTP clients. Instead, it provides the core building blocks used by Web API endpoints, scripts, and smart object logic.
Where the Web API is the external contract, the Lua API is the internal execution engine.
Why This Matters
-
Foundation for extensibility: implement domain-specific logic directly in the platform.
-
Operational intelligence at the source: run calculations and decisions close to operational data.
-
Consistent automation model: use shared Lua capabilities across scripts, endpoints, and object logic.
-
Controlled flexibility: standardize reusable logic while still allowing project-specific behavior.
What You Can Do With The Lua API
-
Data contextualization and enrichment.
-
Calculations, transformations, and rule-based logic.
-
Object and model configuration workflows.
-
Smart object behavior and orchestration patterns.
-
Reusable server-side logic that can be exposed through Web API endpoints when needed.
Relationship To The Web API
-
Web API: external, HTTP-based integration surface for applications and third-party systems.
-
Lua API: internal programming surface used to implement endpoint behavior and in-platform automation.
Together, they provide a layered architecture: a clean external interface for integration and a powerful internal logic layer for advanced behavior.
Typical Usage Pattern
-
Implement or compose business logic using the Lua API.
-
Reuse that logic in smart objects, scripts, and platform workflows.
-
Expose selected capabilities via standard or custom Web API endpoints.
This approach helps organizations move quickly from use-case idea to production-ready integration while keeping control over quality, governance, and maintainability.