v1API ReferenceOperators

Delete an operator

Delete an operator from the roster.

Production logs and shifts that reference the operator are left pointing at a record that no longer resolves, so for someone who has simply left, leaving the record in place preserves the history their shifts are attached to.

Path Parameters

operator_id*Operator Id

The operator ID.

Response Body

application/json

Try it live
DELETE
/v1/operators/{operator_id}

This endpoint requires authentication — paste a token in the Authorization section below.

curl -X DELETE "https://example.com/v1/operators/0"
Empty

Update an operator PATCH

Partially update an operator: send only the fields that change.

Create Production Logs POST

Create one or many Production Logs. The body is a JSON **array**, even for a single record. This is the endpoint an MES, ERP or shop-floor terminal uses to push production into Pulsar. `machine` and `sku` are references that accept either an `id` or a `name`, so a system that only knows line names and product codes does not have to resolve Pulsar ids first. A Production Log describes a closed interval: `start` and `end` are both required, `end` is at or after `start`, and both fall inside a single shift of the machine. Past shifts are accepted, so logs can be sent days after production. To record what is happening in the shift a machine is running right now, use the realtime endpoints instead. **Defects** (`type: "defects"`) are additive. Several defects logs may cover the same range, in one request or across requests, and each one is recorded, so send each batch once and retry only a request that failed (a failed request records nothing). `start` and `end` may be the same instant for defects found at one point in time: ```json [ {"type": "defects", "count": 3, "nominalSpeed": 60, "machine": {"name": "Press 4"}, "sku": {"name": "GAL-1042"}, "start": "2026-10-12T14:00:00Z", "end": "2026-10-12T22:00:00Z"}, {"type": "defects", "count": 1, "nominalSpeed": 60, "machine": {"name": "Press 4"}, "sku": {"name": "GAL-1042"}, "start": "2026-10-12T17:42:10Z", "end": "2026-10-12T17:42:10Z"} ] ``` `total` and `correct` logs may not overlap another log of the same type, machine and SKU. The response lists the logs of this request. Quality and OEE for the affected shifts are recalculated in the background, usually within minutes.