Analyze OEE
Beta/v1/core/analytics/oeeThis endpoint is idempotent. Learn more
Returns Overall Equipment Effectiveness (OEE) metrics by department.
Availability is measured from logged machine downtime rather than inferred, so it requires both planned_time for the department and downtime events in the period. Departments with has_downtime_data false have no availability measurement, and their ratios are returned as null rather than as 100%.
start_datestring (date-time)The start date for the analysis period.
end_datestring (date-time)The end date for the analysis period.
department_idsoptional array of stringOptional department IDs to filter by.
planned_timeoptional array of objectScheduled production time per department for the period. Availability, performance and OEE are only returned for departments this covers.
department_idstringThe department ID.
planned_hoursnumberScheduled production hours for the period.
objectstringenumValues:analyze_oee_responseResource type identifier.
The OEE data by department.
objectstringenumValues:listResource type identifier.
page_infoobjectPagination metadata.
next_page_urlstringnullableRelative URL that fetches the next page of results.
null when the last page has been reached.
previous_page_urlstringnullableRelative URL that fetches the previous page of results.
null while on the first page.
has_next_pagebooleanWhether more results exist after this page.
has_prev_pagebooleanWhether results exist before this page.
dataarray of objectResources in this page.
departmententitynullableThe department.
idstringUnique identifier for the entity.
objectstringenumValues:entityResource type identifier.
typestringenumValues:accountactorentityThe resource kind that this entity references, as an object-type value (e.g. user, account).
Unlike object — which is always entity — this names the underlying resource the id points to.
namestringnullableHuman-readable display name for the entity (e.g. a user's full name, a sales order number).
handlestringnullableSecondary human-readable identifier (e.g. email address, username, redacted API key value).
good_unitsnumberThe number of good units produced.
waste_unitsnumberThe number of waste units.
seconds_unitsnumberThe number of seconds units.
standard_seconds_earnednumberThe time this output should have taken at each production step's own labor rate. This is the numerator of Performance.
estimated_runtime_hoursnumberThe estimated runtime in hours.
availability_loss_secondsnumberLogged downtime charged against availability, in seconds.
performance_loss_secondsnumberLogged downtime charged against performance, in seconds.
quality_loss_secondsnumberLogged downtime charged against quality, in seconds.
not_scheduled_secondsnumberTime nobody planned to run, removed from the OEE denominator rather than counted as a loss.
changeover_secondsnumberTime spent changing over between products, in seconds.
downtime_event_countintegerNumber of downtime events logged in the period.
Downtime split by reason, largest first.
objectstringenumValues:listResource type identifier.
page_infoobjectPagination metadata.
next_page_urlstringnullableRelative URL that fetches the next page of results.
null when the last page has been reached.
previous_page_urlstringnullableRelative URL that fetches the previous page of results.
null while on the first page.
has_next_pagebooleanWhether more results exist after this page.
has_prev_pagebooleanWhether results exist before this page.
dataarray of objectResources in this page.
reasonstringenumValues:breakdownchangeovermaterial_shortageWhy the machine stopped.
oee_bucketstringenumValues:availabilityperformancequalityWhich OEE term this reason charges.
downtime_secondsnumberDowntime attributed to this reason, in seconds.
event_countintegerNumber of events logged against this reason.
scheduled_secondsnumberPlanned time net of not-scheduled downtime, in seconds.
run_time_secondsnumberScheduled time net of availability losses, in seconds.
measured_ideal_secondsnumberThe ideal time of the batch tickets in the performance sample, in seconds: what their output should have taken at each production step's ideal cycle time.
measured_run_secondsnumberThe actual time the sampled tickets took, in seconds, measured from the gaps between consecutive batch-ticket scans per machine, net of downtime already charged elsewhere.
performance_ticket_countintegerThe number of batch tickets in the performance sample.
performance_basisstringnullableenumValues:scan_intervalsrun_time_estimateHow performance_pct was obtained: measured from scan intervals, or fallen back to the shift-pattern run-time estimate. Null when performance_pct is null.
availability_pctnumbernullableRun time divided by scheduled time.
performance_pctnumbernullableIdeal time over actual time for the sampled batch tickets (measured), or standard seconds earned divided by run time (estimated fallback).
quality_pctnumbernullableGood units divided by total units produced.
oee_pctnumbernullableAvailability multiplied by performance multiplied by quality.
measurement_statusstringenumValues:measuredestimatedWhether availability was measured from logged downtime or estimated from runtime. A department with no logged downtime computes as perfectly available, so an estimate is labelled rather than presented as a measurement.
anomaliesarray of stringenumValues:performance_above_capacityData-quality warnings for this grouping. Empty when the numbers can be taken at face value.
Responses
Successful response for Analyze OEE