Skip to content

Field Reference ​

Overview ​

This glossary lists recurring identifiers and fields across API v2. Use it when reading endpoint specifications to keep names consistent in your integrations.

Organization ​

FieldDescriptionExample
slugOrganization identifier used in URLs and access tokens. Lowercase, unique per tenant.yengear

Projects ​

FieldDescriptionExample
project_idPublic identifier for a project. Appears in URLs: /projects/{project_id}/....proj_xxxx

Devices ​

FieldDescriptionExample
idInternal integer primary key for a device. Used as {device_pk} in nested routes.128
serial_numberHardware identifier (IMEI, SN). Used when binding devices via safe code.868686000123456
agri_id (device)Platform-generated string ID assigned when the device is created. Prefix for point IDs.d-1000-abcd

Points ​

FieldDescriptionExample
idInternal integer primary key for a point. Used as {id} in nested routes.1
unitModbus slave ID (integer).1
addressRegister address (integer).0
data_indexOffset used when reading multiple registers.0
modbus_typeRegister type (holding, input, coil, discrete).holding
data_typeEncoding for the register value (int16, uint32, float, etc.).int16
data_endianByte order (ABCD, DCBA, BADC, CDAB).ABCD
data_scaleScale factor applied to raw data. Final value = raw × data_scale + data_delta.0.1
data_deltaAdditive offset applied after scaling.-10
the_typePoint type ID, resolved via the /points/options/ endpoint.1
the_type_detailExpanded metadata for the_type (name, unit, icon).{ "name": "Temperature", "unit": "℃" }
agri_id (point)Full point identifierd-1000-abcd-1-000

Data Payloads ​

FieldDescriptionExample
tUTC timestamp in seconds.1708070400
value / vNumeric reading for a point. Some endpoints use value, others use v.25.6
project_idInjected into POST /devices/{device_pk}/data/ responses to show source project.proj_xxxx
org_slugInjected into POST /devices/{device_pk}/data/ responses to show owning organization.yengear