Production Runs
Returns a list of all production runs in your organization.
Caps the page size. Defaults to 1000, which is also the maximum; a value below 1 or above 1000 is rejected.
1000If not set, production runs for all machines will be considered.
If not set, all products will be considered.
301292If not set, all products will be considered.
4646d168-a98b-447e-834a-d36dd1f33eb4If not set, all production orders will be considered.
FA1Only production runs being executed starting at start will be returned — matched against start/end for a run that has started, and against planned_start/planned_end for a planned one. If not set, no lower time bound will be assumed.
2023-07-19T19:39:46.735269+02:00Only production runs being executed up to end will be returned — matched the same way start is. If not set, no upper time bound will be assumed.
If not set, production runs for all UUIDs will be considered.
Filter production runs based on a partial match of the external id of the production order or product. Use product-external-id: or production-order-external-id: to limit the search to the respective resource.
301292Pattern: ^(?:product-external-id:)(?:.*)|^(?:production-order-external-id:)(?:.*)|^(?:.+)Field the production runs are ordered by, descending when prefixed with -. start orders by the run's start, falling back to its planned start for a run that has none, so planned and started runs interleave into one timeline. end orders by the run's end; runs with no end — running or planned — sort first when descending, last when ascending. maximum_run_speed orders by the run's maximum run speed; runs without one sort the same way.
-startPossible values: Successful Response
Validation Error
GET /api/v2/production-runs HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
"data": [
{
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"machine": "123e4567-e89b-12d3-a456-426614174000",
"production_order": "FA1234",
"product": "123e4567-e89b-12d3-a456-426614174000",
"state": "text",
"planned_start": "2026-01-01T00:00:00.000Z",
"planned_end": "2026-01-01T00:00:00.000Z",
"average_throughput": 1,
"quantity_total": {
"unit": "text",
"value": 1
},
"quantity_scrap": {
"unit": "text",
"value": 1
},
"quantity_yield": {
"unit": "text",
"value": 1
},
"quantity_total_booked": {
"unit": "text",
"value": 1
},
"quantity_scrap_booked": {
"unit": "text",
"value": 1
},
"quantity_yield_booked": {
"unit": "text",
"value": 1
},
"availability": {
"score": 1,
"time_loss": 1
},
"performance": {
"score": 1,
"time_loss": 1
},
"quality": {
"score": 1,
"time_loss": 1
},
"productivity": {
"score": 1,
"time_loss": 1
},
"maximum_run_speed": {
"value": 1,
"observation_period_start": "2026-01-01T00:00:00.000Z",
"observation_period_end": "2026-01-01T00:00:00.000Z",
"unit": "text"
},
"data_quality": {
"data_coverage": 1,
"overlap_percentage": 1,
"overlap_time": 1
},
"attributes": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"managed_by": {
"type": "text"
},
"start": null,
"end": null
}
],
"metadata": {
"next_cursor": "text"
}
}Book a production run. Runs sharing a production_order have to name the same machine and the same product; one that disagrees is rejected. Machines whose production data an external system maintains are refused: that system's next synchronization would remove the run again.
The UUID of the machine the production run was executed on.
The UUID of the product that was produced. The product has to exist; create it through /products first.
The identifier of the production order this run belongs to, as your ERP knows it. Runs sharing an identifier have to name the same machine and the same product.
FA1234The start of the production run in ISO8601 format with timezone info. Omitted (or null) books a run that is only planned so far. Must not be in the future — use planned_start for that.
The end of the production run in ISO8601 format with timezone info. null books a run that is still being executed. Requires start. Must not be in the future — use planned_end for that.
The scheduled start of the production run in ISO8601 format with timezone info.
The scheduled end of the production run in ISO8601 format with timezone info. Requires planned_start.
The total quantity produced, in the machine's quantity unit — a plain number, as the unit is the machine's to state.
The quantity produced that doesn't meet quality criteria, in the machine's quantity unit.
The quantity produced that can be sold, in the machine's quantity unit.
Successful Response
Not Found
Conflict
Validation Error
Service Unavailable
POST /api/v2/production-runs HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 357
{
"machine": "123e4567-e89b-12d3-a456-426614174000",
"product": "123e4567-e89b-12d3-a456-426614174000",
"production_order": "FA1234",
"start": "2026-01-01T00:00:00.000Z",
"end": "2026-01-01T00:00:00.000Z",
"planned_start": "2026-01-01T00:00:00.000Z",
"planned_end": "2026-01-01T00:00:00.000Z",
"quantity_total_booked": 1,
"quantity_scrap_booked": 1,
"quantity_yield_booked": 1
}{
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"machine": "123e4567-e89b-12d3-a456-426614174000",
"production_order": "FA1234",
"product": "123e4567-e89b-12d3-a456-426614174000",
"state": "text",
"planned_start": "2026-01-01T00:00:00.000Z",
"planned_end": "2026-01-01T00:00:00.000Z",
"average_throughput": 1,
"quantity_total": {
"unit": "text",
"value": 1
},
"quantity_scrap": {
"unit": "text",
"value": 1
},
"quantity_yield": {
"unit": "text",
"value": 1
},
"quantity_total_booked": {
"unit": "text",
"value": 1
},
"quantity_scrap_booked": {
"unit": "text",
"value": 1
},
"quantity_yield_booked": {
"unit": "text",
"value": 1
},
"availability": {
"score": 1,
"time_loss": 1
},
"performance": {
"score": 1,
"time_loss": 1
},
"quality": {
"score": 1,
"time_loss": 1
},
"productivity": {
"score": 1,
"time_loss": 1
},
"maximum_run_speed": {
"value": 1,
"observation_period_start": "2026-01-01T00:00:00.000Z",
"observation_period_end": "2026-01-01T00:00:00.000Z",
"unit": "text"
},
"data_quality": {
"data_coverage": 1,
"overlap_percentage": 1,
"overlap_time": 1
},
"attributes": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"managed_by": {
"type": "text"
},
"start": null,
"end": null
}Returns details for a specific production run in any state, regardless of the state filter a listing would need to see it.
Successful Response
Validation Error
GET /api/v2/production-runs/{uuid} HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"machine": "123e4567-e89b-12d3-a456-426614174000",
"production_order": "FA1234",
"product": "123e4567-e89b-12d3-a456-426614174000",
"state": "text",
"planned_start": "2026-01-01T00:00:00.000Z",
"planned_end": "2026-01-01T00:00:00.000Z",
"average_throughput": 1,
"quantity_total": {
"unit": "text",
"value": 1
},
"quantity_scrap": {
"unit": "text",
"value": 1
},
"quantity_yield": {
"unit": "text",
"value": 1
},
"quantity_total_booked": {
"unit": "text",
"value": 1
},
"quantity_scrap_booked": {
"unit": "text",
"value": 1
},
"quantity_yield_booked": {
"unit": "text",
"value": 1
},
"availability": {
"score": 1,
"time_loss": 1
},
"performance": {
"score": 1,
"time_loss": 1
},
"quality": {
"score": 1,
"time_loss": 1
},
"productivity": {
"score": 1,
"time_loss": 1
},
"maximum_run_speed": {
"value": 1,
"observation_period_start": "2026-01-01T00:00:00.000Z",
"observation_period_end": "2026-01-01T00:00:00.000Z",
"unit": "text"
},
"data_quality": {
"data_coverage": 1,
"overlap_percentage": 1,
"overlap_time": 1
},
"attributes": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"managed_by": {
"type": "text"
},
"start": null,
"end": null
}Delete a production run, along with the maximum run speed and the productivity metrics derived from it. Machines whose production data an external system maintains are refused: that system's next synchronization would recreate the run, or has already dropped it.
Successful Response
No content
Not Found
Conflict
Validation Error
Service Unavailable
DELETE /api/v2/production-runs/{uuid} HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
No content
Update a production run. An omitted field is left unchanged; an explicit null clears one that can be empty. The update is judged as a whole: the run it results in has to satisfy everything a booking does, and a change that would break that is rejected. Clearing end reopens a finished run, clearing start turns it back into a planned one; either drops the metrics and maximum run speed computed for it, which only a finished run has. Machines whose production data an external system maintains are refused: that system's next synchronization would overwrite the change.
Successful Response
Not Found
Conflict
Unprocessable Content
Service Unavailable
PATCH /api/v2/production-runs/{uuid} HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 355
{
"machine": "123e4567-e89b-12d3-a456-426614174000",
"product": "123e4567-e89b-12d3-a456-426614174000",
"production_order": "text",
"start": "2026-01-01T00:00:00.000Z",
"end": "2026-01-01T00:00:00.000Z",
"planned_start": "2026-01-01T00:00:00.000Z",
"planned_end": "2026-01-01T00:00:00.000Z",
"quantity_total_booked": 1,
"quantity_scrap_booked": 1,
"quantity_yield_booked": 1
}{
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"machine": "123e4567-e89b-12d3-a456-426614174000",
"production_order": "FA1234",
"product": "123e4567-e89b-12d3-a456-426614174000",
"state": "text",
"planned_start": "2026-01-01T00:00:00.000Z",
"planned_end": "2026-01-01T00:00:00.000Z",
"average_throughput": 1,
"quantity_total": {
"unit": "text",
"value": 1
},
"quantity_scrap": {
"unit": "text",
"value": 1
},
"quantity_yield": {
"unit": "text",
"value": 1
},
"quantity_total_booked": {
"unit": "text",
"value": 1
},
"quantity_scrap_booked": {
"unit": "text",
"value": 1
},
"quantity_yield_booked": {
"unit": "text",
"value": 1
},
"availability": {
"score": 1,
"time_loss": 1
},
"performance": {
"score": 1,
"time_loss": 1
},
"quality": {
"score": 1,
"time_loss": 1
},
"productivity": {
"score": 1,
"time_loss": 1
},
"maximum_run_speed": {
"value": 1,
"observation_period_start": "2026-01-01T00:00:00.000Z",
"observation_period_end": "2026-01-01T00:00:00.000Z",
"unit": "text"
},
"data_quality": {
"data_coverage": 1,
"overlap_percentage": 1,
"overlap_time": 1
},
"attributes": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"managed_by": {
"type": "text"
},
"start": null,
"end": null
}Last updated