OneVision icon

OneVision

Interact with OneVision Workspace Server REST API

Statistics → Get History Assembly Lines

AI-generated

Summary

Retrieve historical statistics for assembly lines aggregated by a specified timeline period such as day, week, month, or year, optionally filtered by a text string to limit results.

Inputs

  • Timeline (required) — Select the aggregation period for the historical data: day, week, month, or year.
  • Filter — Optional string to filter the results, such as by assembly line name.

Output shape

a JSON array of historical assembly line statistics items matching the timeline and filter criteria

The results are returned as an array of JSON objects representing the historical data aggregated by the chosen timeline period. The optional filter narrows the results server-side. If the filter is empty, all matching history items are returned.

Examples

Example 1: Get monthly history for all assembly lines

Timeline set to 'Month', Filter empty

Example 2: Get daily history filtered by assembly line name 'LineA'

Timeline set to 'Day', Filter set to 'LineA'

Discussion