Analyze OEE

Beta
PUT/v1/core/analytics/oee

This 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%.

Permissions requiredValues:machine_downtime:read
The role behind your API key or agent must grant every one of these permissions.
starts_atstring (date-time)

The start date for the analysis period.

ends_atstring (date-time)

The end date for the analysis period.

department_idsoptional array of string

Optional department IDs to filter by.

planned_timeoptional array of object

Scheduled production time per department for the period. Availability, performance and OEE are only returned for departments this covers.

department_idstring

The department ID.

planned_hoursnumber

Scheduled production hours for the period.

objectstringenumValues:analyze_oee_response

Resource type identifier.

departmentslistnullable

The OEE data by department.

objectstringenumValues:list

Resource type identifier.

page_infoobject

Pagination metadata.

next_page_urlstringnullable

Relative URL that fetches the next page of results.

previous_page_urlstringnullable

Relative URL that fetches the previous page of results.

has_next_pageboolean

Whether more results exist after this page.

has_prev_pageboolean

Whether results exist before this page.

dataarray of object

Resources in this page.

departmententitynullable

The department.

idstring

Unique identifier for the entity.

objectstringenumValues:entity

Resource type identifier.

typestringenumValues:accountactorentity

The 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.

namestringnullable

Human-readable display name for the entity (e.g. a user's full name, a sales order number).

handlestringnullable

Secondary human-readable identifier (e.g. email address, username, redacted API key value).

good_unitsnumber

The number of good units produced.

waste_unitsnumber

The number of waste units.

seconds_unitsnumber

The number of seconds units.

standard_seconds_earnednumber

The time this output should have taken at each production step's own labor rate: ideal cycle time multiplied by the units produced. This is the numerator of Performance.

estimated_runtime_hoursnumber

The estimated runtime in hours.

availability_loss_secondsnumber

Logged downtime charged against availability, in seconds.

performance_loss_secondsnumber

Logged downtime charged against performance, in seconds.

quality_loss_secondsnumber

Logged downtime charged against quality, in seconds.

not_scheduled_secondsnumber

Time nobody planned to run, removed from the OEE denominator rather than counted as a loss.

changeover_secondsnumber

Time spent changing over between products, in seconds.

downtime_event_countinteger

Number of downtime events logged in the period.

downtime_breakdownlistnullable

Downtime split by reason, largest first.

objectstringenumValues:list

Resource type identifier.

page_infoobject

Pagination metadata.

next_page_urlstringnullable

Relative URL that fetches the next page of results.

previous_page_urlstringnullable

Relative URL that fetches the previous page of results.

has_next_pageboolean

Whether more results exist after this page.

has_prev_pageboolean

Whether results exist before this page.

dataarray of object

Resources in this page.

reasonstringenumValues:breakdownchangeovermaterial_shortage

Why the machine stopped.

oee_bucketstringenumValues:availabilityperformancequality

Which OEE term this reason charges.

downtime_secondsnumber

Downtime attributed to this reason, in seconds.

event_countinteger

Number of events logged against this reason.

scheduled_secondsnumber

Planned time net of not-scheduled downtime, in seconds.

run_time_secondsnumber

Scheduled time net of availability losses, in seconds.

availability_pctnumbernullable

Run time divided by scheduled time.

performance_pctnumbernullable

Standard seconds earned divided by run time: how fast the department ran against the designed speed of its production steps.

quality_pctnumbernullable

Good units divided by total units produced.

oee_pctnumbernullable

Availability multiplied by performance multiplied by quality.

measurement_statusstringenumValues:measuredestimated

Whether 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_capacity

Data-quality warnings for this grouping. Empty when the numbers can be taken at face value.

Responses

200

Successful response for Analyze OEE