List Machine Status
Beta/v1/operations/machine-statusThis endpoint is idempotent. Learn more
Returns what every machine is running right now, how much is left on it, and what is queued behind that.
Assembled from the published schedule, the batches the floor has scanned against each campaign, and any open downtime. A campaign is current once its week is released and while it still has batches to scan; when the last one is scanned it hands over to the next, so this advances on its own as a shift progresses.
A machine with an open stoppage reads down even when it has a released campaign, because a broken machine is not producing whatever the plan says. A machine with nothing released reads idle, which is a state worth seeing rather than an absence from the list.
Reads the published version rather than the newest draft: the floor works to what was committed, and a draft regenerating underneath a wall display would make machines appear to change job on their own. With nothing published every machine reads idle rather than the request failing.
department_ids[]optional arrayOnly include machines in these departments.
as_ofoptional string (date-time)The moment to read the floor at. Defaults to now.
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 machine_statusResources in this page.
objectstringenumValues:machine_statusResource type identifier.
machineentitynullableThe machine.
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).
departmententitynullableThe department the machine belongs to.
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).
statusstringenumValues:runningidledownWhat the machine is doing.
running: a released campaign with work still to scan.idle: nothing released to it.down: an open downtime event, which outranks running.
downtimeobjectnullableThe open stoppage, when the machine is down.
evententitynullableThe downtime event.
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).
reasonmachine_downtime_reasonnullableWhy the machine stopped.
objectstringenumValues:machine_downtime_reasonResource type identifier.
codestringenumValues:breakdownchangeovermaterial_shortageStable code identifying the reason.
namestringnullableDisplay name of the reason.
oee_bucketstringnullableenumValues:availabilityperformancequalityWhich OEE term this reason charges.
started_atstring (date-time)When the machine went down.
notestringnullableFree-text note left by whoever logged it.
currentobjectnullableThe campaign being worked: the earliest released one with batches still to scan.
schedule_lineentitynullableThe schedule line this campaign came from.
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).
itementitynullableThe item being made.
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).
skustringSKU of the item.
week_starts_atstring (date-time)First day of the week the campaign belongs to.
week_indexintegerZero-based week offset from the start of the horizon.
planned_quantitynumberQuantity the plan asked for.
scanned_quantitynumberQuantity the floor has scanned so far.
remaining_quantitynumberQuantity still to make.
Never negative: an over-run shows up in scanned_quantity rather than as negative remaining work.
unitstringnullableUnit the quantities are counted in.
released_batch_countintegerBatches issued to the floor for this campaign.
scanned_batch_countintegerBatches of this campaign the floor has scanned.
planned_run_hoursnumberConstraint hours the campaign consumes.
statusstringenumValues:plannedreleasedin_progressWhere the campaign is in its lifecycle.
production_runentitynullableThe run carrying this campaign's work, once its week has been released.
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).
nextobjectnullableWhat follows, so an operator can set up for it.
schedule_lineentitynullableThe schedule line this campaign came from.
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).
itementitynullableThe item being made.
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).
skustringSKU of the item.
week_starts_atstring (date-time)First day of the week the campaign belongs to.
week_indexintegerZero-based week offset from the start of the horizon.
planned_quantitynumberQuantity the plan asked for.
scanned_quantitynumberQuantity the floor has scanned so far.
remaining_quantitynumberQuantity still to make.
Never negative: an over-run shows up in scanned_quantity rather than as negative remaining work.
unitstringnullableUnit the quantities are counted in.
released_batch_countintegerBatches issued to the floor for this campaign.
scanned_batch_countintegerBatches of this campaign the floor has scanned.
planned_run_hoursnumberConstraint hours the campaign consumes.
statusstringenumValues:plannedreleasedin_progressWhere the campaign is in its lifecycle.
production_runentitynullableThe run carrying this campaign's work, once its week has been released.
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).
week_planned_quantitynumberPlanned for this machine this week.
week_scanned_quantitynumberScanned on this machine this week.
week_planned_run_hoursnumberConstraint hours planned on this machine this week.
unitstringnullableUnit the week's quantities are counted in.
Responses
Successful response for List Machine Status