For the complete documentation index, see llms.txt. This page is also available as Markdown.

Variables

Get Variables

get

Returns a paginated list of variables. A variable represents a process measure of one machine of which timeseries data is captured and stored in the ENLYZE platform. One machine may have many variables, whereas one variable is only associated with one machine.

Autorisierungen
AuthorizationstringErforderlich
Abfrageparameter
machinestring · uuid[] · max: 50 · nullableOptional
data_sourcestring · uuid[] · max: 50 · nullableOptional
uuidstring · uuid[] · max: 50 · nullableOptional
depends_onstring · uuid[] · max: 50 · nullableOptional
cursorstringOptional
Antworten
200

Successful Response

application/json
get/v2/variables

Create Variable

post

Create one SPARK variable. Create-only: if a variable already exists for the (data_source, origin_identifier) it is never modified — the request returns 409 carrying the existing variable. Creating a variable active requires a non-empty display_name.

Autorisierungen
AuthorizationstringErforderlich
Body
display_namestring · nullableOptional

Human-readable name shown to users in the platform.

Example: Barrel Temperature
unitstring · nullableOptional

Unit of measure of the values.

Example: °C
scaling_factornumber · nullableOptional

Multiplier applied to raw readouts. A numeric variable needs one to be usable in analyses; string and boolean variables do not.

Example: 0.1
commentstring · nullableOptional

Free-form comment stored with the variable.

data_typestring · enumErforderlich

Data type of the captured values.

Example: FLOATMögliche Werte:
detailsone ofErforderlich
Antworten
201

Successful Response

application/json
uuidstring · uuidErforderlich

Unique identifier of the variable.

machinestring · uuidErforderlich

The machine the variable is associated with.

display_namestring · nullableOptional

Human-readable name shown to users in the platform.

Example: Barrel Temperature
unitstring · nullableOptional

Unit of measure of the values.

Example: °C
scaling_factornumber · nullableOptional

Multiplier applied to raw readouts. A numeric variable needs one to be usable in analyses; string and boolean variables do not.

Example: 0.1
commentstring · nullableOptional

Free-form comment stored with the variable.

data_typestring · enumErforderlich

Data type of the captured values.

Example: FLOATMögliche Werte:
typestring · enumOptionalVeraltet

Deprecated; use details.type, which this mirrors.

Default: sparkMögliche Werte:
detailsone ofErforderlich
oder
post/v2/variables

Bulk Register Variables

post

Bulk-create SPARK variables (may span data sources). Create-only: existing variables are reported but never modified. Returns one outcome per input item, in input order.

Autorisierungen
AuthorizationstringErforderlich
Body
Antworten
200

Successful Response

application/json
post/v2/variables/bulk

Bulk Update Variables

patch

Batch-update variables addressed by uuid, transactionally: context (display_name, unit, scaling_factor, comment) on any variable, plus data_type and details (state, origin) on SPARK variables. A field that is omitted is left unchanged; nullable fields clear on an explicit null. All-or-nothing — a single invalid item rejects the whole request and changes nothing. Returns the updated variables in input order.

Autorisierungen
AuthorizationstringErforderlich
Body
Antworten
200

Successful Response

application/json
patch/v2/variables/bulk

Zuletzt aktualisiert