Skip to main content

The Datapoint Object

Props

id
string
Unique ID of datapoint, generated by Mangrove
slug
string
Slug identifier for the data point type. Data point types and their slugs are defined within the Mangrove instance
data_point_type
string
Display name of the data point type (e.g., Total Ash Delivered (wet mass) U.S. ton)
value
number|string|boolean
Value for the data point. The type must match the data point type’s expected value type (number, string, or boolean)
unit
string|null
Unit of measurement for the data point (e.g., U.S. ton, mile). null if the value type is not number
status
string
Status of the datapoint. Possible values: complete, incomplete, pending
  • id
  • created_at
  • updated_at
  • status
  • value

DataPointType Attributes

id
integer
Unique ID of datapoint type, generated by Mangrove
slug
string
Slug of the datapoint type. Datapoint types and their slugs are defined within the Mangrove instance.
name
string
Name of the datapoint type
value_type
string
number, string, boolean
unit
string
null if value_type is not number
is_static
boolean
Whether this is a static (system-defined) data point type or a custom data point type
nexus_event_type_id
integer
ID of the event type this data point type is associated with
created_at
string
Timestamp when the data point type was created
updated_at
string
Timestamp when the data point type was last updated