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.

Authorizations
AuthorizationstringRequired
Query parameters
machinestring · uuid[] · max: 50 · nullableOptional
data_sourcestring · uuid[] · max: 50 · nullableOptional
uuidstring · uuid[] · max: 50 · nullableOptional
depends_onstring · uuid[] · max: 50 · nullableOptional
cursorstringOptional
Responses
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.

Authorizations
AuthorizationstringRequired
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 · enumRequired

Data type of the captured values.

Example: FLOATPossible values:
detailsone ofRequired
Responses
201

Successful Response

application/json
uuidstring · uuidRequired

Unique identifier of the variable.

machinestring · uuidRequired

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 · enumRequired

Data type of the captured values.

Example: FLOATPossible values:
typestring · enumOptionalDeprecated

Deprecated; use details.type, which this mirrors.

Default: sparkPossible values:
detailsone ofRequired
or
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.

Authorizations
AuthorizationstringRequired
Body
Responses
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.

Authorizations
AuthorizationstringRequired
Body
Responses
200

Successful Response

application/json
patch/v2/variables/bulk

Last updated