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.
The whole floor comes back in one response rather than a page at a time, so a wall display can render it in a single call.
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.
Chooses the week the campaigns are read for, and the published schedule whose horizon covers that moment; open downtime and scan progress are always read as they stand now. Omit it to read the floor as it is at this instant.
objectstringenumValues:listResource type identifier.
page_infoobjectPagination metadata.
next_page_urlstringnullableRelative URL that fetches the next page of results.
previous_page_urlstringnullableRelative URL that fetches the previous page of results.
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 the machine is working on now.
The earliest released campaign that still has batches left to scan. Once its last batch is scanned it stops being current and the queue moves on, which is what makes a floor display advance by itself.
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_hoursnumberMachine hours the plan allocates to the campaign.
statusstringenumValues:plannedreleasedin_progressWhere the campaign is in its lifecycle.
planned: scheduled, but not yet released to the floor.released: issued to the floor as a production run, so batches can be scanned against it.in_progress: being run.complete: finished.cancelled: will not be run.
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 the machine takes on next, so an operator can set up for it.
When the machine has no current campaign it is between jobs, and this is the earliest campaign still ahead of 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_hoursnumberMachine hours the plan allocates to the campaign.
statusstringenumValues:plannedreleasedin_progressWhere the campaign is in its lifecycle.
planned: scheduled, but not yet released to the floor.released: issued to the floor as a production run, so batches can be scanned against it.in_progress: being run.complete: finished.cancelled: will not be run.
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_quantitynumberQuantity planned on this machine for the current week.
Summed across every campaign scheduled on the machine that week, not just the current one.
week_scanned_quantitynumberQuantity scanned on this machine so far in the current week.
week_planned_run_hoursnumberMachine hours the plan allocates on this machine for the current week.
unitstringnullableUnit the week's quantities are counted in.
Responses
Successful response for List Machine Status