This page lists the objects and functions available in OI OData, grouped by area. To view the complete list of fields available for each object, open the $metadata endpoint in a browser: https://<your-oi-server>/<service-root>/odata/$metadata
The Kind column in the tables below indicates how data for each object is accessed and processed:
- Live: Data is retrieved first, then filtered, sorted, and grouped in memory. Up to 5,000 source rows are processed.
- Database: Data is read directly from the database. Filtering and grouping are performed in SQL across all rows. OI query functions are available, and these can be used in Union and $crossjoin unless stated otherwise.
Asset model and data sources
See Asset Model and Data Sources.
| Object | Key | Kind | What it holds |
|---|---|---|---|
| Entities | Name | Database | Entities (assets), with their templates and Metadata |
| EntityMetadataFields | Name | Database | Metadata Fields an asset can carry, such as another system's ID |
| EntityMetadata | Id | Database | Each asset's Metadata Field values. Not available in Union or $crossjoin. |
| Hierarchies | Name | Database | Named entity trees. Not available in Union or $crossjoin. |
| EntityRelationships | Id | Database | Parent-to-child links in a hierarchy |
| Templates | Name | Live | Templates (asset classes) |
| TemplateDefinitions | Name | Database | Templates, with attributes |
| Attributes | TemplateName, Name | Live | Measurements on a template |
| AttributeValues | TemplateName, AttributeName, Name | Live | Attribute variants, bound to a tag or calculation |
| TemplateInstances | Id | Database | Which entities use which templates |
| AttributeValueInstances | Id | Database | Per-entity values and target tags. Not available in Union or $crossjoin. |
| Tags | Name | Live | Historian and SCADA points |
| TagDefinitions | Name | Database | Tags |
| Calculations | Name | Live | Every dataset of every type |
| Datasets | Name | Database | Datasets |
| Datasources | Name | Database | Connected source systems |
Entries, Shift Log and Case Management
See Entries, Shift Log and Case Management.
Objects whose names start with Sapi are read through SAPI, Explorer's own server API, the same way Explorer itself reads them.
| Object | Key | Kind | What it holds |
|---|---|---|---|
| SapiCases | Id | Live | Cases, with one column per form field |
| SapiIssues | Id | Live | Issues, with one column per form field |
| SapiSummaries | Id | Live | Summaries, with one column per form field |
| SapiTimeWindows | Id | Live | Time windows, with one column per form field |
| SapiComments | Id | Live | Comments |
| EntryRecords | Id | Database | Every entry, for counts and trends |
| EntryForms | Id | Database | Entry-to-form links |
| EntryFieldForms | EntryFieldId, EntryFormId | Database | Field-value-to-form links. Not available in Union or $crossjoin. |
| Forms | Id | Database | Form definitions |
| FormSchemas | Id | Database | Schemas behind forms |
| FormFields | Name | Database | Field definitions |
| NamedLists | Name | Database | Picklists |
| EntryAuditLogs | Id | Database | Field change history |
| EntryChanges | AuditLogId, EntryFormId | Database | Field change history, once per form of the entry. Not available in Union or $crossjoin. |
| EntryAttachments | Id | Database | Attached files. Download at EntryAttachments(<Id>)/$value. Not available in Union or $crossjoin. |
| LogSheets | Id | Live | Log sheet definitions and columns |
| LogSheetRows | LogSheetId, Timestamp | Live | Log sheet readings. Not available in Union or $crossjoin. |
Sentinel
See Sentinel.
| Object | Key | Kind | What it holds |
|---|---|---|---|
| SentinelEvents | EventId | Database | Sentinel events |
Workspaces, workbooks and pages
See Workspaces, Workbooks and Pages.
| Object | Key | Kind | What it holds |
|---|---|---|---|
| Workbooks | Id | Database | Workbooks |
| Pages | Id | Database | Pages and trends |
| WorkbookPublishHistory | Id | Database | Workbook publish history |
| WorkbookActivity | WorkbookId, EntryFieldValueId, EntryFormId | Database | Workbook usage rows. Not available in Union or $crossjoin. |
| WorkbookReferences | AuditLogId, WorkbookId | Database | Each time an entry's Workbook field was set to a workbook. Not available in Union or $crossjoin. |
| PageActivity | PageName | Database | Every page ever opened, with when it was last used. Not available in Union or $crossjoin. |
Usage analytics and security
See Usage Analytics and Security.
| Object | Key | Kind | What it holds |
|---|---|---|---|
| AnalyticsEvents | Id | Database | Raw usage events |
| AnalyticsEventDetails | Id | Database | Usage events with details as columns. Not available in Union or $crossjoin. |
| UserGroupActivity | EventId, UserGroupUserId | Database | Usage events, once per security group of the user. Not available in Union or $crossjoin. |
| UserRoles | Id | Database | User-to-role membership |
| UserGroupUsers | Id | Database | User-to-group membership |
| UserGroupRoles | Id | Database | Group-to-role membership |
Functions
| Function | Area | Described in |
|---|---|---|
| Union | All database objects | Combining Data |
| $crossjoin | All database objects | Combining Data |
| LastEntryPerWorkbook | Entries, workbooks | Entries |
The OI query functions (OI.daysago, OI.iif, OI.tonumber, OI.attimezone and others) and the OI.stringagg aggregate are used inside queries rather than called on their own.
Other OI modules
A-Plus, Field Operator, Verify and Well Test don't have objects of their own in OI OData. Their entries appear in SapiCases, SapiIssues, SapiSummaries, SapiTimeWindows and EntryRecords according to the forms they use, and their assets, templates and tags appear in the asset model objects.