v1API ReferenceSignals

List a machine's signals

Return the raw sensor signals a machine exposes, with the public_id needed to read samples.

A signal is one sensor channel read by the machine, named after the physical quantity it carries (current, count, product_count, cycle, energy, temperature, pressure, ...). A machine can expose several signals with the same name; their display_name tells them apart. Soft-deleted signals and signals without a kind are not listed.

description is in English by default; pass language=es for Spanish. A description with no translation in the requested language is returned in English.

Path Parameters

machine_uuid*Machine Uuid

The machine's uuid, as returned by GET /v1/machines.

Formatuuid

Query Parameters

language?Language

Language of each signal's description. Falls back to English.

Default"en"

Value in

  • "en"
  • "es"

Response Body

application/json

application/json

Try it live
GET
/v1/machines/{machine_uuid}/signals

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

curl -X GET "https://example.com/v1/machines/497f6eca-6276-4993-bfeb-53cbbbba6f08/signals"
{  "machine_uuid": "01748f7c-9688-7abc-8def-0123456789ab",  "signals": [    {      "public_id": "eb3ce6c7-ce7e-4638-a072-e5054706f601",      "name": "string",      "display_name": "string",      "description": "string"    }  ]}

Add shift defects POST

Add defective units of a SKU to a shift by its id (as returned by `GET /v1/shifts`), including shifts that have already ended. **How defects add up.** Unlike operators, defects have no timeline and no order. Each call adds a new defects production log of `quantity` units of the SKU, covering the whole shift, and the shift's Quality and OEE count it in the background. Calls never replace earlier ones: * Sending `quantity: 2` and then `quantity: 3` records 5 defects. * Sending the same request twice records the defects twice, so retry only requests that failed. * To undo a call, delete the log it returned with `DELETE /v1/production-logs/{id}`. To see what a shift already has, list its logs with `POST /v1/production-logs/filters`. Defects are not attributed to any operator, and they can be added to past shifts, including ones whose production was reviewed. The SKU is given by `id` or by `name`; an unknown name creates a new SKU, so check the spelling. Errors: * `400`: no shift matches, the shift has not started yet, or the shift does not have enough production of that SKU to hold the defects. * `404`: `sku.id` is not one of your SKUs.

Read signal data GET

Return aggregated raw sensor points for one signal. Samples are bucketed before they are returned. The bucket width is `agg_period` x `agg_unit` (`agg_period=15`, `agg_unit=m` is a 15-minute bucket) and `agg_function` is how samples inside a bucket are reduced. By default points are returned as a `data` list of `{timestamp, value}` objects. Pass `transpose=true` to get two arrays of equal length instead, `timestamps` and `values`, where `values[i]` belongs to `timestamps[i]`. It carries the same points in a smaller body. Two limits are enforced and both reject the request rather than truncating the response: the window between `start_time` and `end_time` may not exceed **7 days**, and a query may not produce more than **12,000 points**. The defaults (`agg_unit=s`, `agg_period=1`) reach the point ceiling after under three and a half hours, so most callers set them explicitly.