OneVision icon

OneVision

Interact with OneVision Workspace Server REST API

Statistics → Get History Machines

AI-generated

Summary

Retrieve historical machine statistics from OneVision Workspace over a specified timeline, optionally filtered by a string to narrow down the results.

Inputs

  • Timeline (required) — Selects the timeline period for the historical data: Day, Week, Month, or Year.
  • Filter — An optional string to filter the results, such as by assembly line name or module name.

Output shape

a list of historical machine statistics records as JSON objects

Results correspond to the specified timeline and optional filter. The output array contains one item per matched record.

Examples

Example 1: Get machine history data aggregated daily without filters

Set Timeline to 'Day' and leave Filter empty.

Example 2: Get machine history data filtered by assembly line name aggregated weekly

Set Timeline to 'Week' and provide an assembly line name in Filter parameter.

Discussion